Commit Graph

498 Commits

Author SHA1 Message Date
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
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
Josh Tynjala
cebe8dff82 Merge branch 'develop' into 8.1.0-Dev 2023-02-22 08:52:43 -08: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
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
ShaharMS
4421d2daf0 removed breaking changes 2022-09-18 09:18:44 +03:00
Sam! Bonfante
4b02ba5e4b Catch null pointer exception
NPE was occurring in setPosition where parent.buffer was undefined.
2022-09-17 18:20:49 -04:00
Shahar Marcus
1e45cbea7a another attempt to fix the signature error 2022-09-13 20:16:55 +03:00
Shahar Marcus
5bcea64afb quick fixes, should fix signature error
when compiling, i get this error:

FATAL ERROR : Invalid signature for function lime@hl_mouse_event_manager_register : PP_vOiiddiidd__v required but PP_vOiddiidd__v found in hdll

This should fix it
2022-09-13 17:44:35 +03:00
ShaharMS
dd3117adc1 added clickCount to lime's haxe files
cffi binding are uneeded because they pass dynamics, added the information for NativeApplication, Window, Application
2022-09-13 13:23:06 +03:00
player-03
f9827cf47e Standardize formatting. 2022-09-07 15:57:53 -04:00
player-03
063cd0ab3b Merge pull request #1558 from Stencyl/fix-ios-sound-pop
Don't set AL.BYTE_OFFSET immediately after calling AL.sourcePlay
2022-09-07 15:56:56 -04:00
player-03
637067932b Merge pull request #1540 from player-03/linux_clipboard
Work around unreliable clipboard on Linux.
2022-09-06 00:28:29 -04:00