sigmund@google.com
fb7f7a8823
Update template_binding test that was still using the deprecated mutation_observer polyfill
...
Review URL: https://codereview.chromium.org//690163002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41430 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-30 23:22:47 +00:00
sigmund@google.com
c4de785806
release template_binding
...
Review URL: https://codereview.chromium.org//675773002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41260 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-23 16:12:50 +00:00
sigmund@google.com
8639ceaed6
update template_binding constraint (missed this during the roll, discovered on bots)
...
Review URL: https://codereview.chromium.org//645623002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41022 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-09 16:29:09 +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
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
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
jakemac@google.com
3a8813b38d
add content tag to the js_interop_test element so its content is queryable
...
update web_components to latest
BUG= http://dartbug.com/20413
R=sigmund@google.com
Review URL: https://codereview.chromium.org//507653004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39596 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-27 14:58:13 +00:00
sigmund@google.com
72607ba463
Prepare polymer 0.12.2 release
...
R=jakemac@google.com
Review URL: https://codereview.chromium.org//491343002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39461 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-21 17:26:18 +00:00
jakemac@google.com
5f94bfb494
Revert "Roll polymer to 0.3.5"
...
This reverts commit 9923eeb0a39a13926406896a78878237b32fa10e.
BUG=
Review URL: https://codereview.chromium.org//482763002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39336 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-18 15:59:01 +00:00
jakemac@google.com
82150beb8a
Roll polymer to 0.3.5
...
The following files were not migrated, mostly tests that we don't have an equivalent for (that I could find):
declaration/properties.js
test/html/element-registration.html
test/html/bind-object-repeat.html
test/html/publish-attributes.html
Also, observe.js was not migrated since it no changes looked to be applicable to us, https://github.com/Polymer/observe-js/compare/0.3.4...0.3.5 .
BUG= http://dartbug.com/20413
R=sigmund@google.com
Review URL: https://codereview.chromium.org//469823002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39330 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-18 14:23:03 +00:00
sigmund@google.com
7eef424ca0
Fix template binding. Turns out that bindCallback by default traps excepions
...
too, and throws them asynchronously. Our APIs expected those exceptions to be
thrown synchronously.
Review URL: https://codereview.chromium.org//414183004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38761 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-30 23:05:29 +00:00
sigmund@google.com
727c55a990
Run template binding callbacks in the correct zone
...
R=jakemac@google.com
Review URL: https://codereview.chromium.org//432533002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38751 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-30 21:22:06 +00:00
sigmund@google.com
fadb359919
Preparing versions to release polymer 0.12.0
...
R=jakemac@google.com
Review URL: https://codereview.chromium.org//423233004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38734 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-30 15:28:53 +00:00
sigmund@google.com
7801ac64b9
Roll polymer packages to version 0.3.4
...
R=jakemac@google.com , jmesserly@google.com
Review URL: https://codereview.chromium.org//420673002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38644 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-28 19:57:11 +00:00
jmesserly@google.com
08529e98d8
Switch Node.bind to interop. This allows JS elements to work properly with Dart binding paths for things that are not JSON serializable.
...
Two big things this enables:
* elements themselves can be data bound
* anything jsify can handle, including Dart functions. This means as we get @Export and such, it will be possible to bind those Dart types directly into JS elements. With that we can make things like <core-style> much nicer to use.
This also removes ported code from https://github.com/Polymer/NodeBind except for interfaces, since we don't need it anymore.
Added a Polymer test to verify it works for the typical end-to-end case. This uncovered the "deliver" method that needs to be there on Bindable.
Finally one Node.bind test depends on https://github.com/Polymer/ShadowDOM/pull/462 , which fixes an issue where SD polyfill doesn't wrap an API used by Node.bind. Apparently no one has ever hit this on the JS side (the Dart port was immune, because our treatment of HTMLCollection is better).
R=sigmund@google.com
Review URL: https://codereview.chromium.org//355133002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38051 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-08 04:57:28 +00:00
sigmund@google.com
8fe1313443
Fix comment in node bind
...
R=jmesserly@google.com
Review URL: https://codereview.chromium.org//353103002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37795 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-27 19:04:20 +00:00
sigmund@google.com
f1d8d4a6f0
Prepare release of polymer, web_components, template_binding, and update samples.
...
R=jmesserly@google.com
Review URL: https://codereview.chromium.org//339203005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37670 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-24 20:54:10 +00:00
jmesserly@google.com
b6af10c40a
update polymer, nodebind, and templatebinding
...
R=sigmund@google.com
Review URL: https://codereview.chromium.org//307793002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37066 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-06 05:11:14 +00:00
sigmund@google.com
0e14b96b81
Prepare for polymer 0.10.0 release
...
R=jmesserly@google.com
Review URL: https://codereview.chromium.org//301173004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36852 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-31 01:19:51 +00:00
lrn@google.com
2a93b93c1c
Remove unmodifiable map wrappers that could instead use UnmodifiableMapView.
...
R=sgjesse@google.com
Committed: https://code.google.com/p/dart/source/detail?r=35244
Review URL: https://codereview.chromium.org//214723002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35361 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-24 08:51:41 +00:00
lrn@google.com
0e24a1701c
Revert "Remove unmodifiable map wrappers that could instead use UnmodifiableMapView."
...
Some tests fail.
Review URL: https://codereview.chromium.org//246833003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35245 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-22 06:21:24 +00:00
lrn@google.com
04b55abe64
Remove unmodifiable map wrappers that could instead use UnmodifiableMapView.
...
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//214723002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35244 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-22 05:53:33 +00:00
kevmoo@google.com
0300517879
Tests: remove usage of interop.js
...
R=sigmund@google.com
Review URL: https://codereview.chromium.org//233063005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34957 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-11 01:18:32 +00:00
sigmund@google.com
b31385c5bf
Prepare to push another pre-release
...
R=jmesserly@google.com
Review URL: https://codereview.chromium.org//216723004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34543 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-28 23:46:01 +00:00
sigmund@google.com
596c3da6ad
Enables codegen support in polymer
...
R=blois@google.com , jmesserly@google.com
Review URL: https://codereview.chromium.org//211393006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34531 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-28 22:11:28 +00:00
sigmund@google.com
c4a107e9e6
Reapply change that makes path-observer more agressive with property lookups.
...
Additionally fixes template-iterator to be robust in the precense of these
errors.
R=jmesserly@google.com
Review URL: https://codereview.chromium.org//213713002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34456 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-26 23:04:21 +00:00
sigmund@google.com
3d15f6da40
Prevent more timeouts.
...
R=jacobr@google.com
Review URL: https://codereview.chromium.org//204013005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34076 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-18 23:02:13 +00:00
sigmund@google.com
9699cfad20
Fix test timeouts. I forgot to include observe/mirrors_used.dart in tests from
...
other packages. They got big enough that dart2js times out.
Review URL: https://codereview.chromium.org//196603029
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33795 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-18 01:21:47 +00:00
jmesserly@google.com
b218f342fd
[polymer] interop with polymer-element and polymer.js
...
* let polymer.js register polymer-element
* let polymer.js bootstrap for polymer.dart
* hook polymer-element's register, if it's a Dart class go down the Dart code path
building polymer.concat.js (debug only) requires https://github.com/Polymer/polymer-dev/pull/9
R=sigmund@google.com
Review URL: https://codereview.chromium.org//182193002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33398 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-06 22:04:20 +00:00
kustermann@google.com
7e29f42833
Change tests to use test.py's test_controller.js, cleanup in browser_controller
...
This change makes all remaining tests use test.py's test_controller.js:
We have our own way of testing using test.py and that might change any time.
It's therefore not wise to rely on functionality in the unittest framework. If
we kept test_controller.js in the unittest package, we'd need to make a breaking
change whenever we change the behavior of test_controller.js. So this file was
forked into tools/testing/dart/test_controller.js.
After this, all our tests will use tools/testing/dart/test_controller.js. It is
therefore no longer necessary for the browser_controller to support the old
mechanism of posting back results. By removing this legacy code, we can ensure,
that the driving page of browser_controller will only react on valid messages
which were ment for it.
Context:
Some tests (e.g. dromaeo) might use postMessage internally, maybe even for
testing that postMessage is working. But the driving window should only react
on valid messages ment for it, ignoring any other messages.
R=blois@google.com , efortuna@google.com , ricow@google.com , whesse@google.com
Review URL: https://codereview.chromium.org//177333004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33365 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-06 10:37:53 +00:00
jmesserly@google.com
fdc39a2711
[polymer] update pubspecs to prepare for -pre.0 release
...
R=sigmund@google.com
Review URL: https://codereview.chromium.org//180213007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33178 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-28 22:59:23 +00:00
jmesserly@google.com
7d71bc988d
introduce web_components pkg to replace shadow_dom, html_import, custom_element. This new package is 100% compatible with the polyfills used by http://www.polymer-project.org/
...
Deletes:
pkg/shadow_dom
pkg/custom_element (except web_ui stuff)
pkg/html_import
Adds:
pkg/web_components, with README.md and build instructions
Changes:
pkg/html5lib -- deprecate queryAll/query in favor of *Selector
pkg/polymer -- test fixes & a few small changes to work with new polyfills, mostly in build
tests/html/custom -- can't load the CE polyfill at runtime, must now be injected statically via an HTML page, similar to the style @blois used for some custom element tests.
R=blois@google.com , sigmund@google.com
Review URL: https://codereview.chromium.org//158083002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32533 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-11 01:15:05 +00:00
jmesserly@google.com
ae365d94aa
big update to observe, template_binding, polymer
...
The biggest changes are in pkg:observe where we picked up a lot of optimizations to PathObserver/CompoundObserver.
template_binding gets one-time bindings, synchronous expansion, and lightweight "bindable" objects.
The tests are heavily refactored to use Future instead of the hacky observeTest/performMicrotaskCheckpoint pattern (I have been slowly changing the style for new tests, but observe-js made the change for all of them. yay!). Oh and the performMC stuff is gone from pkg:observe now.
There's also a new pkg:polymer feature for observation, which was ported so we are at a consistent baseline. (http://www.polymer-project.org/polymer.html#observeblock )
R=justinfagnani@google.com , sigmund@google.com
Review URL: https://codereview.chromium.org//132403010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32342 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-05 22:23:00 +00:00
jmesserly@google.com
0e67af7d01
add LICENSE AUTHORS PATENTS so we can publish
...
R=sigmund@google.com
Review URL: https://codereview.chromium.org//105693012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31055 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-11 01:56:04 +00:00
jmesserly@google.com
66491b1f5c
update pubspecs for pkg uploading
...
R=sigmund@google.com
Review URL: https://codereview.chromium.org//112283002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31053 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-11 01:41:02 +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
jmesserly@google.com
3c7bece94a
restore 30868 and 30873
...
the only difference from what you already reviewed is the inclusion of:
https://github.com/dart-lang/CustomElements/pull/2
A shame your pull request from 3 months(!) ago hasn't been accepted
(reverts 30875)
R=blois@google.com
Review URL: https://codereview.chromium.org//105783003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30967 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-06 20:51:20 +00:00
jmesserly@google.com
e5b35ae519
Reverting 30868 and 30873.
...
There's still a problem in document_register_type_extensions_test that isn't obvious. Need more time to investigate.
Review URL: https://codereview.chromium.org//105203006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30875 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-04 22:51:54 +00:00
jmesserly@google.com
84c98a2902
update TemplateBinding to 119bbab376aa4a8ee96a5354e3ebe84395d1da62
...
* fixes an issue where not having a sub-template results in incorrect custom element upgrade.
update custom elements to 93a27b791d4bfdddad3be17fccda3c5052bf4a16
* needed to work with the latest TemplateBinding (specifically the importNode fix)
Note that custom elements code is from: https://github.com/dart-lang/CustomElements/pull/1
R=blois@google.com
Review URL: https://codereview.chromium.org//98533004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30868 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-04 20:59:56 +00:00
jmesserly@google.com
b6c4597563
attempt to reduce IE flakiness in template_bind_test
...
I think the issue is that IE9/10 don't have native mutation observers, so the timing of mutation observers isn't (necessarily) any faster than "new Future". What we do now is wait for the "option" to get expanded before trying to run the test.
R=sigmund@google.com
Review URL: https://codereview.chromium.org//86153003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30646 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-25 21:49:54 +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
jmesserly@google.com
faf0b24b95
load MutationObserver polyfill for IE
...
needed for the template_binding test
also adds to pubspec.yaml
R=sigmund@google.com
Review URL: https://codereview.chromium.org//49303009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29861 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-05 00:01:32 +00:00
jmesserly@google.com
d93ec94300
fix selected index binding to not count microtasks
...
https://code.google.com/p/dart/issues/detail?id=13968
R=sigmund@google.com
Review URL: https://codereview.chromium.org//52553007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29851 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-04 22:10:48 +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