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

Issue 2515643004: Fuchsia: Partial implementation of dart:io sockets (Closed)

Created:
4 years, 1 month ago by zra
Modified:
4 years, 1 month ago
Reviewers:
rmacnak, siva
CC:
reviews_dartlang.org, vm-dev_dartlang.org, Kris
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Fuchsia: Partial implementation of dart:io sockets This changes the eventhandler to epoll and adds some code for sockets to runtime/bin/sockets_fuchsia.cc. It also adds some simple tests to hello_fuchsia.dart. R=asiva@google.com Committed: https://github.com/dart-lang/sdk/commit/14233482d93b2dd319671b32d962fd4eb63f735f

Patch Set 1 #

Total comments: 8

Patch Set 2 : Formatting #

Unified diffs Side-by-side diffs Delta from patch set Stats (+994 lines, -261 lines) Patch
M runtime/bin/builtin_impl_sources.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/bin/eventhandler_fuchsia.h View 1 3 chunks +21 lines, -36 lines 0 comments Download
M runtime/bin/eventhandler_fuchsia.cc View 1 6 chunks +354 lines, -142 lines 0 comments Download
M runtime/bin/fdutils.h View 1 chunk +3 lines, -0 lines 0 comments Download
M runtime/bin/fdutils_android.cc View 1 chunk +7 lines, -0 lines 0 comments Download
A + runtime/bin/fdutils_fuchsia.cc View 1 6 chunks +16 lines, -5 lines 0 comments Download
M runtime/bin/fdutils_linux.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M runtime/bin/fdutils_macos.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M runtime/bin/socket_android.cc View 11 chunks +15 lines, -15 lines 0 comments Download
M runtime/bin/socket_fuchsia.h View 1 chunk +4 lines, -0 lines 0 comments Download
M runtime/bin/socket_fuchsia.cc View 1 8 chunks +325 lines, -32 lines 0 comments Download
M runtime/bin/socket_linux.cc View 7 chunks +8 lines, -15 lines 0 comments Download
M runtime/bin/socket_macos.cc View 10 chunks +15 lines, -15 lines 0 comments Download
M runtime/tests/vm/dart/hello_fuchsia_test.dart View 1 chunk +211 lines, -1 line 0 comments Download

Messages

Total messages: 10 (3 generated)
zra
4 years, 1 month ago (2016-11-18 23:39:51 UTC) #2
zra
https://codereview.chromium.org/2515643004/diff/1/runtime/bin/fdutils_fuchsia.cc File runtime/bin/fdutils_fuchsia.cc (right): https://codereview.chromium.org/2515643004/diff/1/runtime/bin/fdutils_fuchsia.cc#newcode77 runtime/bin/fdutils_fuchsia.cc:77: int result = NO_RETRY_EXPECTED(ioctl(fd, FIONREAD, &available)); Here is the ...
4 years, 1 month ago (2016-11-18 23:42:17 UTC) #3
kulakowski1
On 2016/11/18 23:42:17, zra wrote: > https://codereview.chromium.org/2515643004/diff/1/runtime/bin/fdutils_fuchsia.cc > File runtime/bin/fdutils_fuchsia.cc (right): > > https://codereview.chromium.org/2515643004/diff/1/runtime/bin/fdutils_fuchsia.cc#newcode77 > ...
4 years, 1 month ago (2016-11-18 23:42:38 UTC) #4
siva
lgtm https://codereview.chromium.org/2515643004/diff/1/runtime/bin/eventhandler_fuchsia.cc File runtime/bin/eventhandler_fuchsia.cc (right): https://codereview.chromium.org/2515643004/diff/1/runtime/bin/eventhandler_fuchsia.cc#newcode172 runtime/bin/eventhandler_fuchsia.cc:172: } timer_fd is not being registered here, do ...
4 years, 1 month ago (2016-11-21 02:22:41 UTC) #6
siva
lgtm
4 years, 1 month ago (2016-11-21 02:22:42 UTC) #7
zra
https://codereview.chromium.org/2515643004/diff/1/runtime/bin/eventhandler_fuchsia.cc File runtime/bin/eventhandler_fuchsia.cc (right): https://codereview.chromium.org/2515643004/diff/1/runtime/bin/eventhandler_fuchsia.cc#newcode172 runtime/bin/eventhandler_fuchsia.cc:172: } On 2016/11/21 02:22:41, siva wrote: > timer_fd is ...
4 years, 1 month ago (2016-11-21 05:56:24 UTC) #8
zra
4 years, 1 month ago (2016-11-21 06:04:20 UTC) #10
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
14233482d93b2dd319671b32d962fd4eb63f735f (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698