floitsch@google.com
|
7ccb970fd1
|
Implement missing functions on ListBase.
Committed: https://code.google.com/p/dart/source/detail?r=19382
Reverted: http://code.google.com/p/dart/source/detail?r=19419
Review URL: https://codereview.chromium.org//12380086
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19482 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-03-05 14:02:45 +00:00 |
|
floitsch@google.com
|
f329794ef7
|
Revert "Implement missing functions on ListBase."
This reverts commit 19382.
Review URL: https://codereview.chromium.org//12391073
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19419 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-03-04 21:21:58 +00:00 |
|
floitsch@google.com
|
b85f96905d
|
Add Duration.inMicroseconds and add Stopwatch.elapsed.
Review URL: https://codereview.chromium.org//12389056
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19406 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-03-04 18:13:41 +00:00 |
|
floitsch@google.com
|
d91bca2813
|
Add List.asMap().
Review URL: https://codereview.chromium.org//12391046
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19399 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-03-04 16:57:52 +00:00 |
|
lrn@google.com
|
f4300b84a2
|
Make List.from and Iterable.toList default to not growable.
Review URL: https://codereview.chromium.org//12401002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19391 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-03-04 14:55:40 +00:00 |
|
ngeoffray@google.com
|
245081c898
|
Fix type annotation on [JSArray.addAll] and add a test.
Review URL: https://codereview.chromium.org//12395011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19389 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-03-04 14:50:17 +00:00 |
|
floitsch@google.com
|
5592c90ea1
|
Update status file.
Review URL: https://codereview.chromium.org//12381077
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19384 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-03-04 13:45:37 +00:00 |
|
floitsch@google.com
|
c0061ef2cd
|
Implement missing functions on ListBase.
Review URL: https://codereview.chromium.org//12380086
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19382 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-03-04 13:28:07 +00:00 |
|
ngeoffray@google.com
|
e83ac2ecf9
|
Now that we recognize "'undefined' is not an object" tests pass on safari.
Review URL: https://codereview.chromium.org//12381049
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19338 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-03-01 21:41:35 +00:00 |
|
lrn@google.com
|
94afb8f1a0
|
Make HashSet.length constant time.
Ditto for SplayTree iterators and fix bug in ListIterable.isEmpty.
Add test for quickness of .length and .isEmpty of String, Maps
and Collections. Not fast enough, and the test will timeout.
BUG=http://dartbug.com/8839
Review URL: https://codereview.chromium.org//12391010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19228 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-02-28 14:14:26 +00:00 |
|
lrn@google.com
|
719aca47b1
|
Restructure SplayTreeMap to be reusable (e.g., for a SplayTreeSet).
Add documentation that all keys of the map must be comparable to each other.
Review URL: https://codereview.chromium.org//12304016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19209 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-02-28 10:02:40 +00:00 |
|
lrn@google.com
|
6b4f4b1bab
|
Change new List(n) to return fixed length list.
Deprecate List.fixedLength, add List.filled.
Make Iterable.toList and List.from take "growable" argument,
defaulting to false.
Review URL: https://codereview.chromium.org//12328104
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19112 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-02-27 08:45:04 +00:00 |
|
iposva@google.com
|
55ab6a6018
|
- Give the stop watch more time to tick.
Review URL: https://codereview.chromium.org//12342027
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19104 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-02-27 01:03:12 +00:00 |
|
ngeoffray@google.com
|
6ce5151888
|
Small cleanups in RegExp to avoid generating lots of code just because there is a try/catch in our RegExp implementation.
Review URL: https://codereview.chromium.org//12310103
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19037 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-02-26 11:54:56 +00:00 |
|
lrn@google.com
|
3c0ac360e7
|
Remove deprecated string features.
Make String.codeUnits return a List.
Review URL: https://codereview.chromium.org//12282038
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18960 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-02-25 10:48:09 +00:00 |
|
sra@google.com
|
039864883a
|
Revert "Revert "Use browsers JSON.parse for parsing JSON (#3)""
Fix more IE special cases
Review URL: https://codereview.chromium.org//12320072
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18933 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-02-23 00:21:24 +00:00 |
|
sra@google.com
|
0d95ced3dc
|
Revert "Use browsers JSON.parse for parsing JSON (#3)"
Review URL: https://codereview.chromium.org//12313069
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18911 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-02-22 19:34:08 +00:00 |
|
sra@google.com
|
1b988548de
|
Use browsers JSON.parse for parsing JSON (#3)
Original CL: https://codereview.chromium.org//12114021
This version modified to take advantage of dart:json being moved to VM.
Review URL: https://codereview.chromium.org//12314055
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18908 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-02-22 19:21:18 +00:00 |
|
kasperl@google.com
|
40fa758493
|
Update status files for Safari and Firefox. Tests now pass!
TBR'ed.
R=ngeoffray@google.com
BUG=
Review URL: https://codereview.chromium.org//12314011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18745 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-02-20 12:02:40 +00:00 |
|
lrn@google.com
|
03f5a66836
|
Recommit changing List.skip/take/revert returns Iterable and remove mappedBy.
This reverts r18591.
Review URL: https://codereview.chromium.org//12295009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18615 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-02-18 10:35:51 +00:00 |
|
rnystrom@google.com
|
0e0473d33a
|
Unbreak pub:
Revert "Make List.skip, List.take and List.reversed return Iterables, not Lists."
This reverts commit 44c3745a76acfad3d1d5bfc7a8b8c8e2def30e09.
Revert "Remove deprecated mappedBy."
This reverts commit 779ab69eab73e5e349245e99560b18955908e0cc.
BUG=dartbug.com/8560
Review URL: https://codereview.chromium.org//12286004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18591 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-02-15 18:38:42 +00:00 |
|
lrn@google.com
|
ecbf4478c2
|
Reapply "New implementation of {,Linked}Hash{Set,Map}."
Review URL: https://codereview.chromium.org//12212211
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18573 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-02-15 13:07:22 +00:00 |
|
lrn@google.com
|
b7f36d0d11
|
Make List.skip, List.take and List.reversed return Iterables, not Lists.
Removes ListView. It was premature optimization to have classes that combined any sequence of reverse, skip and take instead of just wrapping iterables.
Review URL: https://codereview.chromium.org//12262037
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18570 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-02-15 10:43:21 +00:00 |
|
lrn@google.com
|
c3e2eace1e
|
Revert "Reapply "New implementation of {,Linked}Hash{Set,Map}.""
Breaks pub, which apparently contains concurrent modifications of a
HashMap.
Spurious error in:
pkg/analyzer-experimental/test/generated/ast_test/test_literal_map
Seems to be an error in the analyzer.
TBR
Review URL: https://codereview.chromium.org//12254048
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18569 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-02-15 10:06:49 +00:00 |
|
lrn@google.com
|
9d8aca9e45
|
Reapply "New implementation of {,Linked}Hash{Set,Map}."
Review URL: https://codereview.chromium.org//12254006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18566 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-02-15 09:18:36 +00:00 |
|
floitsch@google.com
|
adb99d0107
|
Deprecate comparison operators of DateTime.
Review URL: https://codereview.chromium.org//12221094
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18543 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-02-14 22:00:36 +00:00 |
|
lrn@google.com
|
dd31afbeca
|
Added implementation of String.codeUnits.
Based on ListIterable implementation that should be reusable for a lot
of our existing length/indexing-based iterables too.
Review URL: https://codereview.chromium.org//12261009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18506 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-02-14 09:51:43 +00:00 |
|
lrn@google.com
|
6e0d6462ce
|
Revert "New implementation of {,Linked}Hash{Set,Map}."
Triggers assertion in VM debug mode.
Seems to have some bug or difference that affects dart2dart.
Review URL: https://codereview.chromium.org//12258008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18442 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-02-13 12:40:12 +00:00 |
|
lrn@google.com
|
6ad0b78818
|
New implementation of {,Linked}Hash{Set,Map}.
Accepts null keys/entries.
Much faster LinkedHashMap, faster HashSet, slight penalty on HashMap,
possibly due to accepting null keys.
Performance difference depends on table size.
Review URL: https://codereview.chromium.org//12213010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18437 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-02-13 09:51:50 +00:00 |
|
lrn@google.com
|
3520e88c04
|
Bi-directional iterator for runes of a string.
Review URL: https://codereview.chromium.org//12094056
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18382 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-02-12 15:22:31 +00:00 |
|
lrn@google.com
|
632da9e212
|
Fix bug in ListQueue.from.
BUG=http://dartbug.com/8484
Review URL: https://codereview.chromium.org//12212129
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18380 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-02-12 13:40:35 +00:00 |
|
floitsch@google.com
|
070a88d4f1
|
Fix List.map.join with no separator.
Review URL: https://codereview.chromium.org//12226099
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18345 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-02-11 22:32:57 +00:00 |
|
lrn@google.com
|
748142250c
|
Fix bug in test caught by analyzer.
Review URL: https://codereview.chromium.org//12209092
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18310 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-02-11 16:41:32 +00:00 |
|
lrn@google.com
|
2a1710e121
|
Add ListQueue and make it the default Queue.
ListQueue has a very low overhead for operations (low memory overhead, better memory locality) compared to a double-linked list solution, but at the cost of only amortized constant time adding.
Review URL: https://codereview.chromium.org//12217061
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18309 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-02-11 15:04:39 +00:00 |
|
floitsch@google.com
|
b0e4f4e168
|
Add +, -, * and comparison operators to Duration.
Review URL: https://codereview.chromium.org//12221087
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18296 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-02-09 02:09:15 +00:00 |
|
floitsch@google.com
|
caa7fe236d
|
Add Stopwatch.isRunning.
BUG= http://dartbug.com/8393
Review URL: https://codereview.chromium.org//12221073
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18241 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-02-08 10:45:16 +00:00 |
|
floitsch@google.com
|
e1efa71761
|
Hide collection-dev library.
Committed: https://code.google.com/p/dart/source/detail?r=18167
Reverted: https://code.google.com/p/dart/source/detail?r=18169
Review URL: https://codereview.chromium.org//11938036
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18172 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-02-06 15:11:47 +00:00 |
|
floitsch@google.com
|
8762c41590
|
Revert "Hide collection-dev library."
This reverts commit 18167.
Review URL: https://codereview.chromium.org//12221044
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18169 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-02-06 13:08:29 +00:00 |
|
floitsch@google.com
|
2a56791380
|
Hide collection-dev library.
Review URL: https://codereview.chromium.org//11938036
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18167 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-02-06 12:43:07 +00:00 |
|
lrn@google.com
|
2a7fb1c733
|
Added expand method to iterables.
Review URL: https://codereview.chromium.org//12188011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18123 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-02-05 09:48:05 +00:00 |
|
lrn@google.com
|
9b23dff467
|
Reapply "Rename mappedBy to map."
This reverts commit r17907.
TBR.
Review URL: https://codereview.chromium.org//12090093
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17918 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-01-31 15:12:56 +00:00 |
|
floitsch@google.com
|
b1a118d5ce
|
Revert "Rename mappedBy to map."
This reverts commit 17899.
Review URL: https://codereview.chromium.org//12087103
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17907 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-01-31 14:02:27 +00:00 |
|
lrn@google.com
|
0dc2f4b1ba
|
Rename mappedBy to map.
Retain a deprecated mappedBy for now.
Change return type of mappedBy, skip and take on List to Iterable.
BUG= http://dartbug.com/8063
BUG= http://dartbug.com/8064
BUG= http://dartbug.com/6739
BUG= http://dartbug.com/7982
Review URL: https://codereview.chromium.org//12086062
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17899 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-01-31 12:37:13 +00:00 |
|
floitsch@google.com
|
e024c74a5f
|
Remove List.filled constructor.
Review URL: https://codereview.chromium.org//12041019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17871 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-01-30 20:10:27 +00:00 |
|
floitsch@google.com
|
9c727e9467
|
List.mappedBy/skip/take returns a List.
BUG: http://dartbug.com/8063
BUG: http://dartbug.com/8064
Review URL: https://codereview.chromium.org//12041045
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17581 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-01-24 17:05:18 +00:00 |
|
floitsch@google.com
|
3801ef756b
|
Fix bad date-time test.
Review URL: https://codereview.chromium.org//12051060
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17553 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-01-24 12:44:12 +00:00 |
|
floitsch@google.com
|
6cc34487ad
|
Change new DateTime.fromString to DateTime.parse.
Review URL: https://codereview.chromium.org//12047046
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17550 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-01-24 12:20:39 +00:00 |
|
floitsch@google.com
|
fb7b9e3c5c
|
Rename Date to DateTime.
BUG=http://dartbug.com/1424
Review URL: https://codereview.chromium.org//11770004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17549 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-01-24 12:16:37 +00:00 |
|
lrn@google.com
|
09051ebf15
|
Fix bugs in GrowableList.remove*.
Add generic removeMatchingList functionality in IterableMixinWorkaround.
BUG=http://dartbug.com/8018, http://dartbug.com/8075
Review URL: https://codereview.chromium.org//12049065
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17534 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-01-24 10:34:45 +00:00 |
|
lrn@google.com
|
bcdd200647
|
Make ListIterator throw if the underlying list's length changes.
Review URL: https://codereview.chromium.org//12040018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17521 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-01-24 07:07:25 +00:00 |
|