Fix error reporting for socket write failure

It now includes the OS error in the thrown exception

R=ager@google.com

BUG=
TEST=

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

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@7365 260f80e4-7a28-3924-810f-c04153c831b5
Indentation change for define-class.

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

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

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

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@7367 260f80e4-7a28-3924-810f-c04153c831b5
Remove warning that 'facotry' is not a type annotation.
Review URL: https://chromiumcodereview.appspot.com//10332032

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

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@7369 260f80e4-7a28-3924-810f-c04153c831b5
Revert r7368: parseMember should only be used for partial parsing.
Review URL: https://chromiumcodereview.appspot.com//10378030

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@7370 260f80e4-7a28-3924-810f-c04153c831b5
Better checking and error reporting for HTTP client

R=ager@google.com

BUG=dart:2034
TEST=none

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

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@7371 260f80e4-7a28-3924-810f-c04153c831b5
Emit defineClass function only if it is used.

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

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@7372 260f80e4-7a28-3924-810f-c04153c831b5
Set the right context to resolve types of fields, closures and parameters.

R=ngeoffray@google.com

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

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@7373 260f80e4-7a28-3924-810f-c04153c831b5
Compute function types together with the parameters.

This avoids resolving the types of arguments twice.

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

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@7374 260f80e4-7a28-3924-810f-c04153c831b5
Start implementing checked mode and tools support for using it.
Review URL: https://chromiumcodereview.appspot.com//10353014

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@7375 260f80e4-7a28-3924-810f-c04153c831b5
Create the JavaScript constructor dynamically.

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

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@7376 260f80e4-7a28-3924-810f-c04153c831b5
Add enumeration of the HTTP headers

R=ajohnsen@google.com

BUG=dart:2045
TEST=tests/standalone/io/http_headers_test.dart

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

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@7377 260f80e4-7a28-3924-810f-c04153c831b5
Support for library import prefix rename, add, remove.

R=messick@google.com
BUG=
TEST=

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

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@7378 260f80e4-7a28-3924-810f-c04153c831b5
Shorten line that was too long.

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

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@7379 260f80e4-7a28-3924-810f-c04153c831b5
Tests that rename works in string interpolation

R=messick@google.com
BUG=
TEST=

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

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

BUG=
TEST=

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

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@7381 260f80e4-7a28-3924-810f-c04153c831b5
Add executable to Options interface to get the name of the executable used to execute the script.

This is useful when you want to spawn separate dart processes. We do this from tests and we keep getting bitten by a broken search for the executable. Let's make it available instead.

R=sgjesse@google.com,iposva@google.com
BUG=
TEST=

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

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge@7382 260f80e4-7a28-3924-810f-c04153c831b5
Don't display the config directory in the files view SDK node.
Review URL: https://chromiumcodereview.appspot.com//10332020

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

Currently only contains digestToHex to convert a message digest to a hex string.

R=sgjesse@google.com
BUG=dartbug.com/2839
TEST=

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

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