New Dart Editor build 0.5.5.0_r22416

168 views
Skip to first unread message

Eric Clayberg

unread,
May 6, 2013, 4:39:57 PM5/6/13
to anno...@dartlang.org, mi...@dartlang.org
A new Dart Editor build is available at www.dartlang.org/editorChanges include:
  • Opening type from omni box opens corresponding file.
  • F3 works for URL in import/export directives.
  • Search View: Show next/previous search result actions.
  • Search View: Show type references as part of the first field in declaration.
  • DND in Files view restored, will update URLs in/to moved unit.
  • New Quick Assist to Join 'if' statement with inner 'if' statement
  • New Quick Assist to convert '!(x is A)' into 'x is! A'.
  • New Quick Fix to add 'package:' import.
  • Fix for ‘library’ directive highlighting when there is leading Dartdoc.
  • Fewer false positives in new analysis engine.
  • Additional warnings and errors enabled in new analysis engine.
  • Many general improvements and fixes to new analysis engine.
Breaking Change List:
  • Directory.current is now a getter
And as always,view the changelog for the full list of changes, and to get started with the Editor see our tutorial.

--
Eric Clayberg
Dart Editor Team
Google, Inc.

Alex Tatumizer

unread,
May 6, 2013, 5:39:18 PM5/6/13
to mi...@dartlang.org, anno...@dartlang.org
Found certain performance improvements in this release:
int.toString() : 50ns/unit (previously 121) on 6-digit numbers
fromCharCodes: 8 ns/unit (previously 31) on 8-char ASCII string
Out of these 8 ns, 3 ns (almost half) is spent to test whether we have one-byte string. If not for these 3 ns, performance would be same as in java.

For int.toString(), I have code that takes 30 ns/unit (very common implementation: divide by 100 at a time)
For comparison, in java, the speed is 9.4 ns/unit (and in dart's current release it's 50ns - see above).

George Moschovitis

unread,
May 7, 2013, 8:08:18 AM5/7/13
to mi...@dartlang.org, anno...@dartlang.org
Still crashes on auto-complete :(

Eric Clayberg (Google)

unread,
May 7, 2013, 2:50:10 PM5/7/13
to mi...@dartlang.org, anno...@dartlang.org
Yes, it still crashing on auto-complete due to a specific Eclipse bug triggered under a (limited?) set of Linux configurations.

The Eclipse bug is being tracked here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=404776

And we are tracking the Editor issue here: https://code.google.com/p/dart/issues/detail?id=10452

We updated the Editor issue with or current understanding of it as follows:

This appears to be very specific to limited class of Linux configurations. The relevant Eclipse case references Gnome:stable:3.8 with WebKitGTK 2.0 although it might happen with other combinations. The crash is in Eclipse code rather than Editor code which makes it a much more difficult problem to address. The Eclipse folks reproduced the problem in 3.8, 4.2, & 4.3 but are only adding the patch to the next 4.3 release.

According to the Eclipse bug, some people find that defining this helps:

-Dorg.eclipse.swt.browser.DefaultType=mozilla

Using a different (older?) Linux distro or a different combination of Linux libraries might also help.

It is likely that we will eventually need to apply the patch ourselves if Eclipse.org does not patch the 3.x series of plugins that we are using. The patch can be found here: 


On Tuesday, May 7, 2013 8:08:18 AM UTC-4, George Moschovitis wrote:
Still crashes on auto-complete :(
Reply all
Reply to author
Forward
0 new messages