Commit Graph

405 Commits

Author SHA1 Message Date
jakemac@google.com 8baaaf9aa1 fix logic for detecting when in an auto-binding element
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42254 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-10 18:05:54 +00:00
nweiz@google.com 0871ea96ba Restrict the version constraints on exported dependencies.
This avoids a versioning issue where an exported dependency adds a
feature and the exporting package's users' version constraints become
invalidated.

For example, suppose unittest 1.0.0 and matcher 1.0.0 exist. unittest
has the constraint "matcher: '>=1.0.0 <2.0.0'" and exports matcher.
Then matcher 1.1.0 is released with a new feature, and a user writes a
new package, mypkg, which uses that feature. As per common practice,
this package has the version constraint "unittest: '>=1.0.0 <2.0.0'"
and no constraint on matcher. This constraint allows matcher 1.0.0,
which doesn't support the new feature; this is a problem.

Under the new scheme, unittest would have the constraint "matcher:
'>=1.0.0 <1.1.0'". Then when matcher 1.1.0 is released, unittest 1.1.0
would be released as well with the constraint "marcher: '>=1.1.0
<1.2.0'".

The tight lower bound ensures that the constraint "unittest: '>=1.1.0
<2.0.0'" properly selects only versions of matcher that have features
available in the version the user is testing against. The tight upper
bound ensures that new features in a new version of matcher won't
become available in unittest without a version upgrade.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42223 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-09 21:35:23 +00:00
jakemac@google.com 82d67b1455 generate new message details page and fix logic for injecting {%raw} tags only when making messages for the website
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42133 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-05 17:14:42 +00:00
jakemac@google.com 31c524cdca update to polymer js 0.5.1
BUG= http://dartbug.com/21583
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42114 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-04 17:13:11 +00:00
jakemac@google.com ca29633cc2 use shared code transformer, update web_components to remove .map and .concat files
This is a redo of https://codereview.chromium.org/540633002/ because I had deleted my local branch and didn't know how to recover it.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41724 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-13 17:47:20 +00:00
jakemac@google.com d0ea6776ed added support for more types of transformer sections in new_entry script
BUG= http://dartbug.com/21512
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41722 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-13 17:09:28 +00:00
sigmund@google.com f638252d25 Update CHANGELOG.md for polymer before releasing it.
TBR=jakemac@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41694 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-12 18:43:02 +00:00
jakemac@google.com 3138de8d2b make sure not to interpret things inside messages
BUG= https://github.com/dart-lang/www.dartlang.org/issues/1123
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41610 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-07 17:29:03 +00:00
sigmund@google.com 84baa3028d Update comments about CSP in polymer
R=jakemac@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41504 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-04 20:33:12 +00:00
sigmund@google.com 7688ecbd3f Track initializers already seen (fixes #21439)
R=jakemac@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41499 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-04 18:33:37 +00:00
jakemac@google.com 36e340dea1 fix bug where dart_support.js could get included above platform.js
BUG= http://dartbug.com/21435
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41331 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-27 18:48:06 +00:00
jakemac@google.com 3db67767db update pubspec/changelog
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41247 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-22 16:44:04 +00:00
jakemac@google.com 25fc2f9e2b fix duplicate script issue
BUG= http://dartbug.com/21332
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41245 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-22 15:33:27 +00:00
sigmund@google.com 7ca5a2ccef fix typo in error mesage polymer#42
R=jakemac@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41181 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-17 20:38:54 +00:00
sigmund@google.com 98bc2672c0 Release polymer 0.15.1
R=jakemac@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41108 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-14 21:12:25 +00:00
sigmund@google.com a9b3fed799 Splitting interop support so dart_support.js is no longer required.
R=jakemac@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41081 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-13 20:14:19 +00:00
sigmund@google.com 9ba76cd397 Add more options to configure the linter.
R=jakemac@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41077 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-13 16:09:40 +00:00
sigmund@google.com 87dbee28cc Rolling packages to version 0.4.2
R=jakemac@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41001 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-09 00:41:24 +00:00
jakemac@google.com f08503326d actually bump version number
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40859 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-01 22:05:43 +00:00
jakemac@google.com defb14d24d update web_components versions
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40858 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-01 22:02:21 +00:00
jakemac@google.com 8ab4aa6b16 publish updates
Review URL: https://codereview.chromium.org//608553002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40680 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-25 16:45:40 +00:00
jakemac@google.com e1aa642c97 watch the registration queue and print if it has no progress
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40654 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-24 22:19:30 +00:00
jakemac@google.com 41c42c35a3 fix forceReady test in IE
Review URL: https://codereview.chromium.org//595373002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40632 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-24 16:57:29 +00:00
jakemac@google.com a6f50d735b 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/dart@40631 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-24 16:17:56 +00:00
jakemac@google.com 30cf5593c1 warn if inlining the same css file more than once
BUG= http://dartbug.com/19996
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40548 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-22 16:34:08 +00:00
sigmund@google.com e4f8f6f7fa Update messages in code transformers now that we have the article about imports.
R=jakemac@google.com, kathyw@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40547 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-22 16:09:33 +00:00
jakemac@google.com 16af232524 update pubspec/changelog
add option to not insert platform.js

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40512 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-19 18:37:24 +00:00
jakemac@google.com 2bc302c84f don't move anything to body until first import
BUG= http://dartbug.com/20826
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40511 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-19 18:27:19 +00:00
jakemac@google.com 8c422a0862 fix findController for non-dart elements
BUG= http://dartbug.com/20931
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40458 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-18 20:30:56 +00:00
jakemac@google.com 6b978f9009 update version
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40444 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-18 16:59:50 +00:00
dgrove@google.com 197e56314e Remove platform.js from the entry point boilerplate, as it's not
needed in polymer >= 0.14.0 .

R=jakemac@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40439 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-18 16:02:02 +00:00
jakemac@google.com 5230bf6eca simple index.html files for folders that contain entry points
BUG= http://dartbug.com/20963
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40408 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-17 22:14:16 +00:00
jakemac@google.com d7bc51e28c make public the html element names map
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40405 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-17 21:57:47 +00:00
jakemac@google.com 0484237fd2 update allPhases tests
make everything get inlined inside a hidden div to prevent FOUC

only check for FOUC in entry point

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40320 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-16 15:41:41 +00:00
jakemac@google.com eb1c71078a no longer require entry points to be specified in the build.dart file
BUG= http://dartbug.com/20396
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40286 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-15 22:59:11 +00:00
jakemac@google.com 00348a0a22 update tests to use error message templates everywhere instead of hardcoded values
BUG= http://dartbug.com/20959
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40283 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-15 22:21:21 +00:00
jakemac@google.com 837961be78 add breadcrumbs to error messages page
BUG= http://dartbug.com/20950
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40257 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-15 17:31:48 +00:00
sigmund@google.com 31cc0327f4 Style improvements in polymer error/warning messages page.
R=jakemac@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40217 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-12 20:49:06 +00:00
jakemac@google.com e827926148 public packages should work again
Revert "Revert "move version to 0.14.0" forgot to publish first"

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40192 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-11 22:43:32 +00:00
jakemac@google.com 36af5918eb Revert "move version to 0.14.0" forgot to publish first
This reverts commit 8a7f07f6367bf175b0f9f881894e6ece1f3e0cc8.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40187 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-11 22:21:22 +00:00
jakemac@google.com 8edc5d12db move version to 0.14.0
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40186 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-11 22:16:26 +00:00
jakemac@google.com 7ac0b3c5ec remove event handler warning for auto-binding template elements
BUG= http://dartbug.com/20913
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40175 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-11 19:06:17 +00:00
jakemac@google.com 05f69a65e0 fix auto-binding-dart example
BUG= http://dartbug.com/20900
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40157 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-11 16:07:05 +00:00
jakemac@google.com 589c718ac0 update polymer js to 0.4.0
BUG= http://dartbug.com/20809

The following files were not migrated, they used to be in platform.js
and are like polyfills, but are adding non-html spec functionality used
by polymer:

src/declaration/mdv.js
src/declaration/polymer.js
src/declaration/queue.js
src/declaration/styles.js
src/lib/dom.js
src/lib/lang.js
src/lib/loader.js
src/lib/styleloader.js
src/lib/url.js
src/system/compat.js
src/system/microtask.js
src/system/module.js
src/system/patches-mdv.js
src/system/unresolved.js

The following tests were not migrated. For the most part they are just
testing the features added by the files above:

test/html/loader-deduplicate.html
test/html/mdv-shadow.html
test/html/mdv-tests/polymer-expressions-tests.js
test/html/styling/recursive-style-import.html
test/html/url.html
test/js/bindMDV.js
test/js/oop.js
test/html/styling/rules/*
test/js/styling.js
test/js/register.js
test/js/utils.js
test/html/template-repeat-wrappers.html

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40120 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-10 21:41:47 +00:00
sigmund@google.com 4e115db178 Prepare for 0.13.1 release
R=jakemac@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39995 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-08 20:13:31 +00:00
jakemac@google.com d9f2dfdc7d update changelog
bump args constraint

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39964 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-08 14:20:34 +00:00
sigmund@google.com 54daed74dc Link to stable-errors site from pub-build messages on the command line.
R=jakemac@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39939 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-06 00:08:57 +00:00
sigmund@google.com 1781d2cb42 Step one towards stable error messages with details:
- switches polymer to use a messages type
 - autogenerates an HTML page from the message list.
 - use these messages on polymer transformers
 - moves build_logger to code_Transformers, so we can also use this in other packages.

Still pending to do more, for example, find a permanent location and URI scheme for messages
so we can show them on the command-line, improve the UI to tak advantage of clustering, etc.

But I think it's good enough to get it in and iterate afterwards

R=jakemac@google.com, kathyw@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39884 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-04 20:28:15 +00:00
jakemac@google.com dc81370d8c FOUC lint test
BUG= http://dartbug.com/20751
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39872 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-04 14:55:50 +00:00
jakemac@google.com becdc570ed if appending at end of file ensure newline
BUG= http://dartbug.com/20681
R=dgrove@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39838 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-03 21:44:36 +00:00