From 42ba7459da760c865517dc2ee250de9ce5e0814c Mon Sep 17 00:00:00 2001 From: Rafi Date: Sun, 8 Nov 2026 11:24:49 +0000 Subject: [PATCH 1/2] Patch-up iOS Simulator's architectures logic Co-Authored-By: Karim Akra <144803230+KarimAkra@users.noreply.github.com> --- Changes.md | 1 + toolchain/finish-setup.xml | 8 +++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Changes.md b/Changes.md index 64b5fc295..3ad0419ce 100644 --- a/Changes.md +++ b/Changes.md @@ -2,6 +2,7 @@ libhxcpp 6.0.0 (unreleased) ------------------------------------------------------------ +* Properly linked up iOS Simulator define for 3 LIBEXTRAs in finish-setup.xml (libhxcpp #432) * Added HXCPP_PROGRESS_PERCENT, which shows a group's compile progress as a percentage of its files, [42.5% ], instead of a count, [425/1000] * Fixed a program on Linux with glibc staying as large as its largest burst of large allocations, such as the files a game reads while it loads: glibc keeps a freed buffer's memory in its heap unless it had mapped the buffer on its own, and once a buffer mapped on its own has been freed it stops mapping those of that size or less, up to 32 MB. The memory of the large buffers a collection freed then stayed the process's. The collector now trims the C heap once 16 MB has been freed to it, on the thread that frees the buffers. A program that dropped 384 MB of 4 MB buffers stayed at 396 MB resident and now returns to 12 MB * Fixed a native extension that includes hx/CFFI.h before hx/CFFIPrime.h, as SteamWrap does, failing to compile with hxs_encoding, hxs_utf16 and alloc_hxs_utf8 not declared: CFFI.h included first declares the CFFI API without HXCPP_PRIME, so without the Prime string functions that the ordinary wrapper of a DEFINE_PRIME function now uses. CFFIPrime.h declares them then diff --git a/toolchain/finish-setup.xml b/toolchain/finish-setup.xml index 90f988d7f..cb262ec93 100644 --- a/toolchain/finish-setup.xml +++ b/toolchain/finish-setup.xml @@ -41,9 +41,11 @@ - - - +
+ + + +
From 73332aa7a1c54e7fed4f73562012fdffef6a693b Mon Sep 17 00:00:00 2001 From: Chris Speciale Date: Thu, 12 Nov 2026 23:40:33 -0500 Subject: [PATCH 2/2] Leave the Changes.md line out and indent the section with tabs The section sets the same LIBEXTRA as the three lines it replaces in every case, so no build changes and there is nothing for Changes.md to report. --- Changes.md | 1 - toolchain/finish-setup.xml | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Changes.md b/Changes.md index 3ad0419ce..64b5fc295 100644 --- a/Changes.md +++ b/Changes.md @@ -2,7 +2,6 @@ libhxcpp 6.0.0 (unreleased) ------------------------------------------------------------ -* Properly linked up iOS Simulator define for 3 LIBEXTRAs in finish-setup.xml (libhxcpp #432) * Added HXCPP_PROGRESS_PERCENT, which shows a group's compile progress as a percentage of its files, [42.5% ], instead of a count, [425/1000] * Fixed a program on Linux with glibc staying as large as its largest burst of large allocations, such as the files a game reads while it loads: glibc keeps a freed buffer's memory in its heap unless it had mapped the buffer on its own, and once a buffer mapped on its own has been freed it stops mapping those of that size or less, up to 32 MB. The memory of the large buffers a collection freed then stayed the process's. The collector now trims the C heap once 16 MB has been freed to it, on the thread that frees the buffers. A program that dropped 384 MB of 4 MB buffers stayed at 396 MB resident and now returns to 12 MB * Fixed a native extension that includes hx/CFFI.h before hx/CFFIPrime.h, as SteamWrap does, failing to compile with hxs_encoding, hxs_utf16 and alloc_hxs_utf8 not declared: CFFI.h included first declares the CFFI API without HXCPP_PRIME, so without the Prime string functions that the ordinary wrapper of a DEFINE_PRIME function now uses. CFFIPrime.h declares them then diff --git a/toolchain/finish-setup.xml b/toolchain/finish-setup.xml index cb262ec93..1fcb4ebde 100644 --- a/toolchain/finish-setup.xml +++ b/toolchain/finish-setup.xml @@ -42,9 +42,9 @@
- - - + + +