Commit Graph

25 Commits

Author SHA1 Message Date
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
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
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 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
rnystrom@google.com 5dd0a26730 Move allowTrailingOptions into ArgParser.
R=brianwilkerson@google.com, jmesserly@google.com, nweiz@google.com

Review URL: https://codereview.chromium.org//260963007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35837 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-06 23:25:59 +00:00
kevmoo@google.com ecf1fa6e1d pkg/csslib: fixed args dependency, drastically simplified pkg.status
Prepped v0.9.2+1

R=terry@google.com

Review URL: https://codereview.chromium.org//216893004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34516 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-28 19:28:33 +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
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
sigmund@google.com 4914ad5dd4 Add license file to csslib so we can upload directly from the bleeding_edge
directory.

R=terry@google.com

Review URL: https://codereview.chromium.org//111903003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31030 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-10 17:50:10 +00:00
nweiz@google.com 113bd79bc6 Make pkg/path 1.0.0 and upgrade dependencies appropriately.
All existing packages that use pkg/path (other than pkg/stack_trace,
which has already been updated) are compatible with both the pre-1.0
and post-1.0 path API, so I've marked their version constraints as
">=0.9.0 <2.0.0". I've also incremented their patch versions and I
intend to release new versions as soon as this CL lands.

R=alanknight@google.com, efortuna@google.com, jmesserly@google.com, rnystrom@google.com, scheglov@google.com

Review URL: https://codereview.chromium.org//110873002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31005 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-10 00:24:01 +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
kevmoo@j832.com b2b6c335cb pkg/csslib: remove drone.io reference from README
R=jmesserly@google.com

Review URL: https://codereview.chromium.org//62913002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29992 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-06 20:13:09 +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 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
floitsch@google.com 1887b5ca49 Some more removals of dart:utf.
R=jmesserly@google.com, lrn@google.com, nweiz@google.com

Review URL: https://codereview.chromium.org//22909059

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26712 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 13:18:34 +00:00
lrn@google.com 0fa1bbdf15 Reapply "Make Map constructors return LinkedHashMap."
Updated tests assuming a specific ordering of an unlinked hash map
to not be daft.

R=floitsch@google.com, jmesserly@google.com

Review URL: https://codereview.chromium.org//22859069

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26693 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 08:43:46 +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