Commit Graph

17 Commits

Author SHA1 Message Date
nweiz@google.com 1afe3964ca Remove support for the old Span classes from source_maps.
This releases source_maps 0.10.0, code_transformers 0.2.0+2, observe 0.11.0+3,
and polymer 0.12.0+4.

BUG=19930
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38803 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-31 22:04:31 +00:00
tjblasi@google.com eefeeb73aa Adding support for sourceRoot to the SingleMapping class.
BUG=
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38241 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-15 16:47:12 +00:00
tjblasi@google.com 890433d8f7 Moving logic for writing source maps from SourceMapBuilder into the Mapping class.
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38073 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-08 22:13:43 +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
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
ricow@google.com 1bec2a1981 Revert revision 36603
This is making 60% of the bots red

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36615 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-26 05:52:05 +00:00
nweiz@google.com 22ae34a476 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.

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36603 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-24 00:52:08 +00:00
zarah@google.com d77b7e50a2 Support unmapped areas in source maps.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35307 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-23 07:57:14 +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
floitsch@google.com 74da0c7286 Remove usage of dart:json.
R=jmesserly@google.com, lrn@google.com, nweiz@google.com, rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26789 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-28 14:05:11 +00:00
sigmund@google.com 4464598607 Fix source maps test (failed in checked mode).
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25987 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-09 22:44:51 +00:00
sigmund@google.com 1df9a489d2 Make observable transform a barback transform.
R=jmesserly@google.com, nweiz@google.com, rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25985 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-09 22:29:38 +00:00
sigmund@google.com 3de7c9695f Fix source spans hashcode implementation
R=justinfagnani@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25514 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-26 00:50:29 +00:00
sigmund@google.com 3379860d8d Fix bug in source-maps parsing: parser failed when most information could be
inferred. This fixes bug http://dartbug.com/11782

R=dgrove@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24981 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-12 23:14:38 +00:00
sigmund@google.com ade668bfe4 Fixes in sourcemaps discovered in csslib
R=dgrove@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24881 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-10 16:56:00 +00:00
sigmund@google.com 448ea8ed86 Fixes source map bug: getLocationMessage was incorrect on file segments
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24759 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-03 22:26:55 +00:00
sigmund@google.com 68a26315ef Move source maps package to the dart repo, so it can be used by other internal
tools.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20300 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-20 23:41:50 +00:00