Openfl

Latest version: v1.6

Safety actively analyzes 688896 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 29

9.2.2

------------------

* Updated flash target externs for Haxe 4.3 compatibility
* Resolve new `:enum abstract` warnings for Haxe 4.3 by replacing with `enum abstract`, if current Haxe version supports it
* Fixed `TextField` keyboard shortcut support to account for AltGr key
* Fixed double timer in `TextField` that would cause caret to keep blinking on focus out
* Fixed exception in `TextField` rendered by Cairo when the text contains ligatures
* Fixed `null` exception in `FileReference.browse()` when no files are selected on html5 target
* Fixed incorrect `accept` attribute on html5 input element if type filter is used once, but not second time
* Fixed `Context3D` scissor rectangle (again), with better fix for both classic display list and Stage 3D
* Fixed text for AM and PM returned by `DateTimeFormatter` on html5 target
* Fixed default locale on html5 for `DateTimeFormatter` and `LocaleID`
* Fixed drawing display object with `visible == false` to `BitmapData`, which should have made it temporarily visible
* Fixed default fallback `QName.uri` value to match flash target
* Fixed bounds calculation of `Graphics.cubicCurveTo()`
* Fixed "Select error 22" exception when creating many `Socket` objects at once
* Fixed uncaught exception when creating a `Socket`
* Fixed invalid `null` value passed to `Vector` constructor on flash target
* Fixed possible incorrect detection of current stage on `TextField` mouse up
* Fixed `Transform.matrix3D` setter vertical scale value
* Fixed default `blendMode` used by `ShaderFilter`
* Fixed setting `topExtension`, `rightExtension`, `bottomExtension`, and `leftExtension` in `ShaderFilter`
* Fixed compilation of `RenderEvent` for flash target
* Fixed issue where setting `width` and `height` of `Video` was sometimes ignored
* Fixed missing `System.totalMemory` and `System.gc()` on HashLink
* Fixed `Graphics.lineGradientStyle()` to allow `null` values for `alphas` and `ratios` parameters, similar to `beginGradientFill()`
* Fixed default fallback value for `ratios` parameter in `Graphics.lineGradientStyle()` and `beginGradientFill()`
* Fixed `Graphics` (and text) jitter on HiDPI screens when using hardware acceleration by snapping to nearest device pixel instead of nearest stage pixel
* Added missing parameters to `Context3D.drawToBitmapData()` in flash target externs
* Added new `openfl_disable_graphics_pixel_snapping` define to optionally disable pixel snapping on `Graphics` tx/ty transformation
* Translate environment variables that appear in `File` path on Windows
* When using flash target with Haxe 4.3, Lime 8.0.2 is required

9.2.1

------------------

* Improved shader debug logging on html5 target
* Fixed `Socket` error handling missing some exceptions
* Fixed `Context3D` scissor rectangle when scaling for HiDPI screens
* Fixed ignored user input after changing `TextField.type` to `INPUT` when it already has focus
* Fixed `TextField` exception when calculating `scrollV`
* Fixed double constructor in SWF library
* Fixed rendering of `StaticText` when using `-Dcairo`
* Fixed `scrollRect` changes not affecting display objects with `cacheAsBitmap` or `filters`
* Fixed exception in `Font.fromFile` when path is null
* Fixed generation of temp file path to avoid using one that already exist
* Fixed null exception in `FileStream` when calling `close()` on already closed stream
* Fixed `OutputProgressEvent` on flash/air targets
* Temporarily limited length of `File` dialog filter types to one until Lime allows more than one

9.2.0

------------------

* Added `openfl.text.StyleSheet` implementation for `TextField`
* Added `scaleMode` implementation to `Stage`
* Added automatic scaling on HiDPI screens when `window.allow-high-dpi` enabled in project (use `-Dopenfl-disable-hdpi` to restore old behavior)
* Added `File`, `FileStream`, and `FileMode` in the `openfl.filesystem` package to read and write files on native platforms
* Added `openfl.desktop.NativeProcess` to run executables on native platforms
* Added `openfl.display.ChildAccess` abstract to simplify access to nested display objects
* Added `openfl.net.IDynamicPropertyOutput` and `openfl.net.IDynamicPropertyWriter` interfaces
* Added `openfl.net.Responder`, `openfl.utils.Namespace`, and `openfl.utils.QName` classes
* Added `isXMLName`, `registerClassAlias`, and `getClassByAlias` static methods to `openfl.Lib`
* Added `condenseWhite` property to `TextField` for `htmlText` whitespace removal
* Added `openfl.globalization.DateTimeFormatter` implementation for HTML5 and Flash (defaults to en_US on native platforms)
* Added `some` and `every` methods to `Vector`
* Added session cookie management for `URLLoader` on native platforms
* Added Stage 3D to the DOM renderer on HTML5
* Added optional text measurement with DIV on HTML5 (use `-Dopenfl-measuretext-div`)
* Added `fromBundle` static method to `openfl.utils.AssetLibrary`
* Improved `TextField` DOM rendering and measurement on HTML5
* Improved `Font.enumerateFonts` to return device fonts, if specified
* Improved visibility of focused `TextField` on mobile by specifying its global rectangle
* Improved `restrict` parsing in `TextField` when it contains multiple `^` characters
* Improved `<li>` element rendering in `TextField` by adding line breaks and displaying bullets
* Improved `htmlText` parsing in `TextField` for HTML entity character codes like `&38;` and `&x20AC;`
* Improved positioning of underline in `TextField`
* Improved `URLVariables` syntax compatibility with Flash by adding `:arrayAccess`
* Improved implementation of `openfl.utils.Object`
* Improved output file size when Lime sets *disable_preloader_assets*
* Improved `getMusic` method on `Assets` to allow streaming Vorbis files on native platforms
* Improved FLA library support by allowing `Sprite` to be used as linkage base class
* Fixed rendering of UTF-8 characters on macOS
* Fixed the last line in a `TextField` getting cut off sometimes when auto-sized
* Fixed inconsistent letter spacing in `TextField`
* Fixed missing bold and italic variants in `TextField` on native platforms
* Fixed missing `Event.OPEN` dispatch in `Loader` and `URLLoader`
* Fixed missing bubbling of `TextEvent.LINK`
* Fixed signature of `splice` method on `Vector`
* Fixed missing dispatch of `FocusEvent.MOUSE_FOCUS_CHANGE` in some situations
* Fixed rendering of `openfl.text.StaticText`

9.1.0

------------------

* Updated for Haxe 4.2
* Added `openfl.net.ServerSocket` for TCP sockets on native platforms
* Added `openfl.net.DatagramSocket` for UDP sockets on native platforms
* Added `openfl.utils.ObjectPool`
* Added shape caching to improve `TextField` rendering performance
* Migrated OpenFL sources to a simpler package structure for better tooling compatibility
* Improved `Loader` to prevent use of `addChild`/`removeChild` methods
* Improved dynamic field access on `openfl.utils.Object` references
* Improved handling of new lines and line breaks in `TextField`
* Improved handling of layout calculations in `TextField`
* Improved the rendering of selected text in `TextField`
* Improved the performance when using nested `TileContainer` instances with `Tilemap`
* Fixed an issue where `graphics.lineStyle` could cause an additoinal draw
* Fixed a rounding issue that could clip `graphics` rendering by one pixel
* Fixed `sprite.transform.colorTransform` to return a new `ColorTransform` object
* Fixed issues rendering some `bitmap.scrollRect` objects on the HTML5 canvas renderer
* Fixed issues rendering some gradient fills on HTML5 canvas renderer
* Fixed an incorrect reference when dispatching some `MouseEvent.ROLL_OUT` events
* Fixed renderer remaining active on `Tilemap` that includes no tiles

9.0.2

------------------

* Fixed a regression when targeting Flash

9.0.1

------------------

* Fixed paths for internal packages for case-sensitivity

Page 2 of 29

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.