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

Issue 23054008: Remove the Path class from dart:io (Closed)

Created:
7 years, 4 months ago by Søren Gjesse
Modified:
7 years, 4 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Remove the Path class from dart:io The Path class in dart:io has been deprecated for some time now. It was scheduled to be removed on August 11th, so here it goes. dart:io still uses the Path class internally, but now it is private. I will trim it down to what is actually used in a follow-up change. R=ahe@google.com, devoncarew@google.com, whesse@google.com BUG=http://dartbug.com/11666 Committed: https://code.google.com/p/dart/source/detail?r=26181

Patch Set 1 #

Patch Set 2 : Minor fixes #

Total comments: 7

Patch Set 3 : Addressed first round of review comments #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+143 lines, -165 lines) Patch
M editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/generator/chrome/build.dart View 1 2 1 chunk +15 lines, -19 lines 0 comments Download
M pkg/analyzer_experimental/lib/options.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M pkg/http_server/lib/http_server.dart View 1 chunk +1 line, -0 lines 0 comments Download
M pkg/http_server/lib/src/virtual_directory.dart View 4 chunks +16 lines, -16 lines 0 comments Download
M pkg/http_server/test/utils.dart View 2 chunks +4 lines, -4 lines 0 comments Download
M pkg/http_server/test/virtual_directory_test.dart View 2 chunks +3 lines, -2 lines 0 comments Download
M samples/tests/samples/standalone/sample_extension_test.dart View 1 2 3 chunks +18 lines, -16 lines 0 comments Download
M sdk/lib/_internal/dartdoc/lib/dartdoc.dart View 1 1 chunk +3 lines, -3 lines 0 comments Download
M sdk/lib/io/directory.dart View 1 chunk +0 lines, -8 lines 0 comments Download
M sdk/lib/io/directory_impl.dart View 3 chunks +4 lines, -6 lines 0 comments Download
M sdk/lib/io/file.dart View 1 chunk +0 lines, -6 lines 0 comments Download
M sdk/lib/io/file_impl.dart View 2 chunks +2 lines, -5 lines 0 comments Download
M sdk/lib/io/http_impl.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M sdk/lib/io/link.dart View 2 chunks +0 lines, -8 lines 0 comments Download
M sdk/lib/io/path.dart View 14 chunks +28 lines, -28 lines 0 comments Download
M sdk/lib/io/path_impl.dart View 12 chunks +26 lines, -26 lines 0 comments Download
M tests/lib/analyzer/analyze_tests.status View 1 2 chunks +2 lines, -0 lines 0 comments Download
M tests/lib/mirrors/library_uri_io_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M tests/standalone/standalone.status View 1 1 chunk +4 lines, -0 lines 0 comments Download
M tools/coverage.dart View 1 chunk +1 line, -1 line 0 comments Download
M utils/compiler/create_snapshot.dart View 1 2 3 chunks +10 lines, -11 lines 1 comment Download

Messages

Total messages: 8 (0 generated)
Søren Gjesse
Devon: How do I test the chenges in editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/generator/chrome/build.dart?
7 years, 4 months ago (2013-08-14 14:05:00 UTC) #1
Bill Hesse
Just reviewed the files in sdk/lib/io, and standalone.status. They LGTM. Let's go through and completely ...
7 years, 4 months ago (2013-08-14 14:58:53 UTC) #2
devoncarew
On 2013/08/14 14:05:00, Søren Gjesse wrote: > Devon: How do I test the chenges in ...
7 years, 4 months ago (2013-08-14 15:30:19 UTC) #3
ahe
https://codereview.chromium.org/23054008/diff/3001/utils/compiler/create_snapshot.dart File utils/compiler/create_snapshot.dart (right): https://codereview.chromium.org/23054008/diff/3001/utils/compiler/create_snapshot.dart#newcode6 utils/compiler/create_snapshot.dart:6: import "package:path/path.dart"; I'm going to be very unreasonable and ...
7 years, 4 months ago (2013-08-14 16:14:09 UTC) #4
Søren Gjesse
PTAL Removed the dependencies on the path package from create_snapshot.dart and build.dart and used file ...
7 years, 4 months ago (2013-08-15 09:07:12 UTC) #5
ahe
utils/compiler/create_snapshot.dart, LGTM! https://codereview.chromium.org/23054008/diff/3001/utils/compiler/create_snapshot.dart File utils/compiler/create_snapshot.dart (right): https://codereview.chromium.org/23054008/diff/3001/utils/compiler/create_snapshot.dart#newcode6 utils/compiler/create_snapshot.dart:6: import "package:path/path.dart"; On 2013/08/15 09:07:12, Søren Gjesse ...
7 years, 4 months ago (2013-08-15 09:29:00 UTC) #6
devoncarew
lgtm the build.dart change looks good, thanks
7 years, 4 months ago (2013-08-15 09:34:21 UTC) #7
Søren Gjesse
7 years, 4 months ago (2013-08-15 10:11:16 UTC) #8
Message was sent while issue was closed.
Committed patchset #3 manually as r26181 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698