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

Issue 48483002: Remove deprecated parts of dart:async. (Closed)

Created:
7 years, 1 month ago by Lasse Reichstein Nielsen
Modified:
7 years, 1 month ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Remove deprecated parts of dart:async. Attempt to fix most uses of the deprecated features. R=floitsch@google.com, nweiz@google.com, rnystrom@google.com Committed: https://code.google.com/p/dart/source/detail?r=29628

Patch Set 1 #

Total comments: 7

Patch Set 2 : Merge to head #

Patch Set 3 : Removed uses of getAttachedStackTrace #

Patch Set 4 : Address comments. #

Patch Set 5 : Remove runAsync use. #

Total comments: 6

Patch Set 6 : Address Bob's comment. #

Total comments: 8

Patch Set 7 : Address comments. #

Total comments: 2

Patch Set 8 : Address comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+129 lines, -318 lines) Patch
M editor/tools/plugins/com.google.dart.tools.core_test/src-dart/pub_package_server.dart View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/barback/lib/src/asset_cascade.dart View 1 2 3 4 5 6 2 chunks +4 lines, -3 lines 0 comments Download
M pkg/barback/lib/src/build_result.dart View 1 2 3 4 5 6 7 1 chunk +4 lines, -2 lines 0 comments Download
M pkg/barback/lib/src/errors.dart View 1 2 3 4 5 3 chunks +8 lines, -6 lines 0 comments Download
M pkg/barback/lib/src/transform_node.dart View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/observe/lib/src/microtask.dart View 2 chunks +5 lines, -3 lines 0 comments Download
M pkg/pkg.status View 1 2 3 4 5 6 2 chunks +5 lines, -0 lines 0 comments Download
M pkg/polymer/lib/deploy.dart View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download
M pkg/polymer/lib/src/build/runner.dart View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M pkg/polymer/test/build/common.dart View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M pkg/scheduled_test/lib/src/schedule_error.dart View 1 chunk +2 lines, -3 lines 0 comments Download
M pkg/unittest/lib/src/core_matchers.dart View 1 chunk +1 line, -2 lines 0 comments Download
M pkg/unittest/lib/src/future_matchers.dart View 1 chunk +1 line, -2 lines 0 comments Download
M pkg/unittest/lib/src/test_case.dart View 1 chunk +2 lines, -6 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/compiler.dart View 1 2 chunks +2 lines, -2 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/dart2js.dart View 1 2 chunks +1 line, -2 lines 0 comments Download
M sdk/lib/_internal/dartdoc/bin/dartdoc.dart View 1 1 chunk +1 line, -2 lines 0 comments Download
M sdk/lib/_internal/pub/lib/src/barback/load_transformers.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/_internal/pub/lib/src/barback/server.dart View 1 2 3 4 5 6 3 chunks +4 lines, -4 lines 0 comments Download
M sdk/lib/_internal/pub/lib/src/command.dart View 1 1 chunk +1 line, -3 lines 0 comments Download
M sdk/lib/_internal/pub/lib/src/dart.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/_internal/pub/lib/src/log.dart View 1 chunk +2 lines, -1 line 0 comments Download
M sdk/lib/_internal/pub/lib/src/solver/backtracking_solver.dart View 1 chunk +2 lines, -3 lines 0 comments Download
M sdk/lib/async/async_error.dart View 3 chunks +2 lines, -31 lines 0 comments Download
M sdk/lib/async/broadcast_stream_controller.dart View 1 1 chunk +0 lines, -1 line 0 comments Download
M sdk/lib/async/future_impl.dart View 1 2 chunks +1 line, -6 lines 0 comments Download
M sdk/lib/async/schedule_microtask.dart View 1 1 chunk +0 lines, -8 lines 0 comments Download
M sdk/lib/async/stream.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/async/stream_controller.dart View 1 2 chunks +1 line, -6 lines 0 comments Download
M sdk/lib/async/stream_impl.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/async/stream_pipe.dart View 1 10 chunks +9 lines, -20 lines 0 comments Download
M sdk/lib/async/stream_transformers.dart View 1 3 chunks +3 lines, -3 lines 0 comments Download
M sdk/lib/async/zone.dart View 1 2 3 18 chunks +7 lines, -112 lines 0 comments Download
M tests/lib/async/intercept_schedule_microtask6_test.dart View 1 chunk +2 lines, -1 line 0 comments Download
M tests/lib/async/schedule_microtask_test.dart View 1 2 3 4 5 chunks +6 lines, -6 lines 0 comments Download
M tests/standalone/debugger/debug_lib.dart View 1 2 3 4 5 8 chunks +14 lines, -16 lines 0 comments Download
M tests/standalone/io/echo_server_stream_test.dart View 2 chunks +2 lines, -4 lines 0 comments Download
M tests/standalone/io/file_test.dart View 1 2 chunks +2 lines, -4 lines 0 comments Download
M tests/standalone/io/http_10_test.dart View 4 chunks +4 lines, -8 lines 0 comments Download
M tests/standalone/io/http_content_length_test.dart View 1 2 3 6 chunks +6 lines, -11 lines 0 comments Download
M tests/standalone/io/http_cookie_test.dart View 1 chunk +1 line, -2 lines 0 comments Download
M tests/standalone/io/http_server_test.dart View 1 chunk +1 line, -2 lines 0 comments Download
M tests/standalone/io/https_server_test.dart View 1 chunk +1 line, -2 lines 0 comments Download
M tests/standalone/io/raw_secure_socket_pause_test.dart View 1 chunk +1 line, -2 lines 0 comments Download
M tests/standalone/io/raw_secure_socket_test.dart View 1 chunk +1 line, -2 lines 0 comments Download
M tests/standalone/io/secure_socket_test.dart View 1 chunk +1 line, -2 lines 0 comments Download
M tests/standalone/io/socket_many_connections_test.dart View 1 chunk +1 line, -2 lines 0 comments Download
M tests/standalone/io/testing_server.dart View 1 chunk +1 line, -2 lines 0 comments Download
M tests/standalone/io/web_socket_protocol_processor_test.dart View 1 chunk +1 line, -2 lines 0 comments Download
M tools/coverage.dart View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download
M tools/testing/dart/utils.dart View 1 1 chunk +1 line, -3 lines 0 comments Download
M utils/apidoc/apidoc.dart View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
Lasse Reichstein Nielsen
Not all tests running, but almost (tools/test.py with no arguments has only one error, in ...
7 years, 1 month ago (2013-10-28 10:24:48 UTC) #1
kevmoo-old
https://codereview.chromium.org/48483002/diff/1/pkg/unittest/lib/src/test_case.dart File pkg/unittest/lib/src/test_case.dart (right): https://codereview.chromium.org/48483002/diff/1/pkg/unittest/lib/src/test_case.dart#newcode75 pkg/unittest/lib/src/test_case.dart:75: if (stack == null && e is Error) { ...
7 years, 1 month ago (2013-10-28 14:50:04 UTC) #2
Bob Nystrom
scheduled_test, unittest, and apidoc LGTM.
7 years, 1 month ago (2013-10-28 16:21:24 UTC) #3
floitsch
LGTM. just minor comments. https://codereview.chromium.org/48483002/diff/1/sdk/lib/async/zone.dart File sdk/lib/async/zone.dart (right): https://codereview.chromium.org/48483002/diff/1/sdk/lib/async/zone.dart#newcode871 sdk/lib/async/zone.dart:871: * }, zoneSpecification: new ZoneSpecification(handleUncaughtError: ...
7 years, 1 month ago (2013-10-28 22:55:29 UTC) #4
Lasse Reichstein Nielsen
https://codereview.chromium.org/48483002/diff/1/sdk/lib/async/zone.dart File sdk/lib/async/zone.dart (right): https://codereview.chromium.org/48483002/diff/1/sdk/lib/async/zone.dart#newcode871 sdk/lib/async/zone.dart:871: * }, zoneSpecification: new ZoneSpecification(handleUncaughtError: Please elaborate. What should ...
7 years, 1 month ago (2013-10-29 20:18:44 UTC) #5
floitsch
https://codereview.chromium.org/48483002/diff/1/sdk/lib/async/zone.dart File sdk/lib/async/zone.dart (right): https://codereview.chromium.org/48483002/diff/1/sdk/lib/async/zone.dart#newcode871 sdk/lib/async/zone.dart:871: * }, zoneSpecification: new ZoneSpecification(handleUncaughtError: On 2013/10/29 20:18:45, Lasse ...
7 years, 1 month ago (2013-10-29 23:31:27 UTC) #6
Lasse Reichstein Nielsen
https://codereview.chromium.org/48483002/diff/1/sdk/lib/async/zone.dart File sdk/lib/async/zone.dart (right): https://codereview.chromium.org/48483002/diff/1/sdk/lib/async/zone.dart#newcode871 sdk/lib/async/zone.dart:871: * }, zoneSpecification: new ZoneSpecification(handleUncaughtError: On 2013/10/29 23:31:27, floitsch ...
7 years, 1 month ago (2013-10-30 13:32:13 UTC) #7
Lasse Reichstein Nielsen
Bob, please check what I've done to poor barback. :) Have you considered making the ...
7 years, 1 month ago (2013-10-30 13:48:17 UTC) #8
Bob Nystrom
+nweiz for barback changes. I'll talk to Nathan about using the error channel for the ...
7 years, 1 month ago (2013-10-30 15:56:33 UTC) #9
floitsch
On 2013/10/30 13:48:17, Lasse Reichstein Nielsen wrote: > Bob, please check what I've done to ...
7 years, 1 month ago (2013-10-30 18:23:15 UTC) #10
floitsch
https://codereview.chromium.org/48483002/diff/200001/pkg/barback/lib/src/build_result.dart File pkg/barback/lib/src/build_result.dart (right): https://codereview.chromium.org/48483002/diff/200001/pkg/barback/lib/src/build_result.dart#newcode51 pkg/barback/lib/src/build_result.dart:51: if (error is Error) stackTrace = error.stackTrace; On 2013/10/30 ...
7 years, 1 month ago (2013-10-30 18:39:39 UTC) #11
Bob Nystrom
LTGM.
7 years, 1 month ago (2013-10-30 19:47:26 UTC) #12
nweiz
https://codereview.chromium.org/48483002/diff/280001/pkg/barback/lib/src/asset_cascade.dart File pkg/barback/lib/src/asset_cascade.dart (right): https://codereview.chromium.org/48483002/diff/280001/pkg/barback/lib/src/asset_cascade.dart#newcode126 pkg/barback/lib/src/asset_cascade.dart:126: new TransformerException(entry.transform, entry.message, null)); Can you add a TODO ...
7 years, 1 month ago (2013-10-30 22:48:17 UTC) #13
floitsch
https://codereview.chromium.org/48483002/diff/280001/pkg/barback/lib/src/asset_cascade.dart File pkg/barback/lib/src/asset_cascade.dart (right): https://codereview.chromium.org/48483002/diff/280001/pkg/barback/lib/src/asset_cascade.dart#newcode126 pkg/barback/lib/src/asset_cascade.dart:126: new TransformerException(entry.transform, entry.message, null)); On 2013/10/30 22:48:18, nweiz wrote: ...
7 years, 1 month ago (2013-10-31 00:38:13 UTC) #14
nweiz
One last thing, then lgtm. https://codereview.chromium.org/48483002/diff/410001/pkg/barback/lib/src/build_result.dart File pkg/barback/lib/src/build_result.dart (right): https://codereview.chromium.org/48483002/diff/410001/pkg/barback/lib/src/build_result.dart#newcode51 pkg/barback/lib/src/build_result.dart:51: if (error is Error ...
7 years, 1 month ago (2013-10-31 00:41:54 UTC) #15
floitsch
https://codereview.chromium.org/48483002/diff/410001/pkg/barback/lib/src/build_result.dart File pkg/barback/lib/src/build_result.dart (right): https://codereview.chromium.org/48483002/diff/410001/pkg/barback/lib/src/build_result.dart#newcode51 pkg/barback/lib/src/build_result.dart:51: if (error is Error || On 2013/10/31 00:41:55, nweiz ...
7 years, 1 month ago (2013-10-31 00:44:19 UTC) #16
floitsch
Committed patchset #8 manually as r29628 (presubmit successful).
7 years, 1 month ago (2013-10-31 02:25:01 UTC) #17
Lasse Reichstein Nielsen
7 years, 1 month ago (2013-10-31 06:59:29 UTC) #18
Message was sent while issue was closed.
On 2013/10/31 02:25:01, floitsch wrote:
> Committed patchset #8 manually as r29628 (presubmit successful).

Thank you!

Powered by Google App Engine
This is Rietveld 408576698