[haXe] haXe Beta4 Released !
Benjamin Dasnois
benjamin.dasnois at gmail.com
Sun Apr 2 15:45:50 CEST 2006
What do you mean by
fixed javascript events case
is this the this problem? What about having multiple event handlers on
a single event?
On 4/2/06, Nicolas Cannasse <ncannasse at motion-twin.com> wrote:
> > Hi lists,
> >
> > I'm please to announce the Beta4 release of haXe on http://haxe.org
>
> Here's the list of changes :
> - fixed javascript events case
> - fixed invalid use of physeq
> - fixed + type inference
> - added -altfmt
> - allowed anonymous <: class subtyping
> - relaxed unifications of expressions in "for" and "while"
> - more methods in List
> - syntax changes : mandatory parenthesis for "for" and "while"
> - allowed any kind of identifier almost everywhere
> - moved tools, flash, js and neko inside "std"
> - no need for 0x in flash header bgcolor
> - added -res
> - fixed type parameter contraint holes
> - Std.is Dynamic always returns true
> - added Enum.toString
> - neko : env locals can be modified in inner functions
> - completed js keywords list in generator
> - added Reflect.typeof
> - prioritize neko.Lib.load static calls
> - fixed bugs in for...in optimization with continue
> - fixed Reflect fields, added documentation, added Class
> - added javascript closures, fixed null closures on flash and Neko
> - added javascript __init__ statics and js.XMLHttpRequest
> - added neko.Stack
> - fixed bug in Std.ord
> - convert neko string to haxe string on catch
> - automaticaly creates empty clips for classes extending flash.MovieClip
> - unify stack : several meaningful unification errors
> - added cast operation and keyword
>
> The important things are the following :
>
> 1) Cast operation :
>
> var x = cast(expression,MyClass);
>
> will either return the value "expression" with type "MyClass" or throw
> an exception "Class cast error".
>
> 2) In Flash, If you have a class extending MovieClip (or having
> MovieClip in its inherited hierarchy) then haXe will automaticaly create
> an empty MovieClip in the SWF, give it a linkage name
> "my.package.MyClass" and do a registerClass. This is skipped if a MC
> with the same name already exists in the -swf-lib
>
> Nicolas
>
> --
> haXe - an open source web programming language
> http://haxe.org
>
--
DASNOIS Benjamin
More information about the Haxe
mailing list