[haXe] haXe 1.16 Released !

Nicolas Cannasse ncannasse at motion-twin.com
Wed Oct 31 17:26:58 CET 2007


Hi list,

I'm please to announce the 1.16 release of haXe !
Windows build is available on http://haxe.org, Linux and OSX builds will
follow soon.

This release focuses on several small bugfixes, good improvments of the
AS3 generator (by using -as3) and indexed enums :

Each enum constructor is now also assigned an integer based on the order
of declaration in the Enum. This index can be obtained by using
Type.getEnumIndex, and now Type.getEnumConstructs is ordered in the
declaration order. This enable reliable  int <-> enum  conversions and
faster "switch" on enums. By setting haxe.Serializer.USE_ENUM_INDEX, it
also reduce data size.

One other important technical change for NDLL writers which was
announced before is the way Neko arrays are stored : arr.__a does not
return the exact array but can be bigger. Use arr.__neko() instead to
retreive the exact neko array content.

All changes :
  * use _sans font for default flash traces (better Linux support)
  * fixed haxe.remoting.Connection compilation for Flash<8
  * added fix to prevent 64K identifiers limit on Flash<9
  * ensure order of anonymous fields initialization
  * fixed haxe.remoting.Connection.urlConnect in JS
  * use amortized O(1) for Neko Array implementation
  * ndlls libraries should now use .neko() instead of __a
  * allowed 'u' utf8 for regexp (needs Neko 1.6.1
    regexp.ndll on windows)
  * onclick and onsubmit JS events returns Bool
  * fixed inherited constructor of extern class was always private
  * fixed Ereg.split without 'g' flag on JS/Flash9
  * fixed haxe.Stack in JS without -debug
  * added support for -D no-swf-compress
  * fixed ByteArray.readObject
  * fixed implements Dynamic in Flash9
  * removed neko.io.FileInput.eof, fixed neko.io.Input.readLine
  * fixed haxe.Template for Flash9
  * added neko.Sys.command optional array of arguments
  * removed haxe.Proxy
  * added flash.XMLRequest
  * fixed Type.enumParameters for Neko
  * guaranteed order of Type.getEnumConstructs same as code
  * used index-based dispatch for enums
  * added Type.enumIndex
  * fixed enum.toString for Flash and JS
  * support for -Dnetwork-sandbox
  * trim -cp and -resource
  * various genas3 fixes

Enjoy !

Nicolas



More information about the Haxe mailing list