Commit Graph

60 Commits

Author SHA1 Message Date
Joseph Cloutier
f52b59bbff Merge branch 'develop' into 8.2.0-Dev 2024-02-05 14:46:33 -05:00
player-03
86bcc7352d Tweak warning message. 2024-01-18 13:35:07 -05:00
Mihai Alexandru
d6a3954a57 Also warn the user about it. 2024-01-17 06:34:40 +02:00
Mihai Alexandru
380f64cb6e Forgot this 2024-01-17 06:17:00 +02:00
Mihai Alexandru
1f0ddb34cb Just in case 2024-01-17 05:59:08 +02:00
Mihai Alexandru
8648b05991 Update AndroidPlatform.hx 2024-01-16 15:15:06 +02:00
Joseph Cloutier
09724f4bca Fix HAS_ICON logic on Android.
If an icon already exists, we still want `HAS_ICON` to be true, but we also want to avoid adding even more icons.
2024-01-14 12:18:42 -05:00
player-03
55dfc267bb Merge branch '8.2.0-Dev' into ConfigData 2024-01-13 23:41:14 -05:00
Joseph Cloutier
6d437283af Merge branch 'develop' into 8.2.0-Dev 2024-01-13 23:35:33 -05:00
Josh Tynjala
b021dbeae7 lime display: if the project file is newer than an existing debug/release/final.hxml file, don't consider the .hxml file valid anymore
Code intelligence should always use the newest hxml content, so the fallback mode where the hxml content is generated, instead of loaded from an existing .hxml file, should be used when the project file is newer.

For instance, if the user changes any file/dir paths in their project file, continuing to use the existing .hxml file could lead to confusing error messages that still reference the old/cached file paths. It should always use the latest paths or other values from the project file. It should be considered a bug to use the old cached paths.

Previously, as a workaround, the user would need to clean or build their project again to get updated .hxml files. It might also require restarting their editor/IDE too. Bad developer experience when we can detect this case automatically.
2024-01-05 13:54:36 -08:00
Joseph Cloutier
cb03d9cd9a Move variable to where it's used. 2023-12-21 22:31:58 -05:00
Joseph Cloutier
60064f55b3 Make AndroidManifest.xml more configurable.
Now if you need to add something to the `<application />` or `<activity />` tags, you can do it from project.xml. This will require new documentation, however.
2023-12-21 22:30:58 -05:00
Joseph Cloutier
d931869dcf Only escape backslashes in Android paths.
Neither .properties nor .gradle files require anything else to be escaped. And at least in .gradle files, escaping anything else is incorrect.
2023-10-24 01:13:32 -04:00
Josh Tynjala
2f4b0844ef Merge pull request #1531 from player-03/submodules
Restructure and update submodules
2023-01-13 13:44:33 -08:00
Joseph Cloutier
73202191cc Update Gradle. 2022-12-20 14:53:29 -05:00
player-03
ea1c233251 Merge branch 'openfl:develop' into submodules 2022-12-01 11:58:25 -05:00
Joseph Cloutier
9a81ae8798 Merge branch 'develop' into DeprecatedGradleFeatures 2022-06-12 10:00:23 -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
3d3bcc4ebc Set minimum-sdk-version to 21.
For parity with #1519, and to resolve #757.
2022-06-06 22:20:15 -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
4d096d03e2 Exclude ARMV5 from rebuilds by default.
When using NDK version 20+, hxcpp doesn't support anything under ARMV7.
2022-05-16 01:09:43 -04:00
Joseph Cloutier
6623de732c Remove unused flag.
The string "HXCPP_ARM7" doesn't appear anywhere in hxcpp. Not even in
old versions. Meanwhile, "HXCPP_ARMV7" appears several times.
2022-05-16 01:09:43 -04:00
Joshua Granick
1c92c707cc Run Haxe formatter 2022-03-23 14:02:39 -07:00
Joshua Granick
362be074f4 Merge HXProject defaults and exclude architectures at end 2022-03-23 14:00:32 -07:00
Apprentice-Alchemist
b15dcb94c1 Upgrade to android API level 21. 2022-02-03 17:23:43 +01:00
Joshua Granick
8c9808b038 Run formatter 2021-03-10 13:22:39 -08:00
Joshua Granick
ccd9dca6e1 Add explicit toString() call for HXML display 2020-12-21 17:24:44 -08:00
Joshua Granick
79e21c8312 Fix watch command (resolves haxelime/hxp#23) 2020-12-21 12:50:14 -08:00
Joshua Granick
fe51dea293 Compile fix 2020-11-10 10:29:00 -08:00
Joshua Granick
ea57f2211c Run formatter 2019-12-24 10:19:56 -08:00
flashultra
72beeced30 Update to the latest Gradle 5.6.3 and Gradle Android plugin 3.5.1
Fix issue with ANDROID_GRADLE_TASK. Set apk file  in separate folder ( from
gradle  4.x)
2019-11-01 13:21:36 -07:00
Caio
40f16ab2f9 Added correct platform for android x86_64 builds 2019-10-04 08:13:25 -07:00
Joshua Granick
e4077d38fc Update HXCPP flag for x86-64 arch on Android 2019-09-27 12:17:38 -07:00
Joshua Granick
1188b3aa42 Run formatter 2019-07-12 12:08:09 -07:00
Joshua Granick
3de9f59091 Target API 28 and ARM64 on Android (per Google Play submission requirements) 2019-07-10 15:35:21 -07:00
Joshua Granick
ac6d5c281c Progress on X886_64 support for Android 2019-06-05 10:27:09 -07:00
Joshua Granick
6dce7ad79a Progress on newer NDK support (forces minimum API from 14 to 16) 2019-04-05 18:07:13 -07:00
Joshua Granick
b795534773 Add initial support for '--output-file' option on 'display' command 2019-03-18 12:01:37 -07:00
Joshua Granick
00e3c85b58 Add entry class to non-template displalay command 2019-02-28 11:58:38 -08:00
Joshua Granick
44bf137f9b Improve 'lime display' when templates have not been processed 2019-02-26 14:01:45 -08:00
Joshua Granick
dfe3d27f57 Update Haxe formatter, run again 2019-02-14 09:40:22 -08:00
Joshua Granick
0c163a80e7 Use formatter for all Haxe code 2019-02-14 08:41:20 -08:00
Joshua Granick
b9f62558fb Minor AndroidPlatform fix when using ARMv5 or ARMv6 only 2019-01-17 12:40:05 -08:00
Joshua Granick
ccf8c48923 Remove forced -Ddisplay on 'lime display' output 2018-08-14 09:08:50 -07:00
Joshua Granick
430820cdb4 Name lime.tools.Project back to HXProject 2018-08-06 11:03:42 -07:00
Joshua Granick
bd9abc4c2a Update for HXP API change 2018-08-04 18:09:44 -07:00
Joshua Granick
4ec83c3638 Add lime.tools.* and keep Project-based tool code 2018-08-03 16:38:50 -07:00
Joshua Granick
6d9f3c4bd8 Fixes for dev HXP 2018-08-02 21:25:55 -07:00
Joshua Granick
8553739479 Always use armeabi-v7a for ARMv7 on Android (old devices that broke on this probably are no longer supported due to newer NDK minimum) 2018-07-30 12:19:02 -07:00