Commit Graph

20 Commits

Author SHA1 Message Date
benl@google.com c0a59669cf Do away with the PromiseQueue.
Instead of queuing messages with promises in them until the promises
are ready, send immediately. This is done by sending a port down which
the receiver sends a port which can be used to signal completion of
the outgoing promise.
Review URL: https://chromereviews.googleplex.com/3573013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@427 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-14 11:18:12 +00:00
ngeoffray@google.com b69b4200c8 Implement removeRange, and update some documentation on the list interface.
Review URL: http://codereview.chromium.org//8273004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@400 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-13 15:54:48 +00:00
ngeoffray@google.com 66e4a503ab Fix typo.
BUG=dart:89
Review URL: http://codereview.chromium.org//8277001

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@398 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-13 14:49:58 +00:00
ngeoffray@google.com edcae54a2c Implement setRange on DartC and the VM.
Review URL: https://chromereviews.googleplex.com/3574018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@394 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-13 12:58:49 +00:00
floitsch@google.com e143f6c81f Improve doc for isolates.
Also make Isolate.main abstract.

Review URL: https://chromereviews.googleplex.com/3567015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@230 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 15:46:33 +00:00
antonm@google.com 3d26b7d9f0 Introduce Maps.
This class helps to implement Map interface provided you have basic operations
like [], []=, remove and getKeys.

Review URL: https://chromereviews.googleplex.com/3549015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@216 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 13:36:51 +00:00
ngeoffray@google.com 7f7ee4a02b Address feedback and add more comments to the new range methods.
Review URL: https://chromereviews.googleplex.com/3568013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@214 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 13:12:55 +00:00
ngeoffray@google.com 8b8b4844fa Add default arguments for regexp flags.
Review URL: https://chromereviews.googleplex.com/3558016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@213 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 12:47:56 +00:00
floitsch@google.com 312a19af39 Add INFINITY, NAN and NEGATIVE_INFINITY to double.
Review URL: https://chromereviews.googleplex.com/3572013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@212 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 11:49:02 +00:00
kasperl@google.com 1a3e9c39b1 Make replyTo argument optional in SendPort.send.
R=benl@google.com
BUG=
TEST=

Review URL: https://chromereviews.googleplex.com/3561014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@207 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 10:44:50 +00:00
ngeoffray@google.com c2b5e488da Remove substringToEnd.
Review URL: https://chromereviews.googleplex.com/3561013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@201 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 08:41:38 +00:00
ngeoffray@google.com cb3a9f6641 Add range methods to List. Throw not implemented for now.
Review URL: https://chromereviews.googleplex.com/3573012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@198 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 07:56:42 +00:00
floitsch@google.com 63dd99d5e6 Remove TimeZone comment.
R=ngeoffray@google.com
BUG=
TEST=

Review URL: https://chromereviews.googleplex.com/3547014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@129 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 15:19:02 +00:00
floitsch@google.com 410583d73d Get rid of duration in TimeZone class.
Review URL: https://chromereviews.googleplex.com/3538012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@124 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 14:35:56 +00:00
floitsch@google.com 885419a1bb Add missing files from last commit (121).
TBR=ngeoffray.
R=ngeoffray@google.com
BUG=
TEST=

Review URL: https://chromereviews.googleplex.com/3534016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@122 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 14:26:48 +00:00
floitsch@google.com 382580f9a7 Rename Time to Duration and adapt methods.
Review URL: https://chromereviews.googleplex.com/3536013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@121 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 14:21:57 +00:00
benl@google.com 7ddf68b7b3 Review URL: https://chromereviews.googleplex.com/3507025
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@112 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 11:19:01 +00:00
floitsch@google.com 15727ed074 Rename DateTime to Date.
Review URL: https://chromereviews.googleplex.com/3529013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@107 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 10:14:49 +00:00
floitsch@google.com 98d704a3cb Remove Date class and remove .time from DateTime.
Review URL: https://chromereviews.googleplex.com/3508024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@103 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 09:20:30 +00:00
dgrove@google.com 031784b703 Initial checkin.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 05:03:55 +00:00