Josh Tynjala
82ec709831
Application: on exit, clear Application.current if it is equal to this
...
This matches setting Application.current in the constructor, and helps avoid memory leaks
2023-04-10 12:54:48 -07:00
Josh Tynjala
23bafb2035
System: exit() on html5 "closes" the main application window
2023-04-10 12:54:37 -07:00
Josh Tynjala
48dc64373b
Application: let AIR handle checking for all windows closed with its own autoExit behavior
2023-04-10 10:40:25 -07:00
player-03
780ec7e837
Merge pull request #1615 from player-03/eval_tools
...
Add the `-eval` flag to run Lime tools using Eval.
2023-04-06 19:34:24 -04:00
player-03
adda161ec6
Use "password" text input only on Android.
...
Using `userAgent` to tell whether the app is running on Android. This isn't foolproof, but will work more often than the previous approach (where you chose at compile time and your choice applied to all devices). Resolves #1655 .
2023-04-05 16:36:36 -04:00
Josh Tynjala
0f694662f9
HTML5HTTPRequst: status 400 should be considered an error
2023-04-04 09:00:28 -07:00
player-03
4d3ae39d50
Use forward slashes to load lime.ndll.
...
`substr(7)` returns the substring _starting_ at character 7, which will never be "windows". The author meant to type `substr(0, 7)` instead, to get the substring ending at 7.
We could easily make this change, but given that the code has been successfully using forward slashes for several years, I prefer to simplify.
2023-04-01 11:56:41 -04:00
player-03
2026f404ff
Initialize variable.
2023-04-01 11:33:20 -04:00
player-03
776db44e37
Add missing type declaration.
...
Nowadays you're supposed to omit this type declaration, but what I didn't realize is that that feature was added in Haxe 4.1. Since Lime still needs to support earlier versions, we'll just have to do it the old way.
2023-04-01 11:29:35 -04:00
player-03
77f3d4bacf
Improve "Could not find NekoAPI interface" message.
...
This message comes up relatively often when a new user tries to set up Lime, but fails to give any instructions a new user could use.
This commit adds a new message explaining the most common issue and how to solve it. It also provides file paths, which may help with more in-depth debugging.
2023-04-01 11:20:05 -04:00
Josh Tynjala
2b8e3c439e
Merge branch '8.1.0-Dev' into 8.2.0-Dev
2023-03-20 09:44:45 -07:00
jf
aefce3c4ae
change hl_al_filteri argument type
2023-03-17 18:14:42 +00: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
22032ef6b5
Allow eval for HXP projects.
...
Plus, do some cleanup. For instance, `nekoOutput` is only used in one
spot, so might as well declare it there.
Aside: I doubt `fullPath()` is needed, but I don't care to test it.
2023-03-13 18:26:44 -04: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
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
player-03
97481eeacc
Merge branch 'develop' into cffi-unicode-fixes
2023-01-24 10:47: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