dart2js: Split the emitter task into task and actual emitter.

R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@40629 260f80e4-7a28-3924-810f-c04153c831b5
Temporary disable until co19 tests are updated for 38 roll

Reviewers=vsm@google.com

R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@40630 260f80e4-7a28-3924-810f-c04153c831b5
Update to polymer js version 0.4.1

BUG= http://dartbug.com/21035
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@40631 260f80e4-7a28-3924-810f-c04153c831b5
fix forceReady test in IE

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@40632 260f80e4-7a28-3924-810f-c04153c831b5
Don't run optimization-threshold-counter=5 tests on the pub bot

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@40633 260f80e4-7a28-3924-810f-c04153c831b5
Fix in RemoteAnalysisServerImplTest, the ServerResponseReaderThread is now closed out between tests.
Cleanup in AbstractServerTest.java and AbstractRemoteServerTest.java

R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@40634 260f80e4-7a28-3924-810f-c04153c831b5
Put union types behind a flag.

I added two union types related flags:

- enableUnionTypes: whether or not union types should be used.

- strictUnionTypes: whether or not union types should have "strict"
  semantics. The default, non-strict semantics are more like
  intersection types: they're less sound than the strict semantics but
  generate fewer warnings, by saying e.g. that a method is defined on
  the union if it's defined on *any* of the members. For the strict
  semantics we want the method to be defined on *all* the members.

I surfaced the flags in the static [AnalysisEngine] instance and added a helper function
for setting them in the resolver tests.  The next step is to use the "strict" flag to implement the
optional strict semantics for union types.

I don't know where setting the options for the Dart Editor is
documented, so I'm summarizing @brianwilkerson's instructions here. In
Eclipse, assuming you already have a Dart Editor configuration, do

  run configurations ->
  launch dart editor ->
  tracing ->
  enable tracing ->
  enable com.google.dart.tools.core ->
  enable experimental/enableUnionTypes and (optionally)
  enable experimental/strictUnionTypes

R=brianwilkerson@google.com, jwren@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@40635 260f80e4-7a28-3924-810f-c04153c831b5
mark dartium tests as flaky due to 18931

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@40636 260f80e4-7a28-3924-810f-c04153c831b5
Propagate future returned by _updateElementReferences().

Otherwise the Future.forEach() may complete too soon, causing the
refactoring to be returned to the client before all of the necessary
changes have been accumulated.

BUG=dartbug.com/21071
R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@40637 260f80e4-7a28-3924-810f-c04153c831b5
Move PubPackageMapProvider to its own file.

This will allow clients of the AnalysisServer package to provide their
own PackageMapProvider without bringing in a dependency on dart:io.

R=brianwilkerson@google.com, rpaquay@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@40638 260f80e4-7a28-3924-810f-c04153c831b5
Fix broken union-types test.

I missed a non-analyzer test when putting union types behind a flag.

R=brianwilkerson@google.com, jwren@google.com
BUG=

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

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

R=rnystrom@google.com
BUG=21063

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@40640 260f80e4-7a28-3924-810f-c04153c831b5
Fix analyzer warnings in pkg/glob.

This releases glob 1.0.1.

R=rnystrom@google.com
BUG=21065

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@40641 260f80e4-7a28-3924-810f-c04153c831b5
DEPS update to pick up 292122 "Fix conflict resolution in favor of the upstream side."



git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@40642 260f80e4-7a28-3924-810f-c04153c831b5
Add Shebang to Global Package binstubs

BUG=
R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@40643 260f80e4-7a28-3924-810f-c04153c831b5
Fix pkg/glob tests on Windows.

R=rnystrom@google.com
BUG=21071

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@40644 260f80e4-7a28-3924-810f-c04153c831b5
Fix a bug in barback's static package handling.

This releases barback 0.15.2+2.

R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@40645 260f80e4-7a28-3924-810f-c04153c831b5
Do not eagerly compile the function implementation class in case of an error.

R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@40646 260f80e4-7a28-3924-810f-c04153c831b5
mark as flaky not failing

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@40647 260f80e4-7a28-3924-810f-c04153c831b5
Fix the listing of built-in packages for "pub build".

R=rnystrom@google.com
BUG=21068

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

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