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
jmesserly@google.com
7b3123e02a
Update our TemplateBinding port
...
https://github.com/Polymer/TemplateBinding/tree/ed3266266e751b5ab1f75f8e0509d0d5f0ef35d8
R=sigmund@google.com
Review URL: https://codereview.chromium.org//50203004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29500 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-29 23:26:20 +00:00
kustermann@google.com
94ebff2225
Bugfix in test.dart, adding of specialized test outcomes for analyzer
...
This CL will:
- fix a bug in the legacy AnalyzerCommandOutputImpl class (in certain cases
we did not report that the analyzer was missing a warning).
- make the outcome of running the analyzer on a test be one of:
* CompileTimeError
* MissingCompileTimeError
* StaticWarning
* MissingStaticWarning
- Make status file updates using the new Expectation markers
- Remove support for '@static-clean':
Previously running the analyer on a test could either result in
'Pass' or in 'Fail'. The '@static-clean' annotation has been used
as a (poor) mechanism to distinguish between errors and warnings.
Having the 4 markers mentioned above means we can remove '@static-clean'
- Remove 100 lines of rotted legacy code in our testing scripts.
- Make a status file entry for every test that has analyzer errors or warnings
R=ricow@google.com
Review URL: https://codereview.chromium.org//46163002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29350 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-28 10:39:38 +00:00
jmesserly@google.com
34085ccdb5
port Node.bind to bd0a0591920da9091b326627a46a104a92c7efe7
...
the first step to fix https://code.google.com/p/dart/issues/detail?id=13950
R=sigmund@google.com
Review URL: https://codereview.chromium.org//42433002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29294 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-25 21:39:06 +00:00
jmesserly@google.com
0acc931fc4
port polymer data binding tests
...
R=sigmund@google.com
Review URL: https://codereview.chromium.org//25740006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29139 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 00:59:31 +00:00
jmesserly@google.com
bfab5f3693
remove type annotation from AttributeMapWrapper
...
for some reason dart2js doesn't like this
BUG=
Review URL: https://codereview.chromium.org//33173004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29100 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 17:22:19 +00:00
jmesserly@google.com
72d5dcb0cd
fix template_binding tests on safari/ie
...
TemplateElement is not supported on these platforms *
* in Polymer, the ShadowDOM polyfill takes care of this so it will work okay.
BUG=
Review URL: https://codereview.chromium.org//36453002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29059 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 03:59:22 +00:00
jmesserly@google.com
360ea42322
Rename mdv -> template_binding, remove experiemntal apis from dart:html
...
essentially, we trade off reduce dart:html API surface area for more annoying usage of these APIs. Since Polymer hides most of this, I suspect it won't be too annoying in practice.
Sample usage:
nodeBind(node).bind(...)
templateBind(node).model = ...;
R=sigmund@google.com
Review URL: https://codereview.chromium.org//34453003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29057 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 02:11:49 +00:00