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

Issue 23875032: Expose Zones. (Closed)

Created:
7 years, 3 months ago by floitsch
Modified:
7 years, 3 months ago
CC:
reviews_dartlang.org, nweiz
Visibility:
Public.

Description

Expose Zones. BUG= http://dartbug.com/11279 R=lrn@google.com Committed: https://code.google.com/p/dart/source/detail?r=27802 Commit also includes CL https://codereview.chromium.org/23450047/ ("Run runAsync callbacks of futures in their zone").

Patch Set 1 #

Patch Set 2 : Fix tests. #

Patch Set 3 : Users can't customize runGuarded. More tests. #

Total comments: 2

Patch Set 4 : More test; deprecate runZonedExperimental. #

Patch Set 5 : Implement zoneValues and make them symbols. #

Patch Set 6 : Zone values, more tests. some fixes. #

Patch Set 7 : Remove dead code. #

Patch Set 8 : Fix typo. #

Patch Set 9 : Mark stack trace test as failing. #

Total comments: 66

Patch Set 10 : Address comments. #

Patch Set 11 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1929 lines, -767 lines) Patch
M sdk/lib/_collection_dev/iterable.dart View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M sdk/lib/async/async.dart View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M sdk/lib/async/event_loop.dart View 1 2 3 4 5 6 1 chunk +8 lines, -2 lines 0 comments Download
M sdk/lib/async/future.dart View 1 2 3 4 5 6 7 8 9 1 chunk +4 lines, -1 line 0 comments Download
M sdk/lib/async/future_impl.dart View 1 2 3 4 5 6 7 8 9 10 9 chunks +39 lines, -32 lines 0 comments Download
M sdk/lib/async/stream_controller.dart View 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/async/stream_impl.dart View 1 2 3 4 5 6 7 8 9 10 chunks +22 lines, -27 lines 0 comments Download
M sdk/lib/async/timer.dart View 1 2 3 4 5 6 7 8 9 3 chunks +15 lines, -3 lines 0 comments Download
M sdk/lib/async/zone.dart View 1 2 3 4 5 6 7 8 9 5 chunks +533 lines, -364 lines 0 comments Download
M tests/lib/async/catch_errors.dart View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -11 lines 0 comments Download
D tests/lib/async/catch_errors10_test.dart View 1 1 chunk +0 lines, -29 lines 0 comments Download
M tests/lib/async/catch_errors11_test.dart View 1 2 chunks +12 lines, -2 lines 0 comments Download
M tests/lib/async/catch_errors12_test.dart View 1 3 chunks +11 lines, -2 lines 0 comments Download
M tests/lib/async/catch_errors13_test.dart View 1 3 chunks +15 lines, -6 lines 0 comments Download
M tests/lib/async/catch_errors14_test.dart View 1 2 chunks +12 lines, -2 lines 0 comments Download
M tests/lib/async/catch_errors15_test.dart View 1 3 chunks +12 lines, -6 lines 0 comments Download
M tests/lib/async/catch_errors17_test.dart View 1 2 chunks +18 lines, -12 lines 0 comments Download
M tests/lib/async/catch_errors18_test.dart View 1 2 chunks +12 lines, -4 lines 0 comments Download
M tests/lib/async/catch_errors19_test.dart View 1 2 chunks +12 lines, -4 lines 0 comments Download
M tests/lib/async/catch_errors20_test.dart View 1 2 chunks +16 lines, -9 lines 0 comments Download
M tests/lib/async/catch_errors21_test.dart View 1 2 chunks +22 lines, -12 lines 0 comments Download
M tests/lib/async/catch_errors22_test.dart View 1 1 chunk +1 line, -0 lines 0 comments Download
M tests/lib/async/catch_errors23_test.dart View 1 2 chunks +21 lines, -12 lines 0 comments Download
M tests/lib/async/catch_errors24_test.dart View 1 3 chunks +24 lines, -13 lines 0 comments Download
M tests/lib/async/catch_errors25_test.dart View 1 2 chunks +12 lines, -4 lines 0 comments Download
M tests/lib/async/catch_errors26_test.dart View 1 3 chunks +22 lines, -13 lines 0 comments Download
M tests/lib/async/catch_errors27_test.dart View 1 2 chunks +22 lines, -13 lines 0 comments Download
M tests/lib/async/catch_errors28_test.dart View 1 2 chunks +13 lines, -2 lines 0 comments Download
M tests/lib/async/catch_errors2_test.dart View 1 2 chunks +7 lines, -5 lines 0 comments Download
M tests/lib/async/catch_errors3_test.dart View 1 3 chunks +6 lines, -5 lines 0 comments Download
M tests/lib/async/catch_errors4_test.dart View 1 2 chunks +13 lines, -8 lines 0 comments Download
M tests/lib/async/catch_errors5_test.dart View 1 1 chunk +15 lines, -7 lines 0 comments Download
M tests/lib/async/catch_errors7_test.dart View 1 1 chunk +25 lines, -9 lines 0 comments Download
M tests/lib/async/catch_errors8_test.dart View 1 2 chunks +29 lines, -21 lines 0 comments Download
D tests/lib/async/catch_errors9_test.dart View 1 1 chunk +0 lines, -27 lines 0 comments Download
M tests/lib/async/catch_errors_test.dart View 1 1 chunk +6 lines, -8 lines 0 comments Download
M tests/lib/async/intercept_run_async6_test.dart View 1 1 chunk +1 line, -2 lines 0 comments Download
M tests/lib/async/run_zoned1_test.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
D tests/lib/async/run_zoned2_test.dart View 1 1 chunk +0 lines, -14 lines 0 comments Download
D tests/lib/async/run_zoned3_test.dart View 1 1 chunk +0 lines, -24 lines 0 comments Download
M tests/lib/async/run_zoned4_test.dart View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M tests/lib/async/run_zoned5_test.dart View 1 2 1 chunk +5 lines, -5 lines 0 comments Download
M tests/lib/async/run_zoned6_test.dart View 1 2 1 chunk +7 lines, -7 lines 0 comments Download
M tests/lib/async/run_zoned7_test.dart View 1 2 1 chunk +17 lines, -10 lines 0 comments Download
M tests/lib/async/run_zoned8_test.dart View 1 2 1 chunk +17 lines, -13 lines 0 comments Download
M tests/lib/async/run_zoned9_test.dart View 1 2 1 chunk +7 lines, -7 lines 0 comments Download
A tests/lib/async/zone_bind_callback_test.dart View 1 2 3 4 5 6 7 8 9 1 chunk +40 lines, -0 lines 0 comments Download
A tests/lib/async/zone_bind_callback_unary_test.dart View 1 2 3 4 5 6 7 8 9 1 chunk +42 lines, -0 lines 0 comments Download
A tests/lib/async/zone_create_periodic_timer_test.dart View 1 2 3 4 5 6 7 8 9 1 chunk +54 lines, -0 lines 0 comments Download
A tests/lib/async/zone_create_timer2_test.dart View 1 2 3 4 5 6 7 8 9 1 chunk +44 lines, -0 lines 0 comments Download
A tests/lib/async/zone_create_timer_test.dart View 1 2 3 4 5 6 7 8 9 1 chunk +44 lines, -0 lines 0 comments Download
A tests/lib/async/zone_debug_test.dart View 1 2 3 4 5 6 7 8 9 1 chunk +133 lines, -0 lines 0 comments Download
A tests/lib/async/zone_empty_description2_test.dart View 1 2 3 4 5 6 7 8 9 1 chunk +40 lines, -0 lines 0 comments Download
A tests/lib/async/zone_empty_description_test.dart View 1 2 3 4 5 6 7 8 9 1 chunk +80 lines, -0 lines 0 comments Download
A tests/lib/async/zone_fork_test.dart View 1 2 3 4 5 6 7 8 9 1 chunk +58 lines, -0 lines 0 comments Download
A tests/lib/async/zone_register_callback_test.dart View 1 2 3 4 5 6 7 8 9 1 chunk +39 lines, -0 lines 0 comments Download
A tests/lib/async/zone_register_callback_unary_test.dart View 1 2 3 4 5 6 7 8 9 1 chunk +39 lines, -0 lines 0 comments Download
A + tests/lib/async/zone_root_bind_test.dart View 1 2 3 4 5 6 1 chunk +10 lines, -6 lines 0 comments Download
A tests/lib/async/zone_run_guarded_test.dart View 1 2 3 4 5 6 7 8 9 1 chunk +78 lines, -0 lines 0 comments Download
A tests/lib/async/zone_run_test.dart View 1 2 3 4 5 6 7 8 9 1 chunk +65 lines, -0 lines 0 comments Download
A tests/lib/async/zone_run_unary_test.dart View 1 2 3 4 5 6 7 8 9 1 chunk +65 lines, -0 lines 0 comments Download
A tests/lib/async/zone_value_test.dart View 1 2 3 4 5 6 7 8 9 1 chunk +54 lines, -0 lines 0 comments Download
M tests/lib/lib.status View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
kevmoo-old
Early DBC. Curious. https://codereview.chromium.org/23875032/diff/6001/sdk/lib/async/zone.dart File sdk/lib/async/zone.dart (right): https://codereview.chromium.org/23875032/diff/6001/sdk/lib/async/zone.dart#newcode685 sdk/lib/async/zone.dart:685: */ @deprecated?
7 years, 3 months ago (2013-09-18 20:37:18 UTC) #1
floitsch
https://codereview.chromium.org/23875032/diff/6001/sdk/lib/async/zone.dart File sdk/lib/async/zone.dart (right): https://codereview.chromium.org/23875032/diff/6001/sdk/lib/async/zone.dart#newcode685 sdk/lib/async/zone.dart:685: */ On 2013/09/18 20:37:18, kevmoo wrote: > @deprecated? Done.
7 years, 3 months ago (2013-09-20 12:48:48 UTC) #2
floitsch
@nweiz: I had to disable the stack trace test.
7 years, 3 months ago (2013-09-20 13:16:48 UTC) #3
Lasse Reichstein Nielsen
LGTM https://codereview.chromium.org/23875032/diff/28001/sdk/lib/_collection_dev/iterable.dart File sdk/lib/_collection_dev/iterable.dart (right): https://codereview.chromium.org/23875032/diff/28001/sdk/lib/_collection_dev/iterable.dart#newcode23 sdk/lib/_collection_dev/iterable.dart:23: // TODO(floitsch): also used in dart:async until end ...
7 years, 3 months ago (2013-09-23 14:24:12 UTC) #4
floitsch
https://codereview.chromium.org/23875032/diff/28001/sdk/lib/_collection_dev/iterable.dart File sdk/lib/_collection_dev/iterable.dart (right): https://codereview.chromium.org/23875032/diff/28001/sdk/lib/_collection_dev/iterable.dart#newcode23 sdk/lib/_collection_dev/iterable.dart:23: // TODO(floitsch): also used in dart:async until end of ...
7 years, 3 months ago (2013-09-23 17:12:06 UTC) #5
floitsch
7 years, 3 months ago (2013-09-24 09:23:26 UTC) #6
Message was sent while issue was closed.
Committed patchset #11 manually as r27802 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698