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

Issue 879353003: Introduce optional 'bool shared' parameter to ServerSocket.bind() ... (Closed)

Created:
5 years, 10 months ago by kustermann
Modified:
5 years, 10 months ago
Reviewers:
wibling, Søren Gjesse
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Introduce optional 'bool shared' parameter to ServerSocket.bind() ... R=sgjesse@google.com, wibling@google.com Committed: https://code.google.com/p/dart/source/detail?r=43467

Patch Set 1 #

Total comments: 27

Patch Set 2 : Part 1: Addressed Comments on linux implementation #

Patch Set 3 : Part 2: Smaller cleanups to align linux/android/mac versions more #

Total comments: 1

Patch Set 4 : Part 3: Other platforms (preliminary) #

Total comments: 21

Patch Set 5 : Part3 update: Mac/Linux working, still Windows issues #

Total comments: 1

Patch Set 6 : Windows fixes #

Total comments: 6

Patch Set 7 : Addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1384 lines, -675 lines) Patch
M dart/runtime/bin/eventhandler.h View 1 2 3 4 5 6 3 chunks +438 lines, -0 lines 0 comments Download
M dart/runtime/bin/eventhandler.cc View 1 2 3 2 chunks +1 line, -3 lines 0 comments Download
M dart/runtime/bin/eventhandler_android.h View 1 2 3 4 3 chunks +21 lines, -45 lines 0 comments Download
M dart/runtime/bin/eventhandler_android.cc View 1 2 3 4 12 chunks +106 lines, -67 lines 0 comments Download
M dart/runtime/bin/eventhandler_linux.h View 1 2 3 4 3 chunks +18 lines, -230 lines 0 comments Download
M dart/runtime/bin/eventhandler_linux.cc View 1 2 3 4 8 chunks +81 lines, -52 lines 0 comments Download
M dart/runtime/bin/eventhandler_macos.h View 1 2 3 4 3 chunks +33 lines, -45 lines 0 comments Download
M dart/runtime/bin/eventhandler_macos.cc View 1 2 3 4 8 chunks +97 lines, -61 lines 0 comments Download
M dart/runtime/bin/eventhandler_win.h View 1 2 3 4 5 6 14 chunks +32 lines, -49 lines 0 comments Download
M dart/runtime/bin/eventhandler_win.cc View 1 2 3 4 5 6 21 chunks +92 lines, -76 lines 0 comments Download
M dart/runtime/bin/io_natives.cc View 2 chunks +2 lines, -1 line 0 comments Download
M dart/runtime/bin/socket.h View 1 3 chunks +87 lines, -0 lines 0 comments Download
M dart/runtime/bin/socket.cc View 1 4 chunks +154 lines, -14 lines 0 comments Download
M dart/runtime/bin/socket_patch.dart View 1 2 3 4 12 chunks +41 lines, -24 lines 0 comments Download
M dart/sdk/lib/_internal/compiler/js_lib/io_patch.dart View 1 2 3 4 2 chunks +4 lines, -2 lines 0 comments Download
M dart/sdk/lib/io/secure_server_socket.dart View 1 3 chunks +8 lines, -4 lines 0 comments Download
M dart/sdk/lib/io/socket.dart View 1 2 chunks +4 lines, -2 lines 0 comments Download
A dart/tests/standalone/io/socket_bind_test.dart View 4 1 chunk +165 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (9 generated)
kustermann
5 years, 10 months ago (2015-01-28 16:40:16 UTC) #2
kustermann
5 years, 10 months ago (2015-01-28 16:40:23 UTC) #4
Søren Gjesse
LGTM https://codereview.chromium.org/879353003/diff/1/dart/runtime/bin/eventhandler_linux.cc File dart/runtime/bin/eventhandler_linux.cc (right): https://codereview.chromium.org/879353003/diff/1/dart/runtime/bin/eventhandler_linux.cc#newcode238 dart/runtime/bin/eventhandler_linux.cc:238: sd->Close(); Move sd->Close() down below the removal from ...
5 years, 10 months ago (2015-01-29 09:05:51 UTC) #5
wibling
LGTM https://codereview.chromium.org/879353003/diff/1/dart/runtime/bin/eventhandler_linux.cc File dart/runtime/bin/eventhandler_linux.cc (right): https://codereview.chromium.org/879353003/diff/1/dart/runtime/bin/eventhandler_linux.cc#newcode238 dart/runtime/bin/eventhandler_linux.cc:238: sd->Close(); On 2015/01/29 09:05:51, Søren Gjesse wrote: > ...
5 years, 10 months ago (2015-01-29 09:42:01 UTC) #6
Søren Gjesse
https://codereview.chromium.org/879353003/diff/1/dart/runtime/bin/eventhandler_linux.cc File dart/runtime/bin/eventhandler_linux.cc (right): https://codereview.chromium.org/879353003/diff/1/dart/runtime/bin/eventhandler_linux.cc#newcode238 dart/runtime/bin/eventhandler_linux.cc:238: sd->Close(); On 2015/01/29 09:42:01, wibling wrote: > On 2015/01/29 ...
5 years, 10 months ago (2015-01-29 10:12:55 UTC) #7
kustermann
Addressed comments. As discussed offline, I'll add more parts to this CL, since they need ...
5 years, 10 months ago (2015-01-29 11:14:05 UTC) #9
kustermann
https://codereview.chromium.org/879353003/diff/80001/dart/runtime/bin/eventhandler_android.cc File dart/runtime/bin/eventhandler_android.cc (left): https://codereview.chromium.org/879353003/diff/80001/dart/runtime/bin/eventhandler_android.cc#oldcode303 dart/runtime/bin/eventhandler_android.cc:303: reinterpret_cast<EventHandlerImplementation*>(args); This was a pretty risky cast. It just ...
5 years, 10 months ago (2015-01-29 11:22:33 UTC) #11
kustermann
Preliminary implementation for other platforms, pulls out the common functionality (i.e. mask/ports) into super classes. ...
5 years, 10 months ago (2015-02-02 08:47:34 UTC) #15
Søren Gjesse
Some comments (the Android comments apply to Linux and Mac OS as well). The generic ...
5 years, 10 months ago (2015-02-02 10:56:14 UTC) #16
kustermann
Update https://codereview.chromium.org/879353003/diff/160001/dart/runtime/bin/eventhandler.h File dart/runtime/bin/eventhandler.h (right): https://codereview.chromium.org/879353003/diff/160001/dart/runtime/bin/eventhandler.h#newcode232 dart/runtime/bin/eventhandler.h:232: ASSERT(port_ == 0 || port == port_); On ...
5 years, 10 months ago (2015-02-03 10:45:35 UTC) #17
kustermann
PTAL - running all tests in all configurations on windows now, but standalone/io seems to ...
5 years, 10 months ago (2015-02-04 11:50:26 UTC) #18
Søren Gjesse
LGTM https://codereview.chromium.org/879353003/diff/180001/dart/runtime/bin/eventhandler_macos.cc File dart/runtime/bin/eventhandler_macos.cc (right): https://codereview.chromium.org/879353003/diff/180001/dart/runtime/bin/eventhandler_macos.cc#newcode253 dart/runtime/bin/eventhandler_macos.cc:253: // Add/Remove from epoll set depending on previous ...
5 years, 10 months ago (2015-02-04 12:19:58 UTC) #19
kustermann
https://codereview.chromium.org/879353003/diff/200001/dart/runtime/bin/eventhandler.h File dart/runtime/bin/eventhandler.h (right): https://codereview.chromium.org/879353003/diff/200001/dart/runtime/bin/eventhandler.h#newcode389 dart/runtime/bin/eventhandler.h:389: } On 2015/02/04 12:19:57, Søren Gjesse wrote: > Maybe ...
5 years, 10 months ago (2015-02-04 13:39:43 UTC) #22
kustermann
5 years, 10 months ago (2015-02-04 13:42:02 UTC) #23
Message was sent while issue was closed.
Committed patchset #7 (id:240001) manually as 43467 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698