ager@google.com
|
b2b123d24b
|
Update Timer API to take the callback as the last parameter.
This makes the code easier to read when the callback actually does
work:
new Timer(1000, (t) {
// do
// lots
// of
// stuff
});
Also, it is more consistent with the rest of the APIs.
R=sgjesse@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9597015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4945 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-03-05 12:43:41 +00:00 |
|
ager@google.com
|
103804d7f2
|
Make FileInputStream and FileOutputStream actually asynchronous.
Use the async API of the underlying file.
This also means that openInputStream and openOutputStream can
directly return the stream without performing IO. I'll do that
change as a follow-up.
R=sgjesse@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9474004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4662 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-02-28 08:38:25 +00:00 |
|
ager@google.com
|
4605b5ea33
|
Minor changes to the dart:io library files.
- Split some of the streams into an interface and an implementation file.
- Add documentation comments where missing.
R=sgjesse@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9289042
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3616 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-01-26 10:03:19 +00:00 |
|
ager@google.com
|
c46939aa66
|
Comment and white-space cleanup in IO libraries.
- use dart doc comment for interface comments.
- use '//' style comments for non-doc comments.
- remove some whitespace.
R=whesse@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9285017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3554 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-01-24 15:39:58 +00:00 |
|
ager@google.com
|
1aaa58f803
|
Make the repeating argument to timers optional.
R=sgjesse@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//8992007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2577 260f80e4-7a28-3924-810f-c04153c831b5
|
2011-12-19 12:34:12 +00:00 |
|
iposva@google.com
|
1329070b37
|
Fix bug 846:
- Only execute timers which were pending prior to the wakeup to
avoid busy looping.
- Prevent double notification for timers.
Review URL: http://codereview.chromium.org//8973005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2500 260f80e4-7a28-3924-810f-c04153c831b5
|
2011-12-16 01:25:47 +00:00 |
|
srdjan@google.com
|
8d69118676
|
More strict non-equal cleanups in library code
Review URL: http://codereview.chromium.org//8413018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@892 260f80e4-7a28-3924-810f-c04153c831b5
|
2011-10-28 15:21:42 +00:00 |
|
jrgfogh@google.com
|
999a62bd68
|
Fixed NullPointerException in Timer.
Review URL: http://codereview.chromium.org//8346030
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@547 260f80e4-7a28-3924-810f-c04153c831b5
|
2011-10-19 10:00:19 +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 |
|
dgrove@google.com
|
4c0f559d23
|
Initial checkin.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15 260f80e4-7a28-3924-810f-c04153c831b5
|
2011-10-05 05:20:07 +00:00 |
|