Commit Graph

5687 Commits

Author SHA1 Message Date
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
Joshua Granick
656c761cb0 Fix broken JPEG decoding (tested on Windows) 2024-07-09 13:27:54 -07:00
Joshua Granick
88e21e6cc9 Fix JS, minor improvements to readability after generate 2024-07-09 10:53:53 -07:00
Josh Tynjala
8f3ea8d271 Merge branch 'develop' into 8.2.0-Dev 2024-07-08 14:31:23 -07:00
Josh Tynjala
84d7f39605 Revert "MacPlatform: use install_name_tool to add /usr/local/lib and /opt/hombrew/lib to rpath of lime.ndll"
This reverts commit 47936494ac.

Didn't work with Haxe/Neko installed from Apple Silicon Homebrew because Lime tools couldn't link to Neko.
2024-07-08 14:27:15 -07:00
tobil4sk
0ef949f865 Merge pull request #1472 from nixbody/cffi-unicode-fixes
UNICODE fixes (clipboard, window title, file dialogs, paths, font glyphs, ...)
2024-07-07 23:10:43 +01:00
player-03
e295c8e758 Merge pull request #1804 from MAJigsaw77/vibration-deprecation-fix
Android vibration fixes.
2024-07-07 16:18:13 -04:00