Commit Graph

30 Commits

Author SHA1 Message Date
jmesserly@google.com 05705dad2f fix polymer tests -- replace run.sh and run tests using bots
BUG=
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27353 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-10 21:21:55 +00:00
kevmoo@j832.com a8eafbee60 Update urls for polymer
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27310 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-09 20:45:45 +00:00
jmesserly@google.com e6ce53bcb7 ignore trailing whitespace in polymer transform test
R=dgrove@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27265 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-06 20:31:37 +00:00
dgrove@google.com d85315c307 Make expectations match reality by altering whitespace.
TBR=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27223 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-05 23:55:07 +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 315a51b392 Add a polymer validator: a linter/analysis that will replace the old
dwc.analyzer. This analysis covers what we used to have before, but hooks into
barback (so we'll be able to see assets that are generated too).

I plan to delete analyzer.dart and compiler.dart next, but decided to do so in a
separate CL.

R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27162 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-04 22:37:46 +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
jmesserly@google.com 7a091dcfca Turn on Polymer TodoMVC tests on Dart buildbots
The biggest changes are to the examples, but there's a small tweak to test_suite.dart as well, so it can load the HTML files.

For now, we only test the development loop (content_shell+Dart VM). I'm working on changes to enable us to test the deploy story with dart2js.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26943 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 21:09:06 +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 36c012b8a2 Get rid of doctype warning in analyzer
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26895 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-29 22:44:00 +00:00
sigmund@google.com a43815cae0 Remove processing of dart code, summary.dart, simplified info.dart
(note: this builds on top of the previous CL)

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26832 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-29 00:34:22 +00:00
sigmund@google.com 3074dc4518 Move observe to observe package
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26830 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-29 00:14:16 +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
rnystrom@google.com 193dfd7481 Make Transform a little more pleasant to use:
- Provide the primaryInput asset synchronously (#12515).
- Add convenience methods for reading input assets (#12516).

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26822 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-28 22:37:40 +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
blois@google.com 2cb45c9124 Suppressing exceptions in Dartium's dart:js usage
Trying to get code to start up clean with first-chance exceptions.

BUG=12548
R=jacobr@google.com, terry@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26753 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 23:46:14 +00:00
sigmund@google.com a841cc9224 readd accidentally removed import.
Review URL: https://codereview.chromium.org//23619002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26729 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 17:25:10 +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
terry@google.com d2bf47bef9 Moved test changes to dart-lang
BUG=
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26724 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 17:14:20 +00:00
floitsch@google.com 1887b5ca49 Some more removals of dart:utf.
R=jmesserly@google.com, lrn@google.com, nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26712 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 13:18:34 +00:00
lrn@google.com 0fa1bbdf15 Reapply "Make Map constructors return LinkedHashMap."
Updated tests assuming a specific ordering of an unlinked hash map
to not be daft.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26693 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 08:43:46 +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
sigmund@google.com 6839e727d3 Declare the sequence of phases for the full polymer transform and add tests for
it.

R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26574 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-23 01:45:45 +00:00
sigmund@google.com ab9acd1dd2 Fix polymer transformers in windows. AssetId's always use posix style paths
regardless of the system.

R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26563 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-22 22:22:18 +00:00
sigmund@google.com 38b6042c12 Introduce polymer transformers (inlined code extraction, inlining html imports,
combining multiple script tags)

R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26495 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-22 00:23:47 +00:00
sigmund@google.com efcc9f755a Remove environment section in pubspec.yaml (this I believe is appended
automatically by the publish scripts)

R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26416 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-21 00:53:16 +00:00
sigmund@google.com a1b0915ca3 Bring the rest of the polymer.dart code from github.
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26414 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-21 00:29:13 +00:00
jmesserly@google.com d766a2f382 additional path on windows fixes
Review URL: https://codereview.chromium.org//22955008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26411 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-20 23:49:34 +00:00
jmesserly@google.com 3549ec0409 fix polymer tests on windows
R=sigmund@google.com

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26409 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-20 23:26:44 +00:00
jmesserly@google.com 068dec6712 move polymer.dart into dart svn
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26404 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-20 22:48:50 +00:00