Commit Graph

4952 Commits

Author SHA1 Message Date
Joshua Granick
22fb444e71 Include cURL and MojoAL in WebAssembly/Emscripten build 2023-05-23 19:53:10 -07:00
Joshua Granick
550a5671a2 Update cURL 2023-05-23 19:52:45 -07:00
Joshua Granick
6dee2204b0 Set webassembly, wasm, emscripten in Lime project XML parse 2023-05-23 19:51:37 -07:00
Joshua Granick
d80ed56bf5 Update cairo 2023-05-23 15:37:03 -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
9cec64b34a Add Emscripten source map on debug build 2023-05-20 10:14:39 -07:00
Joshua Granick
7e8337e4c9 Progress on exception catching 2023-05-20 10:07:45 -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
df2ae53ad3 haxelib.json: version 8.0.2 so that it can be targeted with conditional compilation 2023-05-18 13:01:37 -07:00
Josh Tynjala
51c90393fe ProjectXMLParser: avoid exception for directories that don't exist (references #1689)
Calls FileSystem.exists() before FileSystem.isDirectory()
2023-05-16 08:56:43 -07:00
Josh Tynjala
6e15d43178 externs: update AIR display externs for Haxe 4.3 2023-05-09 09:28:20 -07:00
Josh Tynjala
a34dece1ff externs: more Haxe 4.3 compatibility 2023-05-08 16:06:57 -07:00
Josh Tynjala
7243fa5bbc FileStream: fix AIR extern for Haxe 4.3 2023-05-08 15:21:15 -07:00
Josh Tynjala
d299add52d FileDialog: should use #if (!macro && lime_cffi) around calls to NativeCFFI methods, similar to Application 2023-05-03 12:29:38 -07:00
Josh Tynjala
103206b2d6 actions: it makes more sense to use Haxe version matrix on samples 2023-05-02 09:21:04 -07:00
Josh Tynjala
e2d34a52ac actions: simplify Neko and HashLink samples jobs 2023-05-02 09:19:51 -07:00
Josh Tynjala
ab1860a54a actions: since ndll builds are mostly C++, it doesn't make sense to use a Haxe version matrix for them 2023-05-02 09:18:12 -07:00
Josh Tynjala
f808e45132 Fix more :enum abstract warnings in Haxe 4.3 2023-05-02 08:28:46 -07:00
Josh Tynjala
15ed9509c1 Fix :enum abstract warnings in Flash/AIR externs with Haxe 4.3 2023-05-02 08:09:31 -07:00
Josh Tynjala
f6e3c5475b Fix :enum abstract warnings with Haxe 4.3 2023-05-02 08:08:47 -07:00
Josh Tynjala
787a78d505 Fix :extern warnings with Haxe 4.3 2023-05-02 07:53:20 -07:00
player-03
523292235c Merge pull request #1671 from tobil4sk/fix/font-char-ptrs
Take const char pointers in lime::Font methods
2023-04-21 19:49:12 -04:00
tobil4sk
7c9a1894f6 Take const char pointers in lime::Font methods 2023-04-21 19:11:38 +01:00
player-03
79eed06b74 Merge pull request #1663 from andresa88/bugfix/compatibility-fix-for-when-using-es-modules
Fixed JS Image issue when using the genes library to compile ES modules
2023-04-17 19:20:04 -04:00
Josh Tynjala
ef5edc0dfb actions: temporarily require hxcpp 4.2.1 until HaxeFoundation/hxcpp#1042 is released 2023-04-17 14:58:37 -07:00
Josh Tynjala
7d4d20df9e actions: build html5 samples with genes to ensure that it doesn't break 2023-04-17 14:30:00 -07:00
player-03
9f9604e0c8 Restore untyped keyword.
I meant to move this to right before `__js__` because it's only needed in Haxe 3, but forgot. Also, I realized Lime always puts it before the `#if`, so I just put it back where it was.
2023-04-17 14:23:29 -04:00
player-03
0535ae0266 Always call new window.Image(), for consistency. 2023-04-17 14:21:44 -04:00
player-03
e14d3e24d6 Always call new window.Image(), for consistency.
There's no practical downside to doing this, and it makes Lime compatible with tools that act like genes but aren't named "genes."
2023-04-17 14:19:15 -04:00
andresa88
fb5d64dc79 Fixed an HTML Image issue when using the genes library to compile ES modules. Need to explicitly use: new window.Image() 2023-04-17 10:06:24 -07:00
player-03
1951c30d05 Merge pull request #1653 from player-03/lime.ndll-error-message
Improve "Could not find NekoAPI interface" message.
2023-04-16 17:31:34 -04: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
player-03
766db267b1 Merge pull request #1626 from dpomier/patch-1
Allow Assets.registerLibrary() for default library
2023-04-16 14:45:32 -04:00
player-03
539e84dc7c Merge pull request #1648 from jobf/feature/open-al-efx-hl-invalid-param
Fix OpenAL binding AL.filteri for hashlink
2023-04-16 14:43:17 -04:00
player-03
9ebe6f3b60 Merge pull request #1593 from Sirox228/patch-2
remove arguments limit in jni
2023-04-16 13:58:59 -04:00
player-03
a44098946d Merge pull request #1654 from player-03/lime.ndll-forward-slashes
Use forward slashes to load lime.ndll.
2023-04-16 13:40:43 -04:00
player-03
b560468088 Merge pull request #1656 from player-03/password-input-android
Use "password" text input only on Android.
2023-04-16 13:29:57 -04:00
Josh Tynjala
f8ec10b969 AIRHelper: allow listen=port in <config:air/> to use USB debugging instead of wifi debugging for Adobe AIR apps on Android or iOS 2023-04-13 15:42:05 -07:00
Josh Tynjala
1ac0810895 XcodeHelper: search for default iPhone simulator device id with a regular expression instead of a specific string
Previously, the value was "iphone-11". Now the regex is ~/iphone-\d+/g

As long as the naming scheme stays the same, this should choose the newest iPhone supported by Xcode, and we won't need to update manually anymore, like in commit 72dd60f1c8
2023-04-11 16:02:17 -07:00
Josh Tynjala
04b69a9cef AIRHelper: display a warning when no selected iOS simulator is found when building AIR for iOS app
Ideally, we'd always get a simulator name, but better to fail gracefully
2023-04-11 15:51:56 -07:00
Josh Tynjala
2e19898c28 XCodeHelper: fix null exception when trying to get the ID or name of the selected iOS simulator
Ideally, it shouldn't return null, but if it does, fail gracefully
2023-04-11 15:50:53 -07:00
Josh Tynjala
e753c5c933 AIRHelper: fix failed Adobe AIR for iOS build on Windows
It was incorrectly trying to list simulators from Xcode (and Xcode, obviously, doesn't exist on Windows)
2023-04-11 15:21:55 -07:00
player-03
bd810c888d Merge pull request #1658 from player-03/setup-java-v2
Update actions/setup-java
2023-04-10 21:20:23 -04:00
player-03
8825d27cb2 Use version 3 of actions/setup-java.
Version 2 wasn't even the latest version, and still used Node 12.
2023-04-10 19:06:56 -04: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