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

Issue 1904553006: Fix strong mode errors in dart:io. (Closed)

Created:
4 years, 8 months ago by floitsch
Modified:
4 years, 7 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org, Leaf
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Fix new errors. #

Patch Set 4 : Rebase #

Patch Set 5 : Minor changes. #

Total comments: 3

Patch Set 6 : Address comment.~ #

Total comments: 7

Patch Set 7 : Few fixes #

Total comments: 2

Patch Set 8 : Remove obsolete comment. #

Patch Set 9 : Rebase after revert #

Patch Set 10 : Fix directory_list rename for dartium. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+155 lines, -97 lines) Patch
M runtime/bin/directory.cc View 1 2 3 4 5 6 7 4 chunks +20 lines, -19 lines 0 comments Download
M runtime/bin/directory_patch.dart View 1 1 chunk +4 lines, -2 lines 0 comments Download
M runtime/bin/directory_unsupported.cc View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -1 line 0 comments Download
M runtime/bin/io_natives.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M runtime/bin/socket_patch.dart View 1 2 3 4 5 6 2 chunks +6 lines, -1 line 0 comments Download
M runtime/bin/stdio_patch.dart View 1 2 3 4 5 6 1 chunk +8 lines, -2 lines 0 comments Download
M sdk/lib/_internal/js_runtime/lib/io_patch.dart View 1 3 chunks +10 lines, -3 lines 0 comments Download
M sdk/lib/io/directory_impl.dart View 1 2 chunks +9 lines, -3 lines 0 comments Download
M sdk/lib/io/http_impl.dart View 1 2 3 4 5 17 chunks +49 lines, -34 lines 0 comments Download
M sdk/lib/io/http_parser.dart View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M sdk/lib/io/platform_impl.dart View 1 1 chunk +6 lines, -5 lines 0 comments Download
M sdk/lib/io/secure_socket.dart View 3 chunks +9 lines, -7 lines 0 comments Download
M sdk/lib/io/socket.dart View 1 2 3 4 1 chunk +9 lines, -0 lines 0 comments Download
M sdk/lib/io/stdio.dart View 1 2 3 4 5 6 2 chunks +12 lines, -6 lines 0 comments Download
M sdk/lib/io/string_transformer.dart View 1 2 3 4 5 6 7 8 2 chunks +0 lines, -6 lines 0 comments Download
M sdk/lib/io/websocket_impl.dart View 1 2 3 4 5 6 6 chunks +6 lines, -5 lines 0 comments Download
M tests/standalone/io/https_bad_certificate_test.dart View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 22 (5 generated)
floitsch
https://codereview.chromium.org/1904553006/diff/80001/runtime/bin/directory.cc File runtime/bin/directory.cc (right): https://codereview.chromium.org/1904553006/diff/80001/runtime/bin/directory.cc#newcode118 runtime/bin/directory.cc:118: void FUNCTION_NAME(Directory_FillWithDirectoryListing)( I can live with the name, but ...
4 years, 7 months ago (2016-05-04 13:59:15 UTC) #2
Søren Gjesse
LGTM, thanks https://codereview.chromium.org/1904553006/diff/80001/sdk/lib/io/http_impl.dart File sdk/lib/io/http_impl.dart (right): https://codereview.chromium.org/1904553006/diff/80001/sdk/lib/io/http_impl.dart#newcode195 sdk/lib/io/http_impl.dart:195: X509Certificate get certificate { Maybe add an ...
4 years, 7 months ago (2016-05-04 16:14:10 UTC) #3
floitsch
https://codereview.chromium.org/1904553006/diff/80001/sdk/lib/io/http_impl.dart File sdk/lib/io/http_impl.dart (right): https://codereview.chromium.org/1904553006/diff/80001/sdk/lib/io/http_impl.dart#newcode195 sdk/lib/io/http_impl.dart:195: X509Certificate get certificate { On 2016/05/04 16:14:09, Søren Gjesse ...
4 years, 7 months ago (2016-05-04 18:28:41 UTC) #4
Florian Schneider
https://codereview.chromium.org/1904553006/diff/100001/runtime/bin/stdio_patch.dart File runtime/bin/stdio_patch.dart (right): https://codereview.chromium.org/1904553006/diff/100001/runtime/bin/stdio_patch.dart#newcode33 runtime/bin/stdio_patch.dart:33: if (socket is _Socket) { Why do the is-test ...
4 years, 7 months ago (2016-05-09 09:05:15 UTC) #6
floitsch
https://codereview.chromium.org/1904553006/diff/100001/runtime/bin/stdio_patch.dart File runtime/bin/stdio_patch.dart (right): https://codereview.chromium.org/1904553006/diff/100001/runtime/bin/stdio_patch.dart#newcode33 runtime/bin/stdio_patch.dart:33: if (socket is _Socket) { On 2016/05/09 09:05:15, Florian ...
4 years, 7 months ago (2016-05-09 12:48:01 UTC) #7
Florian Schneider
https://codereview.chromium.org/1904553006/diff/100001/runtime/bin/stdio_patch.dart File runtime/bin/stdio_patch.dart (right): https://codereview.chromium.org/1904553006/diff/100001/runtime/bin/stdio_patch.dart#newcode33 runtime/bin/stdio_patch.dart:33: if (socket is _Socket) { On 2016/05/09 12:48:01, floitsch ...
4 years, 7 months ago (2016-05-09 13:39:43 UTC) #8
floitsch
https://codereview.chromium.org/1904553006/diff/100001/sdk/lib/io/stdio.dart File sdk/lib/io/stdio.dart (right): https://codereview.chromium.org/1904553006/diff/100001/sdk/lib/io/stdio.dart#newcode332 sdk/lib/io/stdio.dart:332: if (socketType != null) { On 2016/05/09 13:39:43, Florian ...
4 years, 7 months ago (2016-05-09 14:21:32 UTC) #9
Florian Schneider
On 2016/05/09 14:21:32, floitsch wrote: > https://codereview.chromium.org/1904553006/diff/100001/sdk/lib/io/stdio.dart > File sdk/lib/io/stdio.dart (right): > > https://codereview.chromium.org/1904553006/diff/100001/sdk/lib/io/stdio.dart#newcode332 > ...
4 years, 7 months ago (2016-05-09 14:24:54 UTC) #10
floitsch
Had to fix a test and change the stdio-mode test. They are minor changes, but ...
4 years, 7 months ago (2016-05-09 22:34:01 UTC) #11
Florian Schneider
Lgtm. https://codereview.chromium.org/1904553006/diff/120001/runtime/bin/directory.cc File runtime/bin/directory.cc (right): https://codereview.chromium.org/1904553006/diff/120001/runtime/bin/directory.cc#newcode124 runtime/bin/directory.cc:124: // Create the list to hold the directory ...
4 years, 7 months ago (2016-05-10 08:19:10 UTC) #12
floitsch
https://codereview.chromium.org/1904553006/diff/120001/runtime/bin/directory.cc File runtime/bin/directory.cc (right): https://codereview.chromium.org/1904553006/diff/120001/runtime/bin/directory.cc#newcode124 runtime/bin/directory.cc:124: // Create the list to hold the directory listing ...
4 years, 7 months ago (2016-05-10 13:37:35 UTC) #13
floitsch
Committed patchset #8 (id:140001) manually as 5216f1d67d09d289f7c7ceab56a64ce0dcb7d563 (presubmit successful).
4 years, 7 months ago (2016-05-11 12:30:39 UTC) #15
floitsch
Had to revert. Reopening this issue. Uploaded after a rebase.
4 years, 7 months ago (2016-05-11 19:46:48 UTC) #17
Ivan Posva
On 2016/05/11 19:46:48, floitsch wrote: > Had to revert. > Reopening this issue. Uploaded after ...
4 years, 7 months ago (2016-05-11 20:06:47 UTC) #18
floitsch
On 2016/05/11 20:06:47, Ivan Posva wrote: > On 2016/05/11 19:46:48, floitsch wrote: > > Had ...
4 years, 7 months ago (2016-05-12 11:16:28 UTC) #19
floitsch
Renamed the native function in directory_unsupported.cc. Landing again.
4 years, 7 months ago (2016-05-12 11:17:03 UTC) #20
floitsch
4 years, 7 months ago (2016-05-12 11:17:38 UTC) #22
Message was sent while issue was closed.
Committed patchset #10 (id:180001) manually as
e3c3f099ea6d36c244f93c30d95abd43a2f67649 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698