Hey, everyone!
Grab the latest patch releases for OpenFL and Lime from Haxelib to get the newest bug fixes.
haxelib install lime 8.2.3
haxelib install openfl 9.4.2
Changelog
OpenFL 9.4.2
- Fixed wrong mouse positions used by calculations on
TextFielddouble- and triple-click. - Fixed
TextFielddouble-click word selection when caret is immediately after the last character in a word. - Fixed
TextFielddouble-click selecting word on different line when caret is at beginning or end of line. - Fixed
Tilemapbeing unable to render more than 16384 tiles. - Fixed
Graphicsincorrectly clearing the line style onendFill(). - Fixed
readGraphicsData()forcing alpha to1forBEGIN_FILLcommand. - Fixed Stage 3D getting positioned too close to top-left of Stage on HiDPI screens.
- Fixed
masknot getting cleared fromDisplayObjectif it set on a newDisplayObjectinstead. - Fixed negative width and height on
scrollRectnot getting clamped to0.0. - Fixed
Filepath canonicalization to better handle exceptions, remove.and.., and further improve compatibility. - Fixed
Filefailing to copy directory when callingcopyTo()in some situations. - Fixed missing default fonts for
_sans,_serif, and_typewriteron iOS and iPadOS. - Fixed incorrect shape cache key in
TextFormatafter certain properties are changed. - Fixed exception when drawing to
Graphicsandgraphics.__cairoisnull. - Fixed crash when drawing
GraphicstoBitmapDataand onlyclear()andlineStyle()were called. - Fixed expansion of environment variables on Windows in
Filepaths. - Fixed scissor rect size when using
openfl_dpi_awaredefine. - Fixed exception in
Filewhen specifying root path (/) or a child of root. - Fixed invalid characters in
urlvalue ofFile. - Fixed broken rendering of
scale9Gridwhen a region’s width or height is0.0. - Fixed detection of char code when Caps Lock is enabled.
- Fixed
ColorMatrixFilternot returning a copy frommatrixgetter. - Fixed double slash when listing content of root path (
/) on non-Windows platforms. - Fixed exception in
Filewhen attempting to get parent of root path (/). - Fixed UTF-16 versus UTF-8 code paths in
TextLayoutfor cppia and other targets. - Fixed setting
x,y, oralphainDisplayObjecttoNaN, which should convert to0.0instead. - Fixed
ctrlKeyandcontrolKeyvalues onMouseEventthat weren’t consistent withKeyboardEvent. - Fixed unnecessary matrix clone in
transformsetter ofDisplayObject. - Fixed
nulldefault blend mode inDisplayObjectRenderer, which should have beenNORMAL. - Fixed missing
typeReference()onVectorexterns forflashtarget. - Fixed memory leak in WebKit by clearing and resetting Canvas context on disposal.
- Fixed case where
ENTER_FRAMEevent failed to properly register inDatagramSocket. - Fixed
DatagramSocketsometimes returningnullforlocalAddresswhen using wildcards. - Fixed
DatagramSocketvalue forlocalAddresswhen binding to0.0.0.0. - Fixed exception in
SimpleButtonwhen parent usescacheAsBitmapanddownStateisnull. - Fixed
setTextInputRectnot working on macOS because it was called before settingwindow.textInputEnabledtotrue. - Fixed
TextFieldnot respecting changes toantiAliasTypeandsharpnesson native targets. - Fixed
BlurFiltersometimes cutting off parts of the blur effect. - Fixed
ShaderFiltercache not getting cleared on transformation changes. - Fixed value of
bubblesproperty onEventwhen usingopenfl_pool_events. - Fixed text updates not getting batched in
FPSwhen usinggl_stats. - Fixed uninitialized
$global.$haxeUIDin openfl-js library.
Lime 8.2.3
- Fixed JPEG rendering on 32-bit platforms.
- Fixed application hang in
FileDialogon Windows by forcingSINGLE_THREADEDflag. - Fixed iOS device installation on versions older than iOS 16.
- Fixed how iOS 16 and newer devices are selected for testing to support more available devices.
- Fixed ability to specify the version of a Haxelib when using a local .haxelib repository.
- Fixed exception when initializing vibration on Android and permission was disabled.
- Fixed parent directory incorrectly opened in
FileDialogif the default path is a directory. - Fixed Unicode system path conversions on Linux.
- Fixed
password,alias, andaliasPasswordbeing assigned incorrectly in Lime tools. - Fixed crash in
AudioManagerwhenalc.openDevice()returnsnull. - Fixed references to certain types for stricter rules in Haxe 5.
- Fixed
FFECT_AUTOWAHtypo by adding correctEFFECT_AUTOWAHvalue. - Fixed exception in
HTML5HTTPRequestin some environments whenrequest.uploadisnull. - Fixed
EXC_BAD_ACCESSwhen decoding PNGs and the bytes arenullor length is0. - Fixed iOS app sometimes running in iPhone simulator when
<config:ios device="ipad"/>is specified. - Fixed iOS app sometimes not starting in simulator by recognizing more valid simulator IDs.
- Fixed incorrect request for confirmation when
-aliasor-cliflags are specified. - Fixed conversions between key codes and scan codes in both directions.
- Fixed memory leak in cURL bindings from header values not getting freed.
- Added
CURLOPT_ACCEPT_ENCODINGoption for native HTTP requests. - Fixed missing
macosdefine when using cpp target on macOS. - Fixed compatibility with Haxe 3 in
HTML5Threadand Lime tools. - Fixed failed static build linking on Windows caused by missing .lib file.
- Fixed failed static builds caused by conflicts between hxcpp’s and Lime’s mbedtls versions.
- Fixed missing UTF-8 conversion in
hb_buffer_add_utf8. - Fixed
Font.getGlyphs()returning an array of zeroes on HashLink. - Fixed
Font.getGlyphs()getting stuck in an infinite loop on encountering an invalid character. - Fixed
System.getDirectory()UTF-16 encoding. - Fixed error not getting displayed when NDK 20 or newer is required for Android.
- Fixed OpenAL Soft build on Android by adding
-std=c++11option. - Fixed deprecation warning on Android caused by using deprecated no-arg constructor in
android.os.Handler. - Fixed unnecessary
untyped __js__inImageCanvasUtilbecause externs are now available. - Fixed crashes when SDL functions return
NULLon some targets. - Fixed
Timer.stop()performing redundant iterations. - Added
-cli,-alias, and-noaliasflags to usage instructions. - Added instructions to use
lime config remove HL_PATHto clear a custom HashLink version. - Changed
non-exempt-encryptiondefault for iOS fromtruetofalse. - Removed usage of legacy
MAC_USE_CURRENT_SDKdefine in Lime tools when targeting macOS. - Updated Cairo submodule to version 1.18.2 from a snapshot release.
- Updated HarfBuzz submodule to version 10.2.0.
- Updated cURL submodule to version 7.87.0.
- Updated zlib submodule to version 1.2.13.
- Updated png submodule to version 1.6.46.
- Updated efsw submodule to version 1.4.1.
- Updated tinyfiledialogs submodule to version 3.19.1 and fix compatibility with zenity.
