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
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
aedbb32333
update customElementsTakeRecords
...
Revert "Revert "update platform.js to get memory leak fixes""
R=jmesserly@google.com
Review URL: https://codereview.chromium.org//617413002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40854 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-01 20:55:45 +00:00
jakemac@google.com
716bd6d3b5
Revert "update platform.js to get memory leak fixes"
...
This reverts commit 1969c08ff7458868a7921c660afdd70b2e40fff9.
Review URL: https://codereview.chromium.org//612533004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40789 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-29 21:32:30 +00:00
jakemac@google.com
0eafe6f698
update platform.js to get memory leak fixes
...
R=jmesserly@google.com
Review URL: https://codereview.chromium.org//617483002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40781 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-29 19:26:56 +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
89fd9006e3
cherry pick https://github.com/Polymer/ShadowDOM/pull/506
...
BUG= http://dartbug.com/21033
Review URL: https://codereview.chromium.org//587423002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40543 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-22 15:15:41 +00:00
jakemac@google.com
0c3e236982
cherry pick to fix memory leak
...
R=sigmund@google.com
Review URL: https://codereview.chromium.org//556403003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40126 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-10 22:48:38 +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
3c81cd3ae3
fix for getDefaultComputedStyles
...
BUG= http://dartbug.com/20141
R=sigmund@google.com
Review URL: https://codereview.chromium.org//516043002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39678 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-28 21:11:28 +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
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
2f6de2aabe
Change how we check for user agent, in preparation for breaking change in Dartium.
...
R=jakemac@google.com , vsm@google.com
Review URL: https://codereview.chromium.org//462333002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39204 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-13 16:16:27 +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
jmesserly@google.com
d12f8b560b
update polymer and platform.js
...
R=sigmund@google.com
Review URL: https://codereview.chromium.org//349313005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37629 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-23 22:49:17 +00:00
jmesserly@google.com
c053cbaefe
web_components: fix extending another custom element
...
R=sigmund@google.com
Review URL: https://codereview.chromium.org//341003002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37472 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-19 01:29:39 +00:00
sigmund@google.com
4568a4587e
Support upgrading existing elements already on the page.
...
R=justinfagnani@google.com
Review URL: https://codereview.chromium.org//333073002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37338 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-14 00:27:13 +00:00
sigmund@google.com
fd6963149d
Report error only for elements we intend to upgrade.
...
R=jmesserly@google.com
Review URL: https://codereview.chromium.org//335463003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37249 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-12 01:03:31 +00:00
sra@google.com
8a96433126
Identify the name of the prototype extended by out-of-app custom elements
...
BUG=
R=sigmund@google.com
Review URL: https://codereview.chromium.org//329723002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37247 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-11 22:26:29 +00:00
sigmund@google.com
4c1d2a461b
Add "created-watcher" to the web_components package. This was adapted from
...
Pete's CL (https://codereview.chromium.org/184033007/ ). I've marked the
differences in the CL.
R=jmesserly@google.com
Review URL: https://codereview.chromium.org//319263002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37144 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-09 22:50:52 +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
sra@google.com
ad99238813
Use originalGetTag on wrapped object
...
Upgrade dart_support to use dartNativeDispatchHooksTransformer.
R=sigmund@google.com
Review URL: https://codereview.chromium.org//282893002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36135 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-13 21:23:31 +00:00
jmesserly@google.com
a33562bd22
[web_components] update web_components and polymer.js
...
R=sigmund@google.com
re-land https://code.google.com/p/dart/source/detail?r=34633
Review URL: https://codereview.chromium.org//221813011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34676 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-02 23:47:50 +00:00
jmesserly@google.com
000e10a421
"Reverting 34633"
...
it's causing strange failures on Dartium (even though local runs with DRT all pass...)
Review URL: https://codereview.chromium.org//221653004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34635 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-02 02:34:54 +00:00
jmesserly@google.com
8a6c6d86db
[web_components] update web_components and polymer.js
...
R=sigmund@google.com
Review URL: https://codereview.chromium.org//219963020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34633 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-02 01:36:38 +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
sigmund@google.com
e7b072aa72
Update platform.js to latest.
...
R=jmesserly@google.com
Review URL: https://codereview.chromium.org//182073003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33107 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-27 02:45:28 +00:00
jmesserly@google.com
fb43ff6d90
update web_components
...
removes note about custom_elements patch, it has been merged
R=blois@google.com
Review URL: https://codereview.chromium.org//147453004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32589 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-12 02:42:57 +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