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

Issue 8771054: Add a script to generate HTML and DOM docs with cross-links to one another. (Closed)

Created:
9 years ago by nweiz
Modified:
9 years ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Add a script to generate HTML and DOM docs with cross-links to one another. This entails adding callbacks to dartdoc for injecting additional comments, as well as adding somewhat deeper support for hashing and equality testing of Frog objects. The next step is to inject the annotations into the HTML and DOM library source itself. Committed: https://code.google.com/p/dart/source/detail?r=2199

Patch Set 1 #

Total comments: 37

Patch Set 2 : Code review changes. #

Patch Set 3 : Merge with HEAD #

Total comments: 6

Patch Set 4 : Various fixes to get htmldoc running again. #

Total comments: 8

Patch Set 5 : More code review changes. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+695 lines, -391 lines) Patch
M client/html/release/htmlimpl.dart View 14 chunks +57 lines, -43 lines 0 comments Download
D client/html/scripts/html-diff.dart View 1 chunk +0 lines, -254 lines 0 comments Download
A client/html/scripts/html_diff.dart View 1 2 3 4 1 chunk +333 lines, -0 lines 2 comments Download
A client/html/scripts/html_doc.dart View 1 2 3 4 1 chunk +105 lines, -0 lines 0 comments Download
M client/html/src/DocumentWrappingImplementation.dart View 1 2 2 chunks +32 lines, -29 lines 0 comments Download
M client/html/src/ElementWrappingImplementation.dart View 1 2 11 chunks +25 lines, -9 lines 0 comments Download
M client/html/src/MessageEventWrappingImplementation.dart View 1 chunk +0 lines, -5 lines 0 comments Download
M frog/library.dart View 1 chunk +5 lines, -0 lines 0 comments Download
M frog/member.dart View 1 2 3 4 1 chunk +12 lines, -1 line 0 comments Download
M frog/type.dart View 1 2 2 chunks +10 lines, -0 lines 0 comments Download
M utils/dartdoc/dartdoc.dart View 1 2 3 12 chunks +70 lines, -46 lines 0 comments Download
M utils/dartdoc/files.dart View 1 2 chunks +1 line, -3 lines 0 comments Download
A utils/dartdoc/htmldoc View 1 1 chunk +33 lines, -0 lines 0 comments Download
M utils/dartdoc/utils.dart View 1 1 chunk +12 lines, -1 line 0 comments Download

Messages

Total messages: 13 (0 generated)
nweiz
9 years ago (2011-12-06 22:28:41 UTC) #1
Jacob
http://codereview.chromium.org/8771054/diff/1/client/html/scripts/html_doc.dart File client/html/scripts/html_doc.dart (right): http://codereview.chromium.org/8771054/diff/1/client/html/scripts/html_doc.dart#newcode32 client/html/scripts/html_doc.dart:32: String _andList(List<String> items) { nit: name _andList is a ...
9 years ago (2011-12-06 22:38:14 UTC) #2
Bob Nystrom
http://codereview.chromium.org/8771054/diff/1/client/html/scripts/html_doc.dart File client/html/scripts/html_doc.dart (right): http://codereview.chromium.org/8771054/diff/1/client/html/scripts/html_doc.dart#newcode6 client/html/scripts/html_doc.dart:6: * A script to document the HTML library. This ...
9 years ago (2011-12-06 23:11:23 UTC) #3
nweiz
http://codereview.chromium.org/8771054/diff/1/client/html/scripts/html_doc.dart File client/html/scripts/html_doc.dart (right): http://codereview.chromium.org/8771054/diff/1/client/html/scripts/html_doc.dart#newcode7 client/html/scripts/html_doc.dart:7: * utils/dartdoc directory. On 2011/12/06 23:11:23, Bob Nystrom wrote: ...
9 years ago (2011-12-07 19:26:56 UTC) #4
nweiz
Looping in Siggi to get this reviewed and committed in time for the hackathon.
9 years ago (2011-12-07 19:27:43 UTC) #5
Siggi Cherem (dart-lang)
http://codereview.chromium.org/8771054/diff/8004/client/html/scripts/html_diff.dart File client/html/scripts/html_diff.dart (right): http://codereview.chromium.org/8771054/diff/8004/client/html/scripts/html_diff.dart#newcode155 client/html/scripts/html_diff.dart:155: List<Type> htmlToDomTypes(Type htmlType) { some high-level dartdoc on some ...
9 years ago (2011-12-07 21:16:12 UTC) #6
Jacob
lgtm
9 years ago (2011-12-07 21:29:12 UTC) #7
nweiz
http://codereview.chromium.org/8771054/diff/8004/client/html/scripts/html_diff.dart File client/html/scripts/html_diff.dart (right): http://codereview.chromium.org/8771054/diff/8004/client/html/scripts/html_diff.dart#newcode155 client/html/scripts/html_diff.dart:155: List<Type> htmlToDomTypes(Type htmlType) { On 2011/12/07 21:16:13, sigmund wrote: ...
9 years ago (2011-12-07 22:09:10 UTC) #8
Siggi Cherem (dart-lang)
lgtm http://codereview.chromium.org/8771054/diff/9002/frog/type.dart File frog/type.dart (right): http://codereview.chromium.org/8771054/diff/9002/frog/type.dart#newcode387 frog/type.dart:387: bool operator ==(other) => On 2011/12/07 22:09:11, nweiz ...
9 years ago (2011-12-07 22:22:49 UTC) #9
nweiz
http://codereview.chromium.org/8771054/diff/9002/frog/type.dart File frog/type.dart (right): http://codereview.chromium.org/8771054/diff/9002/frog/type.dart#newcode387 frog/type.dart:387: bool operator ==(other) => On 2011/12/07 22:22:52, sigmund wrote: ...
9 years ago (2011-12-07 22:26:41 UTC) #10
Siggi Cherem (dart-lang)
http://codereview.chromium.org/8771054/diff/9002/frog/type.dart File frog/type.dart (right): http://codereview.chromium.org/8771054/diff/9002/frog/type.dart#newcode387 frog/type.dart:387: bool operator ==(other) => On 2011/12/07 22:26:42, nweiz wrote: ...
9 years ago (2011-12-07 22:32:19 UTC) #11
Bob Nystrom
LGTM http://codereview.chromium.org/8771054/diff/15001/client/html/scripts/html_diff.dart File client/html/scripts/html_diff.dart (right): http://codereview.chromium.org/8771054/diff/15001/client/html/scripts/html_diff.dart#newcode64 client/html/scripts/html_diff.dart:64: HtmlDiff() : For future reference, I think we ...
9 years ago (2011-12-07 22:54:29 UTC) #12
nweiz
9 years ago (2011-12-07 23:01:11 UTC) #13
http://codereview.chromium.org/8771054/diff/15001/client/html/scripts/html_di...
File client/html/scripts/html_diff.dart (right):

http://codereview.chromium.org/8771054/diff/15001/client/html/scripts/html_di...
client/html/scripts/html_diff.dart:64: HtmlDiff() :
On 2011/12/07 22:54:30, Bob Nystrom wrote:
> For future reference, I think we usually wrap that:
> HtmlDiff()
>   : domToHtml...

Noted.

> Also, for new collections, I usually use literal form:
> 
> domToHtml = <Member, Set<Member>>{}

Currently, "<Member, Set<Member>>{}" produces a warning. Apparently the spec
wants all map literals to have string keys.

Powered by Google App Engine
This is Rietveld 408576698