Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(353)

Issue 16125005: Make new StreamController be async by default. (Closed)

Created:
7 years, 6 months ago by Lasse Reichstein Nielsen
Modified:
7 years, 6 months ago
Reviewers:
floitsch, blois
CC:
reviews_dartlang.org, Søren Gjesse, Anders Johnsen, blois
Visibility:
Public.

Description

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 Committed: https://code.google.com/p/dart/source/detail?r=23453

Patch Set 1 #

Total comments: 45

Patch Set 2 : Address review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+955 lines, -589 lines) Patch
M pkg/expect/lib/expect.dart View 1 1 chunk +77 lines, -0 lines 0 comments Download
M pkg/http/lib/src/multipart_request.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/http/lib/src/streamed_request.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/http/lib/src/utils.dart View 2 chunks +3 lines, -3 lines 0 comments Download
M pkg/http/test/mock_client_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/http/test/multipart_test.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M pkg/http/test/response_test.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M pkg/logging/lib/logging.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/scheduled_test/lib/src/mock_clock.dart View 3 chunks +5 lines, -5 lines 0 comments Download
M pkg/scheduled_test/lib/src/utils.dart View 3 chunks +4 lines, -4 lines 0 comments Download
M runtime/bin/socket_patch.dart View 3 chunks +3 lines, -3 lines 0 comments Download
M samples/swarm/swarm_ui_lib/touch/Scroller.dart View 5 chunks +5 lines, -5 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/dart2js.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/_internal/pub/lib/src/error_group.dart View 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/_internal/pub/lib/src/io.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M sdk/lib/_internal/pub/lib/src/utils.dart View 3 chunks +4 lines, -4 lines 0 comments Download
M sdk/lib/_internal/pub/test/error_group_test.dart View 1 6 chunks +9 lines, -7 lines 0 comments Download
M sdk/lib/async/stream.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M sdk/lib/async/stream_controller.dart View 1 23 chunks +192 lines, -72 lines 0 comments Download
M sdk/lib/async/stream_impl.dart View 3 chunks +7 lines, -7 lines 0 comments Download
M sdk/lib/html/dart2js/html_dart2js.dart View 1 6 chunks +7 lines, -6 lines 0 comments Download
M sdk/lib/html/dartium/html_dartium.dart View 6 chunks +7 lines, -6 lines 0 comments Download
M sdk/lib/indexed_db/dart2js/indexed_db_dart2js.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/indexed_db/dartium/indexed_db_dartium.dart View 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/io/directory_impl.dart View 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/io/file_impl.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M sdk/lib/io/http_impl.dart View 1 2 chunks +3 lines, -2 lines 0 comments Download
M sdk/lib/io/http_parser.dart View 1 3 chunks +21 lines, -18 lines 0 comments Download
M sdk/lib/io/io_sink.dart View 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/io/mime_multipart_parser.dart View 1 2 chunks +2 lines, -0 lines 0 comments Download
M sdk/lib/io/secure_server_socket.dart View 1 1 chunk +1 line, -0 lines 0 comments Download
M sdk/lib/io/secure_socket.dart View 1 1 chunk +1 line, -0 lines 0 comments Download
M sdk/lib/io/string_transformer.dart View 3 chunks +3 lines, -3 lines 0 comments Download
M sdk/lib/io/websocket_impl.dart View 1 5 chunks +6 lines, -5 lines 0 comments Download
M sdk/lib/isolate/isolate_stream.dart View 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/mdv_observe_impl/mdv_observe_impl.dart View 3 chunks +8 lines, -8 lines 0 comments Download
M sdk/lib/web_audio/dart2js/web_audio_dart2js.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M sdk/lib/web_audio/dartium/web_audio_dartium.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M tests/lib/async/slow_consumer2_test.dart View 1 1 chunk +1 line, -0 lines 0 comments Download
M tests/lib/async/slow_consumer_test.dart View 1 1 chunk +1 line, -0 lines 0 comments Download
M tests/lib/async/stream_controller_async_test.dart View 1 3 chunks +143 lines, -148 lines 0 comments Download
M tests/lib/async/stream_controller_test.dart View 26 chunks +35 lines, -35 lines 0 comments Download
M tests/lib/async/stream_event_transform_test.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M tests/lib/async/stream_single_test.dart View 3 chunks +5 lines, -5 lines 0 comments Download
M tests/lib/async/stream_single_to_multi_subscriber_test.dart View 3 chunks +3 lines, -3 lines 0 comments Download
M tests/lib/async/stream_state_helper.dart View 1 9 chunks +214 lines, -80 lines 0 comments Download
M tests/lib/async/stream_state_nonzero_timer_test.dart View 6 chunks +16 lines, -16 lines 0 comments Download
M tests/lib/async/stream_state_test.dart View 1 4 chunks +42 lines, -33 lines 0 comments Download
M tests/lib/async/stream_subscription_as_future_test.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M tests/lib/async/stream_transform_test.dart View 4 chunks +4 lines, -4 lines 0 comments Download
M tests/standalone/io/http_parser_test.dart View 4 chunks +4 lines, -4 lines 0 comments Download
M tests/standalone/io/http_server_response_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/standalone/io/io_sink_test.dart View 3 chunks +3 lines, -3 lines 0 comments Download
M tests/standalone/io/mime_multipart_parser_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/standalone/io/regress_10026_test.dart View 4 chunks +57 lines, -42 lines 0 comments Download
M tests/standalone/io/stdout_stderr_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M tests/standalone/io/string_decoder_test.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M tests/standalone/io/string_transformer_test.dart View 7 chunks +7 lines, -7 lines 0 comments Download
M tests/standalone/io/web_socket_protocol_processor_test.dart View 3 chunks +3 lines, -3 lines 0 comments Download
M tests/standalone/io/zlib_test.dart View 4 chunks +4 lines, -4 lines 0 comments Download
M tools/dom/src/KeyboardEventStream.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M tools/dom/src/PathObserver.dart View 1 chunk +2 lines, -1 line 0 comments Download
M tools/dom/templates/html/impl/impl_Geolocation.darttemplate View 1 chunk +1 line, -1 line 0 comments Download
M tools/dom/templates/html/impl/impl_HTMLTemplateElement.darttemplate View 1 chunk +1 line, -1 line 0 comments Download
M tools/dom/templates/html/impl/impl_IDBObjectStore.darttemplate View 1 chunk +1 line, -1 line 0 comments Download
M tools/dom/templates/html/impl/impl_ScriptProcessorNode.darttemplate View 1 chunk +2 lines, -2 lines 0 comments Download
M tools/dom/templates/html/impl/impl_Window.darttemplate View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
Lasse Reichstein Nielsen
7 years, 6 months ago (2013-05-30 11:20:17 UTC) #1
floitsch
LGTM. Add io and html reviewers (at least as CC). https://codereview.chromium.org/16125005/diff/1/pkg/expect/lib/expect.dart File pkg/expect/lib/expect.dart (right): https://codereview.chromium.org/16125005/diff/1/pkg/expect/lib/expect.dart#newcode19 ...
7 years, 6 months ago (2013-05-30 12:13:47 UTC) #2
Lasse Reichstein Nielsen
Added IO/HTML as CC. The change should not change the current behavior, but they might ...
7 years, 6 months ago (2013-05-31 05:51:59 UTC) #3
Lasse Reichstein Nielsen
Committed patchset #2 manually as r23453 (presubmit successful).
7 years, 6 months ago (2013-05-31 06:08:39 UTC) #4
blois
7 years, 6 months ago (2013-05-31 16:24:16 UTC) #5
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698