Josh Tynjala
c3170a0577
Merge branch '8.2.0-Dev' into feature/hlc
2024-01-30 09:16:34 -08: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
Joseph Cloutier
8b07a83991
Remove unnecessary casts.
2024-01-13 16:15:57 -05:00
Joseph Cloutier
9718b8a454
Improve lime.tools.Platform type safety.
...
We shouldn't have to cast it every time!
2024-01-12 15:22:24 -05:00
player-03
24bc9b2495
Merge pull request #1661 from tobil4sk/mingw-fixes-develop
...
Allow cross compiling Windows projects with MinGW
2024-01-12 13:56:37 -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
Josh Tynjala
e6205bf3aa
PlatformSetup: openfl alias setup on Linux was missing try/catch, but lime alias setup and other platforms had it
2023-12-08 09:46:21 -08:00
Josh Tynjala
aec341d481
PlatformSetup: added optional -noalias target flag to skip creating the lime/openfl alias during setup
2023-12-08 09:34:18 -08:00
Josh Tynjala
f038d8dfde
CommandLineTools: help for hlc/-hlc
2023-11-22 11:47:54 -08:00
Josh Tynjala
6dc0c4c785
tools: allow -hlc on windows/mac/linux without -hl
2023-11-22 11:46:33 -08:00
Josh Tynjala
1d7397f808
CommandLineTools: hlc target as shorthand for hl -hlc
2023-11-22 11:33:43 -08:00
Josh Tynjala
5ce9c5c218
WindowsPlatform: set up Visual Studio environment before running cl.exe for HashLink/C
2023-11-18 14:57:58 -08:00
Josh Tynjala
0a83f5c61f
WindowsPlatform: Visual Studio HashLink/C build
...
Currently required to run in Visual Studio Developer command prompt
2023-11-17 15:15:21 -08:00
Josh Tynjala
fd1500ea82
LinuxPlatform: can specify -clang with -hlc to use clang instead of gcc
2023-11-03 12:20:32 -07:00
Josh Tynjala
10635d6231
MacPlatform: can specify -clang with -hlc to use clang instead of gcc
2023-11-03 12:11:23 -07:00
Josh Tynjala
6e19e26f45
HL/C on Linux
2023-11-03 09:38:42 -07:00
Josh Tynjala
6e17c056dd
WindowsPlatform: hl mingw sets windows subsystem so that console is not displayed
2023-11-02 14:48:56 -07:00
Josh Tynjala
beb8948983
HL/C on Windows with mingw
2023-11-02 14:17:35 -07: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
f0ecccf5eb
HL/C on macOS
2023-10-19 15:00:27 -07:00
Joseph Cloutier
9a9b89ae06
Merge branch 'develop' into 8.2.0-Dev
2023-08-17 21:07:12 -04:00
Josh Tynjala
6cff64018a
Add -npx flag for lime test electron to run the npx electron command instead of just electron.
...
This will prompt the user to install electron, if required. Saves a separate `npm install -g electron` command before testing.
2023-07-25 08:43:39 -07:00
Joshua Granick
1cb43f0b81
Use -O0 for now on WebAssembly ( haxefoundation/hxcpp#987 )
2023-05-30 08:54:25 -07:00
Joshua Granick
58275329cc
Minor WebAssembly adjustments
2023-05-30 08:54:19 -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
ab820f7c64
Add Emscripten source map on debug build
2023-05-30 08:49:02 -07:00
Joshua Granick
2ef647f1fc
Progress on exception catching
2023-05-30 08:48:54 -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
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
16f96fadf7
Merge pull request #1494 from player-03/include.hxp
...
Add support for include.hxp.
2023-04-16 14:02:27 -04:00
tobil4sk
940eb2083d
Copy mingw libraries after build
2023-04-12 23:17:07 +01:00
tobil4sk
7f5dcb4e9f
Respect -mingw flag for cross compiling to windows
2023-04-12 23:17:07 +01:00
Josh Tynjala
f34b595e70
IOSPlatform: remove armv7 from default iOS architectures because latest Xcode reports error
...
Fixes error: The armv7 architecture is deprecated. You should update your ARCHS build setting to remove the armv7 architecture. (in target 'Build Haxe' from project 'MyProject')
2023-04-10 15:20:50 -07:00
Josh Tynjala
72db242720
IOSPlatform: be explicit about armv6, just in case the default architecture used by hxcpp changes in the future
...
The default changed recently for the x86 simulator, so best to be safe
2023-04-10 15:03:45 -07:00
Josh Tynjala
1e6d883baf
IOSPlatform: when building liblime.iphonesim.a, explicitly add -DHXCPP_M32
...
It looks like the new hxcpp update defaults to 64-bit now, so we need to be explicit
2023-04-10 14:58:24 -07:00
player-03
780ec7e837
Merge pull request #1615 from player-03/eval_tools
...
Add the `-eval` flag to run Lime tools using Eval.
2023-04-06 19:34:24 -04:00
Chris Speciale
3b5588267b
tools.hxml: Remove -D no-inline
...
The no-inline macro was added previously to fix a compatibility issue with an older version of Haxe. It remains to be seen whether or not it is necessary as it seems to create conflicts with intermittent versions of Haxe. For this purpose we will remove it, unless it is deemed necessary again in the future. See: https://github.com/openfl/lime/discussions/1645 for more info.
2023-03-07 12:03:27 -05:00
Josh Tynjala
f9b52b7e91
LinuxPlatform: missing HXCPP_ARM64 flag for rpi 64 build
2023-03-01 15:21:46 -08:00
Josh Tynjala
2d7b079bc3
LinuxPlatform: got flag backwards for rpi 64
2023-03-01 15:20:39 -08:00
Josh Tynjala
60ac10aa50
LinuxPlatform: allow -64 flag with rpi target to force 64-bit ARM
...
Still 32-bit by default, though.
2023-03-01 13:52:13 -08:00
player-03
179c2fe081
Fix null pointer error in IOSPlatform.
2023-02-22 13:24:15 -08:00
Josh Tynjala
cebe8dff82
Merge branch 'develop' into 8.1.0-Dev
2023-02-22 08:52:43 -08: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