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

Issue 169383003: Make event-handlers edge-triggered and move socket-state to Dart. (Closed)

Created:
6 years, 10 months ago by Anders Johnsen
Modified:
6 years, 10 months ago
Reviewers:
Søren Gjesse
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Make event-handlers edge-triggered and move socket-state to Dart. This eliminates to pause/resume calls made in the previous one-shot based model. BUG= R=sgjesse@google.com Committed: https://code.google.com/p/dart/source/detail?r=32780

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : Windows support #

Patch Set 4 : Rebase #

Patch Set 5 : Mac os X support. #

Total comments: 16

Patch Set 6 : Add comments. #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+379 lines, -443 lines) Patch
M runtime/bin/dartutils.h View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/bin/dartutils.cc View 1 chunk +9 lines, -0 lines 0 comments Download
M runtime/bin/eventhandler_linux.h View 4 chunks +3 lines, -19 lines 0 comments Download
M runtime/bin/eventhandler_linux.cc View 8 chunks +45 lines, -107 lines 0 comments Download
M runtime/bin/eventhandler_macos.h View 1 2 3 4 5 chunks +7 lines, -28 lines 0 comments Download
M runtime/bin/eventhandler_macos.cc View 1 2 3 4 8 chunks +71 lines, -105 lines 0 comments Download
M runtime/bin/eventhandler_win.cc View 1 2 3 4 5 5 chunks +47 lines, -48 lines 0 comments Download
M runtime/bin/file_patch.dart View 1 2 3 chunks +10 lines, -3 lines 0 comments Download
M runtime/bin/file_system_watcher_linux.cc View 2 chunks +2 lines, -1 line 0 comments Download
M runtime/bin/socket.cc View 1 2 3 4 5 2 chunks +9 lines, -1 line 0 comments Download
M runtime/bin/socket_linux.cc View 2 chunks +4 lines, -1 line 0 comments Download
M runtime/bin/socket_patch.dart View 1 2 3 4 5 14 chunks +121 lines, -84 lines 0 comments Download
M sdk/lib/io/secure_socket.dart View 2 chunks +5 lines, -4 lines 0 comments Download
M sdk/lib/io/websocket_impl.dart View 4 chunks +10 lines, -0 lines 0 comments Download
M tests/standalone/io/http_no_reason_phrase_test.dart View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
M tests/standalone/io/http_response_deadline_test.dart View 1 chunk +1 line, -0 lines 0 comments Download
M tests/standalone/io/http_server_test.dart View 1 chunk +1 line, -0 lines 0 comments Download
M tests/standalone/io/raw_socket_test.dart View 4 chunks +14 lines, -7 lines 0 comments Download
M tests/standalone/io/secure_builtin_roots_test.dart View 1 chunk +5 lines, -2 lines 0 comments Download
M tests/standalone/io/socket_exception_test.dart View 1 2 2 chunks +6 lines, -2 lines 0 comments Download
M tests/standalone/io/socket_info_test.dart View 1 chunk +2 lines, -1 line 0 comments Download
M tests/standalone/io/socket_port_test.dart View 1 chunk +3 lines, -1 line 0 comments Download
M tests/standalone/io/socket_test.dart View 3 chunks +0 lines, -28 lines 0 comments Download
M tests/standalone/vmservice/websocket_client_test.dart View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
Anders Johnsen
6 years, 10 months ago (2014-02-18 09:44:03 UTC) #1
Søren Gjesse
LGTM, with comments https://codereview.chromium.org/169383003/diff/200001/runtime/bin/eventhandler_linux.cc File runtime/bin/eventhandler_linux.cc (left): https://codereview.chromium.org/169383003/diff/200001/runtime/bin/eventhandler_linux.cc#oldcode316 runtime/bin/eventhandler_linux.cc:316: } else { As far as ...
6 years, 10 months ago (2014-02-18 14:28:00 UTC) #2
Anders Johnsen
https://codereview.chromium.org/169383003/diff/200001/runtime/bin/eventhandler_linux.cc File runtime/bin/eventhandler_linux.cc (left): https://codereview.chromium.org/169383003/diff/200001/runtime/bin/eventhandler_linux.cc#oldcode316 runtime/bin/eventhandler_linux.cc:316: } else { On 2014/02/18 14:28:00, Søren Gjesse wrote: ...
6 years, 10 months ago (2014-02-19 09:43:02 UTC) #3
Anders Johnsen
6 years, 10 months ago (2014-02-19 09:44:45 UTC) #4
Message was sent while issue was closed.
Committed patchset #7 manually as r32780 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698