Commit Graph

5643 Commits

Author SHA1 Message Date
Chris Speciale
e480067c07 Bump haxelib version
Prepare for next patch release
2024-10-22 07:25:19 -04:00
Chris Speciale
a8939e9951 Merge pull request #1834 from gepatto/8.2.0-Dev
set correct paths for ndll for linxuarm and linuxarm64 (raspberrypi)
2024-10-22 07:17:56 -04:00
player-03
4c987ef1cc HL didn't support threads in Haxe 3. 2024-10-21 19:51:14 -04:00
Josh Tynjala
1871349077 actions: fix typo in curl output path 8.2.0 2024-10-21 13:40:08 -07:00
Josh Tynjala
be51435b28 actions: fix curl commands 2024-10-21 13:21:53 -07:00
Josh Tynjala
32b86f50f5 actions: don't include hxcpp.zip in haxelib bundle
Download to parent directory instead.
2024-10-21 11:55:12 -07:00
Josh Tynjala
54d647f4c9 README: installation section was missing haxelib install and lime setup commands 2024-10-21 09:16:19 -07:00
Josh Tynjala
d7cd79a7e3 prepare for 8.2.0 2024-10-21 09:16:19 -07:00
Josh Tynjala
91705c0b49 CHANGELOG: more updates 2024-10-21 09:16:19 -07:00
Chris Speciale
8a5b9d506a Font: Add missing Docs 2024-10-18 02:56:35 -04:00
Josh Tynjala
9b1ea24648 FileDialog: Fixes issue where file dialog stops responding in HashLink on Windows (closes #1849)
Does not seem to recover when it happens, requiring the Lime app to be force closed. Some kind of threading issue that is affecting HashLink on Windows only (macOS and Linux are fine, and other sys targets are fine).

Fixed by passing SINGLE_THREADED to ThreadPool constructor using #if (windows && hl)
2024-10-17 13:41:28 -07:00
Josh Tynjala
0e974fd733 AIRHelper: add support for AIR adt -tsa option
Example:

<config:air tsa="http://timestamp.digicert.com"/>

Required to workaround "Could not generate timestamp: Connection reset" error from adt with default timestamp URL.
2024-10-17 09:18:05 -07:00
Chris Speciale
7dc3718551 BackgroundWorker: Add hl flag
Prevents hl from freezing up when using bgworker
2024-10-16 00:34:09 -04:00
Cobalt Bar
ccb7647827 actions: use the same version of hxcpp for all jobs (#1850)
We're currently using a version of hxcpp from GitHub instead of from Haxelib for macOS ARM64 support. Let's just use that version for all jobs, for consistency. Whenever hxcpp finally gets update on Haxelib, we'll switch to that version.
2024-10-10 09:36:46 -07:00
Josh Tynjala
700c2c727b preliminary 8.2.0 CHANGELOG 2024-10-07 14:26:40 -07:00
Josh Tynjala
a1dcad42df harfbuzz: update to 6.0.0
Needed for macOS when using Xcode 16 and clang 16. This version of clang produces errors like this when compiling harfbuzz:

cast from 'void (*)(FT_Face)' (aka 'void (*)(FT_FaceRec_ *)') to 'FT_Generic_Finalizer' (aka 'void (*)(void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict]

This is the minimum version of harfbuzz that fixes the errors. We could certainly consider upgrading further (current release is 10.0.1 at the time of this commit).
2024-10-07 10:13:03 -07:00
Josh Tynjala
895ce877d9 Default hlc target directory is not the same as hl 2024-10-07 09:40:22 -07:00
Josh Tynjala
dd79e5852a LZMA: fix is check missing parentheses 2024-09-10 11:10:34 -07:00
Josh Tynjala
c4a9bb81b5 Socket: flash extern used wrong type for objectEncoding property 2024-09-04 14:31:10 -07:00
Josh Tynjala
6ab5246a47 actions: update dependencies 2024-09-03 15:32:50 -07:00
player-03
96c5c1c121 Simplify ThreadPool.cancelJob().
Offering four options makes the underlying code more complicated for minimal benefit.
2024-08-24 16:19:46 -04:00
Chris Speciale
0b936846d9 AudioBuffer: docs
Missing docs.
2024-08-22 17:40:58 -04:00
Chris Speciale
4f4f5df7d8 AudioSource: Docs
We need more docs!
2024-08-22 17:30:50 -04:00
Chris Speciale
5c8538efcb BackgroundWorker: More docs
Forgot the properties.
2024-08-22 17:22:39 -04:00
Chris Speciale
2907e42431 BackgroundWorker:Docs
Originally had docs for this but we nixed it for a while so they never got added.
2024-08-22 17:19:38 -04:00
Joseph Cloutier
d3a39b560d One more documentation pass.
Hopefully my last before 8.2.0.
2024-08-22 01:44:39 -04:00
Joseph Cloutier
a774bac183 Remove canceled and completed from ThreadPool.
These were added for drop-in compatibility with `BackgroundWorker`, but we might not need that level of compatibility. We can discuss adding these back later if there's demand.
2024-08-18 21:44:47 -04:00
Joseph Cloutier
b7dd45586c Haxe expects documentation above metadata. 2024-08-18 21:42:44 -04:00
Patrick Gutlich
40764acbf3 set correct paths for ndll for linxuarm and linuxarm64 (raspberrypi)
and remove conflicting legacy includepaths in build.xml
2024-08-18 17:12:47 +02:00
Joseph Cloutier
b3e44ba03d Run formatter. 2024-08-17 23:47:46 -04:00
Joseph Cloutier
9b7c7914bf Update ThreadPool documentation. 2024-08-17 23:46:26 -04:00
ACrazyTown
ed05aa2674 Fix getContextsDevice on Hashlink 2024-08-16 14:14:17 -07:00
player-03
31700a034c Merge pull request #1830 from player-03/old_thread_classes
Restore old `Future` and `BackgroundWorker` behavior.
2024-08-16 17:14:01 -04:00
Joseph Cloutier
6873ae1fd4 Future.ready() only works when threads are available. 2024-08-15 16:44:52 -04:00
Joseph Cloutier
2866d099a2 Remove external link.
While I put a lot of effort into that guide, we're changing several things suddenly, and I don't have time to make sure it's up to date.
2024-08-15 16:31:48 -04:00
Joseph Cloutier
52931a8dc7 Revert to Future's behavior from 8.1.3.
As with `BackgroundWorker`, we're postponing major changes to give us more time to consider.
2024-08-15 16:16:17 -04:00
Joseph Cloutier
d0cef427bc Revert BackgroundWorker to its 8.1.3 version.
It looks like we'll want to take `BackgroundWorker` in a different direction, so for the moment it's safest not to change anything about it. That way, there's only one historical version to maintain backwards compatibility with.
2024-08-15 15:39:07 -04:00
Joseph Cloutier
8f631fe3ad Optimize ThreadPool slightly.
`__activeThreads` and `__idleThreads` only need to be allocated for multi-threaded pools. Plus, there's no benefit to using a `List` here; we only add to and remove from the end.

And finally, checking `event.job == null` instead of `isOfType()` is faster and avoids an issue in HTML5. Sadly it is less safe, so we might need to revisit it eventually.
2024-08-11 21:40:00 -04:00
Joseph Cloutier
0b83b7d45e Fix typo. 2024-08-11 16:11:19 -04:00
Joseph Cloutier
bf4711a01d Avoid sending JobData back to the main thread.
The main thread can easily look these up by ID, and in HTML5, sending the full `JobData` can cause errors.
2024-08-09 16:43:51 -04:00
Joseph Cloutier
dae33c0c1a Bug fix: new job could be ignored if it arrived with precise timing. 2024-08-09 15:11:50 -04:00
Josh Tynjala
95baa58eff Merge branch 'develop' into 8.2.0-Dev 2024-07-22 10:01:46 -07:00
Josh Tynjala
9f369b7637 release date 8.1.3 2024-07-22 08:33:26 -07:00
Josh Tynjala
b866632a6f tools: allow -x86_64 and -x86_32 as command line flags to select those architectures instead of defaults (closes #1819)
Still supports -32 and -64, though, for backwards compatibility. We could consider removing those in Lime 9.
2024-07-19 14:46:47 -07:00
Josh Tynjala
f4ce198c8e prepare for Lime 8.1.3 2024-07-19 09:39:12 -07:00
Josh Tynjala
745c178908 MacPlatform: find lime.hdll in Mac64 on ARM64 Mac because HashLink doesn't support x86_64 yet 2024-07-18 12:23:32 -07:00
Josh Tynjala
b95dac4da3 MacPlatform: always build HashLink for Intel on macOS for now 2024-07-18 12:14:07 -07:00
tobil4sk
4fa31a0d34 [tools] Cross compile to x86 from arm64 on mac (#1813) 2024-07-14 12:08:01 +01:00
Chris Speciale
ca52db81ef Merge pull request #1817 from tobil4sk/fix/mac-curl-static-link
Fix curl static linking on mac
2024-07-12 07:50:05 -04:00
Tobiasz Laskowski
a5844a42df Fix curl static linking on mac
This was overlooked in #1682
2024-07-12 12:28:59 +01:00