Commit Graph

23 Commits

Author SHA1 Message Date
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 1b65d1175b Remove import of collection-dev.
Review URL: https://codereview.chromium.org//12096042

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17802 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-29 19:29:54 +00:00
alanknight@google.com d455506421 Serialization shouldn't modify the keys of a map it's iterating over
Review URL: https://codereview.chromium.org//12091026

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17727 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-28 18:55:35 +00:00
alanknight@google.com 205d67aa3f Add a MapRule
Review URL: https://codereview.chromium.org//11931030

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17724 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-28 17:57:11 +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 16795f22d1 Add List.reversed to give a reverse fixed-length view of a list.
Review URL: https://codereview.chromium.org//11896013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17402 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 14:56:45 +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
lrn@google.com 0e934a631e Add methods to Collection.
Methods are:
- void add(E)
- void addAll(Iterable<E>)
- void remove(Object)
- void removeAll(Iterable)
- void retainAll(Iterable)
- void removeMatching(bool test(E))
- void retainMatching(bool test(E))

They have been implemented for List and Set only.

Default implementations of removeX methods in Collections assume an efficient
remove method, which Lists won't have.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17257 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-18 10:13:51 +00:00
alanknight@google.com ddd106b523 [ak] Fixed
Review URL: https://codereview.chromium.org//11889039

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17152 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 18:21:34 +00:00
dgrove@google.com 8ff8590cd3 Add homepage to pubspec.yaml .
Review URL: https://codereview.chromium.org//11534021

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17029 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-14 20:27:15 +00:00
alanknight@google.com b3b4c02a96 Make output formats pluggable, adapt to new libraries
Review URL: https://codereview.chromium.org//11820032

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16989 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-11 22:17:14 +00:00
alanknight@google.com e638606f81 Fix bug 7763, use of reserved word as identifier in serialization tests
Review URL: https://codereview.chromium.org//11791053

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16823 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-08 22:44:56 +00:00
ajohnsen@google.com 32eeecd930 Fix tests for VM in checked mode.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16689 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 11:59:49 +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
rnystrom@google.com e481bdca9a Convert pkg/serialization imports to "package:".
Review URL: https://codereview.chromium.org//11734012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16613 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-03 21:37:14 +00:00
alanknight@google.com 7602684d20 Fix documentation bugs 7517 and 7518 in serialization.
Review URL: https://codereview.chromium.org//11624031

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16581 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-02 18:01:20 +00:00
alanknight@google.com db782503f0 Rename specialTreatmentFor, improve handling of constants as constructor parameters.
Review URL: https://codereview.chromium.org//11644030

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16448 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-21 18:27:57 +00:00
alanknight@google.com 87601ebd4a Duplicate of https://chromiumcodereview.appspot.com/11567018/
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16229 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-17 21:14:30 +00:00
alanknight@google.com b909ef7dd9 Replicating CL https://chromiumcodereview.appspot.com/11553012/
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16182 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-14 22:14:53 +00:00
alanknight@google.com 5df2b86dff Initial version of a serialization framework
Review URL: https://codereview.chromium.org//11293283

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15796 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-06 18:13:36 +00:00