Commit Graph

5176 Commits

Author SHA1 Message Date
Apprentice-Alchemist
f544134144 Fix libpaths. 2022-04-28 19:42:45 +02:00
Apprentice-Alchemist
a44fe3669a Put hashlink binaries in templates/bin again.
Add setup script for macOS codesigning.
2022-04-28 19:42:45 +02:00
Apprentice-Alchemist
5c2e5577ab Set android platform to 21 in BuildHashlink.xml. 2022-04-28 19:42:44 +02:00
Apprentice-Alchemist
aa62d786b3 Add some more -pthread. 2022-04-28 19:42:44 +02:00
Apprentice-Alchemist
054c20171d Try fixing mac and linux some more. 2022-04-28 19:42:44 +02:00
Apprentice-Alchemist
2d2e6458f7 Fix macOS and Linux CI. 2022-04-28 19:42:43 +02:00
Apprentice-Alchemist
b72f45ed16 Only copy libhl.lib on Windows. 2022-04-28 19:42:43 +02:00
Apprentice-Alchemist
97f718b291 Link with libpthread. 2022-04-28 19:42:42 +02:00
Apprentice-Alchemist
e4793346cc Make windows work, install required packages on macOS. 2022-04-28 19:42:42 +02:00
Apprentice-Alchemist
9ced08920a Update hashlink. 2022-04-28 19:42:41 +02:00
Apprentice-Alchemist
a288feca96 Add hashlink as a submodule. 2022-04-28 19:42:41 +02:00
Apprentice-Alchemist
c394aea8f1 Rename a few functions.
Currently there's conflicts between the names in the C code, and the names the haxe compiler would expect for HL/C.
This commit fixes those conflicts.
2022-04-28 19:42:40 +02:00
Apprentice-Alchemist
a3b3d8593f Update hashlink. 2022-04-28 19:42:40 +02:00
Apprentice-Alchemist
daca1a2a62 Update hashlink. 2022-04-28 19:42:39 +02:00
Apprentice-Alchemist
892d4612c4 Close #1516.
Fixe an inconcistency between the C and haxe sides of the OpenGL bindings.
2022-04-28 19:42:34 +02:00
Junsred
c845859bc0 focus back to textInput after setting clipBoard 2022-04-28 15:40:36 +03:00
Junsred
c0a77a01fb prevent clipboard being set as null 2022-04-28 15:27:24 +03:00
Joseph Cloutier
50488aee53 Clarify purpose of data validation variables.
This value doesn't actually contain default values, but instead helps
verify that the correct fields are present and have the correct types.
It also doesn't need to show up in code completion.
2022-04-27 11:51:39 -04:00
Joseph Cloutier
3bbbb189c2 Reduce clutter by merging related files.
There's no need to have three separate files containing a single static
variable each. Ideally, the `Data` types should include the variable,
which can be accomplished using abstracts.

`from Dynamic` is required in Haxe 3 and simplifies things in Haxe 4.
2022-04-27 01:28:56 -04:00
Josh Tynjala
1f954d268f Better naming/organization for application/metadata/window validation types 2022-04-26 14:21:07 -07:00
Josh Tynjala
10b8f962cd update lime and lime-samples repo paths 2022-04-26 13:56:15 -07:00
Josh Tynjala
ee39b85a9e Fix compatibility with older Haxe 2022-04-26 13:20:43 -07:00
Josh Tynjala
80f83f69c7 Github Actions: Haxe version matrix 2022-04-26 08:56:30 -07:00
Josh Tynjala
da3705ed20 Electron: update to latest version 18
-lib hxnodejs is no longer included in the compilation of ApplicationMain (but it is still included for compilation of ElectronSetup, of course). hxnodejs was removed from ApplicationMain because it forces some require() calls to be included in the generated .js, which would require disabling certain Electron security features to work properly in newer versions of Electron than we targeted previously. Electron's documentation recommends not to do that.

To use Node.js APIs, you need to run them in more secure contexts, while communicating over IPC with a "preload script" from the "renderer" process. In Lime/OpenFL, this would require a custom ElectronSetup template override, but that shouldn't be all that surprising. See: https://www.electronjs.org/docs/latest/tutorial/process-model for more details on the Electron side.
2022-04-14 12:08:58 -07:00
Joshua Granick
1c92c707cc Run Haxe formatter 2022-03-23 14:02:39 -07:00
Joshua Granick
362be074f4 Merge HXProject defaults and exclude architectures at end 2022-03-23 14:00:32 -07:00
Joshua Granick
54338c082a Default to high DPI on HTML5 2022-03-21 16:53:05 -07:00
Joshua Granick
92b213b56b Revert "Set window.scale on DOM mode"
This reverts commit 5189413361.
2022-03-21 08:40:08 -07:00
Joshua Granick
5189413361 Set window.scale on DOM mode 2022-03-21 08:30:02 -07:00
Joshua Granick
6917d04090 Fix preloader for processed libraries (IE: NyanCat) 2022-03-19 12:01:55 -07:00
Joshua Granick
f34c274bb1 Silence deprecated motionevent warnings on Firefox 2022-03-19 11:29:01 -07:00
Joshua Granick
79cf3ea998 Increment version to 8.0.0 2022-03-19 10:53:53 -07:00
Josh Tynjala
5977601ca8 Fix Github repo URLs to go to haxelime/lime instead of openfl/lime 2022-03-18 16:24:47 -07:00
Josh Tynjala
dbecf2276c HTTPRequest: withCredentials in XMLHttpRequest and manageCookies in AIR's URLLoader are not the same
HTML5 doesn't have the ability to disable cookies, as far as I can tell, but we can disable them on native targets.
2022-03-18 15:14:46 -07:00
player-03
ac88927b1a Merge pull request #1523 from Apprentice-Alchemist/patch-1
Remove custom zip reader.
2022-03-13 23:20:40 -04:00
Zeta
68135c0d33 Remove custom zip reader.
This file was added 8 years ago, and currently breaks `haxe.zip.Reader` usage on all targets but Neko.
I don't see a reason why it should be kept around, so let's delete it.
Closes #1400.
2022-03-13 21:35:04 +01:00
Josh Tynjala
fbefc24a22 Fix PP_vOdiii__v required but PP_vOiiii__v found in hdll error (references #1521)
Includes tweaks to commit 45955412eb to allow the code to continue working in HashLink

Co-authored-by: ShaharMS <88977041+ShaharMS@users.noreply.github.com>
2022-03-10 14:52:16 -08:00
Josh Tynjala
2e31ae9fd0 NativeHTTPRequest: manage cookies for the current session if withCredentials is true 2022-03-09 15:51:39 -08:00
Josh Tynjala
bd4c10a715 CURLBindings: implement CURLINFO_COOKIELIST
Returns an array of strings
2022-03-09 15:35:57 -08:00
player-03
8397294017 Merge pull request #1519 from Apprentice-Alchemist/feature/android-api-21
Upgrade to android API level 21.
2022-03-09 01:48:32 -05:00
Josh Tynjala
3ba4c4c5c0 CommandLineTools: added --template option to add a custom template path
Works similarly to --source
2022-02-24 15:55:08 -08:00
Josh Tynjala
925e2b67e7 Image: compatibility fix to allow use of genes library to compile as ES modules 2022-02-11 10:32:47 -08:00
Apprentice-Alchemist
b15dcb94c1 Upgrade to android API level 21. 2022-02-03 17:23:43 +01:00
player-03
cda9d3a4bb Add missing feature warning to FlashAudioSource. 2022-01-26 12:20:10 -05:00
player-03
878982e3e2 Never skip setCurrentTime(). 2022-01-26 12:14:20 -05:00
Joshua Granick
45955412eb Resolve KeyCode data type issue on Neko 2022-01-13 15:11:25 -08:00
player-03
07e65257c4 Add missing #if tag. 2022-01-10 07:46:04 -05:00
player-03
8e46831823 Remove redundant code. 2022-01-08 12:01:23 -05:00
player-03
c328d0c85c Make sure NativeAudioSource.handle is non-null.
Using `getGain()` and `setGain()` as a template. Like gain, you won't be able to set pitch before calling `init()`.
2022-01-07 20:44:28 -05:00
player-03
f46ed3dc7e Standardize setters in NativeAudioSource.
These setters now: (1) start by checking if anything changed, (2) use the new value in calculations, and (3) perform the assignment only at the end.
2022-01-07 19:02:43 -05:00