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

Issue 18516002: Add Stdio.readByteSync and Stdio.readLineSync. (Closed)

Created:
7 years, 5 months ago by Anders Johnsen
Modified:
7 years, 5 months ago
Reviewers:
Bill Hesse
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Add Stdio.readByteSync and Stdio.readLineSync. BUG=https://code.google.com/p/dart/issues/detail?id=7136 R=whesse@google.com Committed: https://code.google.com/p/dart/source/detail?r=24684

Patch Set 1 #

Total comments: 14

Patch Set 2 : Add missing file. #

Patch Set 3 : Add retainNewlines #

Total comments: 6

Patch Set 4 : Updated test and impl. #

Total comments: 6

Patch Set 5 : Handle \r\r\n. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+203 lines, -19 lines) Patch
M runtime/bin/io_impl_sources.gypi View 1 chunk +4 lines, -3 lines 0 comments Download
M runtime/bin/io_natives.cc View 2 chunks +11 lines, -10 lines 0 comments Download
A runtime/bin/stdin.cc View 1 1 chunk +31 lines, -0 lines 0 comments Download
M runtime/bin/stdio_patch.dart View 1 2 3 2 chunks +7 lines, -3 lines 0 comments Download
M sdk/lib/_internal/lib/io_patch.dart View 1 2 3 2 chunks +7 lines, -1 line 0 comments Download
M sdk/lib/io/stdio.dart View 1 2 3 4 4 chunks +82 lines, -2 lines 0 comments Download
A tests/standalone/io/stdin_sync_script.dart View 1 2 3 1 chunk +18 lines, -0 lines 0 comments Download
A tests/standalone/io/stdin_sync_test.dart View 1 2 3 4 1 chunk +43 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Anders Johnsen
7 years, 5 months ago (2013-07-02 10:36:08 UTC) #1
Anders Johnsen
Updated.
7 years, 5 months ago (2013-07-02 11:18:56 UTC) #2
Bill Hesse
https://codereview.chromium.org/18516002/diff/1/sdk/lib/io/stdio.dart File sdk/lib/io/stdio.dart (right): https://codereview.chromium.org/18516002/diff/1/sdk/lib/io/stdio.dart#newcode41 sdk/lib/io/stdio.dart:41: * stdin pipe. [Stdin] allows both synchronous and asynchronous ...
7 years, 5 months ago (2013-07-02 11:31:54 UTC) #3
Anders Johnsen
PTAL https://codereview.chromium.org/18516002/diff/1/sdk/lib/io/stdio.dart File sdk/lib/io/stdio.dart (right): https://codereview.chromium.org/18516002/diff/1/sdk/lib/io/stdio.dart#newcode41 sdk/lib/io/stdio.dart:41: * stdin pipe. On 2013/07/02 11:31:54, Bill Hesse ...
7 years, 5 months ago (2013-07-02 12:21:27 UTC) #4
Bill Hesse
LGTM, with comments. https://codereview.chromium.org/18516002/diff/9003/sdk/lib/io/stdio.dart File sdk/lib/io/stdio.dart (right): https://codereview.chromium.org/18516002/diff/9003/sdk/lib/io/stdio.dart#newcode65 sdk/lib/io/stdio.dart:65: if (!retainNewlines && char == '\r') ...
7 years, 5 months ago (2013-07-02 13:08:27 UTC) #5
Anders Johnsen
https://codereview.chromium.org/18516002/diff/9003/sdk/lib/io/stdio.dart File sdk/lib/io/stdio.dart (right): https://codereview.chromium.org/18516002/diff/9003/sdk/lib/io/stdio.dart#newcode65 sdk/lib/io/stdio.dart:65: if (!retainNewlines && char == '\r') { On 2013/07/02 ...
7 years, 5 months ago (2013-07-02 13:17:14 UTC) #6
Anders Johnsen
7 years, 5 months ago (2013-07-02 13:18:11 UTC) #7
Message was sent while issue was closed.
Committed patchset #5 manually as r24684 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698