Commit Graph

154 Commits

Author SHA1 Message Date
kevmoo@google.com d460d7d9f9 Use UnmodifiableMapView in compiler
Redo of https://code.google.com/p/dart/source/detail?r=35379
Which was reverted in https://code.google.com/p/dart/source/detail?r=35381

R=herhut@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35482 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-28 13:12:03 +00:00
kevmoo@google.com 862e9b046e pkg/docgen: fix type warnings
BUG= https://code.google.com/p/dart/issues/detail?id=18232
R=alanknight@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35286 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-22 22:52:30 +00:00
kevmoo@google.com 23c6d56238 pkg/docgen: using consistently ordered maps for caching
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35240 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-22 00:39:02 +00:00
efortuna@google.com 9140833cd1 Partial fix for Angular Annotations viewed in Docgen.
BUG=
R=alanknight@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35236 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-21 23:42:39 +00:00
kevmoo@google.com a024b9a76a pkg/docgen: a bunch of cleanup
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35233 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-21 23:19:49 +00:00
kevmoo@google.com aa5d54f788 pkg/docgen: fixed type references within typedef doc comments
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35216 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-21 18:37:25 +00:00
kevmoo@google.com 07bc8e8bea pkg/docgen: fixed some references within typedef doc comments
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35191 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-18 23:46:38 +00:00
kevmoo@google.com 5bdb634c65 pkg/docgen: moved model classes into minilibs
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35187 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-18 22:37:06 +00:00
kevmoo@google.com 435cdeb957 pkg/docgen: support better const rendering of String, List, and empty Map
BUG= https://code.google.com/p/dart/issues/detail?id=18107
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35140 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-17 00:02:11 +00:00
kevmoo@google.com 5e76839f75 pkg/docgen: add --indent-json option
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35054 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-15 00:13:20 +00:00
kevmoo@google.com 2c977913a4 pkg/docgen: removed yaml and append output support
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35039 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-14 20:56:15 +00:00
kevmoo@google.com c4d5d5ff13 pkg/docgen: sort output files
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35032 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-14 17:33:52 +00:00
kevmoo@google.com c5eacd65cf pkg/docgen: continue the refactoring
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34651 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-02 16:36:05 +00:00
kevmoo@google.com f4b296daed pkg/docgen: the big refactor
Separated code into mini-libraries
Eliminated "static" classes in favor of named imports

R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34313 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-24 16:46:17 +00:00
kevmoo@google.com 02a50261e6 pkg/docgen: dir that look like packages, only document the contents of lib
R=alanknight@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33773 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-17 20:41:47 +00:00
kevmoo@google.com 670755b19e pkg/docgen: more cleanup
R=alanknight@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33769 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-17 20:21:22 +00:00
kevmoo@google.com 1eabc4b756 pkg/dartdoc: moving files around, fix library names
R=alanknight@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33756 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-17 17:46:04 +00:00
kevmoo@google.com 2df2a9a11b pkg/docgen: refactoring and cleanup
locking down Indexable
Moved MDN code into its own library

R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33753 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-17 17:06:50 +00:00
kevmoo@google.com d78684308b docgen: use https:// over git://
BUG= https://code.google.com/p/dart/issues/detail?id=17304
By financecoding@gmail.com

R=alanknight@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33405 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-07 00:47:28 +00:00
kevmoo@google.com a76de995b0 Adding 'preview' to typedef
Removed call to non-existent _moveDirectoryAndReplace
updated min scheduled_test version

R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33338 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-05 18:48:44 +00:00
kevmoo@google.com a8cc9f7b19 pkg/docgen: sort items in index.txt
Makes it easier to investigate diffs

R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33181 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-28 23:35:59 +00:00
dgrove@google.com 3b8fa994bc Allow docgen --serve server to be accessed from IP addresses other than the
loopback.

R=alanknight@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33020 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-25 16:36:04 +00:00
alanknight@google.com 6e2de7cdf1 Not having this led to failures in the docgen tests because we put the test libraries as being in the package docgen when running tests.
Review URL: https://codereview.chromium.org//179093002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32996 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-25 00:11:42 +00:00
alanknight@google.com f8da8e791c Don't assume the pubspec is only one level up from a library
BUG=
R=kevmoo@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32994 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-24 23:25:29 +00:00
kevmoo@google.com 4ab013fbc8 pkg/docgen: fix compile and serve
R=alanknight@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32929 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-21 21:07:35 +00:00
kevmoo@google.com 6ef4c882c4 pkg/docgen: forgot to remove a 'print', unused import
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32835 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-20 00:27:06 +00:00
kevmoo@google.com e4baa0ff51 pkg/docgen: support dartdoc-viewer with the viewer app at the root of the repo
R=alanknight@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32834 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-20 00:23:10 +00:00
kevmoo@google.com d240e60e60 pkg/docgen: basic test of json output
align API with bin: generate json by default (not yaml)
added type to docgen 'out' argument

R=alanknight@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32806 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-19 19:05:15 +00:00
kevmoo@google.com 87c3d6ea8d pkg/docgen: updated min dependencies of args and unittest
export true/false as true/false, not strings
Locked down a number of types

R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32799 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-19 17:48:26 +00:00
kevmoo@google.com 9a10369306 pkg/docgen: removed py files, doc/README.txt, fixed analyzer warning
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32758 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-18 19:38:12 +00:00
alanknight@google.com e9cb5c2add Tolerate a comment with no end paragraph tag when generating preview
BUG=
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32662 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-13 17:47:36 +00:00
dgrove@google.com c23e071c3e Add --compile flag.
BUG=16716 .
R=alanknight@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32639 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-13 01:07:19 +00:00
dgrove@google.com 22d649cf9a Automatically pass SDK into docgen.dart, and use the SDK for running
pub and the Dart binary. This removes the need to have the SDK in the
PATH when running docgen.

R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32632 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-12 23:23:25 +00:00
alanknight@google.com 68e4bd8794 Use reasonable defaults for docgen if invoked on a single package
BUG=
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32583 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-11 23:45:00 +00:00
efortuna@google.com 92391196b3 Add back MDN comments.
BUG=
R=alanknight@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32518 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-10 21:04:52 +00:00
alanknight@google.com 76cd463cbb Docgen snapshot needs to use dart-sdk as its SDK root in a downloaded SDK
BUG=
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32453 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-07 21:41:40 +00:00
efortuna@google.com 21bd15e030 Run pub update on the pulled down version of dartdoc viewer to run.
BUG=
R=dgrove@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32341 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-05 21:52:11 +00:00
efortuna@google.com 9d27119a8d Additional refactoring for docgen.`
BUG=
R=alanknight@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32305 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-05 00:50:47 +00:00
alanknight@google.com da43d16ec5 Let users specify the start page of the resulting docs
BUG=
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32293 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-04 21:35:32 +00:00
alanknight@google.com 56ea63472c Fix missing package qualifier for typedefs
BUG=
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32291 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-04 21:25:15 +00:00
floitsch@google.com ebbc454d2d Fix missing .mirror.
Review URL: https://codereview.chromium.org//151693002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32209 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-31 19:02:22 +00:00
johnniwinther@google.com 7b52480b56 Align source mirrors with runtime mirrors.
BUG=
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32195 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-31 14:15:26 +00:00
efortuna@google.com fc68077557 Fix package docnames for select return types, and some more docgen refactoring.
BUG=
R=alanknight@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32129 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-29 18:43:36 +00:00
efortuna@google.com 072738e5d4 Make constructor names hyphenated in qualifiedName json output.
BUG=
R=alanknight@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31902 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-16 23:04:19 +00:00
efortuna@google.com 33bfef8b36 Fixed up some inheritance chains and improved constructor output (to be fully qualified).
BUG=
R=alanknight@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31894 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-16 19:10:09 +00:00
efortuna@google.com 0526aa6904 Add a snapshot for docgen and use it in the build (https://codereview.chromium.org/116043013/)
Also fixed up comments for some inherited object methods.

BUG=
R=alanknight@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31850 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-15 21:12:26 +00:00
efortuna@google.com c57b55c5dd Enable re-export in docgen. Work in progress. More to come.
BUG=
R=alanknight@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31793 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-14 18:34:23 +00:00
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