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

Issue 10701091: Dartdoc and Apidoc updated to use dart2js through the mirror system. (Closed)

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

Description

Dartdoc and Apidoc updated to use dart2js through the mirror system. BUG=3414 Committed: https://code.google.com/p/dart/source/detail?r=9584

Patch Set 1 : #

Patch Set 2 : create-sdk.py updated #

Total comments: 58

Patch Set 3 : Fixed cf. comments #

Total comments: 40

Patch Set 4 : Fixed cf. rnystrom's comments. #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+1153 lines, -922 lines) Patch
M lib/compiler/implementation/apiimpl.dart View 1 chunk +3 lines, -1 line 2 comments Download
M lib/compiler/implementation/compiler.dart View 1 2 3 2 chunks +3 lines, -1 line 1 comment Download
M lib/compiler/implementation/elements/elements.dart View 1 2 3 2 chunks +5 lines, -1 line 0 comments Download
M lib/compiler/implementation/resolver.dart View 1 2 5 chunks +25 lines, -7 lines 1 comment Download
M lib/dartdoc/classify.dart View 1 2 3 3 chunks +95 lines, -140 lines 0 comments Download
M lib/dartdoc/client-live-nav.dart View 1 chunk +1 line, -1 line 0 comments Download
M lib/dartdoc/client-shared.dart View 1 chunk +1 line, -1 line 0 comments Download
M lib/dartdoc/client-static.dart View 1 chunk +1 line, -1 line 0 comments Download
M lib/dartdoc/comment_map.dart View 1 2 3 chunks +26 lines, -30 lines 0 comments Download
M lib/dartdoc/dartdoc.dart View 1 2 3 46 chunks +421 lines, -331 lines 0 comments Download
A + lib/dartdoc/file_util.dart View 1 chunk +5 lines, -17 lines 0 comments Download
M lib/dartdoc/mirrors/dart2js_mirror.dart View 1 2 3 33 chunks +272 lines, -140 lines 0 comments Download
M lib/dartdoc/mirrors/mirrors.dart View 1 2 4 chunks +17 lines, -4 lines 0 comments Download
M lib/dartdoc/mirrors/mirrors_util.dart View 1 2 3 3 chunks +32 lines, -3 lines 0 comments Download
M lib/dartdoc/utils.dart View 1 2 2 chunks +17 lines, -15 lines 0 comments Download
M tests/compiler/dart2js/mirrors_test.dart View 1 4 chunks +7 lines, -7 lines 0 comments Download
M tools/create_sdk.py View 1 2 3 1 chunk +13 lines, -3 lines 0 comments Download
M utils/apidoc/apidoc.dart View 1 2 3 14 chunks +96 lines, -112 lines 0 comments Download
M utils/apidoc/html_diff.dart View 9 chunks +81 lines, -56 lines 0 comments Download
M utils/apidoc/html_diff_dump.dart View 1 chunk +32 lines, -51 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Johnni Winther
8 years, 5 months ago (2012-07-05 12:08:46 UTC) #1
kasperl
LGTM. https://chromiumcodereview.appspot.com/10701091/diff/5001/lib/compiler/implementation/compiler.dart File lib/compiler/implementation/compiler.dart (right): https://chromiumcodereview.appspot.com/10701091/diff/5001/lib/compiler/implementation/compiler.dart#newcode1002 lib/compiler/implementation/compiler.dart:1002: String toString() { Use => notation? https://chromiumcodereview.appspot.com/10701091/diff/5001/lib/compiler/implementation/resolver.dart File ...
8 years, 5 months ago (2012-07-06 12:40:41 UTC) #2
Lasse Reichstein Nielsen
LGTM https://chromiumcodereview.appspot.com/10701091/diff/5001/lib/dartdoc/classify.dart File lib/dartdoc/classify.dart (right): https://chromiumcodereview.appspot.com/10701091/diff/5001/lib/dartdoc/classify.dart#newcode185 lib/dartdoc/classify.dart:185: // Color this like a keyword This isn't ...
8 years, 5 months ago (2012-07-09 10:39:33 UTC) #3
Johnni Winther
Merged and fixed cf. comments. https://chromiumcodereview.appspot.com/10701091/diff/5001/lib/compiler/implementation/compiler.dart File lib/compiler/implementation/compiler.dart (right): https://chromiumcodereview.appspot.com/10701091/diff/5001/lib/compiler/implementation/compiler.dart#newcode1002 lib/compiler/implementation/compiler.dart:1002: String toString() { On ...
8 years, 5 months ago (2012-07-09 14:57:18 UTC) #4
Bob Nystrom
This is very cool. It's going to be awesome having a single unified mirrors API ...
8 years, 5 months ago (2012-07-09 16:59:55 UTC) #5
Johnni Winther
https://chromiumcodereview.appspot.com/10701091/diff/11001/lib/compiler/implementation/apiimpl.dart File lib/compiler/implementation/apiimpl.dart (right): https://chromiumcodereview.appspot.com/10701091/diff/11001/lib/compiler/implementation/apiimpl.dart#newcode109 lib/compiler/implementation/apiimpl.dart:109: // instance in the [Types] constructor in typechecker.dart. On ...
8 years, 5 months ago (2012-07-12 08:51:39 UTC) #6
Bob Nystrom
LGTM! https://chromiumcodereview.appspot.com/10701091/diff/11001/lib/compiler/implementation/apiimpl.dart File lib/compiler/implementation/apiimpl.dart (right): https://chromiumcodereview.appspot.com/10701091/diff/11001/lib/compiler/implementation/apiimpl.dart#newcode109 lib/compiler/implementation/apiimpl.dart:109: // instance in the [Types] constructor in typechecker.dart. ...
8 years, 5 months ago (2012-07-12 16:42:30 UTC) #7
ahe
8 years, 4 months ago (2012-08-02 19:56:22 UTC) #8
https://chromiumcodereview.appspot.com/10701091/diff/5003/lib/compiler/implem...
File lib/compiler/implementation/apiimpl.dart (right):

https://chromiumcodereview.appspot.com/10701091/diff/5003/lib/compiler/implem...
lib/compiler/implementation/apiimpl.dart:108: // [:span.uri:] might be [:null:]
in case of a [Script] with no [uri]. For
Actually, span.uri may not be null...

https://chromiumcodereview.appspot.com/10701091/diff/5003/lib/compiler/implem...
lib/compiler/implementation/apiimpl.dart:109: // instance in the [Types]
constructor in typechecker.dart.
... because Types shouldn't do that :-)

https://chromiumcodereview.appspot.com/10701091/diff/5003/lib/compiler/implem...
File lib/compiler/implementation/compiler.dart (right):

https://chromiumcodereview.appspot.com/10701091/diff/5003/lib/compiler/implem...
lib/compiler/implementation/compiler.dart:980: if (uri === null &&
currentElement !== null) {
currentElement may not be null.

https://chromiumcodereview.appspot.com/10701091/diff/5003/lib/compiler/implem...
File lib/compiler/implementation/resolver.dart (right):

https://chromiumcodereview.appspot.com/10701091/diff/5003/lib/compiler/implem...
lib/compiler/implementation/resolver.dart:156: void visitBody(ResolverVisitor
visitor, Statement body) {
What is the purpose of this method?

Powered by Google App Engine
This is Rietveld 408576698