Haxe 2.09 Released !

271 views
Skip to first unread message

Nicolas Cannasse

unread,
Apr 14, 2012, 5:22:31 AM4/14/12
to haxe...@googlegroups.com
Hi,

As announced at WWX Conference, Haxe 2.09 is now available to download
on http://haxe.org/download !

This new release include the compilation server
(check http://haxe.org/manual/completion#compilation-cache-server)

But also many improvements on both language and targets, optimizations
and new libraries, such as :
- new sys.io and sys.net packages + Sys toplevel class
- Reflect.getProperty/setProperty
- crossplatform haxe.Json and haxe.Utf8
- JS source mapping and --js-modern
- Flash 11.2 and 11.3 + @:sound and @:file support
- ... and much more

Most of the changes are listed here : http://haxe.org/file/CHANGES.txt

Enjoy !

Nicolas

Baluta Cristian

unread,
Apr 14, 2012, 5:27:06 AM4/14/12
to haxe...@googlegroups.com
Cool, just took it but it broke my hxmls, i have a basic hxml that calls others:
-cmd haxe compile/compile_v4.hxml

Then this error: Fatal error: exception Failure("File not found haxe compile/compile_v4.hxml")

Dion Whitehead Amago

unread,
Apr 14, 2012, 4:15:44 PM4/14/12
to haXe
Awesome. A bunch of great improvements!

On Apr 14, 2:22 am, Nicolas Cannasse <ncanna...@motion-twin.com>
wrote:
> Hi,
>
> As announced at WWX Conference, Haxe 2.09 is now available to download
> onhttp://haxe.org/download!
>
> This new release include the compilation server
> (checkhttp://haxe.org/manual/completion#compilation-cache-server)

Philippe Elsass

unread,
Apr 14, 2012, 5:33:35 PM4/14/12
to haxe...@googlegroups.com
Please note that FlashDevelop's Flash completion is broken (fixed in SVN) because of some Std changes - don't scratch 2.08 too quickly ;)




--
Philippe

Benjamin Dubois

unread,
Apr 15, 2012, 2:45:51 AM4/15/12
to haxe...@googlegroups.com
Will you soon make a release ?
My five years old laptop will be very happy with the new completion optimisation and compilation server.

Ben

Philippe Elsass

unread,
Apr 15, 2012, 3:54:15 AM4/15/12
to haxe...@googlegroups.com
Yes, when server completion will work completely...

Simon Krajewski

unread,
Apr 15, 2012, 4:40:18 AM4/15/12
to haxe...@googlegroups.com
Am 15.04.2012 09:54, schrieb Philippe Elsass:
> Yes, when server completion will work completely...

You can just revert my patch and have the server mode option append a
--connect [port] to the hxml args. Then, whenever compilation or
completion is triggered, check if the server has to be (re)started (for
compilation this has to be done before running FDBuild). Restart is also
necessary in some other cases, e.g. when the haxe SDK has been changed.

I don't think it's worth maintaining a working socket connectivity in FD
right now. The difference in speed is minimal and you don't face
potential issues like missing return coded and others.

Simon

Joshua Granick

unread,
Apr 15, 2012, 5:15:51 AM4/15/12
to haxe...@googlegroups.com
I'm not seeing output from "haxe --display" anymore.

Has anything changed in how it needs to be used?


--
Using Opera's revolutionary email client: http://www.opera.com/mail/

Oļegs Baļss

unread,
Apr 15, 2012, 5:48:30 AM4/15/12
to haxe...@googlegroups.com
Issue 742: http://code.google.com/p/haxe/issues/detail?id=742

Breaks almost any existing project targeting flash ;[

Joshua Granick

unread,
Apr 15, 2012, 5:51:55 AM4/15/12
to haxe...@googlegroups.com
Here is an example of my output:


joshua@joshua-VPCSA290X:~$ haxe -main ApplicationMain -D nme_install_tool
-cp Source -lib nme -D desktop -cp Export/cpp/linux/haxe -cp
Export/cpp/haxe -cpp Export/cpp/linux/obj --remap flash:nme -cp
"/tmp/b49eba8c-16b7-45bd-be44-3593a09993ee" --display
"/tmp/b49eba8c-16b7-45bd-be44-3593a09993ee/TestNME.hx"@366 -D use_rtti_doc
-v

Display file : /tmp/b49eba8c-16b7-45bd-be44-3593a09993ee/TestNME.hx
Classes found : []
Classpath :
/tmp/b49eba8c-16b7-45bd-be44-3593a09993ee/;Export/cpp/haxe/;Export/cpp/linux/haxe/;/home/joshua/Development/Haxe/nme/;Source/;;/;/usr/lib/haxe/std/cpp/_std/;/usr/local/lib/haxe/std/cpp/_std/;/usr/lib/haxe/std/;/usr/local/lib/haxe/std/
Defines :
use_rtti_doc;true;sys;nme_install_tool;nme;haxe_209;display;desktop;cpp
Parsed /usr/lib/haxe/std/StdTypes.hx
Parsed /usr/lib/haxe/std/String.hx
Parsed /usr/lib/haxe/std/Array.hx

joshua@joshua-VPCSA290X:~$

Joshua Granick

unread,
Apr 15, 2012, 6:08:02 AM4/15/12
to haxe...@googlegroups.com
Ah, it doesn't like the temporary directory name.

I'll find a different (shorter?) name for it

On Sun, 15 Apr 2012 02:51:55 -0700, Joshua Granick

Joshua Granick

unread,
Apr 15, 2012, 7:08:56 AM4/15/12
to haxe...@googlegroups.com
When the path includes a dash or an underscore, completion is failing.

There might be a regression where the classpaths need to be alpha-numeric,
and cannot contain dashes or underscores


On Sun, 15 Apr 2012 03:08:02 -0700, Joshua Granick

Baluta Cristian

unread,
Apr 15, 2012, 7:28:52 AM4/15/12
to haxe...@googlegroups.com
I hoped is the same case for my problem but it isn't, i can't use -cmd to compile a new hxml. Hope they'll solve it after wwx finishes.




--

Nicolas Cannasse

unread,
Apr 16, 2012, 8:42:59 AM4/16/12
to haxe...@googlegroups.com
Le 15/04/2012 11:51, Joshua Granick a �crit :

> Here is an example of my output:
>
>
> joshua@joshua-VPCSA290X:~$ haxe -main ApplicationMain -D
> nme_install_tool -cp Source -lib nme -D desktop -cp
> Export/cpp/linux/haxe -cp Export/cpp/haxe -cpp Export/cpp/linux/obj
> --remap flash:nme -cp "/tmp/b49eba8c-16b7-45bd-be44-3593a09993ee"
> --display "/tmp/b49eba8c-16b7-45bd-be44-3593a09993ee/TestNME.hx"@366 -D
> use_rtti_doc -v
>
> Display file : /tmp/b49eba8c-16b7-45bd-be44-3593a09993ee/TestNME.hx
> Classes found : []

Thanks that was useful. Located and fixing the problem now. Since we
have another important issue fixed I'll make a 2.09 release update in a
few minutes.

Best,
Nicolas

Reply all
Reply to author
Forward
0 new messages