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
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
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
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
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
player-03
cd9f0225a1
Fix null pointer error in IOSPlatform.
2022-10-21 19:39:30 -04:00
Joseph Cloutier
ab8e479abf
Merge branch 'develop' into DeprecatedGradleFeatures
2022-09-03 18:36:04 -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
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
67e4044abc
Merge branch 'develop' into single_threaded_async
2022-06-05 22:42:29 -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
689fed4545
Merge branch 'develop' into submodules
2022-06-03 18:36:03 -04:00
Josh Tynjala
8a3b990f98
MacPlatform: use executableDirectory instead of applicationDirectory when copying HashLink (references #1517 )
2022-06-03 13:19:25 -07:00
Joseph Cloutier
88d3fa7184
Add CoreHaptics.framework.
...
This is required by SDL_mfijoystick.m as long as `ENABLE_MFI_RUMBLE` is
defined. And guess what? That's the file that defines it. There's no way
to disable it except decreasing the max iOS version.
Seems like iOS 13 is the new minimum.
2022-05-21 16:52:31 -04:00
Apprentice-Alchemist
ad70700a14
Try to fix Windows mess a bit.
...
Default to 64 bit on windows too.
2022-05-19 20:46:08 +02:00
Apprentice-Alchemist
b2546aac9f
Try fixing macOS and support no_console Windows subsystem.
2022-05-18 08:11:44 +02: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
Apprentice-Alchemist
1471d8a60d
Try to fix CI.
2022-04-28 19:42:52 +02:00
Apprentice-Alchemist
668b3f7ba7
Fix the HashlinkHelper
2022-04-28 19:42:51 +02:00
Apprentice-Alchemist
cb3b0240de
Implement lime setup hl in a hopefully better way.
2022-04-28 19:42:46 +02:00
Apprentice-Alchemist
a44fe3669a
Put hashlink binaries in templates/bin again.
...
Add setup script for macOS codesigning.
2022-04-28 19:42:45 +02:00
Apprentice-Alchemist
aa62d786b3
Add some more -pthread.
2022-04-28 19:42:44 +02:00
Apprentice-Alchemist
a288feca96
Add hashlink as a submodule.
2022-04-28 19:42:41 +02:00