Implement unlabeled continue.

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

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@5808 260f80e4-7a28-3924-810f-c04153c831b5
Add test case that ensures that the VM can compile all of the code
in the dart:io library.

Matthias has a changelist out that will make compile_all complaint
instead of silently ignoring compilation errors. Once that lands
(Monday MTV time) this test will become useful.

R=sgjesse@google.com
BUG=
TEST=

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

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@5809 260f80e4-7a28-3924-810f-c04153c831b5
copy import.config into dart-sdk/lib during build
Review URL: https://chromiumcodereview.appspot.com//9853006

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@5810 260f80e4-7a28-3924-810f-c04153c831b5
Move system library map to property file
Review URL: https://chromiumcodereview.appspot.com//9808112

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@5811 260f80e4-7a28-3924-810f-c04153c831b5
Add error handling to random access file

Now all both sync and async methods on File and RandomAccessFile
should have correct error handling.

Changed readByte and readByteSync to return -1 instead of
reporting an error when end of file is reached. It seems to make
the most sense.

The amount of boiler-plate code in both the native functions and
native port functions in file.cc is growing. Maybe we should
consider some refactoring, e.g. with a table of the expected
argument types for each native port functions together with known
position of the FILE* argument.

R=ager@google.com

BUG=
TEST=

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

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@5812 260f80e4-7a28-3924-810f-c04153c831b5
Require compile mode.

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

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@5813 260f80e4-7a28-3924-810f-c04153c831b5
Fix file error tests on Windows

* Always close files before deleting the temporary test directory
* Truncate on read only fils only fails if the file is not empty

TBR=ager@google.com

BUG=none
TEST=tests/standalone/src/io/FileErrorTest.dart

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

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@5814 260f80e4-7a28-3924-810f-c04153c831b5
Make test standalone/src/io/ManyEchoServerTest compile

R=ahe@google.com

BUG=dart:2266
TEST=tests/standalone/src/io/ManyEchoServerTest.dart

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

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@5815 260f80e4-7a28-3924-810f-c04153c831b5
Fix NPE in ArrayBasedScanner

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

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@5816 260f80e4-7a28-3924-810f-c04153c831b5
Fix broken directory test using undefined class

R=ahe@google.com

BUG=none
TEST=tests/standalone/src/io/DirectoryInvalidArgumentsTest.dart

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

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@5817 260f80e4-7a28-3924-810f-c04153c831b5
Minor tweaks to the core library.

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

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@5818 260f80e4-7a28-3924-810f-c04153c831b5
Abort on EOF when scanning #!.

This fixes http://code.google.com/p/dart/issues/detail?id=1761.

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

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@5819 260f80e4-7a28-3924-810f-c04153c831b5
Handle implicit closure of toString.

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

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@5820 260f80e4-7a28-3924-810f-c04153c831b5
Avoid parenthesis for constants.
Review URL: https://chromiumcodereview.appspot.com//9856013

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@5822 260f80e4-7a28-3924-810f-c04153c831b5
At least it shows that my code works :)
Review URL: https://chromiumcodereview.appspot.com//9854019

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@5823 260f80e4-7a28-3924-810f-c04153c831b5
Clean up mock implementations.

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

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@5824 260f80e4-7a28-3924-810f-c04153c831b5
Constant fold is checks.
Review URL: https://chromiumcodereview.appspot.com//9858009

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@5825 260f80e4-7a28-3924-810f-c04153c831b5
Fix typo spotted by VM on checked mode.
Review URL: https://chromiumcodereview.appspot.com//9858012

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@5826 260f80e4-7a28-3924-810f-c04153c831b5
Clean up label handling in codegen.

Make the codegen not try to guess the meaning of a label at the break statement.
Instead the code that introduces code for a label or target can override the
default behavior for a later break or continue by attaching an action to the
element.
Currently all continues are overridden, since we can't generate a plain continue.

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

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@5827 260f80e4-7a28-3924-810f-c04153c831b5
Prevent sort on immutable lists.

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

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