Commit Graph

156 Commits

Author SHA1 Message Date
kevmoo@google.com d31141e045 pkg/polymer: remove css_lib dependency
Subsumes https://codereview.chromium.org/63693002/

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31346 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-20 19:47:33 +00:00
lrn@google.com e6e524063c Add missing files from previous commit.
Review URL: https://codereview.chromium.org//118783004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31268 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-19 12:57:38 +00:00
sigmund@google.com c48725d88c fix polymer version
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31248 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-19 01:10:14 +00:00
rmacnak@google.com 52cf356d6c Remove reflectedType hack from Polymer.
R=ahe@google.com, jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31235 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-18 18:19:55 +00:00
sigmund@google.com 645e2e3e4b Fix how we compute _packageRoot in loader.dart. This is to fix a rare
canonicalization bug (see https://code.google.com/p/dart/issues/detail?id=15694)

R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31232 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-18 17:19:00 +00:00
sigmund@google.com f5e5bd9b54 Fix type error, add tests for it, get package ready for a patch release.
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31174 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-16 21:03:46 +00:00
sigmund@google.com ce94c4f472 New versions to publish for observe & polymer. Needed now that pub depends on
barback >= 0.11.0

R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31141 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-13 18:35:16 +00:00
sigmund@google.com f809a49118 Add linter by default for polymer's pub-build, also cleans up the linter code.
Now that barback support listening for log messages, we can remove the logging
hooks we temporarily added in our linter.

R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31110 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-12 21:04:19 +00:00
jmesserly@google.com 7d27c27ada fix linter on svg
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31108 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-12 20:42:12 +00:00
jmesserly@google.com b17630d1af workaround for event handlers: don't return StreamSubscription as model
https://code.google.com/p/dart/issues/detail?id=15574

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31092 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-11 23:52:09 +00:00
jmesserly@google.com a526b4ed3a update our CustomElement+Shadow DOM patch
https://github.com/dart-lang/CustomElements/pull/3
fixes https://code.google.com/p/dart/issues/detail?id=15354

R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31078 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-11 20:31:26 +00:00
sigmund@google.com 3fa5cd90ae Fix != null bug (issue 14751)
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31038 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-10 21:06:00 +00:00
whesse@google.com 4a1c80cde0 Change polymer tests to use internal test_controller, not unittest/test_controller.
BUG=
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31021 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-10 15:33:49 +00:00
jmesserly@google.com 036d497ed5 work around for https://github.com/Polymer/TemplateBinding/issues/150
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31008 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-10 03:23:17 +00:00
nweiz@google.com 113bd79bc6 Make pkg/path 1.0.0 and upgrade dependencies appropriately.
All existing packages that use pkg/path (other than pkg/stack_trace,
which has already been updated) are compatible with both the pre-1.0
and post-1.0 path API, so I've marked their version constraints as
">=0.9.0 <2.0.0". I've also incremented their patch versions and I
intend to release new versions as soon as this CL lands.

R=alanknight@google.com, efortuna@google.com, jmesserly@google.com, rnystrom@google.com, scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31005 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-10 00:24:01 +00:00
rmacnak@google.com 9a5c770381 Remove use of deprecated mirror API from code that only runs against dart2js.
R=ahe@google.com, jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30902 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-05 17:52:42 +00:00
sethladd@google.com 0626ec4534 clarify that users of Polymer mixin have to call polymerCreated
BUG=
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30800 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-02 17:58:37 +00:00
sigmund@google.com 0211a4edbb update polymer to include the latest barback.
R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30689 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-27 00:55:11 +00:00
jmesserly@google.com d804dc59e3 Add license info to pkgs so we can pub lish directly
The LICENSE was automagically added by tools/publish_pkg.py

Note: for shadow_dom and polymer I copied the LICENSE/PATENTS/AUTHORS from the corresponding polymer-js pkgs (it's the same as Dart project but says "Polymer" instead of "Dart").

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30641 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-25 20:20:05 +00:00
jmesserly@google.com 8c178dc26d bump pubspecs for package release
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30597 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-22 23:25:39 +00:00
jmesserly@google.com 94c2d48c6c [polymer.dart] fix *Changed observers inheriting.
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30561 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-22 03:04:25 +00:00
jmesserly@google.com 283c81ee64 "Reverting 30388"
This is a new TodoMVC based on Polymer's version, now fixed on IE. Also fixes two other bugs in how we were handling styles:
* scoped styles were broken unless browser supported them natively
* link rel=stylesheet for external styles was broken

(restore) https://code.google.com/p/dart/source/detail?r=30387
(revert) https://code.google.com/p/dart/source/detail?r=30388

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30554 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-21 23:10:50 +00:00
sigmund@google.com 2eb07c48c5 Fix resolution of packages in pub-build to allow '../../packages/foo/bar'
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30495 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-21 01:40:17 +00:00
jmesserly@google.com 873ea4fb9d fix script tags -- remove special case handling for polymer-element
also enforce one-dart-script-per-document rule
also fixes bug about inlining all content, not just polymer-element

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30486 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-20 22:13:52 +00:00
jmesserly@google.com 9d6ecc1505 "Reverting 30387"
There are some issues on IE with pushState, Event.returnValue, and styles. Strangely, http://todomvc.com/architecture-examples/polymer/index.html which this was ported from has none of these issues. :|

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30388 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-19 05:16:12 +00:00
jmesserly@google.com 773917fa80 Update TodoMVC based on https://github.com/polymer/todomvc
Other than the TodoMVC changes, this has 2 polymer fixes:
* removes incorrect linter messages
* fix issue 12434 -- external stylesheets did not work

port is of d33386ccd4c84cb5b89391bd958e97c5de7c2a01

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30387 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-19 04:28:45 +00:00
rmacnak@google.com 08c253a629 Remove use of deprecated mirror functions from Polymer.
BUG=http://dartbug.com/14931
BUG=http://dartbug.com/14878
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30292 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-14 21:44:08 +00:00
sigmund@google.com eca75496b9 Filter only .html files in web, keep those in lib/. This is as a temporary
solution for dartbug.com/15038.  Once dartbug.com/14187 is fixed, we can remove
this extra check.

Note: because anything in lib/ is copied under build/packages/foo, I noticed
that the editor will not display any warnings there (they are considered the
same as warning from other packages). So even with this new filter, we still
achive our goal of keeping the build output warning free.

R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30216 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-13 02:25:16 +00:00
sigmund@google.com 303e25eb32 Use logger for polymer loader warning
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30169 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-11 20:00:55 +00:00
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
sigmund@google.com 536f92456d Ensure we run the observable transform on PolymerElement (fixes issue 14942)
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30089 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-08 00:32:54 +00:00
iposva@google.com d27c33b5b2 - Reverting mirror changes.
Review URL: https://codereview.chromium.org//61873007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30028 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-07 01:57:18 +00:00
rmacnak@google.com c3cf0dde46 Fix some users of removed mirror API.
R=gbracha@google.com, jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30016 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-07 00:24:53 +00:00
dgrove@google.com 18ca7d0036 Re-land r29957 (add versions and constraints for packages and samples), with
SDK constraints bumped from 1.0.0 to 0.8.10+6 .

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29986 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-06 18:28:22 +00:00
ajohnsen@google.com 61f6c51990 Revert "add versions and constraints for packages and samples"
This is currently blocking us from testing samples.

BUG=
R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29960 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-06 09:09:18 +00:00
jmesserly@google.com 02638c5760 add versions and constraints for packages and samples
- all packages at 0.9.0, except "analyzer" which had a version already
- dependencies at ">=0.9.0 <0.10.0" except analyzer is ">=0.10.0 <0.11.0"
- sdk constraint ">=1.0.0 <2.0.0"

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29957 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-06 03:27:58 +00:00
sigmund@google.com 260edd95ea Switch to new main semantics (fixes issue 14797)
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29870 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-05 01:51:58 +00:00
jmesserly@google.com d9709470cc "Reverting 29728"
I changed the test to avoid using mirrors. Somehow, import mirrors exposes a strange dart2js interceptor bug, but only in unchecked mode. (I only ran checked mode in my local tests :|. Doh)
Needs more investigation, but what seems to be happening:

* setInnerHtml creates a document
* it tries to append <base> to the <head>
* interceptor gets "Document" instead of "HtmlDocument"
* so the `document.head` fails

The bug seems to require Shadow DOM+unchecked+mirrors. Anyway, since it's totally unrelated to this test or the bug fix for 14700, I'm just working around it for now. Will open a separate issue.

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29767 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-01 19:59:45 +00:00
kasperl@google.com 68ff3d28cc Revert "fix nested bindings"
This reverts r29722.

R=jmesserly@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29728 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-01 08:47:49 +00:00
jmesserly@google.com 6179df0ad5 fix nested bindings
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29722 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-01 02:15:15 +00:00
sigmund@google.com 0dec0a0694 Configure polymer transformers based on whether pub is running the build or
serve command.

R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29710 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 22:27:44 +00:00
rnystrom@google.com 810915f01a Pass in "mode" to transformer plugins.
BUG=https://code.google.com/p/dart/issues/detail?id=14538
R=nweiz@google.com, sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29690 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 20:04:27 +00:00
jmesserly@google.com ecb7314ef2 fix warning in polymer script_compactor
Review URL: https://codereview.chromium.org//53253004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29634 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 02:54:56 +00:00
jmesserly@google.com 489f51a41b fix barback and polymer build warnings
R=nweiz@google.com, sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29631 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 02:41:01 +00:00
jmesserly@google.com 33fa4d5eba introduce ObservableList.listChanges to keep list changes separate from property changes
this is part of addressing: 13554, 14157, 13359

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29630 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 02:31:50 +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
sigmund@google.com fa5a10f732 Use pub-build in todomvc and sample template app from the editor, and update docs
R=jmesserly@google.com, keertip@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29607 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-30 23:01:40 +00:00
sigmund@google.com 97d8be2f42 Fix builder.dart - avoid breaking users, print a warning instead and continue
with a default.

R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29588 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-30 21:30:57 +00:00
sigmund@google.com 73d3885f63 Fixes to build.dart after Options() was removed
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29584 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-30 20:45:50 +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