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

Issue 16848002: Add toUri and fromUri functions to pathos. (Closed)

Created:
7 years, 6 months ago by nweiz
Modified:
7 years, 6 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Add toUri and fromUri functions to pathos. This also replaces the ubiqutous pathToFileUri/fileUriToPath functions. R=rnystrom@google.com Committed: https://code.google.com/p/dart/source/detail?r=24196

Patch Set 1 #

Total comments: 16

Patch Set 2 : Code review changes #

Patch Set 3 : Code review changes #

Patch Set 4 : Preserve trailing separators. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+371 lines, -187 lines) Patch
M pkg/analyzer_experimental/lib/analyzer.dart View 3 chunks +3 lines, -2 lines 0 comments Download
D pkg/analyzer_experimental/lib/src/utils.dart View 1 chunk +0 lines, -22 lines 0 comments Download
M pkg/pathos/README.md View 1 chunk +38 lines, -0 lines 0 comments Download
M pkg/pathos/lib/path.dart View 1 2 3 7 chunks +231 lines, -30 lines 0 comments Download
M pkg/pathos/test/pathos_posix_test.dart View 1 2 3 1 chunk +22 lines, -0 lines 0 comments Download
M pkg/pathos/test/pathos_url_test.dart View 1 2 3 1 chunk +25 lines, -0 lines 0 comments Download
M pkg/pathos/test/pathos_windows_test.dart View 1 2 3 1 chunk +34 lines, -0 lines 0 comments Download
M pkg/stack_trace/lib/src/frame.dart View 2 chunks +1 line, -3 lines 0 comments Download
D pkg/stack_trace/lib/src/utils.dart View 1 chunk +0 lines, -39 lines 0 comments Download
M pkg/stack_trace/test/frame_test.dart View 4 chunks +3 lines, -4 lines 0 comments Download
M pkg/stack_trace/test/trace_test.dart View 2 chunks +1 line, -2 lines 0 comments Download
M sdk/lib/_internal/dartdoc/bin/dartdoc.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M sdk/lib/_internal/dartdoc/lib/dartdoc.dart View 2 chunks +3 lines, -4 lines 0 comments Download
M sdk/lib/_internal/dartdoc/lib/src/dartdoc/utils.dart View 2 chunks +1 line, -31 lines 0 comments Download
M sdk/lib/_internal/dartdoc/test/export_map_test.dart View 1 chunk +1 line, -2 lines 0 comments Download
sdk/lib/_internal/pub/lib/src/dart.dart View 1 chunk +3 lines, -3 lines 0 comments Download
sdk/lib/_internal/pub/lib/src/utils.dart View 1 chunk +1 line, -31 lines 0 comments Download
M utils/apidoc/apidoc.dart View 3 chunks +2 lines, -12 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
nweiz
7 years, 6 months ago (2013-06-12 20:15:26 UTC) #1
Bob Nystrom
https://codereview.chromium.org/16848002/diff/1/pkg/pathos/lib/path.dart File pkg/pathos/lib/path.dart (right): https://codereview.chromium.org/16848002/diff/1/pkg/pathos/lib/path.dart#newcode881 pkg/pathos/lib/path.dart:881: /// [path] is guaranteed to be absolute. Relative paths ...
7 years, 6 months ago (2013-06-13 00:21:18 UTC) #2
Søren Gjesse
dbc https://codereview.chromium.org/16848002/diff/1/pkg/pathos/lib/path.dart File pkg/pathos/lib/path.dart (right): https://codereview.chromium.org/16848002/diff/1/pkg/pathos/lib/path.dart#newcode898 pkg/pathos/lib/path.dart:898: Uri pathToUri(String path) => Uri.parse('file://$path'); On 2013/06/13 00:21:18, ...
7 years, 6 months ago (2013-06-13 07:13:32 UTC) #3
nweiz
https://codereview.chromium.org/16848002/diff/1/pkg/pathos/lib/path.dart File pkg/pathos/lib/path.dart (right): https://codereview.chromium.org/16848002/diff/1/pkg/pathos/lib/path.dart#newcode881 pkg/pathos/lib/path.dart:881: /// [path] is guaranteed to be absolute. Relative paths ...
7 years, 6 months ago (2013-06-19 00:50:27 UTC) #4
Bob Nystrom
One nit then LGTM. https://codereview.chromium.org/16848002/diff/1/pkg/pathos/lib/path.dart File pkg/pathos/lib/path.dart (right): https://codereview.chromium.org/16848002/diff/1/pkg/pathos/lib/path.dart#newcode881 pkg/pathos/lib/path.dart:881: /// [path] is guaranteed to ...
7 years, 6 months ago (2013-06-19 18:02:18 UTC) #5
nweiz
7 years, 6 months ago (2013-06-19 19:06:36 UTC) #6
Message was sent while issue was closed.
Committed patchset #4 manually as r24196 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698