player-03
a917b5ea51
Don't check out submodules during docs action.
...
The docs action only needs to look at Haxe code, so downloading the submodules just wastes 30-50 seconds. That's a lot of time for an action that clocks in at about 2 minutes.
2023-07-04 20:14:39 -04:00
Josh Tynjala
ef37cd9afb
AIRHelper: needs .app file extension on macOS if AIR target is bundle
2023-06-29 10:25:38 -07:00
Josh Tynjala
b6ebe15d15
Replace Adobe AIR debug certificate because it expired
2023-06-29 10:23:03 -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
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
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
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
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
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
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
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