Parse elements only once.

The last step before we start to rewrite element's AST.

R=smok@google.com

Review URL: https://chromiumcodereview.appspot.com//10912075

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@11826 260f80e4-7a28-3924-810f-c04153c831b5
DEPS AutoUpdate: tools to 836 (2012-09-04 19:49:29 +0400) antonm@chromium.org
Make the dartium archive script use out instead of xcodebuild on mac debug
http://src.chromium.org/viewvc/multivm/trunk/tools?view=rev&revision=836

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@11827 260f80e4-7a28-3924-810f-c04153c831b5
DEPS AutoUpdate: tools to 837 (2012-09-04 20:40:27 +0400) antonm@chromium.org
Add some temporary diagnostics.
http://src.chromium.org/viewvc/multivm/trunk/tools?view=rev&revision=837

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@11828 260f80e4-7a28-3924-810f-c04153c831b5
DEPS AutoUpdate: tools to 838 (2012-09-04 21:12:29 +0400) antonm@chromium.org
Better path calculation.
http://src.chromium.org/viewvc/multivm/trunk/tools?view=rev&revision=838

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@11829 260f80e4-7a28-3924-810f-c04153c831b5
fix pub action to run on projects and folders  
Review URL: https://chromiumcodereview.appspot.com//10909061

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@11830 260f80e4-7a28-3924-810f-c04153c831b5
Simplify Unparser.unparseClassWithBody.

R=smok@google.com

Review URL: https://chromiumcodereview.appspot.com//10913067

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@11831 260f80e4-7a28-3924-810f-c04153c831b5
DEPS AutoUpdate: tools to 839 (2012-09-04 21:55:56 +0400) antonm@chromium.org
Remove debugging printing and cleanup path calculation.
http://src.chromium.org/viewvc/multivm/trunk/tools?view=rev&revision=839

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@11832 260f80e4-7a28-3924-810f-c04153c831b5
Fix dart2dart warnings.

TBR=smok@google.com

Review URL: https://chromiumcodereview.appspot.com//10916098

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@11833 260f80e4-7a28-3924-810f-c04153c831b5
Old catch syntax is now an error (issue 4905)
Review URL: https://chromiumcodereview.appspot.com//10913068

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@11834 260f80e4-7a28-3924-810f-c04153c831b5
Fix argument definition test (issue 4888).
Review URL: https://chromiumcodereview.appspot.com//10907064

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@11835 260f80e4-7a28-3924-810f-c04153c831b5
Fix an issue where we could no longer send JavaScript print() output back to the Editor.
Fix an NPE during Editor shutdown.
Review URL: https://chromiumcodereview.appspot.com//10905078

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@11836 260f80e4-7a28-3924-810f-c04153c831b5
Disable test failing in minified tests of dart2dart.
Review URL: https://chromiumcodereview.appspot.com//10911071

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@11837 260f80e4-7a28-3924-810f-c04153c831b5
load sdk libraries defined in libraries.dart
Review URL: http://codereview.chromium.org//10916099

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@11838 260f80e4-7a28-3924-810f-c04153c831b5
Add more tracing output and re-initialize the index if reading the file produces no entries. Effectively, this pretends that we didn't find an index file if the file is corrupted.
Review URL: https://chromiumcodereview.appspot.com//10920078

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@11839 260f80e4-7a28-3924-810f-c04153c831b5
Added option --script-snapshot in gen_snapshot to generate the snapshot of a scipt into the file.

Added option --use-script-snapshot to dart to be able to read a script from a snapshot.

Using this for dart2js produces the following result:

time dart --use-script-snapshot=dart2-js out/ReleaseIA32/dart-sdk/lib/dart2js/lib/compiler/implementation/dart2js.dart tests/language/string_test.dart -oout.js
real    0m1.733s
user    0m1.690s
sys     0m0.030s

without the snapshot the runtimes are:
time out/ReleaseIA32/dart out/ReleaseIA32/dart-sdk/lib/dart2js/lib/compiler/implementation/dart2js.dart tests/language/string_test.dart -oout.js.orig
real    0m2.406s
user    0m2.350s
sys     0m0.040s
Review URL: https://chromiumcodereview.appspot.com//10871092

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@11840 260f80e4-7a28-3924-810f-c04153c831b5
Fix for issues 3473 and 4909
Review URL: https://chromiumcodereview.appspot.com//10920081

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@11841 260f80e4-7a28-3924-810f-c04153c831b5
Catch illegally declared constructors

Constructors cannot be abstract or static.
Review URL: https://chromiumcodereview.appspot.com//10910079

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@11842 260f80e4-7a28-3924-810f-c04153c831b5
Fixed parsing of parameterized type test assert statement in production mode.

BUG=3741
TEST=Verified with bug's test, plus all VM tests.
Review URL: https://chromiumcodereview.appspot.com//10911042

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@11843 260f80e4-7a28-3924-810f-c04153c831b5
Support transforming the exception in Future.transform().

Review URL: https://chromiumcodereview.appspot.com//10908040

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@11844 260f80e4-7a28-3924-810f-c04153c831b5
Changing websocket API to make it possible to send array buffers.

BUG=2766

Review URL: https://chromiumcodereview.appspot.com//10918059

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@11845 260f80e4-7a28-3924-810f-c04153c831b5