nweiz@google.com
9f3e165c1e
Make source map location information more readable.
...
This changes "file:1:2" to "line 1, column 2 of file" and ":1:2" to
"line 1, column 2" in [SourceFile.getLocationMessage]. The more
machine-readable colon-separated format doesn't make sense for a
message intended for humans.
Since [Location.formatString] seems more likely to be consumed by
machines, its format was left as-is.
This also prepares version 0.9.1 for release.
This was previously submitted as r36603. That caused buildbot errors and was
rolled back by r36615. This CL fixes the test errors in r36603.
R=sigmund@google.com
Review URL: https://codereview.chromium.org//304603003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36717 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-27 23:01:24 +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
kevmoo@google.com
7ebebc7d74
use proper notation for true, false, and null in doc comments
...
BUG= https://code.google.com/p/dart/issues/detail?id=16193
R=lrn@google.com
Review URL: https://codereview.chromium.org//140783013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31947 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-19 19:24:06 +00:00
terry@google.com
6d41224b82
Fixed single quote escaping
...
BUG=
R=sigmund@google.com
Review URL: https://codereview.chromium.org//126063003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31578 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-07 21:32:07 +00:00
kevmoo@j832.com
b481cfa8a6
pkg/csslib: fixed analysis error, more cleanup
...
R=terry@google.com
Review URL: https://codereview.chromium.org//60983003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30480 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-20 19:15:39 +00:00
kevmoo@j832.com
0617dd633f
pkg/csslib: fix analyzer issue
...
R=terry@google.com
Review URL: https://codereview.chromium.org//64993002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30062 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-07 18:35:43 +00:00
kevmoo@j832.com
c05b384ba1
pkg/csslib: types, fixes, cleanup
...
R=terry@google.com
Review URL: https://codereview.chromium.org//64373003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30049 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-07 14:45:52 +00:00
jmesserly@google.com
308c960be6
fix csslib and watcher warnings
...
R=rnystrom@google.com , terry@google.com
Review URL: https://codereview.chromium.org//50703011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29632 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 02:43:00 +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
terry@google.com
8992076c3c
- Added @mixin and @include support for top-level and declarations.
...
- Added parameter support for mixins.
- Support var definition with multiple parameters as an @include parameter.
- Support @extend and @extend with nested selectors.
- Removed hoisting var and cycle checks - can only reference known vars.
- Added bunch of tests.
BUG=
Review URL: https://codereview.chromium.org//23819036
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28555 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-11 21:03:04 +00:00
terry@google.com
88f208988c
Include tests for polyfill and without polyfill
...
BUG=
R=sigmund@google.com
Review URL: https://codereview.chromium.org//23868008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27320 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-09 23:16:12 +00:00
jmesserly@google.com
9e5b240923
move csslib into dart svn
...
deleted files that duplicate those in the Dart repository (LICENSE, pubspec.yaml, codereview.settings, .gitignore)
Otherwise, just changed pkg.status and pubspec
R=terry@google.com
Review URL: https://codereview.chromium.org//23168002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26155 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-14 21:11:30 +00:00