Commit Graph

20 Commits

Author SHA1 Message Date
lrn@google.com c63d5e01c0 Adding license files to packages.
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31264 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-19 12:36:15 +00:00
lrn@google.com 8d63f101f0 Remove suprplus quoting from pubspec author fields.
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31261 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-19 12:12:44 +00:00
lrn@google.com 047b32681d Create associated packages for the dart:collection and dart:async libs.
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31260 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-19 11:57:56 +00:00
jmesserly@google.com d422655b90 update pubspec for collection_helpers
This is the pubspec in the version I just published as 0.9.1 because it appeared 0.9.1 had not been used yet as a version constraint:
http://pub.dartlang.org/packages/collection_helpers

needed to publish it because logging depends on >=0.9.1

R=lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31077 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-11 19:54:21 +00:00
lrn@google.com 71f2015ed0 Growable typed data buffers.
Like growable lists, but with typed data.

Added to package:collection_helpers.

R=floitsch@google.com

Committed: https://code.google.com/p/dart/source/detail?r=30396
Reverted: r30412

Committed: https://code.google.com/p/dart/source/detail?r=30514

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30569 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-22 10:31:53 +00:00
lrn@google.com 2b85fb5b37 Revert "Growable typed data buffers."
Still some spurious browser failures. Will try again tomorrow.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30521 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-21 14:28:31 +00:00
lrn@google.com 8ad765ec38 Growable typed data buffers.
Like growable lists, but with typed data.

Added to package:collection_helpers.

R=floitsch@google.com

Committed: https://code.google.com/p/dart/source/detail?r=30396
Reverted: r30412

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30514 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-21 12:29:52 +00:00
lrn@google.com 893e21ec42 Add queue.removeWhere/retainWhere to wrappers.dart as well.
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30454 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-20 10:27:47 +00:00
lrn@google.com cabf7e33c0 Revert "Growable typed data buffers."
Some browsers fail on the clamped buffers.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30412 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-19 13:23:13 +00:00
lrn@google.com d444060c32 Add explicit cast to avoid bug in analyzer.
Review URL: https://codereview.chromium.org//76233003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30405 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-19 12:22:48 +00:00
lrn@google.com 33ec174278 Combine unmodifiable_collection package into collection_helpers.
Avoids some duplicated code, and makes everything much simpler.

R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30402 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-19 12:11:24 +00:00
lrn@google.com 8d3c15767b Growable typed data buffers.
Like growable lists, but with typed data.

Added to package:collection_helpers.

R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30396 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-19 11:32:35 +00:00
lrn@google.com cbe8145c38 Add README.md for package:collections_helpers.
BUG= http://dartbug.com/14681
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30145 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-11 09:47:44 +00:00
dgrove@google.com 18ca7d0036 Re-land r29957 (add versions and constraints for packages and samples), with
SDK constraints bumped from 1.0.0 to 0.8.10+6 .

R=ricow@google.com, sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29986 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-06 18:28:22 +00:00
ajohnsen@google.com 61f6c51990 Revert "add versions and constraints for packages and samples"
This is currently blocking us from testing samples.

BUG=
R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29960 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-06 09:09:18 +00:00
jmesserly@google.com 02638c5760 add versions and constraints for packages and samples
- all packages at 0.9.0, except "analyzer" which had a version already
- dependencies at ">=0.9.0 <0.10.0" except analyzer is ">=0.10.0 <0.11.0"
- sdk constraint ">=1.0.0 <2.0.0"

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29957 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-06 03:27:58 +00:00
lrn@google.com 9f5cfcee75 Fix type variables for pkg/collection_helpers unordered equality.
Review URL: https://codereview.chromium.org//54183010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29727 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-01 08:28:17 +00:00
lrn@google.com 9946223745 Fix unordered equality to not trigger dart2js typing restriction.
BUG= http://dartbug.com/14654
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29726 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-01 08:09:52 +00:00
lrn@google.com e5ea43d21b Fix equality type problem.
The default equality can't be an Equality<Object> and be assigned to
Equality<T> for any other type T. It must be Equality<dynamic> instead.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29082 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 14:03:42 +00:00
lrn@google.com 3f2810a8ac Add collection-helpers library.
Library contains:
- Delegating wrappers for Iterable, List, Set, Queue, Map.
- Equality abstraction, with ordered and unordered equality of
  collections, and a deep equality.
- Algorithms on collections (List only so far) with
  - shuffle
  - binary search
  - insertion-sort
  - merge-sort
Planning to add Tim-sort eventually.

R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29072 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 11:42:52 +00:00