Commit Graph

48 Commits

Author SHA1 Message Date
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
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
Joshua Granick
534c6cd7ce Eval, HXP, asset library fixes 2018-07-25 20:27:05 -07:00
Joshua Granick
c0b3692402 Sync tool platform changes from HXP 2018-07-24 16:18:49 -07:00
Joshua Granick
ecd7876c4b Add external platform code for use with HXP 2018-06-21 16:33:33 -07:00
Joshua Granick
ef86c425b1 Migrating components of the Lime tools into the public Lime namespace 2015-02-11 12:02:28 -08:00
Joshua Granick
30d6139ee5 Fix crash when dependency.path does not exist 2015-01-22 15:05:39 -08:00
Joshua Granick
46f58e1491 Use PathHelper.combine when copying assets for Android and BlackBerry 2015-01-16 08:20:49 -08:00
Joshua Granick
287b94e6dd Use a standardized 'targetDirectory' value in the target handlers, and pass this onto the library processors for use with caching 2014-12-25 21:20:32 -08:00
Joshua Granick
672ec78891 Add xxhdpi and xxxhdpi icons for Android 2014-12-05 08:53:45 -08:00
Joshua Granick
b46c781b4c Initial improvements to 'rebuild' command and '-rebuild' flag, walking through actual project dependencies 2014-11-19 14:42:34 -08:00
Joshua Granick
540aa48c39 Merge Aether tools 2014-09-30 17:41:57 -07:00