Commit Graph

4732 Commits

Author SHA1 Message Date
Apprentice-Alchemist
ad70700a14 Try to fix Windows mess a bit.
Default to 64 bit on windows too.
2022-05-19 20:46:08 +02:00
Apprentice-Alchemist
b2546aac9f Try fixing macOS and support no_console Windows subsystem. 2022-05-18 08:11:44 +02:00
Zeta
362ab26d18 Merge branch 'develop' into feature/update-hashlink 2022-05-08 16:47:46 +02:00
Joshua Granick
c406bc53ea Update submodule paths 2022-05-02 16:33:04 -07:00
Josh Tynjala
4ea5807853 Merge pull request #1527 from junsred/prevent-clipboard-being-set-as-null
prevent clipboard being set as null
2022-04-29 09:17:23 -07:00
Josh Tynjala
fe5d38df08 Merge pull request #1526 from player-03/validation-types
Reduce clutter by merging related files.
2022-04-28 15:04:42 -07:00
Junsred
0c077da2bb better readability 2022-04-29 00:17:16 +03:00
Apprentice-Alchemist
7dbc4e9c71 More haxe 3 fixes. 2022-04-28 19:56:30 +02:00
Apprentice-Alchemist
6f196008c2 Fix Haxe 3 compat. 2022-04-28 19:53:31 +02:00
Apprentice-Alchemist
0238825884 Update hashlink to 1.12. 2022-04-28 19:45:59 +02:00
Apprentice-Alchemist
1471d8a60d Try to fix CI. 2022-04-28 19:42:52 +02:00
Apprentice-Alchemist
668b3f7ba7 Fix the HashlinkHelper 2022-04-28 19:42:51 +02:00
Apprentice-Alchemist
3a55a30fad Add some include paths, to try and make mac work. 2022-04-28 19:42:51 +02:00
Apprentice-Alchemist
50cc49c66d Fix filewatcher RemoveDirectory issue.
Windows headers define RemoveDirectory as RemoveDirectoryA.
system/FileWatcher.h needs to be included after any headers that might include windows headers.
2022-04-28 19:42:50 +02:00
Apprentice-Alchemist
442c219fb5 Add more libs for libuv. 2022-04-28 19:42:50 +02:00
Apprentice-Alchemist
de24e7bc4b Fix INT32 redefined error in libjpeg. 2022-04-28 19:42:49 +02:00
Apprentice-Alchemist
0f8c5a69f2 Fix typo. 2022-04-28 19:42:49 +02:00
Apprentice-Alchemist
abdf1450fd Why the hell are we still doing 32 bit. 2022-04-28 19:42:48 +02:00
Apprentice-Alchemist
c2595b908d Fixup CI, and some includes. 2022-04-28 19:42:48 +02:00
Apprentice-Alchemist
4c001e1169 Also build fmt, ui and uv libraries. 2022-04-28 19:42:47 +02:00
Apprentice-Alchemist
d6b3e826d4 Update hashlink. 2022-04-28 19:42:47 +02:00
Apprentice-Alchemist
cb3b0240de Implement lime setup hl in a hopefully better way. 2022-04-28 19:42:46 +02:00
Apprentice-Alchemist
18f680e247 Fix haxelime/lime#1516 again. 2022-04-28 19:42:46 +02:00
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
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