floitsch@google.com
|
35e9ae50d9
|
Fix warnings in library-tests.
R=lrn@google.com
Review URL: https://codereview.chromium.org//54723007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29756 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-11-01 17:01:11 +00:00 |
|
floitsch@google.com
|
dc9c5f42ed
|
Redo StreamTransformers so they work with Stack traces.
Since this involved a breaking change I cleaned up more of the
StreamTransformer API.
This CL also deprecates the getAttachedStackTrace method.
R=ajohnsen@google.com, lrn@google.com, nweiz@google.com, rnystrom@google.com
Review URL: https://codereview.chromium.org//25354003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28562 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-10-12 12:34:34 +00:00 |
|
lrn@google.com
|
76d4625ccd
|
Fixed bug in _ControllerStream.operator==.
Make _BroacastStream extends _ControllerStream to get same
equality behavior.
Add regression tests.
BUG= http://dartbug.com/11904
R=floitsch@google.com
Review URL: https://codereview.chromium.org//19775015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25205 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-07-19 11:58:08 +00:00 |
|
lrn@google.com
|
d02d106430
|
Make StreamController be a StreamSink, not just an EventSink.
Reverts r24590
Review URL: https://codereview.chromium.org//18080019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24791 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-07-08 08:27:27 +00:00 |
|
lrn@google.com
|
1315656027
|
Make asBroadcastStream take two callbacks.
These callbacks will be called when the broadcast stream no longer
has any listeners, or when it gets a listener after having none.
The callback is provided with a StreamSubscription-like object where
it can pause/resume/cancel the underlying subscription on the original
stream.
BUG=http://dartbug.com/11289
R=floitsch@google.com
Review URL: https://codereview.chromium.org//17490002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24776 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-07-04 13:02:02 +00:00 |
|
floitsch@google.com
|
df2bcb893f
|
Revert "Make StreamController be a StreamSink, not just an EventSink."
Revert "Remove type variable to work around dart2js bug."
This reverts commit r24587.
This reverts commit r24588.
Review URL: https://codereview.chromium.org//18080015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24590 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-06-28 15:07:09 +00:00 |
|
lrn@google.com
|
a15e02cc6a
|
Make StreamController be a StreamSink, not just an EventSink.
BUG=http://dartbug.com/10677
R=floitsch@google.com
Review URL: https://codereview.chromium.org//16240008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24587 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-06-28 12:56:29 +00:00 |
|
lrn@google.com
|
faa7227cec
|
Make new StreamController be async by default.
Change all instances, except some tests, to be sync still.
Rename Multiplex to Broadcast everywhere.
R=floitsch@google.com
Review URL: https://codereview.chromium.org//16125005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23453 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-05-31 06:07:39 +00:00 |
|
floitsch@google.com
|
80aad7930f
|
Fix skipWhile.
BUG= http://dartbug.com/9480
Review URL: https://codereview.chromium.org//14242008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21623 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-04-17 15:39:42 +00:00 |
|
floitsch@google.com
|
62d413ec91
|
Remove StreamController.broadcast.
Review URL: https://codereview.chromium.org//14136004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21499 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-04-15 19:08:17 +00:00 |
|
floitsch@google.com
|
5431a5af54
|
Remove AsyncError with Expando.
Review URL: https://codereview.chromium.org//14251006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21498 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-04-15 18:58:32 +00:00 |
|
floitsch@google.com
|
e2ee353940
|
Rename unsubscribeOnError to cancelOnError.
Review URL: https://codereview.chromium.org//14251013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21469 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-04-15 16:07:36 +00:00 |
|
ajohnsen@google.com
|
57161d6e59
|
Remove deprecated CollectionSink and Stream.pipeInto.
BUG=
Review URL: https://codereview.chromium.org//14051005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21261 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-04-11 09:31:50 +00:00 |
|
lrn@google.com
|
864b4472bc
|
Fix stream_controller_test failure.
Review URL: https://codereview.chromium.org//13814010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21145 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-04-09 10:54:07 +00:00 |
|
floitsch@google.com
|
8fd6d0aafd
|
Remove Expect from core library.
Committed: https://code.google.com/p/dart/source/detail?r=19755
Reverted: http://code.google.com/p/dart/source/detail?r=19756
Review URL: https://codereview.chromium.org//12212016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20996 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-04-05 19:43:16 +00:00 |
|
floitsch@google.com
|
5dc8107c53
|
Revert "Remove Expect from core library."
This reverts commit 19755.
Review URL: https://codereview.chromium.org//12743005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19756 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-03-09 03:19:07 +00:00 |
|
floitsch@google.com
|
12dbd2fd70
|
Remove Expect from core library.
Review URL: https://codereview.chromium.org//12212016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19755 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-03-09 02:40:37 +00:00 |
|
lrn@google.com
|
bead146749
|
Renamed StreamSink to EventSink. Renamed signalError to addError.
Review URL: https://codereview.chromium.org//12610006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19683 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-03-08 11:31:19 +00:00 |
|
lrn@google.com
|
cd4ae7e4af
|
Add test for whether a completer or stream controller has been closed.
BUG=http://dartbug.com/8638
Review URL: https://codereview.chromium.org//12324004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19211 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-02-28 11:36:54 +00:00 |
|
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 |
|
lrn@google.com
|
bdce730fb2
|
Remove transformEvents and make StreamEventTransformer extend StreamTransformer.
Make a StreamEventTransformer the default for the StreamTransformer
factory constructor, and remove the old implementation.
Review URL: https://codereview.chromium.org//12082047
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17761 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-01-29 14:04:26 +00:00 |
|
lrn@google.com
|
7fc981b3a6
|
Add public-facing method and class that allows intercepting stream events.
This allows intercepting events at the subscription level instead of creating
a new full stream and adding the events to that.
Also fix a number of typos and bugs detected by analyzer.
Review URL: https://codereview.chromium.org//11953103
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17746 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-01-29 08:43:15 +00:00 |
|
lrn@google.com
|
1f05296600
|
Change singleSubscription/multiSubscription to normal/broadcast.
Also make StreamController not a Stream.
Review URL: https://codereview.chromium.org//12049013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17563 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-01-24 13:30:27 +00:00 |
|
lrn@google.com
|
ef13a0822b
|
Make StreamController's unnamed constructor create a single-sub stream.
R=floitsch@google.com
Review URL: https://codereview.chromium.org//11887016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17049 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-01-15 09:09:47 +00:00 |
|
lrn@google.com
|
9e95844154
|
Make Streams also cosider a thrown AsyncError a rethrow.
Also change handleError to be based on throws for errors.
Review URL: https://codereview.chromium.org//11862008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16973 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-01-11 14:08:23 +00:00 |
|
lrn@google.com
|
aa7cbb2b41
|
Remove Signal class and use Future/.whenComplete instead.
Review URL: https://codereview.chromium.org//11794043
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16792 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-01-08 12:59:00 +00:00 |
|
vsm@google.com
|
52f5c2ff22
|
Test fixes for dartium
Review URL: https://codereview.chromium.org//11778030
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16769 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-01-07 23:47:37 +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 |
|