Commit Graph

24 Commits

Author SHA1 Message Date
jmesserly@google.com 86f34e490b Fix TODO in polymer _shimCss, remove package:js dependency
additional fixes:
* rename to match Polymer
* move to happen in the "declaration" phase, not instance initialization

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27501 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-13 20:36:00 +00:00
sigmund@google.com 588194d748 report error message when import urls are broken.
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27495 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-13 18:19:50 +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 e9dbf02af1 Latest attempt to polymer-build scripts in fix windows
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27457 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-12 22:42:47 +00:00
sigmund@google.com 2e76db62a9 Fix create symlink in windows by using an absolute path instead.
Review URL: https://codereview.chromium.org//23621039

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27443 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-12 18:37:37 +00:00
sigmund@google.com edfd09518e Fixes in polymer build related to 'packages':
- we don't trust existing packages symlinks or folders.
 - create relative symlinks so subfolders can be valid entrypoints

Fixes for: dartbug.com/13219 dartbug.com/13185

R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27435 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-12 16:53:28 +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 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
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
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 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
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
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
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 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 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