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

Issue 10542102: Add buffering to _FileInputStream implementation. (Closed)

Created:
8 years, 6 months ago by Bill Hesse
Modified:
8 years, 6 months ago
Reviewers:
Søren Gjesse
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Add buffering to _FileInputStream implementation. Revert "Revert dart:io file InputStream buffering to fix bugs in it." Recommits r8435, r8401, r8396, r8395, with additional fixes. BUG=3434 TEST= Committed: https://code.google.com/p/dart/source/detail?r=8537

Patch Set 1 #

Patch Set 2 : Fix issue when .close or .readInto are called on a _FileInputStream that is not fully opened. #

Patch Set 3 : Really upload fix for issue. #

Patch Set 4 : Refactor _fillBuffer to not return a future, and to call _checkScheduleCallbacks. #

Patch Set 5 : Rebase to current bleeding-edge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+179 lines, -92 lines) Patch
M runtime/bin/file_impl.dart View 1 2 3 4 13 chunks +105 lines, -55 lines 0 comments Download
M tests/standalone/io/file_input_stream_test.dart View 1 2 5 chunks +30 lines, -7 lines 0 comments Download
M tests/standalone/io/file_test.dart View 2 chunks +44 lines, -30 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Bill Hesse
Everything except the last patch set is what was already committed and reverted. The last ...
8 years, 6 months ago (2012-06-11 14:39:28 UTC) #1
Bill Hesse
Patch set 4 is just a refactoring to allow cancellation of multiple simultaneous calls to ...
8 years, 6 months ago (2012-06-11 15:33:26 UTC) #2
Søren Gjesse
8 years, 6 months ago (2012-06-12 10:19:29 UTC) #3
lgtm

Powered by Google App Engine
This is Rietveld 408576698