Commit Graph

575 Commits

Author SHA1 Message Date
player-03
9be759826a Exclude more code from macros. 2023-04-15 20:36:54 -04:00
player-03
c00589c189 Use original haxe.Timer in macros.
During macros, `System.getTimer()` falls through to `Sys.time()`, which is the same thing the original `haxe.Timer` uses. Therefore this change produces the same behavior but reduces the number of classes imported, which may help prevent errors.
2023-04-15 20:29:33 -04:00
player-03
88b6a7e14b Remove @:generic from Promise at macro time.
This prevents an inconsistent "Field has no new expression" bug.
2023-04-15 14:57:19 -04:00
Josh Tynjala
2b8e3c439e Merge branch '8.1.0-Dev' into 8.2.0-Dev 2023-03-20 09:44:45 -07:00
Josh Tynjala
0160c12311 Window: visible property to show and hide window 2023-03-16 08:41:56 -07:00
Josh Tynjala
4105b97fc8 Window: save the initial title from WindowAttributes
If not saved, the title getter will return the wrong value
2023-03-15 15:03:29 -07:00
Joseph Cloutier
5b0e798582 Emulate all of Event's public properties.
Even the `@:noCompletion` ones.
2023-03-02 14:36:39 -05:00
Joseph Cloutier
9b9d433ce8 Add deprecation warning to BackgroundWorker.
I also reworded it, focusing on what to do.
2023-03-02 14:30:23 -05:00
Joseph Cloutier
edc5ab3719 Revert "BackgroundWorker: Depreciate BackgroundWorker"
This reverts commit 4ffc4422b2.
2023-03-02 14:08:17 -05:00
Joseph Cloutier
ec32da4c3e Merge branch '8.2.0-Dev' into doWork_compatibility 2023-03-02 14:06:30 -05:00
Chris Speciale
8de5ddbfbd BackgroundWorker: Update warning
Minor mistake. I'm tired..
2023-03-02 14:02:39 -05:00
Joseph Cloutier
94ecdeb7df Improve doWork's backwards compatibility. 2023-03-02 14:00:37 -05:00
Chris Speciale
4ffc4422b2 BackgroundWorker: Depreciate BackgroundWorker
This revives the BackgroundWorker implementation and adds a depreciation warning.
2023-03-02 13:56:34 -05:00
Josh Tynjala
95e0ea58b2 HTML5Window: add lime_enable_html5_ime define (references openfl/openfl#2564) 2023-02-22 13:24:18 -08:00
Josh Tynjala
c175168d12 HTML5Window: use HTMLInputElement password instead of text to avoid IME issues on Android (closes openfl/openfl#2564) 2023-02-22 13:24:18 -08:00
Josh Tynjala
d1b055633d HTML5Window: rename inputing to imeCompositionActive 2023-02-22 13:24:18 -08:00
Josh Tynjala
46012b9fdb HTML5Window: call blur() before removing the compositionend listener (references openfl/openfl#2564)
This ensures that incomplete IME input gets committed
2023-02-22 13:24:18 -08:00
player-03
46d2145baa Change "A" to "An." 2023-02-22 13:24:18 -08:00
ecanela
2787450163 fix my mystake typo..
sorry for the previous mistake,
2023-02-22 13:24:17 -08:00
ecanela
8911550100 fix a typo in merge function comment 2023-02-22 13:24:17 -08:00
player-03
baa5bc79b7 Strip trailing whitespace. 2023-02-22 13:24:16 -08:00
Josh Tynjala
3ea3f90842 HXProject: null check for keystore.path 2023-02-22 13:24:16 -08:00
Josh Tynjala
923ebf789a ProjectXMLParser: don't require path to be specified in <certificate/> element to create Keystore object (can also be created if type is specified, which allows keystores without paths) 2023-02-22 13:24:16 -08:00
Josh Tynjala
1aa0398ded AIRHelper: allow Adobe AIR apps to be signed with storetypes that don't have a keystore file
For example, -storetype KeychainStore can be used to sign with an -alias value stored in the macOS Keychain
2023-02-22 13:24:16 -08:00
Vulpicula
49d8628e10 Fix openFile not working on Linux.
Thanks to LeotomasMC for some assistance with this.

I noticed and was quite confused by the fact that certain things in Flixel failed to work on Linux, such as FlxG.openURL, which returned "xdg-open: unexpected argument '&'". This appears to fix that and seems to work quite fine, with that segment of Flixel now working once more.

May be good to have someone more qualified than I check this out before er... merging, as I'm not exactly the best programmer around.
2023-02-22 13:24:15 -08:00
player-03
66ad36f8f3 Fix error when using JNI in macro context. 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
Joseph Cloutier
c422b1f0a2 Work around Promise being @:generic.
On at least some static targets, trying to cast a generic type just results in null.
2023-02-05 09:01:54 -05:00
player-03
eb4a210a18 Remove references to "virtual" threads.
Java has essentially redefined this term, so let's avoid using it.
2023-02-04 17:23:13 -05:00
player-03
74b79f5c31 Remove unnecessary type check syntax.
Apparently it could cause a null pointer error on RPi.
2023-02-04 17:04:26 -05:00
Patrick Gutlich
21903a5f50 add ctrlKey modifier to ESCAPE key
for quiting application on RPi
2023-01-15 16:13:24 +01: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
d75b9f9cfa HTML5Window: add lime_enable_html5_ime define (references openfl/openfl#2564) 2023-01-11 16:00:57 -08:00
Josh Tynjala
e03cc18d31 HTML5Window: use HTMLInputElement password instead of text to avoid IME issues on Android (closes openfl/openfl#2564) 2023-01-11 15:59:49 -08:00
Josh Tynjala
0a0a6f17a6 HTML5Window: rename inputing to imeCompositionActive 2023-01-11 12:51:15 -08:00
Josh Tynjala
26c6930c41 HTML5Window: call blur() before removing the compositionend listener (references openfl/openfl#2564)
This ensures that incomplete IME input gets committed
2023-01-11 12:49:52 -08:00
player-03
908905b887 Change "A" to "An." 2023-01-06 13:40:58 -05:00
ecanela
da40e9ea27 fix my mystake typo..
sorry for the previous mistake,
2023-01-06 12:39:16 -06:00
ecanela
fb596e9d8b fix a typo in merge function comment 2023-01-05 17:10:42 -06:00
player-03
1545179b5b Strip trailing whitespace. 2023-01-03 14:15:23 -05:00
Josh Tynjala
603a3619b6 HXProject: null check for keystore.path 2022-12-30 22:08:14 -08:00
Josh Tynjala
468c193330 ProjectXMLParser: don't require path to be specified in <certificate/> element to create Keystore object (can also be created if type is specified, which allows keystores without paths) 2022-12-30 22:08:14 -08:00
Josh Tynjala
7d7f6fbbd3 AIRHelper: allow Adobe AIR apps to be signed with storetypes that don't have a keystore file
For example, -storetype KeychainStore can be used to sign with an -alias value stored in the macOS Keychain
2022-12-30 22:08:14 -08:00
player-03
e9202b2355 Merge pull request #1589 from Vulpicula/patch-1
Fix openFile not working on Linux.
2022-12-20 14:45:48 -05:00
player-03
14340b5f87 Fix error when using JNI in macro context. 2022-11-20 11:51:56 -05:00
player-03
63d2f896fb Merge pull request #1597 from player-03/remove_kha
Remove the defunct Kha backend.
2022-11-18 14:07:20 -05:00
Joseph Cloutier
1546e826c2 Remove the defunct Kha backend. 2022-11-14 12:14:22 -05:00
Vulpicula
6900d18971 Fix openFile not working on Linux.
Thanks to LeotomasMC for some assistance with this.

I noticed and was quite confused by the fact that certain things in Flixel failed to work on Linux, such as FlxG.openURL, which returned "xdg-open: unexpected argument '&'". This appears to fix that and seems to work quite fine, with that segment of Flixel now working once more.

May be good to have someone more qualified than I check this out before er... merging, as I'm not exactly the best programmer around.
2022-10-19 18:50:15 -07:00
Josh Tynjala
6e8fb70d04 Application: extract the auto exit behavior into a separate method from __removeWindow()
This will allow OpenFL to override the behavior based on the NativeApplication class.
2022-10-10 13:27:36 -07:00
player-03
54c5ea4542 Merge pull request #1551 from player-03/replaceVariable
Expose more information to project.xml users.
2022-10-10 13:41:59 -04:00