nweiz@google.com
4b524e8f21
Pull args, intl, logging, shelf, and source_maps out of the SDK.
...
R=sigmund@google.com
Review URL: https://codereview.chromium.org//814113004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42537 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-20 00:47:32 +00:00
nweiz@google.com
d860ee4794
Switch various transformers and libraries they use over to source_span.
...
This would release html5lib 0.12.0 and code_transformers 0.2.0.
BUG=19930
R=blois@google.com , sigmund@google.com
Review URL: https://codereview.chromium.org//421503004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38754 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-30 21:36:43 +00:00
nweiz@google.com
466faa581f
Use source_span rather than source_maps in csslib.
...
This will release csslib 0.11.0 and html5lib 0.11.0+2.
BUG=19930
R=sigmund@google.com
Review URL: https://codereview.chromium.org//426053003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38716 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-30 00:13:19 +00:00
lrn@google.com
1ec6c5c1db
Revert "Add "last" setter to List."
...
After discussion, we decided not to change the List interface for something that is just a convenience.
Also revert "Mark pkgbuild/pkg/collection as failing when using repository packages"
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//331833003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37307 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-13 09:40:22 +00:00
lrn@google.com
f528beb9f2
Add "last" setter to List.
...
This allows assigning directly as `list.last = value` instead of
having to use the longer `list[list.length - 1] = value`.
It's just an abbreviation, like `list.last` is for reading.
If you use a List as a stack (which is a perfectly good use of it),
modifying the last element like this is a natural operation.
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//315173005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37255 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-12 08:11:22 +00:00
nweiz@google.com
8604c2ffca
Fix a couple more tests that were relying on sourcemap message format.
...
Review URL: https://codereview.chromium.org//297203009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36722 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-28 00:32:00 +00:00
sigmund@google.com
e6de3def62
Update versions before releasing.
...
R=jmesserly@google.com
Review URL: https://codereview.chromium.org//297973003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36590 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-23 22:01:17 +00:00
lrn@google.com
61fb66c9e4
The toSet operation returns a new Set with the same equality and iteration behavior, and with the same elements.
...
R=floitsch@google.com , jmesserly@google.com , sgjesse@google.com
Review URL: https://codereview.chromium.org//288103003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36473 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-22 08:29:59 +00:00
sigmund@google.com
2507e2283a
Fix status in bots.
...
BUG=
Review URL: https://codereview.chromium.org//281613003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36083 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-12 22:38:19 +00:00
jmesserly@google.com
6a09585caa
[html5lib] fix another type annotation
...
Review URL: https://codereview.chromium.org//278693002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35948 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-08 22:34:48 +00:00
jmesserly@google.com
edeef1c4c3
[html5lib] fix type annotation and pkg.status for angular_tests
...
angular_tests issue is http://dartbug.com/18733
Review URL: https://codereview.chromium.org//274913002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35945 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-08 22:06:44 +00:00
jmesserly@google.com
06f8f2d16b
[html5lib] implement querySelector/querySelectorAll
...
BUG= https://code.google.com/p/dart/issues/detail?id=18508
* tests from https://github.com/w3c/web-platform-tests/tree/master/selectors-api , kept as close to original as I could.
* src/query_selector.dart is most interesting file. It implements enough of selectors to pass the basic web platform tests. Ironically, it was the easiest part of this CL...
* many fixes to csslib. Almost all of the selector tests were skipped (https://github.com/dart-lang/csslib-test-suite/blob/master/suite/selectors3/selectors3_test.dart ) and there was a lot of things broken: unicode, escaping, incorrectly treating ident-tokens as units, probably more that I am forgetting :). Fixed as much as I could without doing major surgery.
* a bunch of fixes to the htm5lib DOM to bring it closer in alignment with dom.spec.whatwg.org and dart:html. The driving force was to minimize the changes needed on the W3C tests.
Note: haven't updated things that depend on html5lib like Polymer yet.
R=sigmund@google.com
Review URL: https://codereview.chromium.org//268623002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35941 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-08 21:41:05 +00:00
kasperl@google.com
a59818ea8b
Revert "Update all Angular libs (run update_all.sh)."
...
This reverts r35366.
R=ricow@google.com
BUG=
Review URL: https://codereview.chromium.org//256553002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35367 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-24 12:29:05 +00:00
kasperl@google.com
c9013a859f
Update all Angular libs (run update_all.sh).
...
R=ricow@google.com , blois@google.com
BUG=
Review URL: https://codereview.chromium.org//257423008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35366 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-24 11:34:18 +00:00
sigmund@google.com
19adebaff7
add CHANGELOG entry in html5lib before releasing.
...
Review URL: https://codereview.chromium.org//226643002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34744 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-04 20:47:03 +00:00
sigmund@google.com
dfef6d6726
Fix how document fragments are added on NodeList operations. The DocumentFragment node should be gone, and its children should be added in place.
...
R=jmesserly@google.com
Review URL: https://codereview.chromium.org//224733003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34742 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-04 20:19:00 +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
blois@google.com
722d14a75b
Mostly the output from third_party/pkg/update_all.sh
...
+ change to update_di.sh to show an error message that the imports need to be fixed (and associated fixup)
+ change to the status file to indicate that Angular's parser test now passes
BUG=
R=sigmund@google.com
Review URL: https://codereview.chromium.org//180873006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33073 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-26 18:36:41 +00:00
ricow@google.com
c4721503d3
Revert revision 33053
...
This is failing all over
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33056 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-26 10:42:16 +00:00
kasperl@google.com
5f31ef1489
Update the Angular/DI tests to latest from github.
...
R=ricow@google.com , blois@google.com
BUG=
Review URL: https://codereview.chromium.org//176943008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33053 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-26 08:30:13 +00:00
jmesserly@google.com
b9fbc30785
[html5lib] api updates: localName
...
R=sigmund@google.com
Review URL: https://codereview.chromium.org//178303009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33004 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-25 04:07:47 +00:00
jmesserly@google.com
d48a43957f
[html5lib] triple slash comment style
...
Also improves ./tools/line_doc_comments.dart to warn about lines >= 80 chars, to make it easier to catch these.
R=sigmund@google.com
Review URL: https://codereview.chromium.org//178843003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32997 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-25 00:36:13 +00:00
sigmund@google.com
4bad819321
small fix in html5lib warning message
...
R=jmesserly@google.com
Review URL: https://codereview.chromium.org//174633003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32945 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-21 23:36:57 +00:00
jmesserly@google.com
d10d506d6f
fix accidental breaking changes in html5lib, deprecate instead
...
R=kevmoo@google.com
Review URL: https://codereview.chromium.org//165353002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32680 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-13 23:50:46 +00:00
jmesserly@google.com
1a4a399ea5
fix imports link rel=stylesheet
...
fixes https://code.google.com/p/dart/issues/detail?id=16648
also:
* adds a few DOM APIs to html5lib that it was missing
* removes a broken test from html5lib
* fixes polymer's dependency on analyzer
R=sigmund@google.com
Review URL: https://codereview.chromium.org//162093002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32679 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-13 23:22:48 +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
kevmoo@google.com
030a0ac329
pkg/third_party/html5lib: lots of cleanup
...
make a lot of things constants
updated pub dependencies
unused imports
R=jmesserly@google.com
Review URL: https://codereview.chromium.org//157983005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32528 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-10 23:52:45 +00:00
blois@google.com
2a4b069b1a
Updating Angular version
...
We missed some Angular-breaking changes because the parser tests were marked as failing due to some known Angular/Dart1.1 incompatibilities, but those have been fixed in Angular. Updating to this version has the parser tests passing cleanly.
Only manual change was to the pkg.status file.
BUG=
R=sigmund@google.com
Review URL: https://codereview.chromium.org//148453003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32035 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-27 22:27:53 +00:00
blois@google.com
646b97ce6f
Merging all of the Angular tests into a single file to cut down on dart2js compile times. Using htmlIndividualConfig to cut down on how many tests are run at a time and to fail individual tests.
...
Each individual test was taking ~28s locally to compile, now the entire combined test is taking about the same.
This is still disabled overall as the dart2js compilation times are still timing out.
BUG=
R=sigmund@google.com
Review URL: https://codereview.chromium.org//133843003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31718 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-10 22:54:27 +00:00
blois@google.com
9d8df56a98
Adding Shadow DOM polyfill to Angular tests
...
Some of the Angular tests require shadow dom, so adding the polyfill to all of the HTML tests.
Updated files are:
- pkg/pkg.status
- third_party/pkg/update_angular.sh
All others are auto-generated.
BUG=15929
R=sigmund@google.com
Review URL: https://codereview.chromium.org//112953006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31527 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-07 00:43:48 +00:00
blois@google.com
9e35fd81c3
Adding Angular and dependent packages for testing
...
This adds Angular tests to run in Dart's test suite.
Notes-
- All files under pkg/third_party/angular_test are auto-generated by update_angular.sh
- All files under third_party/pkg/angular are from Angular sources (with the exception of REVISION)
Modifed / Created files:
- third_party/pkg/update_perf.sh
- third_party/pkg/update_route_hierarchical.sh
- third_party/pkg/update_perf.sh
- third_party/pkg/update_all.sh
- third_party/pkg/update_di.sh
- third_party/pkg/update_js.sh
- third_party/pkg/update_angular.sh
- pkg/pkg.status
BUG=
R=sigmund@google.com
Review URL: https://codereview.chromium.org//124053002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31518 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-06 23:09:58 +00:00
blois@google.com
b0b5cd1ce5
Adding Angular's DI package & Dart unittests which test it.
...
The non-Angular files which are being modified with this CL are:
pkg/third_party/di/test/di_test.dart
third_party/pkg/README
third_party/pkg/di/update.sh
DI is sync'd to revision 297d20694808a060c5275235aa3399dce7b87943.
BUG=
R=sigmund@google.com
Review URL: https://codereview.chromium.org//107003007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31361 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-21 00:16:13 +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
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
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
sgjesse@google.com
c38de04d0c
Change dart:io Platform.script to return a Uri.
...
BUG=
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//46063010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29651 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 07:29:01 +00:00
whesse@google.com
4f08151090
Revert "Change dart:io Platform.script to return a Uri."
...
This reverts r29619 and r29624. The changes look fine on the buildbot,
but need review before adding to the repository.
BUG=
TBR=sgjesse@google.com
Review URL: https://codereview.chromium.org//52723007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29627 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 02:17:37 +00:00
whesse@google.com
cb0110350a
Change dart:io Platform.script to return a URI. Change all uses of Platform.script to work with the new value.
...
R=floitsch@google.com
Review URL: https://codereview.chromium.org//53313007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29619 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 01:08:11 +00:00
sethladd@google.com
655c867e89
change homepage for html5lib
...
BUG=
R=jmesserly@google.com
Review URL: https://codereview.chromium.org//53173003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29602 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-30 22:36:58 +00:00
whesse@google.com
69205c207c
Remove uses of Options from pkg, samples, tests, and third_party directories.
...
BUG=
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//52573002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29552 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-30 15:17:01 +00:00
lrn@google.com
e3713a08d4
Make List.shuffle take an optional Random object to use.
...
R=floitsch@google.com
Review URL: https://codereview.chromium.org//25931003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28305 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-07 12:07:30 +00:00
lrn@google.com
55a8a72ca6
Add List.shuffle().
...
Will add tests too.
R=floitsch@google.com
Review URL: https://codereview.chromium.org//24740003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28206 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-03 11:09:01 +00:00
floitsch@google.com
0fa2f91c3c
remove use of deprecatedFutureValue from html5lib
...
R=floitsch@google.com
Review URL: https://codereview.chromium.org//23480032
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27122 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-04 13:15:59 +00:00
floitsch@google.com
426e2b0ced
Fix missing quote.
...
Review URL: https://codereview.chromium.org//23532008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26797 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-28 15:57:30 +00:00
floitsch@google.com
e95105d602
Remove dart:utf in third_party.
...
R=jmesserly@google.com
Review URL: https://codereview.chromium.org//23493006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26796 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-28 15:40:46 +00:00
floitsch@google.com
d213b9d1f4
Remove use of dart:json from third_party.
...
R=jmesserly@google.com
Review URL: https://codereview.chromium.org//23540004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26795 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-28 15:39:35 +00:00
jmesserly@google.com
29397a566d
html5lib -- workaround dart2js checked issues
...
Review URL: https://codereview.chromium.org//23221002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26161 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-14 22:09:44 +00:00