Zeta
26247f4f41
Fix string conversion in hl_window_alert.
2023-06-11 13:42:40 +02:00
Josh Tynjala
2cd1dad5ed
Merge branch 'develop' into 8.1.0-Dev
2023-06-09 11:12:43 -07:00
Josh Tynjala
01a04c4d48
Clipboard: (windows/mac) fix issue where requesting text from clipboard ignores clipboard contents, if user last modified the clipboard before app startup
2023-06-09 10:06:45 -07:00
Joshua Granick
a46eecc831
Disable try_blocking for now (requires HXCPP 4.3+)
2023-06-07 18:12:01 -07:00
Joshua Granick
06122fe72a
Compile fix
2023-06-07 18:11:40 -07:00
player-03
71c1854779
Don't call Map.clear() in Haxe 3.
2023-06-06 21:55:37 -04:00
Josh Tynjala
9e2d431e2b
Merge branch 'develop' into 8.1.0-Dev
2023-06-06 12:35:57 -07:00
Josh Tynjala
aebf139dc7
Fix window show/hide on desktop being incorrectly considered the same as app going into and out of the background/suspend on mobile
...
The app's Timers should still continue when a window is hidden. Especially since an app could have multiple windows, with some being shown and some being hidden. If only one were hidden, the other shown windows would clearly behave in a broken manner because the one hidden window would cause all app timers, even those associated with other windows, to be paused.
Introduces new WINDOW_SHOW AND WINDOW_HIDE events from C++ to Haxe, and new onShow and onHide events on Haxe Window.
Followup to 0918ee2381
2023-06-06 10:56:06 -07:00
Josh Tynjala
f6e61b1bac
actions: matrix for AIR
2023-06-06 10:19:39 -07:00
Josh Tynjala
c8b35c2a09
actions: lime config AIR_SDK
2023-06-06 10:19:05 -07:00
Ludovic Bas
76c76652cc
I don't know why the unload method was empty but now it clears all cached files when calling Assets.unloadLibrary("");
2023-06-06 15:51:01 +02:00
Josh Tynjala
de7bf3e5ed
actions: AIR samples
2023-06-05 16:03:19 -07:00
Josh Tynjala
9ca9c2e32c
Better Haxe 4.3 extern enum abstract
...
Previous attempt tried to use @:extern and @:enum for Haxe 3, but enum is fine for both, which is actually what we were using before. Keep @:extern for Haxe 3, but use enum for both
2023-06-05 15:56:26 -07:00
Josh Tynjala
f053205b7e
Merge branch 'develop' into 8.1.0-Dev
2023-06-05 14:29:12 -07:00
Josh Tynjala
0918ee2381
SDLApplication: fix inconsistent setting of inBackground flag when dispatching WINDOW_DEACTIVATE and WINDOW_ACTIVATE ( closes openfl/openfl#2645 )
...
On SDL_APP_WILLENTERBACKGROUND and SDL_APP_DIDENTERFOREGROUND, inBackground was being toggled, but it was not toggled on SDL_WINDOWEVENT_SHOWN and SDL_WINDOWEVENT_HIDDEN. However, both pairs were dispatching WINDOW_DEACTIVATE and WINDOW_ACTIVATE from C++ to Haxe. When inBackground wasn't toggled, the UPDATE ApplicationEvent continued being dispatched from the C++, but the Haxe assumed that it wouldn't be. This meant that timers were still updated after WINDOW_DEACTIVATE for SDL_WINDOWEVENT_HIDDEN, but then they were still "advanced" as if paused on WINDOW_ACTIVATE for SDL_WINDOWEVENT_SHOWN. The next update time would be some time in the future, roughly equal to how long the Haxe thought the timers were paused. This could make it seem like the timers completed stopped updating, especially if they should have been paused for a long time. They would eventually continue, but they should have paused on WINDOW_DEACTIVATE and continued immediately on WINDOW_ACTIVATE.
2023-06-05 14:22:19 -07:00
Josh Tynjala
5a87d77897
Merge branch 'develop' into 8.1.0-Dev
2023-06-05 10:29:26 -07:00
Josh Tynjala
5634ad72d2
CHANGELOG: 8.0.2
8.0.2
2023-05-30 14:40:16 -07:00
Josh Tynjala
8f1a7df5bb
haxelib.json: releasenote
2023-05-30 14:40:16 -07:00
player-03
e01a26759d
Suppress libpng warnings.
...
Per https://github.com/openfl/lime/pull/1531#issuecomment-1568750546
2023-05-30 12:51:08 -04:00
Josh Tynjala
de773dd6b6
mbedtls v3.3.0
...
Restores Android NDK r15c compatibility
2023-05-30 09:03:55 -07:00
Josh Tynjala
9103be3c98
update curl and mbedtls submodules
...
Updated to match 8.2.0-Dev branch
Fixes SSL connect error on macOS
2023-05-30 09:03:55 -07:00
Joshua Granick
35d1436dcd
Revert WebAssembly improvements (moved to 8.1.0-Dev branch)
2023-05-30 09:03:18 -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
79e11e4270
Minor main loop change for Emscripten
2023-05-30 08:54:09 -07:00
Joshua Granick
a05ee5a009
Revert back to built-in Emscripten OpenAL implementation
2023-05-30 08:54:01 -07:00
Joshua Granick
305c788ed7
Improve error log on webassembly
2023-05-30 08:53:52 -07:00
Joshua Granick
9ca0531105
Include cURL and MojoAL in WebAssembly/Emscripten build
2023-05-30 08:53:43 -07:00
Joshua Granick
58f8db6843
Update cURL
2023-05-30 08:53:34 -07:00
Joshua Granick
920eb77db4
Set webassembly, wasm, emscripten in Lime project XML parse
2023-05-30 08:53:25 -07:00
Joshua Granick
91e840c73b
Update cairo
2023-05-30 08:53:18 -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
b410a90121
Print http-server message, allow auto port finding starting at 3000
2023-05-30 08:52:38 -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
Joshua Granick
1a46366823
Use -O0 for now on WebAssembly ( haxefoundation/hxcpp#987 )
2023-05-26 13:50:51 -07:00
Joshua Granick
2406ff4b94
Minor WebAssembly adjustments
2023-05-24 12:37:17 -07:00
Joshua Granick
de5844aae1
Minor main loop change for Emscripten
2023-05-23 20:49:54 -07:00
Joshua Granick
5ba432fd8b
Revert back to built-in Emscripten OpenAL implementation
2023-05-23 20:28:53 -07:00
Joshua Granick
22abd30209
Improve error log on webassembly
2023-05-23 20:11:28 -07:00
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