2.07 Released !

classic Classic list List threaded Threaded
28 messages Options
12
Reply | Threaded
Open this post in threaded view
|

2.07 Released !

Nicolas Cannasse
Hi list,

On the behalf of the whole haXe compiler team, I'm happy to announce
that haXe 2.07 is now available on http://haxe.org/download !

Most important changes are :
   - macros : see http://haxe.org/manual/macros
   - upgraded flash9 apis to 10.1 and 10.2
   - DCO with --dead-code-elimination
   - fixed flash9 loading another haXe SWF
   - big speedup for compiler internal completion
   - sanitizing, which allow nicer JS/CPP/PHP output

All changes :
   * all : fixed completion support with --remap
   * all : added macros, added --interp
   * all : removed 'here' special identifier
   * neko : fixed neko.Web.getParamsString() returning "null"
     instead of ""
   * flash9 : fixed issue with @:bind
   * flash9 : added some missing errors
   * flash9 : fixed TypedDictionary.exists
   * all : added @:build and @:autoBuild for enums and classes
   * neko : Std.parseFloat now returns NaN with invalid string
   * php: fixed Array.push must return the current length (issue 219)
   * php: fixed EReg.replace (issue 194)
   * php: FileSystem.readDirectory now skips '.' and '..' to be
     consistent with neko (issue 226)
   * flash9 : add trace text on stage (always over current and subclips)
   * flash9 : delay SWF initialization until it's added on stage
     and stageWidth > 0 (this can be disabled with -D dontWaitStage)
   * all : added haxe.Timer.measure
   * all : added Lambda.indexOf and Lambda.concat
   * all : no longer allow inline vars as metadata values
   * neko : added getFieldsNames to neko.db.ResultSet
     (supported in Neko 1.8.2 mysql driver)
   * all : added --macro and haxe.macro.Compiler
   * all : allow macro type patches
   * flash9 : changed --gen-hx-classes implementation
     now use 'haxe -swf-lib lib.swf --gen-hx-classes' instead
   * flash9 : added @:getter and @:setter
   * all : added @:require
   * flash9 : moved vector utils functions from flash.Lib to flash.Vector
   * flash9 : added support for FP 10.1 and 10.2
   * flash9 : added @:meta(Meta(k="v")) support
   * all : improved #if support (fixed ! precedence)
   * all : lookup unqualified types in all package hierarchy and
     not only in current package
   * flash : set default flash version to 10
     (-swf9 deprecated, use -swf-version 8 for avm1)
   * php : added --php-lib to allow to rename the destination path
     of the generated lib
   * all : added --dead-code-elimination, removes unused functions
     from the output
   * all : added @:keep to prevent --dead-code-elimination
     of class/method
   * flash9 : fixed issues with loading a haXe SWF
     (boot_XXXX class extends flash.Boot)
   * all : allow to inline override methods
     (if the superclass method is not inlined already)
   * all : fixed escape sequences in literal regular expressions
   * flash9 : fixed Xml.setNodeValue
   * all : removed -excluded, replaced by --macro excludeFile('filename')
   * all : added --macro exclude('package') and
     --macro include('package')
   * all : importing a typedef of an enum allow to access
     its constructors
   * all : removed String.cca
     (replaced by StringTools.fastCodeAt + StringTools.isEOF)
   * flash9 : fixed use of default values when null is passed
     for nullable basic types
   * all : fixed issues with inlining and class/function type parameters
   * all : big speedup for compiler internal completion
   * all : added --macro keepClass('classname')
   * flash9 : fixed Xml.nodeValue for comments
     (does not include <!--/-->)
   * all : added named local functions (allow self-recursion)
   * all : use left-assoc for (==,!=,>,>=,<,<=)(==,!=,>,>=,<,<=)
           (&&)(&&) and (||)(||)
   * all : give prefix unary operators higher priority than ?:
   * php : fixed XML parsing
   * cpp : many generator fixes

Enjoy !
Nicolas

--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: 2.07 Released !

Franco Ponticelli
Gorgeous release!

You forgot to mention the custom JS generator!

Franco ;)

On Sun, Jan 30, 2011 at 3:08 PM, Nicolas Cannasse <[hidden email]> wrote:
Hi list,

On the behalf of the whole haXe compiler team, I'm happy to announce that haXe 2.07 is now available on http://haxe.org/download !

Most important changes are :
 - macros : see http://haxe.org/manual/macros
 - upgraded flash9 apis to 10.1 and 10.2
 - DCO with --dead-code-elimination
 - fixed flash9 loading another haXe SWF
 - big speedup for compiler internal completion
 - sanitizing, which allow nicer JS/CPP/PHP output

All changes :
 * all : fixed completion support with --remap
 * all : added macros, added --interp
 * all : removed 'here' special identifier
 * neko : fixed neko.Web.getParamsString() returning "null"
   instead of ""
 * flash9 : fixed issue with @:bind
 * flash9 : added some missing errors
 * flash9 : fixed TypedDictionary.exists
 * all : added @:build and @:autoBuild for enums and classes
 * neko : Std.parseFloat now returns NaN with invalid string
 * php: fixed Array.push must return the current length (issue 219)
 * php: fixed EReg.replace (issue 194)
 * php: FileSystem.readDirectory now skips '.' and '..' to be
   consistent with neko (issue 226)
 * flash9 : add trace text on stage (always over current and subclips)
 * flash9 : delay SWF initialization until it's added on stage
   and stageWidth > 0 (this can be disabled with -D dontWaitStage)
 * all : added haxe.Timer.measure
 * all : added Lambda.indexOf and Lambda.concat
 * all : no longer allow inline vars as metadata values
 * neko : added getFieldsNames to neko.db.ResultSet
   (supported in Neko 1.8.2 mysql driver)
 * all : added --macro and haxe.macro.Compiler
 * all : allow macro type patches
 * flash9 : changed --gen-hx-classes implementation
   now use 'haxe -swf-lib lib.swf --gen-hx-classes' instead
 * flash9 : added @:getter and @:setter
 * all : added @:require
 * flash9 : moved vector utils functions from flash.Lib to flash.Vector
 * flash9 : added support for FP 10.1 and 10.2
 * flash9 : added @:meta(Meta(k="v")) support
 * all : improved #if support (fixed ! precedence)
 * all : lookup unqualified types in all package hierarchy and
   not only in current package
 * flash : set default flash version to 10
   (-swf9 deprecated, use -swf-version 8 for avm1)
 * php : added --php-lib to allow to rename the destination path
   of the generated lib
 * all : added --dead-code-elimination, removes unused functions
   from the output
 * all : added @:keep to prevent --dead-code-elimination
   of class/method
 * flash9 : fixed issues with loading a haXe SWF
   (boot_XXXX class extends flash.Boot)
 * all : allow to inline override methods
   (if the superclass method is not inlined already)
 * all : fixed escape sequences in literal regular expressions
 * flash9 : fixed Xml.setNodeValue
 * all : removed -excluded, replaced by --macro excludeFile('filename')
 * all : added --macro exclude('package') and
   --macro include('package')
 * all : importing a typedef of an enum allow to access
   its constructors
 * all : removed String.cca
   (replaced by StringTools.fastCodeAt + StringTools.isEOF)
 * flash9 : fixed use of default values when null is passed
   for nullable basic types
 * all : fixed issues with inlining and class/function type parameters
 * all : big speedup for compiler internal completion
 * all : added --macro keepClass('classname')
 * flash9 : fixed Xml.nodeValue for comments
   (does not include <!--/-->)
 * all : added named local functions (allow self-recursion)
 * all : use left-assoc for (==,!=,>,>=,<,<=)(==,!=,>,>=,<,<=)
         (&&)(&&) and (||)(||)
 * all : give prefix unary operators higher priority than ?:
 * php : fixed XML parsing
 * cpp : many generator fixes

Enjoy !
Nicolas

--
haXe - an open source web programming language
http://haxe.org


--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: 2.07 Released !

tong-2
awesome! thank you!


On 01/30/2011 04:13 PM, Franco Ponticelli wrote:

> Gorgeous release!
>
> You forgot to mention the custom JS generator!
>
> Franco ;)
>
> On Sun, Jan 30, 2011 at 3:08 PM, Nicolas Cannasse <[hidden email]
>> wrote:
>> Hi list,
>>
>> On the behalf of the whole haXe compiler team, I'm happy to announce that
>> haXe 2.07 is now available on http://haxe.org/download !
>>
>> Most important changes are :
>>  - macros : see http://haxe.org/manual/macros
>>  - upgraded flash9 apis to 10.1 and 10.2
>>  - DCO with --dead-code-elimination
>>  - fixed flash9 loading another haXe SWF
>>  - big speedup for compiler internal completion
>>  - sanitizing, which allow nicer JS/CPP/PHP output
>>
>> All changes :
>>  * all : fixed completion support with --remap
>>  * all : added macros, added --interp
>>  * all : removed 'here' special identifier
>>  * neko : fixed neko.Web.getParamsString() returning "null"
>>    instead of ""
>>  * flash9 : fixed issue with @:bind
>>  * flash9 : added some missing errors
>>  * flash9 : fixed TypedDictionary.exists
>>  * all : added @:build and @:autoBuild for enums and classes
>>  * neko : Std.parseFloat now returns NaN with invalid string
>>  * php: fixed Array.push must return the current length (issue 219)
>>  * php: fixed EReg.replace (issue 194)
>>  * php: FileSystem.readDirectory now skips '.' and '..' to be
>>    consistent with neko (issue 226)
>>  * flash9 : add trace text on stage (always over current and subclips)
>>  * flash9 : delay SWF initialization until it's added on stage
>>    and stageWidth > 0 (this can be disabled with -D dontWaitStage)
>>  * all : added haxe.Timer.measure
>>  * all : added Lambda.indexOf and Lambda.concat
>>  * all : no longer allow inline vars as metadata values
>>  * neko : added getFieldsNames to neko.db.ResultSet
>>    (supported in Neko 1.8.2 mysql driver)
>>  * all : added --macro and haxe.macro.Compiler
>>  * all : allow macro type patches
>>  * flash9 : changed --gen-hx-classes implementation
>>    now use 'haxe -swf-lib lib.swf --gen-hx-classes' instead
>>  * flash9 : added @:getter and @:setter
>>  * all : added @:require
>>  * flash9 : moved vector utils functions from flash.Lib to flash.Vector
>>  * flash9 : added support for FP 10.1 and 10.2
>>  * flash9 : added @:meta(Meta(k="v")) support
>>  * all : improved #if support (fixed ! precedence)
>>  * all : lookup unqualified types in all package hierarchy and
>>    not only in current package
>>  * flash : set default flash version to 10
>>    (-swf9 deprecated, use -swf-version 8 for avm1)
>>  * php : added --php-lib to allow to rename the destination path
>>    of the generated lib
>>  * all : added --dead-code-elimination, removes unused functions
>>    from the output
>>  * all : added @:keep to prevent --dead-code-elimination
>>    of class/method
>>  * flash9 : fixed issues with loading a haXe SWF
>>    (boot_XXXX class extends flash.Boot)
>>  * all : allow to inline override methods
>>    (if the superclass method is not inlined already)
>>  * all : fixed escape sequences in literal regular expressions
>>  * flash9 : fixed Xml.setNodeValue
>>  * all : removed -excluded, replaced by --macro excludeFile('filename')
>>  * all : added --macro exclude('package') and
>>    --macro include('package')
>>  * all : importing a typedef of an enum allow to access
>>    its constructors
>>  * all : removed String.cca
>>    (replaced by StringTools.fastCodeAt + StringTools.isEOF)
>>  * flash9 : fixed use of default values when null is passed
>>    for nullable basic types
>>  * all : fixed issues with inlining and class/function type parameters
>>  * all : big speedup for compiler internal completion
>>  * all : added --macro keepClass('classname')
>>  * flash9 : fixed Xml.nodeValue for comments
>>    (does not include <!--/-->)
>>  * all : added named local functions (allow self-recursion)
>>  * all : use left-assoc for (==,!=,>,>=,<,<=)(==,!=,>,>=,<,<=)
>>          (&&)(&&) and (||)(||)
>>  * all : give prefix unary operators higher priority than ?:
>>  * php : fixed XML parsing
>>  * cpp : many generator fixes
>>
>> Enjoy !
>> Nicolas
>>
>> --
>> haXe - an open source web programming language
>> http://haxe.org
>>


--
[) | 5 |< † |2 3 3


--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: 2.07 Released !

Lars Madson
In reply to this post by Franco Ponticelli
Le 30/01/2011 16:13, Franco Ponticelli a écrit :
> the custom JS generator!
Which is also a huge new toy!


2.07, a small step in Floats, a huge step for HaXe!

Beautifull!
I feel on stage. Thank you!
Don't forget it's sunday...whaaaaa... :P

Laurent

--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: 2.07 Released !

Andy Li
In reply to this post by Nicolas Cannasse
Very cool list of improvements! :)

Andy

On Sun, Jan 30, 2011 at 11:08 PM, Nicolas Cannasse <[hidden email]> wrote:
Hi list,

On the behalf of the whole haXe compiler team, I'm happy to announce that haXe 2.07 is now available on http://haxe.org/download !

Most important changes are :
 - macros : see http://haxe.org/manual/macros
 - upgraded flash9 apis to 10.1 and 10.2
 - DCO with --dead-code-elimination
 - fixed flash9 loading another haXe SWF
 - big speedup for compiler internal completion
 - sanitizing, which allow nicer JS/CPP/PHP output

All changes :
 * all : fixed completion support with --remap
 * all : added macros, added --interp
 * all : removed 'here' special identifier
 * neko : fixed neko.Web.getParamsString() returning "null"
   instead of ""
 * flash9 : fixed issue with @:bind
 * flash9 : added some missing errors
 * flash9 : fixed TypedDictionary.exists
 * all : added @:build and @:autoBuild for enums and classes
 * neko : Std.parseFloat now returns NaN with invalid string
 * php: fixed Array.push must return the current length (issue 219)
 * php: fixed EReg.replace (issue 194)
 * php: FileSystem.readDirectory now skips '.' and '..' to be
   consistent with neko (issue 226)
 * flash9 : add trace text on stage (always over current and subclips)
 * flash9 : delay SWF initialization until it's added on stage
   and stageWidth > 0 (this can be disabled with -D dontWaitStage)
 * all : added haxe.Timer.measure
 * all : added Lambda.indexOf and Lambda.concat
 * all : no longer allow inline vars as metadata values
 * neko : added getFieldsNames to neko.db.ResultSet
   (supported in Neko 1.8.2 mysql driver)
 * all : added --macro and haxe.macro.Compiler
 * all : allow macro type patches
 * flash9 : changed --gen-hx-classes implementation
   now use 'haxe -swf-lib lib.swf --gen-hx-classes' instead
 * flash9 : added @:getter and @:setter
 * all : added @:require
 * flash9 : moved vector utils functions from flash.Lib to flash.Vector
 * flash9 : added support for FP 10.1 and 10.2
 * flash9 : added @:meta(Meta(k="v")) support
 * all : improved #if support (fixed ! precedence)
 * all : lookup unqualified types in all package hierarchy and
   not only in current package
 * flash : set default flash version to 10
   (-swf9 deprecated, use -swf-version 8 for avm1)
 * php : added --php-lib to allow to rename the destination path
   of the generated lib
 * all : added --dead-code-elimination, removes unused functions
   from the output
 * all : added @:keep to prevent --dead-code-elimination
   of class/method
 * flash9 : fixed issues with loading a haXe SWF
   (boot_XXXX class extends flash.Boot)
 * all : allow to inline override methods
   (if the superclass method is not inlined already)
 * all : fixed escape sequences in literal regular expressions
 * flash9 : fixed Xml.setNodeValue
 * all : removed -excluded, replaced by --macro excludeFile('filename')
 * all : added --macro exclude('package') and
   --macro include('package')
 * all : importing a typedef of an enum allow to access
   its constructors
 * all : removed String.cca
   (replaced by StringTools.fastCodeAt + StringTools.isEOF)
 * flash9 : fixed use of default values when null is passed
   for nullable basic types
 * all : fixed issues with inlining and class/function type parameters
 * all : big speedup for compiler internal completion
 * all : added --macro keepClass('classname')
 * flash9 : fixed Xml.nodeValue for comments
   (does not include <!--/-->)
 * all : added named local functions (allow self-recursion)
 * all : use left-assoc for (==,!=,>,>=,<,<=)(==,!=,>,>=,<,<=)
         (&&)(&&) and (||)(||)
 * all : give prefix unary operators higher priority than ?:
 * php : fixed XML parsing
 * cpp : many generator fixes

Enjoy !
Nicolas

--
haXe - an open source web programming language
http://haxe.org


--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: 2.07 Released !

Mario Carbajal
Amazing! At last I'll be able to toy with macros :D

A lot of thanks Nicolas and all those involved!

On Sun, Jan 30, 2011 at 12:58 PM, Andy Li <[hidden email]> wrote:
Very cool list of improvements! :)

Andy


On Sun, Jan 30, 2011 at 11:08 PM, Nicolas Cannasse <[hidden email]> wrote:
Hi list,

On the behalf of the whole haXe compiler team, I'm happy to announce that haXe 2.07 is now available on http://haxe.org/download !

Most important changes are :
 - macros : see http://haxe.org/manual/macros
 - upgraded flash9 apis to 10.1 and 10.2
 - DCO with --dead-code-elimination
 - fixed flash9 loading another haXe SWF
 - big speedup for compiler internal completion
 - sanitizing, which allow nicer JS/CPP/PHP output

All changes :
 * all : fixed completion support with --remap
 * all : added macros, added --interp
 * all : removed 'here' special identifier
 * neko : fixed neko.Web.getParamsString() returning "null"
   instead of ""
 * flash9 : fixed issue with @:bind
 * flash9 : added some missing errors
 * flash9 : fixed TypedDictionary.exists
 * all : added @:build and @:autoBuild for enums and classes
 * neko : Std.parseFloat now returns NaN with invalid string
 * php: fixed Array.push must return the current length (issue 219)
 * php: fixed EReg.replace (issue 194)
 * php: FileSystem.readDirectory now skips '.' and '..' to be
   consistent with neko (issue 226)
 * flash9 : add trace text on stage (always over current and subclips)
 * flash9 : delay SWF initialization until it's added on stage
   and stageWidth > 0 (this can be disabled with -D dontWaitStage)
 * all : added haxe.Timer.measure
 * all : added Lambda.indexOf and Lambda.concat
 * all : no longer allow inline vars as metadata values
 * neko : added getFieldsNames to neko.db.ResultSet
   (supported in Neko 1.8.2 mysql driver)
 * all : added --macro and haxe.macro.Compiler
 * all : allow macro type patches
 * flash9 : changed --gen-hx-classes implementation
   now use 'haxe -swf-lib lib.swf --gen-hx-classes' instead
 * flash9 : added @:getter and @:setter
 * all : added @:require
 * flash9 : moved vector utils functions from flash.Lib to flash.Vector
 * flash9 : added support for FP 10.1 and 10.2
 * flash9 : added @:meta(Meta(k="v")) support
 * all : improved #if support (fixed ! precedence)
 * all : lookup unqualified types in all package hierarchy and
   not only in current package
 * flash : set default flash version to 10
   (-swf9 deprecated, use -swf-version 8 for avm1)
 * php : added --php-lib to allow to rename the destination path
   of the generated lib
 * all : added --dead-code-elimination, removes unused functions
   from the output
 * all : added @:keep to prevent --dead-code-elimination
   of class/method
 * flash9 : fixed issues with loading a haXe SWF
   (boot_XXXX class extends flash.Boot)
 * all : allow to inline override methods
   (if the superclass method is not inlined already)
 * all : fixed escape sequences in literal regular expressions
 * flash9 : fixed Xml.setNodeValue
 * all : removed -excluded, replaced by --macro excludeFile('filename')
 * all : added --macro exclude('package') and
   --macro include('package')
 * all : importing a typedef of an enum allow to access
   its constructors
 * all : removed String.cca
   (replaced by StringTools.fastCodeAt + StringTools.isEOF)
 * flash9 : fixed use of default values when null is passed
   for nullable basic types
 * all : fixed issues with inlining and class/function type parameters
 * all : big speedup for compiler internal completion
 * all : added --macro keepClass('classname')
 * flash9 : fixed Xml.nodeValue for comments
   (does not include <!--/-->)
 * all : added named local functions (allow self-recursion)
 * all : use left-assoc for (==,!=,>,>=,<,<=)(==,!=,>,>=,<,<=)
         (&&)(&&) and (||)(||)
 * all : give prefix unary operators higher priority than ?:
 * php : fixed XML parsing
 * cpp : many generator fixes

Enjoy !
Nicolas

--
haXe - an open source web programming language
http://haxe.org


--
haXe - an open source web programming language
http://haxe.org


--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: 2.07 Released !

Gamehaxe
In reply to this post by Nicolas Cannasse
Hi,
I have just release a new version of HXCPP, 2.07, to go with the latest  
release.
You can update this with "haxelib install hxcpp"

There were a bunch of compiler code-gen fixes in the haxe release,  
including:

* Fixed names of closure variables when they conflict with c++ keywords
* Fixed big negative numbers gcc error
* Fix output if non-ascii characters
* Fix enum when the constructors that have the same name as the enum
* Made array-of-type-params into "Dynamic".  This allows the changed array  
to be returned.
* Allow full path names for the "-cpp" argument.
* Fix interface casting and equality checks
* Fixed other compiler output bugs - particularly with type-parameters and  
interfaces.

Plus some extras in hxcpp:

* Added initial support for Mac64, Linux64, MinGW and GPH and refactored  
build tool.
* Return the count of traced objects
* Fix interface operator ==
* Initial work on msvc10 batch file (automatic setup with -D msvc10)
* Add bounds check on String.cca
* Build static libraries, if requested
* Added exe stripping for smaller binaries
* Added val_field_name, val_iter_fields
* Fixed nekoapi string length
* Fixed Sys.args
* obj list is read from @file now on all targets
* precompiler support for gcc based targets.

The support for mingw is enabled with the define: "-D mingw".

I have included binaries for Linux64 and Mac64, but I have not tested the
Mac64 ones because it is not supported by my OS.

I have also started on support for the "GPH" Cannoo hand-held device,
but this really needs a new version of NME to generate anything  
interesting.

These new targets are experimental at this stage, so any suggestions  
welcome.

I have also refactored the build-tools area to make it easier to tinker  
with
a target, or add new ones.

Hugh

> Hi list,
>
> On the behalf of the whole haXe compiler team, I'm happy to announce  
> that haXe 2.07 is now available on http://haxe.org/download !
>
> Most important changes are :
>    - macros : see http://haxe.org/manual/macros
>    - upgraded flash9 apis to 10.1 and 10.2
>    - DCO with --dead-code-elimination
>    - fixed flash9 loading another haXe SWF
>    - big speedup for compiler internal completion
>    - sanitizing, which allow nicer JS/CPP/PHP output
>
> All changes :
>    * all : fixed completion support with --remap
>    * all : added macros, added --interp
>    * all : removed 'here' special identifier
>    * neko : fixed neko.Web.getParamsString() returning "null"
>      instead of ""
>    * flash9 : fixed issue with @:bind
>    * flash9 : added some missing errors
>    * flash9 : fixed TypedDictionary.exists
>    * all : added @:build and @:autoBuild for enums and classes
>    * neko : Std.parseFloat now returns NaN with invalid string
>    * php: fixed Array.push must return the current length (issue 219)
>    * php: fixed EReg.replace (issue 194)
>    * php: FileSystem.readDirectory now skips '.' and '..' to be
>      consistent with neko (issue 226)
>    * flash9 : add trace text on stage (always over current and subclips)
>    * flash9 : delay SWF initialization until it's added on stage
>      and stageWidth > 0 (this can be disabled with -D dontWaitStage)
>    * all : added haxe.Timer.measure
>    * all : added Lambda.indexOf and Lambda.concat
>    * all : no longer allow inline vars as metadata values
>    * neko : added getFieldsNames to neko.db.ResultSet
>      (supported in Neko 1.8.2 mysql driver)
>    * all : added --macro and haxe.macro.Compiler
>    * all : allow macro type patches
>    * flash9 : changed --gen-hx-classes implementation
>      now use 'haxe -swf-lib lib.swf --gen-hx-classes' instead
>    * flash9 : added @:getter and @:setter
>    * all : added @:require
>    * flash9 : moved vector utils functions from flash.Lib to flash.Vector
>    * flash9 : added support for FP 10.1 and 10.2
>    * flash9 : added @:meta(Meta(k="v")) support
>    * all : improved #if support (fixed ! precedence)
>    * all : lookup unqualified types in all package hierarchy and
>      not only in current package
>    * flash : set default flash version to 10
>      (-swf9 deprecated, use -swf-version 8 for avm1)
>    * php : added --php-lib to allow to rename the destination path
>      of the generated lib
>    * all : added --dead-code-elimination, removes unused functions
>      from the output
>    * all : added @:keep to prevent --dead-code-elimination
>      of class/method
>    * flash9 : fixed issues with loading a haXe SWF
>      (boot_XXXX class extends flash.Boot)
>    * all : allow to inline override methods
>      (if the superclass method is not inlined already)
>    * all : fixed escape sequences in literal regular expressions
>    * flash9 : fixed Xml.setNodeValue
>    * all : removed -excluded, replaced by --macro excludeFile('filename')
>    * all : added --macro exclude('package') and
>      --macro include('package')
>    * all : importing a typedef of an enum allow to access
>      its constructors
>    * all : removed String.cca
>      (replaced by StringTools.fastCodeAt + StringTools.isEOF)
>    * flash9 : fixed use of default values when null is passed
>      for nullable basic types
>    * all : fixed issues with inlining and class/function type parameters
>    * all : big speedup for compiler internal completion
>    * all : added --macro keepClass('classname')
>    * flash9 : fixed Xml.nodeValue for comments
>      (does not include <!--/-->)
>    * all : added named local functions (allow self-recursion)
>    * all : use left-assoc for (==,!=,>,>=,<,<=)(==,!=,>,>=,<,<=)
>            (&&)(&&) and (||)(||)
>    * all : give prefix unary operators higher priority than ?:
>    * php : fixed XML parsing
>    * cpp : many generator fixes
>
> Enjoy !
> Nicolas

--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: 2.07 Released !

Nicolas Cannasse
Le 30/01/2011 17:53, Hugh Sanderson a écrit :
> Hi,
> I have just release a new version of HXCPP, 2.07, to go with the latest
> release.
> You can update this with "haxelib install hxcpp"
>
> There were a bunch of compiler code-gen fixes in the haxe release,
> including:

Great work !

Best,
Nicolas

--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: 2.07 Released !

John A. De Goes
In reply to this post by Nicolas Cannasse

Congratulations & thanks to all involved! This is an important release and moves the language forward.

Over the coming months, users of Stax can expect these new features to be well-utilized:

1. Compile-time parsing & accessing of XML/JSON;
2. Alternate JavaScript code generator optimized for compact, clean code;
3. A hackish implementation of "do notation" until when/if a proper implementation becomes available in HaXe.
4. Assorted other features enabled by macros

Regards,

John A. De Goes
Twitter: @jdegoes 
LinkedIn: http://linkedin.com/in/jdegoes

On Jan 30, 2011, at 8:08 AM, Nicolas Cannasse wrote:

Hi list,

On the behalf of the whole haXe compiler team, I'm happy to announce that haXe 2.07 is now available on http://haxe.org/download !

Most important changes are :
 - macros : see http://haxe.org/manual/macros
 - upgraded flash9 apis to 10.1 and 10.2
 - DCO with --dead-code-elimination
 - fixed flash9 loading another haXe SWF
 - big speedup for compiler internal completion
 - sanitizing, which allow nicer JS/CPP/PHP output

All changes :
 * all : fixed completion support with --remap
 * all : added macros, added --interp
 * all : removed 'here' special identifier
 * neko : fixed neko.Web.getParamsString() returning "null"
   instead of ""
 * flash9 : fixed issue with @:bind
 * flash9 : added some missing errors
 * flash9 : fixed TypedDictionary.exists
 * all : added @:build and @:autoBuild for enums and classes
 * neko : Std.parseFloat now returns NaN with invalid string
 * php: fixed Array.push must return the current length (issue 219)
 * php: fixed EReg.replace (issue 194)
 * php: FileSystem.readDirectory now skips '.' and '..' to be
   consistent with neko (issue 226)
 * flash9 : add trace text on stage (always over current and subclips)
 * flash9 : delay SWF initialization until it's added on stage
   and stageWidth > 0 (this can be disabled with -D dontWaitStage)
 * all : added haxe.Timer.measure
 * all : added Lambda.indexOf and Lambda.concat
 * all : no longer allow inline vars as metadata values
 * neko : added getFieldsNames to neko.db.ResultSet
   (supported in Neko 1.8.2 mysql driver)
 * all : added --macro and haxe.macro.Compiler
 * all : allow macro type patches
 * flash9 : changed --gen-hx-classes implementation
   now use 'haxe -swf-lib lib.swf --gen-hx-classes' instead
 * flash9 : added @:getter and @:setter
 * all : added @:require
 * flash9 : moved vector utils functions from flash.Lib to flash.Vector
 * flash9 : added support for FP 10.1 and 10.2
 * flash9 : added @:meta(Meta(k="v")) support
 * all : improved #if support (fixed ! precedence)
 * all : lookup unqualified types in all package hierarchy and
   not only in current package
 * flash : set default flash version to 10
   (-swf9 deprecated, use -swf-version 8 for avm1)
 * php : added --php-lib to allow to rename the destination path
   of the generated lib
 * all : added --dead-code-elimination, removes unused functions
   from the output
 * all : added @:keep to prevent --dead-code-elimination
   of class/method
 * flash9 : fixed issues with loading a haXe SWF
   (boot_XXXX class extends flash.Boot)
 * all : allow to inline override methods
   (if the superclass method is not inlined already)
 * all : fixed escape sequences in literal regular expressions
 * flash9 : fixed Xml.setNodeValue
 * all : removed -excluded, replaced by --macro excludeFile('filename')
 * all : added --macro exclude('package') and
   --macro include('package')
 * all : importing a typedef of an enum allow to access
   its constructors
 * all : removed String.cca
   (replaced by StringTools.fastCodeAt + StringTools.isEOF)
 * flash9 : fixed use of default values when null is passed
   for nullable basic types
 * all : fixed issues with inlining and class/function type parameters
 * all : big speedup for compiler internal completion
 * all : added --macro keepClass('classname')
 * flash9 : fixed Xml.nodeValue for comments
   (does not include <!--/-->)
 * all : added named local functions (allow self-recursion)
 * all : use left-assoc for (==,!=,>,>=,<,<=)(==,!=,>,>=,<,<=)
         (&&)(&&) and (||)(||)
 * all : give prefix unary operators higher priority than ?:
 * php : fixed XML parsing
 * cpp : many generator fixes

Enjoy !
Nicolas

--
haXe - an open source web programming language
http://haxe.org


--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: 2.07 Released !

Justin Donaldson-3
In reply to this post by Franco Ponticelli
You know it's going to be a huge release when Nicolas can't even remember all the new features ;)

Great stuff!

-Justin

On Sun, Jan 30, 2011 at 7:13 AM, Franco Ponticelli <[hidden email]> wrote:
Gorgeous release!

You forgot to mention the custom JS generator!

Franco ;)


On Sun, Jan 30, 2011 at 3:08 PM, Nicolas Cannasse <[hidden email]> wrote:
Hi list,

On the behalf of the whole haXe compiler team, I'm happy to announce that haXe 2.07 is now available on http://haxe.org/download !

Most important changes are :
 - macros : see http://haxe.org/manual/macros
 - upgraded flash9 apis to 10.1 and 10.2
 - DCO with --dead-code-elimination
 - fixed flash9 loading another haXe SWF
 - big speedup for compiler internal completion
 - sanitizing, which allow nicer JS/CPP/PHP output

All changes :
 * all : fixed completion support with --remap
 * all : added macros, added --interp
 * all : removed 'here' special identifier
 * neko : fixed neko.Web.getParamsString() returning "null"
   instead of ""
 * flash9 : fixed issue with @:bind
 * flash9 : added some missing errors
 * flash9 : fixed TypedDictionary.exists
 * all : added @:build and @:autoBuild for enums and classes
 * neko : Std.parseFloat now returns NaN with invalid string
 * php: fixed Array.push must return the current length (issue 219)
 * php: fixed EReg.replace (issue 194)
 * php: FileSystem.readDirectory now skips '.' and '..' to be
   consistent with neko (issue 226)
 * flash9 : add trace text on stage (always over current and subclips)
 * flash9 : delay SWF initialization until it's added on stage
   and stageWidth > 0 (this can be disabled with -D dontWaitStage)
 * all : added haxe.Timer.measure
 * all : added Lambda.indexOf and Lambda.concat
 * all : no longer allow inline vars as metadata values
 * neko : added getFieldsNames to neko.db.ResultSet
   (supported in Neko 1.8.2 mysql driver)
 * all : added --macro and haxe.macro.Compiler
 * all : allow macro type patches
 * flash9 : changed --gen-hx-classes implementation
   now use 'haxe -swf-lib lib.swf --gen-hx-classes' instead
 * flash9 : added @:getter and @:setter
 * all : added @:require
 * flash9 : moved vector utils functions from flash.Lib to flash.Vector
 * flash9 : added support for FP 10.1 and 10.2
 * flash9 : added @:meta(Meta(k="v")) support
 * all : improved #if support (fixed ! precedence)
 * all : lookup unqualified types in all package hierarchy and
   not only in current package
 * flash : set default flash version to 10
   (-swf9 deprecated, use -swf-version 8 for avm1)
 * php : added --php-lib to allow to rename the destination path
   of the generated lib
 * all : added --dead-code-elimination, removes unused functions
   from the output
 * all : added @:keep to prevent --dead-code-elimination
   of class/method
 * flash9 : fixed issues with loading a haXe SWF
   (boot_XXXX class extends flash.Boot)
 * all : allow to inline override methods
   (if the superclass method is not inlined already)
 * all : fixed escape sequences in literal regular expressions
 * flash9 : fixed Xml.setNodeValue
 * all : removed -excluded, replaced by --macro excludeFile('filename')
 * all : added --macro exclude('package') and
   --macro include('package')
 * all : importing a typedef of an enum allow to access
   its constructors
 * all : removed String.cca
   (replaced by StringTools.fastCodeAt + StringTools.isEOF)
 * flash9 : fixed use of default values when null is passed
   for nullable basic types
 * all : fixed issues with inlining and class/function type parameters
 * all : big speedup for compiler internal completion
 * all : added --macro keepClass('classname')
 * flash9 : fixed Xml.nodeValue for comments
   (does not include <!--/-->)
 * all : added named local functions (allow self-recursion)
 * all : use left-assoc for (==,!=,>,>=,<,<=)(==,!=,>,>=,<,<=)
         (&&)(&&) and (||)(||)
 * all : give prefix unary operators higher priority than ?:
 * php : fixed XML parsing
 * cpp : many generator fixes

Enjoy !
Nicolas

--
haXe - an open source web programming language
http://haxe.org


--
haXe - an open source web programming language
http://haxe.org


--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: 2.07 Released !

m5no1
In reply to this post by Gamehaxe
Amazing work again!
Reply | Threaded
Open this post in threaded view
|

Re: 2.07 Released !

Nicolas Cannasse
In reply to this post by Justin Donaldson-3
Le 30/01/2011 18:56, Justin Donaldson a écrit :
> You know it's going to be a huge release when Nicolas can't even
> remember all the new features ;)

:-D

--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: 2.07 Released !

Alex Liebert
Awesome work guys!

CPP translation is much improved, I was able to remove 5 '// HACK:/ #if cpp' from my project!

Thanks,

Alex

On Sun, Jan 30, 2011 at 10:04 AM, Nicolas Cannasse <[hidden email]> wrote:
Le 30/01/2011 18:56, Justin Donaldson a écrit :

You know it's going to be a huge release when Nicolas can't even
remember all the new features ;)

:-D


--
haXe - an open source web programming language
http://haxe.org


--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: 2.07 Released !

Nicolas Cannasse
Le 30/01/2011 21:56, Alex Liebert a écrit :
>
> CPP translation is much improved, I was able to remove 5 '// HACK:/ #if
> cpp' from my project!

Tell us if there's some left ;)

Nicolas

--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: 2.07 Released !

Alex Liebert
Thanks Nicolas.  So far, all fixed on the Windows target at least.  I'll be trying on ios and osx later today in case there's any differences in compiler there.  My only remaining #if cpp switches are about NME, which is another animal.

Alex

On Sun, Jan 30, 2011 at 12:58 PM, Nicolas Cannasse <[hidden email]> wrote:
Le 30/01/2011 21:56, Alex Liebert a écrit :


CPP translation is much improved, I was able to remove 5 '// HACK:/ #if
cpp' from my project!

Tell us if there's some left ;)

Nicolas


--
haXe - an open source web programming language
http://haxe.org


--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: 2.07 Released !

Adrien Fischer-2
Hi Nicolas (and everyone),
i just tried to upgrade to the 2.07 released on ubuntu, using the linux installer, but i've got an eof error :

ERROR = Eof

Called from neko/io/FileInput.hx line 44
Called from neko/zip/Reader.hx line 148
Called from neko/zip/Reader.hx line 122
Called from tools/hxinst/Main.hx line 310
Called from tools/hxinst/Main.hx line 316
Called from tools/hxinst/Main.hx line 264
Called from tools/hxinst/Main.hx line 85

Is that a problem from the installer ?
Thanks for the help

Adrien



On Sun, Jan 30, 2011 at 10:07 PM, Alex Liebert <[hidden email]> wrote:
Thanks Nicolas.  So far, all fixed on the Windows target at least.  I'll be trying on ios and osx later today in case there's any differences in compiler there.  My only remaining #if cpp switches are about NME, which is another animal.

Alex


On Sun, Jan 30, 2011 at 12:58 PM, Nicolas Cannasse <[hidden email]> wrote:
Le 30/01/2011 21:56, Alex Liebert a écrit :


CPP translation is much improved, I was able to remove 5 '// HACK:/ #if
cpp' from my project!

Tell us if there's some left ;)

Nicolas


--
haXe - an open source web programming language
http://haxe.org


--
haXe - an open source web programming language
http://haxe.org


--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: 2.07 Released !

David Peek
Hi all,

Very excited about the release! Congratulations to the compiler team on so many great features and bug fixes!

Unfortunately I'm having some problems with the OS X installer:

Testing proxy 127.0.0.1:8888
Could not connect on Google, don't use the proxy
[...]
ERROR = Failed to connect on localhost:8888
[...]
Caller from tools/hxinst/Main.hx line 183
Caller from tools/hxinst/Main.hx line 85

I have installed manually, but imagine this will be an issue for new comers ;)

Let me know if you need any more information. (OS X 10.6.6)

Cheers,
David


On 31/01/2011, at 8:17 AM, Adrien Fischer wrote:

Hi Nicolas (and everyone),
i just tried to upgrade to the 2.07 released on ubuntu, using the linux installer, but i've got an eof error :

ERROR = Eof

Called from neko/io/FileInput.hx line 44
Called from neko/zip/Reader.hx line 148
Called from neko/zip/Reader.hx line 122
Called from tools/hxinst/Main.hx line 310
Called from tools/hxinst/Main.hx line 316
Called from tools/hxinst/Main.hx line 264
Called from tools/hxinst/Main.hx line 85

Is that a problem from the installer ?
Thanks for the help

Adrien



On Sun, Jan 30, 2011 at 10:07 PM, Alex Liebert <[hidden email]> wrote:
Thanks Nicolas.  So far, all fixed on the Windows target at least.  I'll be trying on ios and osx later today in case there's any differences in compiler there.  My only remaining #if cpp switches are about NME, which is another animal.

Alex


On Sun, Jan 30, 2011 at 12:58 PM, Nicolas Cannasse <[hidden email]> wrote:
Le 30/01/2011 21:56, Alex Liebert a écrit :


CPP translation is much improved, I was able to remove 5 '// HACK:/ #if
cpp' from my project!

Tell us if there's some left ;)

Nicolas


--
haXe - an open source web programming language
http://haxe.org


--
haXe - an open source web programming language
http://haxe.org

--
haXe - an open source web programming language
http://haxe.org


--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: 2.07 Released !

jlm@justinfront.net
In reply to this post by Nicolas Cannasse
<quote>
There's actually some features in 2.07 that will prove very useful  
when Molehill public beta is released. Expect a big surprise at this  
time ;)
</quote>

Sounds good :), well done guys.

--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: 2.07 Released !

Alex Liebert
if the surprise carries over to the cpp target haxe will be set to rule the universe.

On Sun, Jan 30, 2011 at 4:19 PM, [hidden email] <[hidden email]> wrote:
<quote>
There's actually some features in 2.07 that will prove very useful when Molehill public beta is released. Expect a big surprise at this time ;)
</quote>

Sounds good :), well done guys.


--
haXe - an open source web programming language
http://haxe.org


--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: 2.07 Released !

Baluta Cristian
Any help on loading a haxe swf into another haxe swf please?
I've made the externs, i've loaded the swf without application domain, i've added to stage the event.target. It appears fine, contains only a yellow line, but i get this error also: TypeError: Error #1034: Type Coercion failed: cannot convert flash.display::LoaderInfo@210a4041 to flash.display.DisplayObject.

However, this is not the way i want to use it, i'd like not to init anything in the loaded swf, i want only to instantiate classes like are in my main project. Doing that crashes silently, no error (what is even stranger is that if i do any trace before instantiating an extern class, the trace does not appear either). Anyone had done this?


On Mon, Jan 31, 2011 at 2:25 AM, Alex Liebert <[hidden email]> wrote:
if the surprise carries over to the cpp target haxe will be set to rule the universe.


On Sun, Jan 30, 2011 at 4:19 PM, [hidden email] <[hidden email]> wrote:
<quote>
There's actually some features in 2.07 that will prove very useful when Molehill public beta is released. Expect a big surprise at this time ;)
</quote>

Sounds good :), well done guys.


--
haXe - an open source web programming language
http://haxe.org


--
haXe - an open source web programming language
http://haxe.org



--
Băluță Cristian
http://ralcr.com
http://imagin.ro

--
haXe - an open source web programming language
http://haxe.org
12