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
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
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
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
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
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
Joseph Cloutier
5ffbfd7f3a
Add AndroidX options to <config:android />.
...
`enableJetifier` defaults to false because it can slow compilation.
2022-06-11 20:20:33 -04:00
Joseph Cloutier
00fd063026
Use implementation instead of api.
...
This is recommended as a best practice, though AFAIK this only matters
for projects that are going to be imported by other projects.
For instance, you used to be able to include `:deps:extension-api` by
including any extension that depended on it. Now, every project that
wants to use `extension-api` has to include it directly. (Which is fine
because in practice, they all already do so.)
2022-06-11 20:10:34 -04:00
Joseph Cloutier
619b67b472
Remove reference to nonexistant folder.
...
libs/ doesn't exist; only app/libs/ does, and that's handled by app/build.gradle.
2022-06-11 20:10:34 -04:00
Joseph Cloutier
1ff434043c
Remove trailing spaces.
2022-06-11 20:09:42 -04:00
Joseph Cloutier
0e6bfa830b
Allow running native apps from other directories.
...
It isn't always safe to assume `./` is the app directory, and removing
that assumption opens up options.
Requires at least Haxe 3.4, but I don't think Lime supports 3.3 anyway.
2022-06-07 11:47:18 -04:00
Joseph Cloutier
46acd3b373
Target Android API level 30.
...
https://developer.android.com/distribute/best-practices/develop/target-sdk
2022-06-05 22:38:48 -04:00
Joseph Cloutier
8bcbafd587
Update the Android Gradle Plugin.
2022-06-05 22:38:08 -04:00
Joseph Cloutier
96bfa805cf
Add instructions to debug Java classes.
...
The Java compiler complains about deprecated features and unsafe
operations, but it's surprisingly hard to get the details. Here's how.
2022-06-05 22:37:07 -04:00
Joseph Cloutier
87611eeed1
Remove uses-sdk tag.
...
This is now redundant, and sometimes even causes builds to fail.
2022-06-05 22:37:07 -04:00