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

Issue 9415043: Port async file operations to be using native ports instead or an isolate (Closed)

Created:
8 years, 10 months ago by Søren Gjesse
Modified:
8 years, 10 months ago
Reviewers:
Mads Ager (google)
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Port async file operations to be using native ports instead or an isolate R=ager@google.com Committed: https://code.google.com/p/dart/source/detail?r=4520

Patch Set 1 #

Patch Set 2 : Implemented all file operations using native ports #

Total comments: 24

Patch Set 3 : First round of fixes #

Patch Set 4 : #

Patch Set 5 : Rebased to r4457 #

Patch Set 6 : Fixed remaining issues #

Total comments: 10

Patch Set 7 : Rebased to r4513 (File.Directory not ported) #

Patch Set 8 : Ported directory #

Patch Set 9 : Addressed review comments from ager@ and fixed 64-bit smi bug #

Patch Set 10 : Forgot to remove #import from op.dart #

Unified diffs Side-by-side diffs Delta from patch set Stats (+716 lines, -519 lines) Patch
M runtime/bin/builtin_natives.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M runtime/bin/dartutils.h View 1 2 3 4 4 chunks +38 lines, -1 line 0 comments Download
M runtime/bin/dartutils.cc View 1 2 3 4 2 chunks +16 lines, -0 lines 0 comments Download
M runtime/bin/file.h View 1 2 3 4 5 6 7 3 chunks +30 lines, -0 lines 0 comments Download
M runtime/bin/file.cc View 1 2 3 4 5 6 7 8 2 chunks +389 lines, -14 lines 0 comments Download
M runtime/bin/file_impl.dart View 1 2 3 4 5 6 7 8 28 chunks +230 lines, -499 lines 0 comments Download
M runtime/vm/dart_api_message.cc View 1 2 3 4 5 6 7 8 2 chunks +12 lines, -5 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Søren Gjesse
This is still a but rough around the edges, but it implements all operations.
8 years, 10 months ago (2012-02-17 15:12:32 UTC) #1
Mads Ager (google)
It is great that we are getting all of this offloaded to the thread pool! ...
8 years, 10 months ago (2012-02-20 13:50:31 UTC) #2
Søren Gjesse
Still missing 1. Handling of writeList with non integers in the list (how about bigints ...
8 years, 10 months ago (2012-02-21 14:22:38 UTC) #3
Søren Gjesse
Ass issues/comments have now been addressed, including: 1. Handling of writeList with non integers in ...
8 years, 10 months ago (2012-02-22 16:27:07 UTC) #4
Mads Ager (google)
LGTM! https://chromiumcodereview.appspot.com/9415043/diff/13009/runtime/bin/file.cc File runtime/bin/file.cc (right): https://chromiumcodereview.appspot.com/9415043/diff/13009/runtime/bin/file.cc#newcode62 runtime/bin/file.cc:62: dart_file_mode = static_cast<File::DartFileOpenMode>( How about extracting the int ...
8 years, 10 months ago (2012-02-23 08:57:44 UTC) #5
Søren Gjesse
Also ported directory() - do you want to check that as well https://chromiumcodereview.appspot.com/9415043/diff/13009/runtime/bin/file.cc File runtime/bin/file.cc ...
8 years, 10 months ago (2012-02-23 10:26:42 UTC) #6
Mads Ager (google)
8 years, 10 months ago (2012-02-23 11:01:47 UTC) #7
lgtm

Powered by Google App Engine
This is Rietveld 408576698