Commit Graph

182 Commits

Author SHA1 Message Date
ahe@google.com 5b840f2571 Ensure packageRoot is non-null in docgen.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42682 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-08 09:56:08 +00:00
alanknight@google.com 6eb5b31b6d Change dartdocgen --serve to use pub get rather than pub upgrade
BUG=
R=sethladd@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42376 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-15 23:00:32 +00:00
alanknight@google.com 71dd6daaad Let docgen detect a dart-sdk directory that's differently named, and do it correctly on bleeding edge
BUG=
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42112 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-04 17:10:15 +00:00
johnniwinther@google.com eab478e8ac Extract BuilderContext from ASTEmitter
BUG=
R=sigurdm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42034 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-01 10:04:11 +00:00
ricow@google.com 5482e85112 Revert revision 41812 "Let docgen detect a dart-sdk directory that's differently named"
The vm build is incremental, and on bleeding edge the revision number is part of the version number.
So if a cl lands that triggers a rebuild of the api docs - but not of the vm, the check for vmVersion.startsWith(version) will report false.

This is exactly what happened here:
http://build.chromium.org/p/client.dart/builders/analyzer_experimental-linux-release-be/builds/400

The change from sgjesse@ : https://code.google.com/p/dart/source/detail?r=41821
Triggered a rebuild of the api docs, but the vm remained unchanged with a version of:
1.8.0-edge.41820
The version of the build was:
1.8.0-edge.41821

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41824 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-19 09:27:06 +00:00
alanknight@google.com 2f6de1c0ed Let docgen detect a dart-sdk directory that's differently named
BUG=
R=sethladd@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41812 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-18 22:39:44 +00:00
alanknight@google.com 53b84108f6 Fix leftover checks for dart- names in docgen
BUG=
R=sethladd@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41788 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-17 18:38:24 +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
paulberry@google.com 9bc06fbf41 Workaround for ConstantVisitor dependency issues.
This restores proper test functionality on the buildbots.  I plan to
follow up with a more permanent fix.

BUG=dartbug.com/21572
R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41676 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-11 22:55:58 +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
alanknight@google.com 517a2c9218 Generate docgen information with dart: names rather than dart- or dart-dom-
BUG=
R=kathyw@google.com, sethladd@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41577 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-06 18:36:37 +00:00
johnniwinther@google.com 09fbe78e71 Move dart2js from sdk/lib/_internal/compiler to pkg/compiler
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41514 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-05 08:51:01 +00:00
johnniwinther@google.com 8637cfd322 Revert "Move dart2js from sdk/lib/_internal/compiler to pkg/compiler"
This reverts commit r41512.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41513 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-05 08:15:26 +00:00
johnniwinther@google.com 2b336e17f0 Move dart2js from sdk/lib/_internal/compiler to pkg/compiler
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41512 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-05 07:09:04 +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
alanknight@google.com 1be192bd92 Make links to libraries from the main page work
BUG=
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38439 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-21 17:31:14 +00:00
sigurdm@google.com de70192e1d Fix docgen
The warning was due to change in signature of Unparser.unparseNodeList.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37782 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-27 09:47:48 +00:00
sigurdm@google.com 12485c72d6 Fixes a rename in subclass of the unparser.
Review URL: https://codereview.chromium.org//359743002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37778 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-27 09:00:15 +00:00
ahe@google.com 98523c01f8 Update imports to use package:compiler and package:try.
R=floitsch@google.com, johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37538 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-20 10:33:46 +00:00
efortuna@google.com 197267db85 Fix for link resolution of docgen
https://code.google.com/p/dart/issues/detail?id=17898

BUG=
R=alanknight@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37137 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-09 21:46:22 +00:00
efortuna@google.com dd56bcde7d Correctly handle case where we have a library outside of a package.
BUG=
R=alanknight@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36795 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-29 17:50:49 +00:00
efortuna@google.com 7b9651d83e "Reverting 36776"
TBR=nweiz

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36786 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-29 15:34:33 +00:00
efortuna@google.com bc8cc3b1d7 Add versioning information for packages and the SDK.
BUG=
R=alanknight@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36776 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-28 23:09:48 +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 283770c857 Added error handling and a better error message if we fail to write output in docgen.
BUG=
R=alanknight@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35984 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-09 17:28:40 +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 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