Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(217)

Side by Side Diff: mojo/public/dart/third_party/source_span/CHANGELOG.md

Issue 1346773002: Stop running pub get at gclient sync time and fix build bugs (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 # 1.2.0
2
3 * **Deprecated:** Extending `SourceLocation` directly is deprecated. Instead,
4 extend the new `SourceLocationBase` class or mix in the new
5 `SourceLocationMixin` mixin.
6
7 * Dramatically improve the performance of `FileLocation`.
8
9 # 1.1.6
10
11 * Optimize `getLine()` in `SourceFile` when repeatedly called.
12
13 # 1.1.5
14
15 * Fixed another case in which `FileSpan.union` could throw an exception for
16 external implementations of `FileSpan`.
17
18 # 1.1.4
19
20 * Eliminated dart2js warning about overriding `==`, but not `hashCode`.
21
22 # 1.1.3
23
24 * `FileSpan.compareTo`, `FileSpan.==`, `FileSpan.union`, and `FileSpan.expand`
25 no longer throw exceptions for external implementations of `FileSpan`.
26
27 * `FileSpan.hashCode` now fully agrees with `FileSpan.==`.
28
29 # 1.1.2
30
31 * Fixed validation in `SourceSpanWithContext` to allow multiple occurrences of
32 `text` within `context`.
33
34 # 1.1.1
35
36 * Fixed `FileSpan`'s context to include the full span text, not just the first
37 line of it.
38
39 # 1.1.0
40
41 * Added `SourceSpanWithContext`: a span that also includes the full line of text
42 that contains the span.
43
44 # 1.0.3
45
46 * Cleanup equality operator to accept any Object rather than just a
47 `SourceLocation`.
48
49 # 1.0.2
50
51 * Avoid unintentionally allocating extra objects for internal `FileSpan`
52 operations.
53
54 * Ensure that `SourceSpan.operator==` works on arbitrary `Object`s.
55
56 # 1.0.1
57
58 * Use a more compact internal representation for `FileSpan`.
59
60 # 1.0.0
61
62 This package was extracted from the
63 [`source_maps`](http://pub.dartlang.org/packages/source_maps) package, but the
64 API has many differences. Among them:
65
66 * `Span` has been renamed to `SourceSpan` and `Location` has been renamed to
67 `SourceLocation` to clarify their purpose and maintain consistency with the
68 package name. Likewise, `SpanException` is now `SourceSpanException` and
69 `SpanFormatException` is not `SourceSpanFormatException`.
70
71 * `FixedSpan` and `FixedLocation` have been rolled into the `Span` and
72 `Location` classes, respectively.
73
74 * `SourceFile` is more aggressive about validating its arguments. Out-of-bounds
75 lines, columns, and offsets will now throw errors rather than be silently
76 clamped.
77
78 * `SourceSpan.sourceUrl`, `SourceLocation.sourceUrl`, and `SourceFile.url` now
79 return `Uri` objects rather than `String`s. The constructors allow either
80 `String`s or `Uri`s.
81
82 * `Span.getLocationMessage` and `SourceFile.getLocationMessage` are now
83 `SourceSpan.message` and `SourceFile.message`, respectively. Rather than
84 taking both a `useColor` and a `color` parameter, they now take a single
85 `color` parameter that controls both whether and which color is used.
86
87 * `Span.isIdentifier` has been removed. This property doesn't make sense outside
88 of a source map context.
89
90 * `SourceFileSegment` has been removed. This class wasn't widely used and was
91 inconsistent in its choice of which parameters were considered relative and
92 which absolute.
OLDNEW
« no previous file with comments | « mojo/public/dart/third_party/source_span/.test_config ('k') | mojo/public/dart/third_party/source_span/LICENSE » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698