lrn@google.com
|
f80cfe1401
|
Fix DoubleLinkedQueue so that appending to entries also update the queue length.
The extra non-queue features of this class are probably unnecessary, and are not proper naming (some functions should be getters).
Keeping unchanged for backwards compatibility, but it should probably either be removed or be suitably updated for 2.0.
BUG= http://dartbug.com/22802
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//1001863002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44451 260f80e4-7a28-3924-810f-c04153c831b5
|
2015-03-13 09:40:57 +00:00 |
|
lrn@google.com
|
42dac4c7b4
|
Add some ArgumentError and RangeError constructors that capture more information.
Switch some uses of RangeError.range to RangeError.index.
Fix bug in Queue where elementAt allowed `length` as input.
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//711003002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41653 260f80e4-7a28-3924-810f-c04153c831b5
|
2014-11-11 07:55:47 +00:00 |
|
lrn@google.com
|
c18aab0e84
|
Fix bug in DoubleLinkedQueue where removing from empty queue throws.
BUG= http://dartbug.com/16270
R=ajohnsen@google.com
Review URL: https://codereview.chromium.org//138953015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32060 260f80e4-7a28-3924-810f-c04153c831b5
|
2014-01-28 09:37:02 +00:00 |
|
floitsch@google.com
|
5d058bb0eb
|
Adding isNotEmpty property to collection and string.
BUG= http://dartbug.com/3074
R=floitsch@google.com
Review URL: https://codereview.chromium.org//15263004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23294 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-05-28 17:30:37 +00:00 |
|
lrn@google.com
|
554a845e4f
|
Make List.remove return boolean.
Remove Queue implementations' remove methods, which are not in the
interface.
Added more tests for list operations.
Fixed bugs and omissions found by tests.
http://dartbug.com/10042
http://dartbug.com/10112
Review URL: https://codereview.chromium.org//14425003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21867 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-04-23 11:13:17 +00:00 |
|
ajohnsen@google.com
|
044f0d02eb
|
Remove Collection, Collections and clean up List/Set/Queue implementations of retain/remove.
BUG=
Review URL: https://codereview.chromium.org//14173003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21338 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-04-12 09:34:52 +00:00 |
|
floitsch@google.com
|
8fd6d0aafd
|
Remove Expect from core library.
Committed: https://code.google.com/p/dart/source/detail?r=19755
Reverted: http://code.google.com/p/dart/source/detail?r=19756
Review URL: https://codereview.chromium.org//12212016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20996 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-04-05 19:43:16 +00:00 |
|
floitsch@google.com
|
65718c56df
|
Rename XMatching to XWhere.
For example firstMatching -> firstWhere.
BUG= http://dartbug.com/8664
BUG= http://dartbug.com/8337
Review URL: https://codereview.chromium.org//12537009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19880 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-03-12 17:34:49 +00:00 |
|
lrn@google.com
|
03b0de60a7
|
Fix bug in queue_test.
Review URL: https://codereview.chromium.org//12787003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19861 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-03-12 13:37:07 +00:00 |
|
lrn@google.com
|
8e09592d71
|
Cleanups in collection.
Make SplayTreeMap throw on null key. Optimize first/last.
Make DoubleLinkedQueue have fast length.
Review URL: https://codereview.chromium.org//12611014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19853 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-03-12 12:00:59 +00:00 |
|
floitsch@google.com
|
5dc8107c53
|
Revert "Remove Expect from core library."
This reverts commit 19755.
Review URL: https://codereview.chromium.org//12743005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19756 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-03-09 03:19:07 +00:00 |
|
floitsch@google.com
|
12dbd2fd70
|
Remove Expect from core library.
Review URL: https://codereview.chromium.org//12212016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19755 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-03-09 02:40:37 +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 |
|
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 |
|
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
|
1febeb689a
|
Move some core classes to collection library.
Review URL: https://codereview.chromium.org//11867024
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17352 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-01-21 13:34:02 +00:00 |
|
floitsch@google.com
|
4a7dfd2da3
|
Big merge from experimental to bleeding edge.
Review URL: https://codereview.chromium.org//11783009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16687 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-01-07 11:23:16 +00:00 |
|
ajohnsen@google.com
|
970cc5ba68
|
Move JSSyntaxRegExp to core as a private member. This removes the last refrences to dart:coreimpl.
After this cleanup, RegExp no longer have a const constructor. Use 'new
RegExp(...)' from now on.
BUG=
Review URL: https://codereview.chromium.org//11365196
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14838 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-11-13 10:41:37 +00:00 |
|
gram@google.com
|
cdb7da543b
|
Library syntax updates. Covers all remaining files in ~/tests aprt from ~/tests/language and ~/tests/standalone.
Review URL: https://codereview.chromium.org//11358203
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14815 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-11-12 22:45:18 +00:00 |
|
floitsch@google.com
|
8e6f238f86
|
a === b -> identical(a, b)
Replace === null with == null.
BUG=http://dartbug.com/6380
Review URL: https://codereview.chromium.org//11361190
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14794 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-11-12 17:19:58 +00:00 |
|
lrn@google.com
|
b8b5632148
|
Convert NoMoreElementsException and EmptyQueueException to StateError.
Review URL: https://codereview.chromium.org//11269045
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14122 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-10-26 08:28:33 +00:00 |
|
floitsch@google.com
|
3300f91153
|
Make first and last getters.
Review URL: https://codereview.chromium.org//11273041
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14082 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-10-25 15:19:31 +00:00 |
|
kasperl@google.com
|
8bd4bf096b
|
Update almost all tests (except co19) to use the new try-catch syntax.
R=ngeoffray@google.com
BUG=
Review URL: https://chromiumcodereview.appspot.com//10891020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11492 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-08-29 08:11:41 +00:00 |
|
sigmund@google.com
|
d9eae90196
|
test rename overhaul: step 7 - corelib tests
Review URL: https://chromiumcodereview.appspot.com//10244009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7096 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-04-27 18:06:37 +00:00 |
|