Commit Graph

5642 Commits

Author SHA1 Message Date
Josh Tynjala
38e3205bac FileDialog: non-Windows support for multiple file extension filters in OpenFile/OpenFiles (closes #2600) 2022-12-16 12:38:40 -08:00
Josh Tynjala
0746928f39 FileDialog: Windows support for multiple file extension filters in OpenFile/OpenFiles (references #2600) 2022-12-16 10:34:38 -08:00
Josh Tynjala
233f9a4d65 README: update build status URL 2022-12-16 09:02:58 -08:00
player-03
ea1c233251 Merge branch 'openfl:develop' into submodules 2022-12-01 11:58:25 -05:00
Joseph Cloutier
2fd9e9fd08 Use mirror of libpng. 2022-11-30 13:15:07 -05:00
arm32x
162b5da2c3 Stop linking with liblinuxcompat.a
This library used to be provided by HXCPP, but it was removed in version
3.4.185. Fortunately, it doesn't seem to be necessary, so this commit
stops Lime from attempting to link with it.
2022-11-30 11:37:04 -05:00
Mihai Alexandru
b5d6db38a7 Update GameActivity.java 2022-11-27 08:19:34 +02:00
Mihai Alexandru
d8237ff50b Update GameActivity.java 2022-11-25 21:53:49 +02:00
player-03
14340b5f87 Fix error when using JNI in macro context. 2022-11-20 11:51:56 -05:00
Joseph Cloutier
8a3c7ac629 Use macOS 11 for testing.
GitHub has officially begun to drop macOS 10.15 support, causing workflows to fail.
2022-11-18 18:16:49 -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
player-03
c14f90695f Merge pull request #7 from Sirox228/submodules
fix libpng sdl error
2022-10-29 19:43:50 -04:00
player-03
668ffd769a Only compile Arm-specific files for Arm devices.
These files are only required if `PNG_ARM_NEON_IMPLEMENTATION == 1` (the default). Since we can't test it here, we just have to assume it's the case on all Arm devices. (But only Arm devices.)
2022-10-29 19:40:58 -04:00
player-03
59b2644e9f Explain the use of the unofficial mirror. 2022-10-29 18:45:33 -04:00
Sirox
f16b14bec2 Update png-files.xml 2022-10-29 21:55:09 +03:00
Joseph Cloutier
91699a820c Revert "Use NDK r25b for testing."
This reverts commit 2dfb816868, which
relied on HaxeFoundation/hxcpp#992.
2022-10-29 14:44:46 -04:00
player-03
aa90055d8c Merge pull request #6 from Sirox228/submodules
fix dead pixman neon build when using new ndks
2022-10-29 13:59:29 -04:00
player-03
2dfb816868 Use NDK r25b for testing.
This is the latest long-term support version.
2022-10-29 13:59:18 -04:00
Sirox
09f07eab26 cut neon from pixman for build using new ndks 2022-10-29 20:40:33 +03:00
player-03
9e6a0006bf Link to OpenFL's mirror of tiny file dialogs. 2022-10-29 00:12:36 -04:00
player-03
ae25706fd8 Use mirror of tinyfiledialogs.
If SourceForge won't cooperate, we'll host it ourselves.
2022-10-29 00:06:25 -04:00
player-03
872e5b2685 Adjust submodule fetch settings.
Apparently a shallow fetch only gets the latest commit from tinyfiledialogs, so we need to fetch everything. The same doesn't seem to apply to libpng, despite both being on SourceForge.

Meanwhile, there's no reason not to do a shallow fetch for HashLink.
2022-10-28 23:48:12 -04:00
player-03
cd9f0225a1 Fix null pointer error in IOSPlatform. 2022-10-21 19:39:30 -04: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
4c821525b4 CURLBindings: fix "Send failed since rewinding of the data stream failed" error with 302 redirect
When CURLOPT_READDATA is specified, not only must we set CURLOPT_READFUNCTION, but we must also set CURLOPT_SEEKFUNCTION to ensure that the data can be resent if there's a redirect.
2022-10-13 11:56:53 -07:00
player-03
92410ddf73 Recommend apt instead of apt-get.
Progress bar > no progress bar.
2022-10-10 21:29:45 -04: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
Josh Tynjala
a9d964cb89 set version to 8.1.0 2022-10-10 13:26:24 -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
49d31c3947 Merge pull request #1581 from X-sam/patch-1
Catch null pointer exception
2022-10-10 13:31:22 -04:00
Josh Tynjala
5b3641e78f Fix command line arguments not being passed to HashLink on macOS 2022-10-10 09:40:08 -07: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
9ac49f148c Fix spacing. 2022-10-01 13:24:15 -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
Josh Tynjala
1a4fbc5387 Github Actions: replace ubuntu-18.04 with ubuntu-latest
ubuntu-18.04 is deprecated and will be removed: https://github.com/actions/runner-images/issues/6002
2022-09-22 12:37:44 -07: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