Commit Graph

5101 Commits

Author SHA1 Message Date
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
179c2fe081 Fix null pointer error in IOSPlatform. 2023-02-22 13:24:15 -08:00
Joseph Cloutier
558490671d Use macOS 11 for testing.
GitHub has officially begun to drop macOS 10.15 support, causing workflows to fail.
2023-02-22 13:24:15 -08:00
arm32x
88a5cb8818 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.
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
6d7be9b767 Lime version 8.0.1 2023-02-22 13:24:10 -08:00
Joseph Cloutier
7ae766d448 Use applicationDirectory to locate assets.
`programPath()` returns the directory of the executable, but that isn't
always the asset root. (Notably, in the case of Mac apps.)
2023-02-22 13:21:51 -08:00
player-03
082c9f462d Merge pull request #1625 from player-03/future_generic_workaround
Fix null pointer error on RPi.
2023-02-07 14:08:39 -05: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
03f2ae8b91 Update C++ project docs based on feedback. 2023-01-25 23:46:33 -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
91ffb3e2f1 Merge pull request #1620 from gepatto/8.2.0-Dev
Fix SIZEOF_SIZE_T in jpeg for RaspberryPi
2023-01-14 08:36:43 -05:00
Patrick Gutlich
82e6e9b779 Fix SIZEOF_SIZE_T in jpeg for RaspberryPi 2023-01-14 12:33:29 +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
2f4b0844ef Merge pull request #1531 from player-03/submodules
Restructure and update submodules
2023-01-13 13:44:33 -08:00
player-03
43fb0f15c5 Merge pull request #1500 from player-03/DeprecatedGradleFeatures
Fix warnings and errors in the Android build process
2022-12-29 19:26:54 -05:00
Joseph Cloutier
73202191cc Update Gradle. 2022-12-20 14:53:29 -05:00
Josh Tynjala
8e3aa8afff FileDialog: fix case where no file extension filters are specified 2022-12-16 14:50:29 -08:00
Josh Tynjala
52b7b4d574 FileDialog: use delete[] to match new[] 2022-12-16 14:50:11 -08:00
Josh Tynjala
8d6a496625 FileDialog: non-Windows support for multiple file extension filters in OpenFile/OpenFiles (closes #2600) 2022-12-16 14:50:11 -08:00
Josh Tynjala
41064e57b4 FileDialog: Windows support for multiple file extension filters in OpenFile/OpenFiles (references #2600) 2022-12-16 14:50:11 -08:00
Josh Tynjala
ffe07c6395 README: update build status URL 2022-12-16 14:50:11 -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
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
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
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