Skip to content

Releases: Apprentice-Alchemist/hxcpp

Release 4.3.36

24 Sep 07:59
1618253

Choose a tag to compare

Avoid out of bounds access in String::fromCharCode (#1254)

If c is negative (this can happen if char is signed), then accessing
sConstStrings[c] is an out of bounds memory access. This results in a
string being created from garbage memory, which can lead to seg faults
later on.

Taking the other branch is safer in this case.

Release 4.3.35

15 Jul 13:11
af8afd6

Choose a tag to compare

fixes multithread marking (#1240)

Multithreaded marking wasn’t working because the following preprocessor block was never executed (at least when compiling with MSVC):

#if (MAX_GC_THREADS>1)
   // You can uncomment this for better call stacks if it crashes while collecting
   #define HX_MULTI_THREAD_MARKING
#endif

Release 4.3.34

01 Jan 14:14

Choose a tag to compare

v4.3.34

Do not attempt to load ndll when the name is empty

Release 4.3.33

30 Dec 13:42
54af892

Choose a tag to compare

add support for Tracy profiler (#1153)

* add support for Tracy profiler

* add tracy client

* add Aidan's StackContext Zone

* a bit more documentation

* doc cleanup

* add HXCPP_TRACY_DISABLE_STACKS flag

* put tracy include behind HXCPP_TRACY

* move code to third party; move tracy into it's own cachable <files> section in haxe-target.xml

* shift tracy telemetry into its own cpp file

* fix incorrect signature

* add global __hxcpp_tracy_* telemetry functions

* add ctx to cppia-stackframe; fix sourcelocation's fullName

* remove the dependency on haxe's stackframe context, use tracyZones vector instead

* update docs

* bug: fix InternalNew's  parameter being used as linenumber in its HX_STACK_FRAME

* fix wrong path in HX_STACK_FRAME

* add HXCPP_TRACY_NO_EXIT & HXCPP_TRACY_ON_DEMAND support

* added HXCPP_TRACY_INCLUDE_CALLSTACKS, use this to generate & include callstacks in the profiler zones

* allocation tracking

* add no-op gc alloc function to hxtelemetry implementation

* Account for the same large object pointer appearing before collection

* add HXCPP_TRACY_MEMORY

* stack depth needs +1

* track large objects globally

* eagerly free large objects

* add __hxcpp_tracy_set_thread_name_and_group; disable custom GC ___tracy_source_location_data

* new tracy telemetry header and hxcpp zone macro

* Use hxcpp float

* fix argument order in custom scope

* Remove test zone function

* line unique scope variable

* callstack macro variant

* fix HXCPP_TRACY_ZONE

* zone count function

* update docs & comments

* update readme

---------

Co-authored-by: Aidan Lee <aidan.lee63@gmail.com>

Release 4.3.32

26 Jul 10:06
7665c67

Choose a tag to compare

[android] Bump default API level to 21. (#1134)

NDK r26 has dropped support for API levels 19 and 20.
This only affects armv7 and x86, 64-bit architectures already required API level 21 or higher.
https://github.com/android/ndk/wiki/Changelog-r26#announcements

Release 4.3.31

11 Jul 20:32
6d0b37b

Choose a tag to compare

[ssl] Separate mbedtls c files from SSL.cpp (#1125)

* [ssl] Separate mbedtls c files from SSL.cpp

* [ssl] Remove mbedtls depend on hxcpp-depends

Release 4.3.3

03 Jul 15:21
298ad2d

Choose a tag to compare

Include string in Immix.cpp for GC logging (#1059)

Tried to compile a project with GC debug logging (HXCPP_GC_DEBUG_LEVEL) and found it failed to compile with string not found in std errors. Including string in immix gets things working.

Release 4.3.2

03 Jul 15:20
298ad2d

Choose a tag to compare

Include string in Immix.cpp for GC logging (#1059)

Tried to compile a project with GC debug logging (HXCPP_GC_DEBUG_LEVEL) and found it failed to compile with string not found in std errors. Including string in immix gets things working.

Release 4.3.1

17 Jun 07:39
769261c

Choose a tag to compare

Update HaxeTarget.md (#1056)

Fix typo in build_xml docs.