Commit Graph

760 Commits

Author SHA1 Message Date
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
Dimitri Pomier
db0a8e95fa Allow Assets.registerLibrary() for default library 2023-02-06 13:27:13 +01: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
505d90b6ae Don't modify the argument array.
Just on the off chance that the user reuses it.
2022-12-20 14:10:14 -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
Sirox
b3bf305fc4 Update JNI.hx 2022-11-01 10:43:51 +03: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
player-03
59eedb6aa6 Merge pull request #1539 from player-03/JNI
Parse JNI class names more intelligently.
2022-10-10 13:37:11 -04:00
player-03
76e1df8ef4 Merge pull request #1538 from player-03/programPath
Allow running native apps from other directories.
2022-10-10 13:35:54 -04:00
player-03
fe6f1db7fd Merge pull request #1579 from ShaharMS/develop
Implement `clickCount` on HTML5 and Native.
2022-10-10 13:32:34 -04:00
player-03
9204858082 Merge pull request #1570 from Apprentice-Alchemist/feature/window-opacity
Implement window transparency.
2022-10-10 13:32:18 -04:00
player-03
a37e139bdd Add missing space. 2022-10-10 11:18:46 -04:00
player-03
94f791e34b HTML5Window: unset clickCount once done.
It's meant as an extra argument to `dispatch()`, so once `dispatch()` returns, it's technically incorrect for anything to access it.
2022-10-09 19:08:33 -04:00
player-03
25491e51c8 NativeApplication: unset clickCount once done.
It's meant as an extra argument to `dispatch()`, so once `dispatch()` returns, it's technically incorrect for anything to access it.
2022-10-09 19:07:28 -04:00
player-03
7d9aa709b4 Fix more spacing. 2022-10-01 13:21:30 -04:00
player-03
c4147262a4 Fix spacing. 2022-10-01 13:20:25 -04:00
Shahar Marcus
bf04e38e2e Fix for touch (thanks @player-03) 2022-10-01 20:01:45 +03:00
Shahar Marcus
56f7a42992 fix an oversight when setting clickCount
for some reason I'm assigning clickCount after dispatching the event. that means we're always one click behind.
2022-10-01 12:57:00 +03:00
Shahar Marcus
361d71d06d On touch events, clickCount should not increase. 2022-10-01 12:51:36 +03:00
Shahar Marcus
db4fec7ae2 Removed accidental Int64 import 2022-10-01 12:46:12 +03:00
ShaharMS
b18d1d60a1 Fix clickCount always resetting to 0 2022-09-21 12:30:04 +03:00
ShaharMS
20c96e6378 html5 fix 2022-09-18 09:32:24 +03:00
ShaharMS
bc13010634 remove breaking change from html5 2022-09-18 09:22:07 +03:00