Commit Graph

196 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 ff0a4d93bb pkg/docgen: update test for broken doc comment lookup under typedef
Related to https://code.google.com/p/dart/issues/detail?id=18352

R=alanknight@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35282 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-22 20:34:34 +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 b5e9a0e42c pkg/docgen: updated pubspec for latest markdown package
updated scheduled_test version
removed environment/sdk version: since this requires the current SDK

R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35033 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-14 17:39:53 +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 cd8f89074d Reverting 34583 - checked mode breaks
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34584 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-01 01:10:10 +00:00
kevmoo@google.com a719780175 Updated markdown library.
This patch fixes an issue which caused dartanalyzer warnings.

R=kevmoo@google.com
BUG= https://code.google.com/p/dart/issues/detail?id=17896

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

Patch from Martin Charles <martincharles07@gmail.com>.

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34583 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-01 00:03:21 +00:00
kevmoo@google.com f2f1aa824c Updated markdown library. This adds support for images in the doccumentation!
Here are the commits from the markdown library. This was a non-breaking
change but was versioned incorrectly.

See:
* https://github.com/dpeek/dart-markdown/pull/10
* https://github.com/dpeek/dart-markdown/issues/11

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

Patch from Martin Charles <martincharles07@gmail.com>.

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34525 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-28 20:52:21 +00:00
kevmoo@google.com 59b5e9695e pkg/docgen: fixes for unittest deprecations
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34507 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-28 16:41:19 +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 e0754c06f4 pkg/docgen: skip only_lib_content_in_pkg_test DEBUG - slow
only_lib_content_in_pkg_test fix empty packageRoot case

TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34288 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-22 19:51:04 +00:00
kevmoo@google.com 3ced9003fa pkg/doc_gen: fix test on bots
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34287 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-22 18:45:15 +00:00
ajohnsen@google.com 9079108be8 Remove previous debug printing.
BUG=
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34175 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-20 15:34:03 +00:00
ajohnsen@google.com 0244fa2a77 Add debug-printing to file, and remove from test.
Adding the debug print made the test stop failing.

BUG=
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34168 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-20 14:24:20 +00:00
ajohnsen@google.com 9c638185ef Fix just added debug code.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34161 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-20 10:49:51 +00:00
ajohnsen@google.com f629626483 Print debug info in generate_json_test.
BUG=
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34159 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-20 10:34:16 +00:00
kevmoo@google.com 72c361c89c pkg/docgen: test fixes
Split into seperate files to handle slowness and static state
Updated status file

R=alanknight@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34078 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-18 23:16:43 +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 497c18ef4c pkg/docgen: update markdown to 0.5.1
updated third_party/pkg/markdown

R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33404 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-07 00:01:36 +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
kevmoo@google.com 6e00b2d299 pkg/docgen: remove test print
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33170 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-28 20:37:08 +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 6cdd5a9cd8 pkg/docgen: hardwire test files
eliminate chance that listing files on a system will change order

R=alanknight@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32833 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-20 00:21:36 +00:00
kevmoo@google.com cd2f133e77 pkg/docgen: putting test code in file system
R=alanknight@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32821 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-19 21:11:40 +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 ef49163d6a pkg/docgen: rebase oops
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32800 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-19 17:56:56 +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 91e9411742 pkg/docgen: fix docs for --json flag, bin cleanup
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32774 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-19 03:07: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