Commit Graph

16 Commits

Author SHA1 Message Date
sigmund@google.com fcb74c7a3f Add a build filter (only necessary HTML files are emitted) and logic to use .min.js by default, but keeps it disabled until the dart2js/mirrors bugs are addressed (dartbug.com/14720).
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30164 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-11 18:39:47 +00:00
floitsch@google.com 7006de6f23 Remove deprecated parts of dart:async.
Attempt to fix most uses of the deprecated features.

R=floitsch@google.com, nweiz@google.com, rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29628 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 02:24:29 +00:00
whesse@google.com 40c7befb81 Remove uses of Options in polymer lint and deploy tools.
BUG=
R=sgjesse@google.com, sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29569 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-30 17:44:08 +00:00
sigmund@google.com 92ebcc30c7 Fixes all canonicalization problems... all of them. Ok, not all of them, but at
least it should address the many issues people have been hitting.

R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29137 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 00:34:35 +00:00
sigmund@google.com 2b092e883f Fixes the deploy step used by the bots in windows
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29027 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-22 19:32:01 +00:00
jmesserly@google.com 821e6fec2a Several fixes here to fix bugs and get our tests into a reliable state:
* customElementsReady future. We don't fire Polymer.onReady until custom elements are ready too

* deploy without dart.js by default. This is the expected deployment mode for real apps. Also make sure we test this on DRT and compiler==js, so Pete can change Dartium without causing build breaks :)

* stop using "package:observe" test "performMicrotaskCheckpoint" hack in Polymer. This was too blunt; it affected timing of all async operations. Instead we only trigger Observable.dirtyCheck. It's using the latest Zone API as well.

* mixin ChangeNotifier explicitly. This is mainly to fix a quirk of our test environment (test server loads "packages/polymer" in untransformed mode, causing it to pick up Observable instead of ChangeNotifier).

* fix change watchers to blacklist "attributeChanged" :)

* fix serializeValue to only use the runtime value

* fix deserializeValue to get the right Type for dart:core types

* cleanup prop_attr_reflection_test to use mutation observer

R=blois@google.com, sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28956 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-21 21:49:51 +00:00
sigmund@google.com 580d807b66 Transformer plugin for polymer. This will make it possible (one day) to use
polymer transformers in pub-build and pub-serve by writing:

transformers:
  - polymer:
      entry_points: web/index.html

I say one day because there are still a few pending bugs on the vm and the pub
side of things that need to be resolved before this works.

R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28942 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-21 19:21:52 +00:00
sigmund@google.com ba97c385d4 Rearranges the polymer package now that the old compiler is gone.
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27462 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-13 00:18:09 +00:00
sigmund@google.com 26b11cf6f9 Switch polymer's build.dart to use the new linter. This CL does the following
changes:
  - deletes the old compiler entirely and switches over to the new linter.
  - adds a new build_helper.dart (to replace components_build.dart)
  - defines 'lint' and 'deploy' methods that can be called from build.dart
  - includes options to limit the scope of what's an entrypoint, and to override
    the currentPackage and packageDirs
  - includes the '--deploy' flag to address: dartbug.com/13050

R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27403 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-11 20:38:28 +00:00
jmesserly@google.com 337880c0d4 fixed TodoMVC tests to include deploying to JS
R=kustermann@google.com, sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27222 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-05 23:00:41 +00:00
sigmund@google.com 3fba647ba8 Apply several phases only to entrypoint files (which currently are identified as
those inside the web/ or test/ directory), and hide doctype warnings when
processing non entrypoint files.

R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27142 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-04 19:49:43 +00:00
sigmund@google.com bd53fa0cc8 Change in deploy.dart to make it easier to run in run.sh without running pub.
You probably will delete some of this, but wanted to have things working better.

R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26900 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 02:00:05 +00:00
sigmund@google.com 389feb691b Prune the old deploy code. This CL does a few changes:
- includes a few new steps in the deploy transforms that were missing
 - deletes emitters.dart, paths.dart (which were only needed for generating
   code), bin/dwc.dart (we never used this)
 - changes test/run.sh to run from pkg/polymer/.
 - updates tests expectations to match the new output
 - for now, disable using shadowdom-polyfill in render tests because they
   mismatch the results you'd get without the polyfill (css is changed with the
   polyfill)

R=jmesserly@google.com, terry@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26828 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-29 00:07:02 +00:00
floitsch@google.com 74da0c7286 Remove usage of dart:json.
R=jmesserly@google.com, lrn@google.com, nweiz@google.com, rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26789 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-28 14:05:11 +00:00
sigmund@google.com 6559184105 Fix read/write of binary assets in deploy
R=terry@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26725 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 17:16:27 +00:00
sigmund@google.com 3bfd140972 Add a deploy script based on polymer's transformers.
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26601 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-23 15:58:39 +00:00