Commit Graph

65 Commits

Author SHA1 Message Date
johnniwinther@google.com c167972a80 Support native extensions for analysis and docgen.
BUG=http://dartbug.com/10616
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41903 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-21 14:09:14 +00:00
johnniwinther@google.com 43bc55bcfd Replace ResolvedNode by ConstantExpression.
BUG=http://dartbug.com/21493
R=sigurdm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41709 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-13 10:22:30 +00:00
alanknight@google.com e6bdf284bf Generate docgen file names with hyphens in their names instead of colons
BUG=
R=kevmoo@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41642 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-10 18:25:13 +00:00
johnniwinther@google.com 558dd52ba6 Fix docgen tests.
BUG=
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41629 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-10 13:15:10 +00:00
johnniwinther@google.com fd67614e9a Add test for docgen of source with async/await.
BUG=
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41486 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-04 13:45:39 +00:00
johnniwinther@google.com 2949c787a6 Use ConstExp for storing constants.
Main modification in

compile_time_constants.dart
cps_ir/const_expression.dart
cps_ir/cps_ir_builder.dart

R=efortuna@google.com, sigurdm@google.com

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40759 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-29 09:17:43 +00:00
kevmoo@google.com 8ef920990f pkg/docgen: include all package libraries under lib/, except those under lib/src
Also updated package dependencies

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40246 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-15 15:04:20 +00:00
kevmoo@google.com 9e0f6ee313 pkg/docgen: ensure parameter maps keep their key order
Review URL: https://codereview.chromium.org//285463002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36038 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-12 16:03:06 +00:00
efortuna@google.com 619bfcb37f Add function parameter info in docgen.
BUG=
R=alanknight@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35866 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-07 20:35:29 +00:00
efortuna@google.com f696ff46a1 Access parameter data in Annotations, as well as fixed export visibility
calculation.

BUG=
R=alanknight@google.com, johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35768 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-05 21:31: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 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 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 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
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 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
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 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
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
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
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 428e84e7d4 Use Directory.systemTemp getter in pkg subdirectory of repository.
BUG=
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28218 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-03 13:12:10 +00:00
whesse@google.com 3c0c99a3b9 Add Directory.systemTemp getter to replace createSystemTemp().
BUG=dartbug.com/12496
R=rnystrom@google.com, sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28215 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-03 12:55:30 +00:00
whesse@google.com e5982dc4c9 Fix breakage from r28097
BUG=
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28100 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-01 16:07:28 +00:00
tmandel@google.com 372ce91fc7 Added back abstract class change and fixed test
BUG=
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25939 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-08 19:32:41 +00:00
janicejl@google.com c97b060fcd added inherited methods and variables with docgen running in under 40s.
superclass ongoing.

attempting super class.

class map

BUG=
R=alanknight@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25722 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-01 20:51:02 +00:00
janicejl@google.com 7c432437fd Moved deleting directory to whenComplete
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25528 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-26 18:04:24 +00:00