Commit Graph

605 Commits

Author SHA1 Message Date
Joseph Cloutier
9a9b89ae06 Merge branch 'develop' into 8.2.0-Dev 2023-08-17 21:07:12 -04:00
Josh Tynjala
987e3dd425 Merge branch 'develop' into 8.1.0-Dev 2023-08-14 15:53:18 -07:00
Josh Tynjala
b6ebe15d15 Replace Adobe AIR debug certificate because it expired 2023-06-29 10:23:03 -07:00
Joshua Granick
35d1436dcd Revert WebAssembly improvements (moved to 8.1.0-Dev branch) 2023-05-30 09:03:18 -07:00
Joshua Granick
2ccee960dc Rename Emscripten target to WebAssembly 2023-05-30 08:53:09 -07:00
Joshua Granick
f285df6f76 Support JS dependency embedding on Emscripten output 2023-05-30 08:52:56 -07:00
Joshua Granick
b410a90121 Print http-server message, allow auto port finding starting at 3000 2023-05-30 08:52:38 -07:00
Joshua Granick
9adab8f8c6 Add favicon to Emscripten output 2023-05-30 08:47:01 -07:00
Joshua Granick
be19381999 Emscripten fixes 2023-05-30 08:46:52 -07:00
Joshua Granick
3dbc73f9ab Rename Emscripten target to WebAssembly 2023-05-23 14:19:32 -07:00
Joshua Granick
deecd6c6f8 Support JS dependency embedding on Emscripten output 2023-05-20 11:19:33 -07:00
Joshua Granick
a90915cb3f Print http-server message, allow auto port finding starting at 3000 2023-05-20 11:05:47 -07:00
Joshua Granick
3596f83a41 Patch node http-server for wasm mime-type 2023-05-20 10:07:31 -07:00
Joshua Granick
7c73bff438 Add favicon to Emscripten output 2023-05-19 23:22:16 -07:00
Joshua Granick
eec6e5e0fa Emscripten fixes 2023-05-19 23:10:16 -07:00
Josh Tynjala
a0c6f92136 http-server: update module to latest 2023-05-16 12:53:26 -07:00
Josh Tynjala
763b982bd1 HTML5Helper: use bundled terser, but also add optional -npx flag to use npx version 2023-05-16 12:45:29 -07:00
Josh Tynjala
802472cee6 update ancient bundled Node.js to 18.16.0 LTS 2023-05-16 12:34:23 -07:00
EliteMasterEric
a7b83cb688 Removed Joystick trackball support. 2023-05-11 20:22:27 -04:00
Josh Tynjala
ab0cdc057d Merge branch '8.1.0-Dev' into 8.2.0-Dev 2023-04-24 14:01:04 -07:00
Josh Tynjala
ed3d7efe19 Merge branch 'develop' into 8.1.0-Dev 2023-04-24 09:52:11 -07:00
player-03
ee4bcb5b65 Merge pull request #1604 from MAJigsaw77/patch-2
Use `getDisplayMetrics()` to find screen DPI on Android.
2023-04-16 14:51:12 -04:00
Josh Tynjala
2b8e3c439e Merge branch '8.1.0-Dev' into 8.2.0-Dev 2023-03-20 09:44:45 -07:00
Josh Tynjala
589712e29f ApplicationMain: ensure that AIR window initial title is populated
Was incorrectly being set to Lime Application instead
2023-03-15 14:50:47 -07:00
arm32x
88a5cb8818 Stop linking with liblinuxcompat.a
This library used to be provided by HXCPP, but it was removed in version
3.4.185. Fortunately, it doesn't seem to be necessary, so this commit
stops Lime from attempting to link with it.
2023-02-22 13:24:15 -08:00
Joseph Cloutier
7ae766d448 Use applicationDirectory to locate assets.
`programPath()` returns the directory of the executable, but that isn't
always the asset root. (Notably, in the case of Mac apps.)
2023-02-22 13:21:51 -08:00
Josh Tynjala
cebe8dff82 Merge branch 'develop' into 8.1.0-Dev 2023-02-22 08:52:43 -08:00
Joseph Cloutier
c44e292a06 Use applicationDirectory to locate assets.
`programPath()` returns the directory of the executable, but that isn't
always the asset root. (Notably, in the case of Mac apps.)
2023-01-13 21:19:52 -05:00
player-03
391a266cd4 Merge pull request #1518 from player-03/single_threaded_async
Add virtual threads and web workers.
2023-01-13 16:47:51 -05:00
Josh Tynjala
2f4b0844ef Merge pull request #1531 from player-03/submodules
Restructure and update submodules
2023-01-13 13:44:33 -08:00
player-03
43fb0f15c5 Merge pull request #1500 from player-03/DeprecatedGradleFeatures
Fix warnings and errors in the Android build process
2022-12-29 19:26:54 -05:00
player-03
61dd0629be Use getDisplayMetrics().
`getRealMetrics()` is now deprecated as well. It suggests using `getCurrentWindowMetrics()` instead, but that's new in SDK 30 and doesn't even contain DPI information. Whereas this function has been around since the start.
2022-12-20 14:29:37 -05:00
player-03
ea1c233251 Merge branch 'openfl:develop' into submodules 2022-12-01 11:58:25 -05:00
arm32x
162b5da2c3 Stop linking with liblinuxcompat.a
This library used to be provided by HXCPP, but it was removed in version
3.4.185. Fortunately, it doesn't seem to be necessary, so this commit
stops Lime from attempting to link with it.
2022-11-30 11:37:04 -05:00
Mihai Alexandru
b5d6db38a7 Update GameActivity.java 2022-11-27 08:19:34 +02:00
Mihai Alexandru
d8237ff50b Update GameActivity.java 2022-11-25 21:53:49 +02:00
player-03
63d2f896fb Merge pull request #1597 from player-03/remove_kha
Remove the defunct Kha backend.
2022-11-18 14:07:20 -05:00
Joseph Cloutier
1546e826c2 Remove the defunct Kha backend. 2022-11-14 12:14:22 -05:00
player-03
76e1df8ef4 Merge pull request #1538 from player-03/programPath
Allow running native apps from other directories.
2022-10-10 13:35:54 -04:00
Josh Tynjala
5b3641e78f Fix command line arguments not being passed to HashLink on macOS 2022-10-10 09:40:08 -07:00
player-03
cbded74b42 Merge pull request #1529 from arm32x/fix/static-debug-build
Fix `Main.cpp` template for `-static` `-debug` builds
2022-09-07 14:12:32 -04:00
Joseph Cloutier
4634755a56 Disable pointer tagging.
(For real this time.)

https://source.android.com/docs/security/test/tagged-pointers
2022-09-07 14:00:52 -04:00
Joseph Cloutier
ab8e479abf Merge branch 'develop' into DeprecatedGradleFeatures 2022-09-03 18:36:04 -04:00
player-03
f38119d181 Merge branch 'develop' into rootPath-improvements 2022-09-03 15:22:26 -04:00
Josh Tynjala
fd0fc3da48 HashLink: fix the ability to double-click the .app file on macOS to run it
The HashLink executable expects hlboot.dat and libraries to be in the current working directory (it's not enough for them to be in the same directory as the executable). Make the .app file launch a shell script that 1) changes the current working directory 2) launches the HashLink executable
2022-07-13 10:01:57 -07:00
player-03
4f83af5848 Merge pull request #1545 from player-03/configChanges
Suppress `uiMode` configuration changes.
2022-06-27 01:49:18 -04:00
Josh Tynjala
e3a755ff60 ManifestResources: use Dynamic instead of AssetLibrary when disable_preloader_assets is defined 2022-06-14 07:41:50 -07:00
Josh Tynjala
4e1974fc9f ManifestResources: if disable_preloader_assets is defined, keep the public API available
Ensures that existing custom templates still work
2022-06-14 07:07:22 -07:00
Joseph Cloutier
9a81ae8798 Merge branch 'develop' into DeprecatedGradleFeatures 2022-06-12 10:00:23 -04:00
Joseph Cloutier
bb9b64af81 Suppress uiMode configuration changes.
When the user switches between dark and light themes, Android destroys
and recreates the activity. However, Lime activities can't be recreated
like this, and just close instead.

Since we don't actually use the system theme, there's no reason to do
this. Simplest solution is to suppress it.

https://developer.android.com/guide/topics/resources/runtime-changes
https://developer.android.com/guide/topics/ui/look-and-feel/darktheme#config-changes
2022-06-11 20:28:41 -04:00