Add a Futures.forEach function for asynchronously iterating over a collection.

Review URL: https://codereview.chromium.org//11293132

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge/dart@15473 260f80e4-7a28-3924-810f-c04153c831b5
Fix the Futures tests for dart2js.

TBR

Review URL: https://codereview.chromium.org//11411242

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge/dart@15474 260f80e4-7a28-3924-810f-c04153c831b5
Use Futures.forEach in http.

BUG=

Review URL: https://codereview.chromium.org//11411241

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge/dart@15475 260f80e4-7a28-3924-810f-c04153c831b5
Work around issue 6984.

This ensures that before an HTTP response is closed, its corresponding
request is drained of input.

Review URL: https://codereview.chromium.org//11348285

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge/dart@15476 260f80e4-7a28-3924-810f-c04153c831b5
Add flag 'implements' to class, it is set anytime someone implements this class. This is a way to recognize implicit interfaces in order to improve class checks.
Review URL: https://codereview.chromium.org//11348283

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge/dart@15477 260f80e4-7a28-3924-810f-c04153c831b5
First cut at Dartboard theme.

See:

http://code.google.com/p/dart/issues/detail?id=7004

for a screenshot of the new theme.
Review URL: https://codereview.chromium.org//11280216

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge/dart@15478 260f80e4-7a28-3924-810f-c04153c831b5
The macos pub tests are working again.

BUG=

Review URL: https://codereview.chromium.org//11421136

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge/dart@15479 260f80e4-7a28-3924-810f-c04153c831b5
Remove support for default factory classes.
For now, disable tests using obsolete syntax. More will get disabled as support
for interfaces is completely removed. We may then permanently remove some tests,
while updating and reenabling others whose purpose is not related to interfaces.

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge/dart@15480 260f80e4-7a28-3924-810f-c04153c831b5
Get archive creation working on Windows.

Review URL: https://codereview.chromium.org//11348288

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge/dart@15482 260f80e4-7a28-3924-810f-c04153c831b5
Mark the pub oauth2_test as failing on Windows.

Review URL: https://codereview.chromium.org//11418227

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge/dart@15483 260f80e4-7a28-3924-810f-c04153c831b5
Add Analyzer commment line option '--type-checks-for-inferred-types'.

So, users can get same warnings was in Editor, if they want to.

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//11308256

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge/dart@15484 260f80e4-7a28-3924-810f-c04153c831b5
Make pkg/http use HttpClient.shutdown(force: true).

Review URL: https://codereview.chromium.org//11434018

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge/dart@15485 260f80e4-7a28-3924-810f-c04153c831b5
Attempt to do direct class comparison for type checks using CHA.
Next step is to convert instanceof nodes to an integer comparison node, which would then be automatically merged with branch.
Review URL: https://codereview.chromium.org//11348289

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge/dart@15486 260f80e4-7a28-3924-810f-c04153c831b5
Suppress check on localStorage to enable chrome apps

Review URL: https://codereview.chromium.org//11428064

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge/dart@15487 260f80e4-7a28-3924-810f-c04153c831b5
Mark pub oauth2 and curl_client tests as skip on Windows.

Review URL: https://codereview.chromium.org//11308262

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge/dart@15488 260f80e4-7a28-3924-810f-c04153c831b5
Get rid of default.

R=regis@google.com

Review URL: https://codereview.chromium.org//11348290

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge/dart@15489 260f80e4-7a28-3924-810f-c04153c831b5
Add a tool to publish packages in the repo to pub.
Review URL: https://codereview.chromium.org//11415191

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge/dart@15490 260f80e4-7a28-3924-810f-c04153c831b5
Update test status with fixes

This test is now passing on IE9 and 10 as of my fix in r15487.

TBR=efortuna@google.com

Review URL: https://codereview.chromium.org//11418228

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge/dart@15491 260f80e4-7a28-3924-810f-c04153c831b5
Making dart2js' HTMLElement private.

The class is only used in Dart2JS and should probably not be public.

BUG=6752

Review URL: https://codereview.chromium.org//11412231

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge/dart@15492 260f80e4-7a28-3924-810f-c04153c831b5
Add @JSName annotation for native fields and methods.

This change allows fields to have different Dart and JavaScript names
without resorting to getters and setters using the 'JS' call.

For uniformity, methods have been changed use @JSName too.  The
previous scheme of using a string containing an identifier following
the 'native' pseudo-keyword is now an error.  A non-identifier string,
giving a native body to a Dart function, is still supported.

Members are marked as native during resolution, making the
Element.isNative() predicate more reliable.

Some uses of nativeName have been renamed to nativeTagInfo or
nativeTag to reflect that the strings are actually the class names.

Review URL: https://codereview.chromium.org//11299220

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