Commit Graph

107 Commits

Author SHA1 Message Date
alanknight@google.com 1a62516ae9 Two small docgen fixes
BUG=
R=efortuna@google.com

Review URL: https://codereview.chromium.org//112103005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31091 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-11 23:35:20 +00:00
alanknight@google.com f89a658037 Adds a --include-dependent-packages option to docgen
R=efortuna@google.com

Review URL: https://codereview.chromium.org//108473004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30964 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-06 20:42:02 +00:00
efortuna@google.com 62246df6f6 Update references for exported variables and methods.
BUG=
R=alanknight@google.com

Review URL: https://codereview.chromium.org//103423002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30841 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-04 01:13:11 +00:00
efortuna@google.com 12a1fd9805 Make re-exported classes appear as if they are part of the original library.
This is a WIP -- I need to finish the recursive updating of exported fields, but
everything else should be there.

BUG=
R=alanknight@google.com

Review URL: https://codereview.chromium.org//103083003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30831 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-03 23:05:28 +00:00
efortuna@google.com 60750478c2 Change the output of unnamed constructors in our files.
BUG=
R=alanknight@google.com

Review URL: https://codereview.chromium.org//99863003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30807 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-03 01:01:15 +00:00
aprelev@gmail.com 0db404e598 Fix docgen Uri handling so it works on Windows.
BUG=dartbug.com/15287
R=alanknight@google.com, efortuna@google.com

Committed: https://code.google.com/p/dart/source/detail?r=30634

Review URL: https://codereview.chromium.org//83173012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30644 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-25 20:59:54 +00:00
aprelev@gmail.com c4c7825bbc Revert "Fix docgen Uri handling so it works on Windows." to fix tests.
This reverts commit r30364.

TBR

Review URL: https://codereview.chromium.org//83443006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30635 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-25 17:57:52 +00:00
aprelev@gmail.com adde900d8b Fix docgen Uri handling so it works on Windows.
BUG=dartbug.com/15287
R=alanknight@google.com, efortuna@google.com

Review URL: https://codereview.chromium.org//83173012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30634 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-25 17:33:39 +00:00
efortuna@google.com 3713bed8df Expose exported classes as well.
BUG=
R=alanknight@google.com

Review URL: https://codereview.chromium.org//78713004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30542 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-21 19:26:27 +00:00
alanknight@google.com 03d0cd826f Generate docgen output along with api_docs as part of the build
R=danrubel@google.com, efortuna@google.com, kustermann@google.com, rnystrom@google.com

Review URL: https://codereview.chromium.org//73113002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30485 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-20 21:51:51 +00:00
alanknight@google.com 2ab5f798a6 Resolve comments lazily and re-evaluate inherited comments for subclasses
R=efortuna@google.com

Review URL: https://codereview.chromium.org//63193006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30379 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-18 22:05:45 +00:00
alanknight@google.com 308aae7ea0 Don't rely on a package having a library by the same name in order to associate a readme
R=efortuna@google.com

Review URL: https://codereview.chromium.org//73893006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30375 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-18 21:29:10 +00:00
efortuna@google.com 03d5a89194 Add back Reflectable annotations.
BUG=
R=alanknight@google.com

Review URL: https://codereview.chromium.org//68133010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30208 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-12 21:23:16 +00:00
alanknight@google.com dba0abf95e Make subclasses in packages have the right link. Sort by name.
R=efortuna@google.com

Review URL: https://codereview.chromium.org//68363003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30202 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-12 19:23:29 +00:00
efortuna@google.com 8002af3122 Fix single library test.
BUG=

Review URL: https://codereview.chromium.org//67323004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30130 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-08 23:25:13 +00:00
efortuna@google.com 7e46880b21 Add package name for resolved names in packages.
BUG=
R=alanknight@google.com

Review URL: https://codereview.chromium.org//62963005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30129 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-08 23:05:30 +00:00
efortuna@google.com 49d3509250 Fixing some more resolving issues with super classes in docgen.
BUG=
R=alanknight@google.com

Review URL: https://codereview.chromium.org//60733011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30090 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-08 01:15:55 +00:00
efortuna@google.com eb118c82b1 Fix single library test.
BUG=

Review URL: https://codereview.chromium.org//65593002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30076 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-07 22:12:08 +00:00
efortuna@google.com 581ff321fa Properly resolve qualified names in documenation (possibly from other libraries).
BUG=
R=alanknight@google.com

Review URL: https://codereview.chromium.org//65403002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30073 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-07 21:44:54 +00:00
alanknight@google.com e8c2a68c76 Filter out statics when adding inherited members
R=efortuna@google.com

Review URL: https://codereview.chromium.org//64713006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30072 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-07 21:42:19 +00:00
iposva@google.com d27c33b5b2 - Reverting mirror changes.
Review URL: https://codereview.chromium.org//61873007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30028 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-07 01:57:18 +00:00
efortuna@google.com 5aa38829a1 "Reverting 30019" (aka reverting the revert)
BUG=
R=alanknight@google.com

Review URL: https://codereview.chromium.org//63543002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30026 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-07 01:37:40 +00:00
rmacnak@google.com f7dc19ada8 Revert change to docgen.
Review URL: https://codereview.chromium.org//60323008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30022 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-07 01:07:05 +00:00
efortuna@google.com 25911d62c9 "Reverting 30015"
BUG=

Review URL: https://codereview.chromium.org//63033004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30019 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-07 00:35:37 +00:00
rmacnak@google.com c3cf0dde46 Fix some users of removed mirror API.
R=gbracha@google.com, jmesserly@google.com

Review URL: https://codereview.chromium.org//63483002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30016 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-07 00:24:53 +00:00
efortuna@google.com 86a3f4a27c Properly escape angle brackets and find their corresponding links in docgen.
BUG=
R=alanknight@google.com

Review URL: https://codereview.chromium.org//62353004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30015 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-07 00:04:50 +00:00
alanknight@google.com b7dbc53b05 Stopgap generating docgen all at once until --append mode can be fixed
R=efortuna@google.com

Review URL: https://codereview.chromium.org//63303002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30009 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-06 23:16:41 +00:00
efortuna@google.com 02fdd1b877 Fix triple slash comments new paragraph spacing.
BUG=
R=alanknight@google.com

Review URL: https://codereview.chromium.org//58573002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29857 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-04 22:46:22 +00:00
efortuna@google.com f910d299e0 Added a few more annotations to the blacklist for docgen.
BUG=
R=alanknight@google.com

Review URL: https://codereview.chromium.org//53423004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29845 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-04 21:22:01 +00:00
efortuna@google.com 423f3b9b60 Refactor scripts, so we have a single entrypoint, dartdoc.py, to generate docs.
Also, generate documentation incrementally as a fallback so that some docs are
generated rather than an all-or-nothing approach.

Also, set a "blacklist" instead of a "whitelist" for annotations.

BUG=
R=alanknight@google.com

Review URL: https://codereview.chromium.org//56183003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29780 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-01 23:18:31 +00:00
alanknight@google.com db79dfff11 Fixes to find the path after changes to Platform, but now working reliably
R=efortuna@google.com

Review URL: https://codereview.chromium.org//55453002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29712 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 22:42:48 +00:00
alanknight@google.com 5d38c81ca4 Work around changes to Platform in docgen
R=efortuna@google.com

Review URL: https://codereview.chromium.org//55233002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29699 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 21:05:15 +00:00
sgjesse@google.com c38de04d0c Change dart:io Platform.script to return a Uri.
BUG=
R=sgjesse@google.com

Review URL: https://codereview.chromium.org//46063010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29651 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 07:29:01 +00:00
whesse@google.com 4f08151090 Revert "Change dart:io Platform.script to return a Uri."
This reverts r29619 and r29624.  The changes look fine on the buildbot,
but need review before adding to the repository.

BUG=

TBR=sgjesse@google.com

Review URL: https://codereview.chromium.org//52723007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29627 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 02:17:37 +00:00
whesse@google.com cb0110350a Change dart:io Platform.script to return a URI. Change all uses of Platform.script to work with the new value.
R=floitsch@google.com

Review URL: https://codereview.chromium.org//53313007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29619 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 01:08:11 +00:00
alanknight@google.com 8134f01f9e Further fixes for including package information in docs
Review URL: https://codereview.chromium.org//47603014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29606 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-30 23:00:14 +00:00
whesse@google.com 69205c207c Remove uses of Options from pkg, samples, tests, and third_party directories.
BUG=
R=sgjesse@google.com

Review URL: https://codereview.chromium.org//52573002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29552 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-30 15:17:01 +00:00
alanknight@google.com 0f20feb9ca Make docgen able to generate pkg docs and save the package names
R=terry@google.com

Review URL: https://codereview.chromium.org//35743002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29387 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-28 20:10:57 +00:00
lry@google.com 948743a78c Scanner for UTF-8 byte arrays
Introduces a SourceFile based on UTF-8 byte arrays and a scanner for
such source files.

Substrings are computed lazily. This should save some memory because
substring tokens in classes that are not used by some program are

R=kasperl@google.com

Review URL: https://codereview.chromium.org//27510003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28843 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-18 06:40:07 +00:00
floitsch@google.com 74da0c7286 Remove usage of dart:json.
R=jmesserly@google.com, lrn@google.com, nweiz@google.com, rnystrom@google.com

Review URL: https://codereview.chromium.org//23596007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26789 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-28 14:05:11 +00:00
tmandel@google.com 3ae50294c7 Fixed parameters losing their original order
BUG=
R=jmesserly@google.com

Review URL: https://codereview.chromium.org//22877022

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26301 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-16 23:13:35 +00:00
janicejl@google.com 83ae491059 Appending working for library_list.json
R=rnystrom@google.com

Review URL: https://codereview.chromium.org//23003010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26294 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-16 21:39:04 +00:00
tmandel@google.com 5a5a63dd52 Added ability to make library_list be JSON instead of YAML
BUG=
R=efortuna@google.com

Review URL: https://codereview.chromium.org//22884008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26277 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-16 16:09:34 +00:00
tmandel@google.com 8aa72ec3be Allowed for public classes to inherit from private superclasses
BUG=
R=alanknight@google.com

Review URL: https://codereview.chromium.org//23181004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26226 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-15 21:44:18 +00:00
janicejl@google.com 4247f504cc Added an introduction option by passing in a file with markdown.
BUG=
R=efortuna@google.com

Review URL: https://codereview.chromium.org//22831008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26213 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-15 20:32:43 +00:00
janicejl@google.com fd6b69063b DOM elements now have MDN comments if provided.
BUG=
R=efortuna@google.com

Review URL: https://codereview.chromium.org//22850005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26206 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-15 18:47:12 +00:00
tmandel@google.com 2a93864735 Filter annotations for only important ones
BUG=
R=alanknight@google.com

Review URL: https://codereview.chromium.org//23094004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26145 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-14 20:34:48 +00:00
janicejl@google.com 6cb2943ede Hides libraries that should not be documented.
BUG=
R=efortuna@google.com

Review URL: https://codereview.chromium.org//23031004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26102 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-14 00:36:27 +00:00
janicejl@google.com b0845759f4 Checks if a mirror is a typedef mirror first.
R=efortuna@google.com

Review URL: https://codereview.chromium.org//22962007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26098 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-14 00:14:28 +00:00
janicejl@google.com 50e7815aa4 parts of
BUG=
R=efortuna@google.com

Review URL: https://codereview.chromium.org//22835007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26094 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-13 23:44:39 +00:00