- May 14, 2015
-
-
lrn@google.com authored
Makes subscriptions the active part of a stream, with the stream itself being just an inert creator of subscriptions. This changes the behavior of a "single subscription" stream to match the documentation: After the subscription is canceled, you can't resubscribe to the stream. Previously, you could do that, but it was never documented or intended. This also makes the stream of a StreamController not be paused while before it's subscribed - it is always the subscription that is paused or not, and while there is no subscription, the stream cannot be paused. Previously the stream was set to paused until the first subscription in order to prevent events from being lost. That is handled independently of pauses now. Adds StreamController.multiplex constructor. This name is tentative, and likely to change. Its behavior may change as well. It currently provides a new single-subscription stream each time its "stream" getter is read, and you can subscribe to these. Adds StreamIterator class that allows iterating over a stream's data events using (async) "moveNext()" and "current", like a direct style Iterator (sorry, it won't work in a for-in loop). Review URL: https://codereview.chromium.org//16131003 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@23237 260f80e4-7a28-3924-810f-c04153c831b5
-
lrn@google.com authored
Reverts r23218, r23217, r23208, r23207, r23206, r23205, r23204. r23218 | Path observer is listened more than once, so make it multiplex. r23217 | Add StreamController.multiplex constructor. r23208 | Fix bug in streamimpl r23207 | Fix bug in stream iterator. r23206 | Change expectations for http_parser_test. r23205 | Fix bug in stream-impl. r23204 | Make StreamSubscription be the active part of a string. Review URL: https://codereview.chromium.org//15989006 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@23221 260f80e4-7a28-3924-810f-c04153c831b5
-
lrn@google.com authored
It is the one keeping the buffer of events, not the stream. R=ajohnsen@google.com, floitsch@google.com, jmesserly@google.com Review URL: https://codereview.chromium.org//14753009 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@23204 260f80e4-7a28-3924-810f-c04153c831b5
-
nweiz@google.com authored
R=rnystrom@google.com Review URL: https://codereview.chromium.org//16023007 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@23186 260f80e4-7a28-3924-810f-c04153c831b5
-
rnystrom@google.com authored
R=nweiz@google.com Review URL: https://codereview.chromium.org//16039002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@23184 260f80e4-7a28-3924-810f-c04153c831b5
-
rnystrom@google.com authored
Review URL: https://codereview.chromium.org//16034002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@23182 260f80e4-7a28-3924-810f-c04153c831b5
-
rnystrom@google.com authored
R=nweiz@google.com Review URL: https://codereview.chromium.org//15701006 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@23160 260f80e4-7a28-3924-810f-c04153c831b5
-
ajohnsen@google.com authored
BUG= Review URL: https://codereview.chromium.org//15796003 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@23149 260f80e4-7a28-3924-810f-c04153c831b5
-
ajohnsen@google.com authored
This also removed Process.runShell and adds a new flag: runInShell. BUG= R=kustermann@google.com, nweiz@google.com, sgjesse@google.com Review URL: https://codereview.chromium.org//15883003 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@23131 260f80e4-7a28-3924-810f-c04153c831b5
-
nweiz@google.com authored
R=rnystrom@google.com Review URL: https://codereview.chromium.org//15954002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@23116 260f80e4-7a28-3924-810f-c04153c831b5
-
rnystrom@google.com authored
BUG=https://code.google.com/p/dart/issues/detail?id=5104 R=nweiz@google.com Review URL: https://codereview.chromium.org//15777002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@23114 260f80e4-7a28-3924-810f-c04153c831b5
-
rnystrom@google.com authored
R=nweiz@google.com Review URL: https://codereview.chromium.org//15741021 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@23105 260f80e4-7a28-3924-810f-c04153c831b5
-
rnystrom@google.com authored
BUG=https://code.google.com/p/dart/issues/detail?id=10665 R=nweiz@google.com Review URL: https://codereview.chromium.org//15889005 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@23100 260f80e4-7a28-3924-810f-c04153c831b5
-
rnystrom@google.com authored
R=nweiz@google.com Review URL: https://codereview.chromium.org//15902002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@23098 260f80e4-7a28-3924-810f-c04153c831b5
-
rnystrom@google.com authored
R=nweiz@google.com Review URL: https://codereview.chromium.org//15844004 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@23097 260f80e4-7a28-3924-810f-c04153c831b5
-
rnystrom@google.com authored
Cleans up pub a bit and in particular lets you do: $ pub install --verbose R=nweiz@google.com Review URL: https://codereview.chromium.org//15444003 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@23035 260f80e4-7a28-3924-810f-c04153c831b5
-
rnystrom@google.com authored
BUG=https://code.google.com/p/dart/issues/detail?id=10190 R=nweiz@google.com Review URL: https://codereview.chromium.org//15347004 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@22913 260f80e4-7a28-3924-810f-c04153c831b5
-
nweiz@google.com authored
R=rnystrom@google.com Review URL: https://codereview.chromium.org//14843025 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@22825 260f80e4-7a28-3924-810f-c04153c831b5
-
nweiz@google.com authored
BUG=7391 R=rnystrom@google.com Review URL: https://codereview.chromium.org//15213002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@22807 260f80e4-7a28-3924-810f-c04153c831b5
-
nweiz@google.com authored
This also removes some unnecessary debugging logs from r22713. TBR Review URL: https://codereview.chromium.org//15184003 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@22720 260f80e4-7a28-3924-810f-c04153c831b5
-
nweiz@google.com authored
This logging should help clear up the pub test timeouts we've been seeing. Some of it should be removed once we don't need it anymore. TBR Review URL: https://codereview.chromium.org//15174005 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@22713 260f80e4-7a28-3924-810f-c04153c831b5
-
nweiz@google.com authored
This involves creating a subclass of ScheduledProcess that takes the verbose output and transforms it back into normal, non-verbose output. R=blois@google.com Review URL: https://codereview.chromium.org//14593010 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@22708 260f80e4-7a28-3924-810f-c04153c831b5
-
nweiz@google.com authored
BUG=6006 R=amouravski@google.com Review URL: https://codereview.chromium.org//14914007 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@22656 260f80e4-7a28-3924-810f-c04153c831b5
-
nweiz@google.com authored
R=amouravski@google.com Review URL: https://codereview.chromium.org//15019016 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@22577 260f80e4-7a28-3924-810f-c04153c831b5
-
nweiz@google.com authored
R=dgrove@google.com Review URL: https://codereview.chromium.org//15063002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@22530 260f80e4-7a28-3924-810f-c04153c831b5
-
rnystrom@google.com authored
If you pass "--offline" to either, it will treat your system cache as if it were the package server. Running update in offline also prints a warning that you may have selected an older version of a package. BUG=https://code.google.com/p/dart/issues/detail?id=8262 R=nweiz@google.com Review URL: https://codereview.chromium.org//14680005 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@22487 260f80e4-7a28-3924-810f-c04153c831b5
-
nweiz@google.com authored
BUG=7075 R=rnystrom@google.com Review URL: https://codereview.chromium.org//15047005 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@22484 260f80e4-7a28-3924-810f-c04153c831b5
-
nweiz@google.com authored
This allows listDir to work properly with recursive symlinks on Windows. BUG=7505 R=rnystrom@google.com Review URL: https://codereview.chromium.org//14924006 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@22477 260f80e4-7a28-3924-810f-c04153c831b5
-
rnystrom@google.com authored
This is a user-facing error, so there shouldn't be a stack dump. BUG=https://code.google.com/p/dart/issues/detail?id=10123 R=nweiz@google.com Review URL: https://codereview.chromium.org//14662003 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@22448 260f80e4-7a28-3924-810f-c04153c831b5
-
rnystrom@google.com authored
BUG=https://code.google.com/p/dart/issues/detail?id=9275 R=nweiz@google.com Review URL: https://codereview.chromium.org//14762003 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@22447 260f80e4-7a28-3924-810f-c04153c831b5
-
floitsch@google.com authored
Review URL: https://codereview.chromium.org//14993002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@22425 260f80e4-7a28-3924-810f-c04153c831b5
-
sgjesse@google.com authored
on HeaderValue and ContentType. R=ajohnsen@google.com BUG= Review URL: https://codereview.chromium.org//14914002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@22406 260f80e4-7a28-3924-810f-c04153c831b5
-
sgjesse@google.com authored
R=ager@google.com, rnystrom@google.com BUG=https://code.google.com/p/dart/issues/detail?id=9503 Review URL: https://codereview.chromium.org//14589012 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@22327 260f80e4-7a28-3924-810f-c04153c831b5
-
rnystrom@google.com authored
Reverts r22295. Review URL: https://codereview.chromium.org//14808004 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@22297 260f80e4-7a28-3924-810f-c04153c831b5
-
rnystrom@google.com authored
BUG=https://code.google.com/p/dart/issues/detail?id=7505 R=amouravski@google.com Review URL: https://codereview.chromium.org//14586004 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@22295 260f80e4-7a28-3924-810f-c04153c831b5
-
rnystrom@google.com authored
BUG=https://code.google.com/p/dart/issues/detail?id=10348 R=amouravski@google.com Review URL: https://codereview.chromium.org//14682017 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@22289 260f80e4-7a28-3924-810f-c04153c831b5
-
ajohnsen@google.com authored
BUG= Review URL: https://codereview.chromium.org//14701007 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@22251 260f80e4-7a28-3924-810f-c04153c831b5
-
sgjesse@google.com authored
R=ajohnsen@google.com BUG= Review URL: https://codereview.chromium.org//14645013 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@22234 260f80e4-7a28-3924-810f-c04153c831b5
-
ricow@google.com authored
This is failing on normal windows, but passing on russian locale. Upped issue 10348 to high priority R=kustermann@google.com Review URL: https://codereview.chromium.org//14757002 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@22224 260f80e4-7a28-3924-810f-c04153c831b5
-
ricow@google.com authored
Filed issue 10348 R=ajohnsen@google.com Review URL: https://codereview.chromium.org//14752003 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@22222 260f80e4-7a28-3924-810f-c04153c831b5
-