Release 4.3.109
·
14 commits
to master
since this release
Marshal String Encodings (#1283) * Add new encoding tests and implementation * Remove old marshal stuff and return an empty string instead of throwing * update tests * Case change * Update utf16 codepoint encoder * Add some extra functions * copyTo function for view * single bounds check for utf8 encode * marshal writes * remove some conversion issues * Remove un-needed cast * Remove questionable implicit view to pointer conversions * int returns * switch to a dedicated codepoint function for utf16 * move to a dedicated codepoint function for utf8 as well * Fix incorrect index reuse * Add new view extension cstring function tests * Add a smart strings guard * const view * const ref marshal read and writes * more const ref and less object copying * Fix index reuse issue * separate build xml for encoding * Don't return hx::Throw result in non smart string case * Revert "separate build xml for encoding" This reverts commit 695e134657b2ae014de2d2c4cd88544eb0d62537. * better smart string handling and shuffle some functions in lower hxcpp * Revert some version guards * Add pointer check define * I don't understand why this is needed No changes were made in this area, dev haxe + hxcpp also fails to build that test locally for me * remove addition since there must be something else weird going on * Could it really be this? * Dynamic char32_t support --------- Co-authored-by: Aidan Lee <aidan.lee@evcam.com>