sigmund@google.com
6866869c4b
Detect and warn about missing scripts (rather than fail during the build)
...
R=jmesserly@google.com
Review URL: https://codereview.chromium.org//239433012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35160 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-18 01:42:59 +00:00
sigmund@google.com
9d2c693404
Fix bug in how we handle invoke expressions
...
R=jmesserly@google.com
Review URL: https://codereview.chromium.org//240633004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35148 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-17 18:42:18 +00:00
sigmund@google.com
10c0d938d2
Update versions and release polymer & related packages
...
Review URL: https://codereview.chromium.org//235303004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34979 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-11 16:23:11 +00:00
sigmund@google.com
c903017f1b
Deal better with missing sources in code_transformers and polymer
...
R=blois@google.com
Review URL: https://codereview.chromium.org//233673003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34978 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-11 16:15:17 +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
kevmoo@google.com
ed4053dd04
pkg/polymer[_expressions] unittest fixes
...
R=sigmund@google.com
Review URL: https://codereview.chromium.org//232373002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34908 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-10 00:22:48 +00:00
nweiz@google.com
da4d59c05e
Only pass an AssetId to isPrimary and declareOutputs.
...
BUG=16442
R=blois@google.com , efortuna@google.com , rnystrom@google.com , sigmund@google.com
Review URL: https://codereview.chromium.org//223553008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34853 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 23:46:23 +00:00
jmesserly@google.com
6820436de0
[polymer] fix imports in Dartium if no script is on the main page
...
R=sigmund@google.com
Review URL: https://codereview.chromium.org//227743009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34805 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 00:30:31 +00:00
sigmund@google.com
afd0c018b2
Update polymer's changelog
...
Review URL: https://codereview.chromium.org//225903007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34754 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-05 00:58:32 +00:00
sigmund@google.com
47e238b613
Replace bootstrap logic with 'boot.js', use 'component/dart' mime-type and add
...
warnings to prepare users for the future breaking change in Dartium.
R=jmesserly@google.com
Review URL: https://codereview.chromium.org//225043004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34753 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-04 23:42:34 +00:00
sigmund@google.com
5cda9425d8
Correctly generate code when using transformers in polymer-expressions.
...
R=jmesserly@google.com
Review URL: https://codereview.chromium.org//226393003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34743 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-04 20:27:36 +00:00
jmesserly@google.com
ba3431a2ad
[polymer,web_components] release updated platform.js and corresponding polymer.js
...
R=sigmund@google.com
Review URL: https://codereview.chromium.org//223903006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34718 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-03 20:10:36 +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
sigmund@google.com
7b0aaef0e2
Remove workaround for 13002 in smoke and in a polymer test, woohoo!
...
R=jmesserly@google.com
Review URL: https://codereview.chromium.org//222483003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34663 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-02 20:19:18 +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
sigmund@google.com
3866b7243c
Fix polymer's version (forgot to bump it with the last bug fix in
...
mirrors_loader.dart)
R=jmesserly@google.com
Review URL: https://codereview.chromium.org//220113010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34632 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-02 01:16:43 +00:00
sigmund@google.com
50df8bdb74
Fix mirror_loader to detect whether the type is a generic class.
...
BUG=https://code.google.com/p/dart/issues/detail?id=17929
R=jmesserly@google.com
Review URL: https://codereview.chromium.org//219433004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34610 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-01 19:07:43 +00:00
sigmund@google.com
5f1b5628f0
Reenable event path test
...
R=vsm@google.com
Review URL: https://codereview.chromium.org//219943003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34575 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-31 21:04:31 +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
0417d48a78
Changes in polymer-expressions to prepare for codegen in polymer:
...
- change scopes to have either variable or model, but not both
- change lookup to aggressively read from the model, and not use hasGetter
- trap all errors (not just eval errors), so that rendering is smooth.
- change error reporting to fire an async error. Now there is no need for
using logger/registering the logger.
- fix test in polymer that apparently was swalling an error in
dart2js-minified. This fix wont be needed once we have codegen.
R=jmesserly@google.com
Review URL: https://codereview.chromium.org//207433002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34283 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-22 00:58:05 +00:00
blois@google.com
5db80d0023
Fixing version constraints for polymer
...
BUG=
R=sigmund@google.com
Review URL: https://codereview.chromium.org//202523009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34205 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-20 21:04:17 +00:00
blois@google.com
46e4bd70f7
Updating polymer to use latest code_transformers
...
BUG=
R=sigmund@google.com
Review URL: https://codereview.chromium.org//206373008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34200 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-20 20:02:49 +00:00
sigmund@google.com
d0f6efdf46
Fix smoke version.
...
R=jmesserly@google.com
Review URL: https://codereview.chromium.org//204753003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34123 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-19 17:54:46 +00:00
sigmund@google.com
1dda30d647
These are 3 changes in smoke in preparation of polymer's codegen. I happened to make them at once, but let me know if you prefer that I split them up a bit:
...
(a) add filter to query. This makes it easier to support *Changed without having to generate metadata about lots of useless methods. We might remove *Changed in the future, but I still think this is a nice feature for smoke.
(b) changed recorder.dart to automatically include getters/setters for queries. It is the most common use case that you query a member because you want both the metadata and to read/write/invoke it.
(c) add a new smoke implementation to make it easier to debug inconsistencies between static vs mirrors implementations. (I used this while debugging stuffin polymer)
R=jmesserly@google.com
Review URL: https://codereview.chromium.org//204143002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34117 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-19 16:27:03 +00:00
jmesserly@google.com
c6c9cfe150
[polymer] fix loader on IE
...
BUG= https://code.google.com/p/dart/issues/detail?id=17592
R=sigmund@google.com
Review URL: https://codereview.chromium.org//197283033
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34077 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-18 23:08:40 +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
blois@google.com
2c034bfe3f
Updating code_transformers to not fail on syntax errors
...
Recent changes started using the Analyzer's parseCompilationUnit method which throws exceptions on syntax errors, but this is undesirable in many cases. Adding an option to disable this behavior and using that in code_transformers.
BUG=
R=scheglov@google.com , sigmund@google.com
Review URL: https://codereview.chromium.org//204033003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34070 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-18 22:09:17 +00:00
blois@google.com
d57c0b055b
Adding some asset-related utilities to code_transformers
...
Including dart entry point checks and URI->asset resolution.
BUG=
R=sigmund@google.com
Review URL: https://codereview.chromium.org//196943024
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34055 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-18 19:54:51 +00:00
sigmund@google.com
26e135b322
Fix canonicalization tests that were surprisingly timing out in chrome-34.
...
R=jacobr@google.com
Review URL: https://codereview.chromium.org//202723002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33788 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-17 23:37:26 +00:00
kevmoo@google.com
7c32d14282
Cleanup for pkg/observe and pkg/polymer
...
Remove unused imports, fixed usage of deprecated members
R=sigmund@google.com
Review URL: https://codereview.chromium.org//201483002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33770 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-17 20:23:51 +00:00
sigmund@google.com
b543442cf9
Fix polymer tests and a couple bugs:
...
- Linter tests now check that the output is empty if there are errors
- We allow absolute urls when inlining Dart imports
- Fix some bugs in tests.
R=nweiz@google.com
Review URL: https://codereview.chromium.org//196723017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33679 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-14 00:43:56 +00:00
jmesserly@google.com
7544ddb7f6
bump pubspecs for pkgs that depend on analyzer
...
analyzer-dev.5 had a bug fix for polymer; this bumps the dep so I can upload a fixed version.
R=dgrove@google.com
Review URL: https://codereview.chromium.org//190543005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33509 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-10 23:21:20 +00:00
scheglov@google.com
844751f9ed
Support for DartBlockBody, DartExpressionBody, DartOmit in java2dart.
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//189433006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33468 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-07 23:53:28 +00:00
jmesserly@google.com
95b41dc840
[polymer] remove bogus warning about JS inline scripts
...
R=dgrove@google.com
Review URL: https://codereview.chromium.org//191423002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33460 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-07 21:46:29 +00:00
scheglov@google.com
a674327095
Translate private Java members to private Dart members.
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//189803004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33453 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-07 20:59:57 +00:00
jmesserly@google.com
2ddf86015e
[polymer] publish -pre.1
...
R=sigmund@google.com
Review URL: https://codereview.chromium.org//189403005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33406 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-07 01:11:55 +00:00
sigmund@google.com
79229b1d91
Refactoring two pieces of polymer:
...
- loader logic: to make it easy to remove the mirror's loading code
- script compactor: to make it flatter and easier to extend later.
R=jmesserly@google.com
Review URL: https://codereview.chromium.org//189213003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33403 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-06 23:23:25 +00:00
scheglov@google.com
151c4c3a7d
Improved 'has' properties translation.
...
New analyzer snapshot.
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//189043003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33399 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-06 22:18:26 +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
scheglov@google.com
12558a8511
New analzyer snapshot.
...
Replace isInstanceOf() with a predicate.
Tweaks for other packages.
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//186153005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33304 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-04 21:50:40 +00:00
jmesserly@google.com
99a74be0f8
"Reverting 33183"
...
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33184 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-01 04:13:31 +00:00
jmesserly@google.com
bde74b4050
[polymer] import all elements
...
Imports polymer-elements and polymer-ui-elements into (for now) the polymer package. This will allow us to begin to reuse the JavaScript custom elements.
Notes:
In an ideal world we would have some way of importing these straight from Bower, probably via Pub. However we don't have support for that.
It would also be nice to have separate Pub packages, at least for polymer-elements and polymer-ui-elements (the lovely Dart ports @ http://pub.dartlang.org/packages/polymer_elements follow this pattern). However that too depends on some kind of Pub+Bower integration, as they use (at least) the convention of "components/" for dependencies instead of "packages/" or "assets/".
So for now, we'll import them into package:polymer.
R=sigmund@google.com
Review URL: https://codereview.chromium.org//175443005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33183 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-01 03:03:36 +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
0a27306b5c
[polymer] add bower files to import elements
...
R=sigmund@google.com
Review URL: https://codereview.chromium.org//181673003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33147 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-28 03:06:49 +00:00
jmesserly@google.com
7b750888b2
[polymer] skip linter in tests
...
Arguably we should only be linting things reachable from deployment in deploy mode, but that's a bigger change.
Combined with the previous CL for inline scripts (https://codereview.chromium.org/180933002/ ) this is enough to import polymer's many HTML elements without causing tests to timeout/fail/run out of memory due to unnecessary scanning ~300 HTML files.
R=sigmund@google.com
Review URL: https://codereview.chromium.org//179163007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33146 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-28 03:04:37 +00:00
jmesserly@google.com
fd8b2caf4b
[polymer] combine script extractor and import inliner
...
The goal is to ensure we aren't processing HTML files that aren't reachable from the entry point(s).
R=sigmund@google.com
Review URL: https://codereview.chromium.org//180933002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33145 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-28 02:50:03 +00:00
jmesserly@google.com
8dc1cbbc3c
[polymer] fix import inliner to only rewrite URL attributes once per node
...
R=sigmund@google.com
Review URL: https://codereview.chromium.org//178193007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33133 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-27 21:23:40 +00:00