Commit Graph

401 Commits

Author SHA1 Message Date
tobil4sk
940eb2083d Copy mingw libraries after build 2023-04-12 23:17:07 +01:00
tobil4sk
7f5dcb4e9f Respect -mingw flag for cross compiling to windows 2023-04-12 23:17:07 +01:00
Josh Tynjala
f34b595e70 IOSPlatform: remove armv7 from default iOS architectures because latest Xcode reports error
Fixes error: The armv7 architecture is deprecated. You should update your ARCHS build setting to remove the armv7 architecture. (in target 'Build Haxe' from project 'MyProject')
2023-04-10 15:20:50 -07:00
Josh Tynjala
72db242720 IOSPlatform: be explicit about armv6, just in case the default architecture used by hxcpp changes in the future
The default changed recently for the x86 simulator, so best to be safe
2023-04-10 15:03:45 -07:00
Josh Tynjala
1e6d883baf IOSPlatform: when building liblime.iphonesim.a, explicitly add -DHXCPP_M32
It looks like the new hxcpp update defaults to 64-bit now, so we need to be explicit
2023-04-10 14:58:24 -07:00
Chris Speciale
3b5588267b tools.hxml: Remove -D no-inline
The no-inline macro was added previously to fix a compatibility issue with an older version of Haxe. It remains to be seen whether or not it is necessary as it seems to create conflicts with intermittent versions of Haxe. For this purpose we will remove it, unless it is deemed necessary again in the future. See: https://github.com/openfl/lime/discussions/1645 for more info.
2023-03-07 12:03:27 -05:00
player-03
cd9f0225a1 Fix null pointer error in IOSPlatform. 2022-10-21 19:39:30 -04:00
Josh Tynjala
fd0fc3da48 HashLink: fix the ability to double-click the .app file on macOS to run it
The HashLink executable expects hlboot.dat and libraries to be in the current working directory (it's not enough for them to be in the same directory as the executable). Make the .app file launch a shell script that 1) changes the current working directory 2) launches the HashLink executable
2022-07-13 10:01:57 -07:00
Josh Tynjala
4be9bcf6ff CommandLineTools: mention new --template option from commit 3ba4c4c5c0 in help text 2022-06-10 09:55:50 -07:00
Joseph Cloutier
3d3bcc4ebc Set minimum-sdk-version to 21.
For parity with #1519, and to resolve #757.
2022-06-06 22:20:15 -04:00
Josh Tynjala
8a3b990f98 MacPlatform: use executableDirectory instead of applicationDirectory when copying HashLink (references #1517) 2022-06-03 13:19:25 -07:00
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
Apprentice-Alchemist
6f196008c2 Fix Haxe 3 compat. 2022-04-28 19:53:31 +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
cb3b0240de Implement lime setup hl in a hopefully better way. 2022-04-28 19:42:46 +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
aa62d786b3 Add some more -pthread. 2022-04-28 19:42:44 +02:00
Apprentice-Alchemist
a288feca96 Add hashlink as a submodule. 2022-04-28 19:42:41 +02: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
ee39b85a9e Fix compatibility with older Haxe 2022-04-26 13:20:43 -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
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
Apprentice-Alchemist
b15dcb94c1 Upgrade to android API level 21. 2022-02-03 17:23:43 +01:00
Josh Tynjala
bedeed591b Added new -air-simulator option for lime test air -ios (or lime test air -android)
This launches the AIR simulator (ADL), but it passes additional options to tell it to simulate a mobile device.
2021-11-12 14:58:22 -08:00
Joseph Cloutier
66d906395a Remove lime-samples dependency in createProject.
As pointed out in issue #976, `lime create project XYZ` doesn't rely on any project but Lime itself, and shouldn't try to load lime-samples.
2021-11-01 10:13:50 -07:00
Justin Espedal
6ca5972186 Fix iOS -Info.plist merging feature for paths with spaces 2021-03-26 08:03:41 +09:00
Joshua Granick
8c9808b038 Run formatter 2021-03-10 13:22:39 -08:00
Josh Tynjala
4271854980 WindowsPlatform: warn instead of error if HL_PATH is not defined 2021-03-05 11:35:43 -08:00
Joshua Granick
b7f939b6aa Make iOS default deployment 9 (increased from 8) 2021-01-06 09:52:36 -08:00
Joshua Granick
ccd9dca6e1 Add explicit toString() call for HXML display 2020-12-21 17:24:44 -08:00
Joshua Granick
79e21c8312 Fix watch command (resolves haxelime/hxp#23) 2020-12-21 12:50:14 -08:00
player-03
c4993248e7 Merge pull request #1417 from player-03/buildNumber
Add flag to read buildNumber from .build.
2020-12-16 21:57:07 -05:00
Joshua Granick
fe51dea293 Compile fix 2020-11-10 10:29:00 -08:00
Joshua Granick
12b83bd590 Improve error message on HL/Windows 2020-10-29 14:55:53 -07:00
Jens Fischer
eac0c93b2c Fix Std.is() deprecation warnings with Haxe 4.2 (#1412) 2020-07-18 09:24:01 +02:00
loudoweb
391f2ae151 add ssl.hdll into hl builds 2020-07-16 11:12:18 +02:00
loudoweb
e846c3df9a add binaries setup for HL 2020-07-15 21:07:41 +02:00
Joseph Cloutier
53fac1a469 Add flag to read buildNumber from .build.
By setting `<meta build-number=".build" />`, you can force Lime not
to calculate a build number from git or svn, but instead use the
default option of getting it from the .build file.

Since setting this value would previously have produced useless
build numbers, it's unlikely that this affects any existing builds.
2020-07-07 15:36:51 -04:00
Josh Tynjala
164558726a PlatformSetup: sudo still required on Linux 2020-07-07 12:35:36 -07:00
Josh Tynjala
461a73fed3 PlatformTools: sudo is not required to copy to /usr/local/bin
This improves the setup experience by not requiring a password
2020-07-07 11:18:25 -07:00
Josh Tynjala
9eb846ba8c Revert "Fix for lime build won't read .build if git is present"
This reverts commit 3e4aed9415.
2020-07-07 10:49:32 -07:00
giuppe
3e4aed9415 Fix for lime build won't read .build if git is present 2020-06-24 11:22:57 -07:00
Justin Espedal
0d325bfb07 Allow xcframework dependencies for Xcode. 2020-06-02 12:26:42 -07:00