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

Issue 10780030: Dartdoc and apidoc updated to use Path. (Closed)

Created:
8 years, 5 months ago by Johnni Winther
Modified:
8 years, 5 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Dartdoc and apidoc updated to use Path. Committed: https://code.google.com/p/dart/source/detail?r=9759

Patch Set 1 #

Total comments: 38

Patch Set 2 : Updated cf. comments #

Total comments: 2

Patch Set 3 : Updated cf. comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+206 lines, -244 lines) Patch
M lib/dartdoc/dartdoc.dart View 1 2 27 chunks +128 lines, -113 lines 0 comments Download
D lib/dartdoc/file_util.dart View 1 chunk +0 lines, -61 lines 0 comments Download
M lib/dartdoc/mirrors/dart2js_mirror.dart View 1 2 2 chunks +14 lines, -11 lines 0 comments Download
M lib/dartdoc/mirrors/mirrors.dart View 3 chunks +18 lines, -6 lines 0 comments Download
M lib/dartdoc/utils.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/mirrors_test.dart View 1 chunk +1 line, -2 lines 0 comments Download
M tools/create_sdk.py View 1 1 chunk +2 lines, -8 lines 0 comments Download
M utils/apidoc/apidoc.dart View 1 8 chunks +34 lines, -38 lines 0 comments Download
M utils/apidoc/apidoc.gyp View 1 chunk +0 lines, -1 line 0 comments Download
M utils/apidoc/html_diff.dart View 2 chunks +6 lines, -2 lines 0 comments Download
M utils/apidoc/html_diff_dump.dart View 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
Johnni Winther
8 years, 5 months ago (2012-07-17 08:38:47 UTC) #1
Bill Hesse
I'm pretty sure that nativeToUriPath can be dropped - that is one of the goals ...
8 years, 5 months ago (2012-07-17 13:42:13 UTC) #2
Johnni Winther
PTAL https://chromiumcodereview.appspot.com/10780030/diff/1/lib/dartdoc/dartdoc.dart File lib/dartdoc/dartdoc.dart (right): https://chromiumcodereview.appspot.com/10780030/diff/1/lib/dartdoc/dartdoc.dart#newcode104 lib/dartdoc/dartdoc.dart:104: outputDir = arg.substring('--out='.length); On 2012/07/17 13:42:13, Bill Hesse ...
8 years, 5 months ago (2012-07-19 08:37:07 UTC) #3
Bill Hesse
LGTM, except that I still don't see why you are using nativeToUriPath(libraryRoot.toNativePath()) instead of libraryRoot.toString(). ...
8 years, 5 months ago (2012-07-19 13:36:19 UTC) #4
Johnni Winther
8 years, 5 months ago (2012-07-19 14:12:25 UTC) #5
nativeToUriPath(libraryRoot.toNativePath()) have been changed to
libraryRoot.toString().

I had misread the doc for toString() which should probably explicitly state that
if the path was created with the fromNative constructor on Windows, backslashes
have been replaced by forward slashes.

https://chromiumcodereview.appspot.com/10780030/diff/6001/lib/dartdoc/dartdoc...
File lib/dartdoc/dartdoc.dart (right):

https://chromiumcodereview.appspot.com/10780030/diff/6001/lib/dartdoc/dartdoc...
lib/dartdoc/dartdoc.dart:34: // to work with the SDK's different file layout. If
you change, be sure to test
On 2012/07/19 13:36:19, Bill Hesse wrote:
> following line.  Or "IN_SDK gets initialized to true when this file is
modified
> by the SDK deployment script"

Done.

Powered by Google App Engine
This is Rietveld 408576698