amouravski@google.com
cd51673fce
Removed some cruft from ApiDoc.
...
Review URL: https://codereview.chromium.org//12208017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18151 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-05 19:00:21 +00:00
blois@google.com
de9fbf0e90
Renaming dart:html library from 'html' to 'dart.html'
...
This should be invisible to end users, but basically brings dart:html in-line with the core libraries.
BUG=
Review URL: https://codereview.chromium.org//12061008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17929 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 17:25:55 +00:00
amouravski@google.com
d2a79c9bdd
First half of the new HTML json docs.
...
This half produces the JSON file by going through each of the HTML libraries
and pulling out the @DomName annotations as keys for the map.
This means that even though member names may change, the map still works.
Currently creates a blank json file because I have not hooked up the other half
that puts the docs into the libraries to begin with.
Review URL: https://codereview.chromium.org//12035057
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17610 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 22:53:00 +00:00
amouravski@google.com
af3428430c
Remove CommentMap from all DartDoc code.
...
Review URL: https://codereview.chromium.org//11958023
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17224 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-17 16:55:14 +00:00
amouravski@google.com
038af964dc
Changed @domName annotation in comment to full fledge @DomName annotation.
...
Review URL: https://codereview.chromium.org//11887006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17154 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 19:01:07 +00:00
blois@google.com
76b1800cd6
Splitting the Audio types out of the HTML library.
...
BUG=3108
Review URL: https://codereview.chromium.org//11280103
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15529 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-29 17:58:26 +00:00
ajohnsen@google.com
970cc5ba68
Move JSSyntaxRegExp to core as a private member. This removes the last refrences to dart:coreimpl.
...
After this cleanup, RegExp no longer have a const constructor. Use 'new
RegExp(...)' from now on.
BUG=
Review URL: https://codereview.chromium.org//11365196
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14838 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 10:41:37 +00:00
ajohnsen@google.com
ab69873a42
Make RegExp constructor non-const.
...
Another take of https://codereview.chromium.org/11410033/ with status changes applied for co19 tests.
BUG=
Review URL: https://codereview.chromium.org//11369210
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14837 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 10:18:06 +00:00
ajohnsen@google.com
ec9fee9858
"Reverting 14829-14832"
...
BUG=
Review URL: https://codereview.chromium.org//11312203
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14833 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 07:28:13 +00:00
ajohnsen@google.com
8dc3edd7ce
Make RegExp's constructor non-const.
...
BUG=
Review URL: https://codereview.chromium.org//11410033
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14829 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 06:48:43 +00:00
blois@google.com
ed44b9285d
Splitting SVG types out of dart:html.
...
Beyond this CL I need to remove the SVG prefix for most of the classes, but this is an additional chunk of work.
Review URL: https://codereview.chromium.org//11398002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14808 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-12 21:15:06 +00:00
floitsch@google.com
8e6f238f86
a === b -> identical(a, b)
...
Replace === null with == null.
BUG=http://dartbug.com/6380
Review URL: https://codereview.chromium.org//11361190
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14794 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-12 17:19:58 +00:00
johnniwinther@google.com
1e96528cc1
Fix move errors.
...
Review URL: https://codereview.chromium.org//11359059
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14557 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-06 10:19:56 +00:00
dgrove@google.com
7897a78551
Changes outside pkg/ and lib/ for directory refactoring
...
Review URL: https://codereview.chromium.org//11358024
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14475 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-02 15:18:11 +00:00
johnniwinther@google.com
ec9e32f669
ObjectMirror => ContainerMirror
...
declaredMembers => members
Review URL: https://codereview.chromium.org//11363005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14325 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 10:51:10 +00:00
johnniwinther@google.com
f3cd95e744
LibraryMirror interface updated to match dart:mirrors.
...
BUG=
Review URL: https://codereview.chromium.org//11342039
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14276 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-30 13:34:52 +00:00
johnniwinther@google.com
bad0f22863
Change surroundingDeclaration to DeclarationMirror.owner
...
Review URL: https://codereview.chromium.org//11337021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14264 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-30 11:36:44 +00:00
johnniwinther@google.com
a9ec3ff87b
Rename InterfaceMirror to ClassMirror
...
Review URL: https://codereview.chromium.org//11341037
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14256 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-30 10:21:18 +00:00
floitsch@google.com
2e778387b3
Make getKeys, getValues getters (keys, values).
...
Review URL: https://codereview.chromium.org//11267018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14093 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 19:22:11 +00:00
floitsch@google.com
09f6d09d88
Make isEmpty a getter.
...
Review URL: https://codereview.chromium.org//11238035
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14022 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-24 15:04:32 +00:00
amouravski@google.com
fa916d3169
Fixed the HTML doc breakage.
...
Temporary fix until we can make all of apidoc work with new import syntax.
Review URL: https://codereview.chromium.org//11260005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13991 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-24 01:56:42 +00:00
regis@google.com
adb534674c
Change core lib, dart2js, and more for new optional parameters syntax and semantics (new semantics is not enforced yet).
...
Review URL: https://codereview.chromium.org//11090016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13684 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-16 16:03:47 +00:00
johnniwinther@google.com
699c54c68d
Make Mirror.simpleName unique.
...
Review URL: https://codereview.chromium.org//11014022
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13167 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-03 09:36:58 +00:00
ager@google.com
1159462fc6
Switch from interfaces to abstract classes in dart:io.
...
Add a bunch of default argument values to the abstract classes
so they are picked up by dartdoc.
R=sgjesse@google.com
BUG=
Review URL: https://codereview.chromium.org//10938010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12484 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-18 10:54:37 +00:00
rnystrom@google.com
05dadf490e
Reorganize dartdoc to new package layout.
...
Review URL: https://codereview.chromium.org//10919260
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12338 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-13 16:49:48 +00:00
johnniwinther@google.com
16f8dd92e9
Changed final to const in apidoc.
...
Review URL: https://codereview.chromium.org//10914255
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12311 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-13 10:51:15 +00:00
efortuna@google.com
f19c48c69b
Remove dom_deprecated from everywhere but lib/dom and lib/html.
...
Review URL: https://chromiumcodereview.appspot.com//10918063
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11908 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-05 22:22:31 +00:00
efortuna@google.com
17353233b6
Remove local change that also got comitted in revert.
...
Review URL: https://chromiumcodereview.appspot.com//10910017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11658 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-30 21:14:05 +00:00
efortuna@google.com
9c129175d8
This accidentally snuck into the revert.
...
Review URL: https://chromiumcodereview.appspot.com//10909017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11656 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-30 21:09:57 +00:00
regis@google.com
d9b0276a4c
Require two type arguments for map literals (issue 4522).
...
Spec has been changed back.
VM temporarily accepts a single type argument and emits a warning.
Update tests, dart2js source, dartdoc, etc...
Disable failing co19 tests (issue 175 filed).
Review URL: https://chromiumcodereview.appspot.com//10854191
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10861 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-16 20:44:32 +00:00
dgrove@google.com
39889f6270
Move dartdoc from lib/ to pkg/ .
...
Reviewed at desk by rnystrom, since gcl upload fails when there
are binary images in the change.
TBR=rnystrom@google.com
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10776 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 22:59:55 +00:00
johnniwinther@google.com
43ae6fb081
Refactored accessors in mirrors from methods to properties.
...
Review URL: https://chromiumcodereview.appspot.com//10823257
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10544 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-11 00:04:34 +00:00
johnniwinther@google.com
c6d70857e4
Several new features and improvements for dartdoc.
...
* Dartdoc now works on multiple libraries and entrypoints.
* A dartdoc/dartdoc.bat script is generated into dart-sdk/bin
* The API libraries recognized by dart2js using the 'dart:' prefix
have been updated to use the 'dart:*' name in their library tags.
This makes the libraries show up with the correct prefix in the API docs.
* The processed libraries can be selected or limited, API
libraries are not processed by default, and links to api.dartlang.org
can be generated for API libraries.
Because of the changed library tags on API libraries, the generated
links don't current match the addresses on api.dartlang.org.
For instance, the docs for Object is currently located in
api.dartlang.org/core/Object.html, but with the new library
tag 'dart:core', the address will be api.dartlang.org/dart_core/Object.html.
The links will thus not work until api.dartlang.org have been updated with
this patch.
* Code and pre blocks use overflow-x:auto to support wide lines.
BUG=2656,2686,3533,4029,4145,3555
Review URL: https://chromiumcodereview.appspot.com//10809035
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9843 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-24 09:16:33 +00:00
johnniwinther@google.com
50f9d4ff31
Dartdoc and apidoc updated to use Path.
...
Review URL: https://chromiumcodereview.appspot.com//10780030
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9759 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-19 14:15:16 +00:00
johnniwinther@google.com
1dda757cf0
Parameters with function types supported + Added features in mirrors implementation
...
VariableListElement.computeType now handles function types.
Default value and function typed parameters supported in the mirror system.
Review URL: https://chromiumcodereview.appspot.com//10779010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9756 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-19 13:17:10 +00:00
johnniwinther@google.com
fdbabb995e
Dartdoc and Apidoc updated to use dart2js through the mirror system.
...
BUG=3414
Review URL: https://chromiumcodereview.appspot.com//10701091
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9584 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-12 08:52:19 +00:00
whesse@google.com
bef1d32f6b
Remove uses of string + from API document generator.
...
BUG=3708
TEST=
Review URL: https://chromiumcodereview.appspot.com//10559030
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8768 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-18 09:09:50 +00:00
kasperl@google.com
53b8295d32
Give lib/dartdoc its own copy of frog.
...
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8657 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-14 13:27:59 +00:00
vsm@google.com
9be4ac00ed
Move dart:dom to dart:dom_deprecated
...
Brian: Can you please look at the editor / dartc changes?
Bob: Can you look at the apidoc changes?
Stephen/Pavel: Can you guys look at the rest?
Pavel: I will update, test, and land your Dartium CL along with this change.
Review URL: https://chromiumcodereview.appspot.com//10389097
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7587 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-13 04:10:43 +00:00
mattsh@google.com
56d677eb49
added printWarnings option to HtmlDiff
...
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10095017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6653 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-17 19:03:58 +00:00
jacobr@google.com
af8e09788d
Fix ApiDoc to work with new dart:html code. Tweak dart:html generator to generate clearer @domName annotations.
...
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10068019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6505 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-13 09:27:20 +00:00
rnystrom@google.com
a3c9e7a418
Get apidoc working with latest frog.
...
Note: even after this fix, the DOM/HTML correspondences seem to be broken,
but at least this allows apidoc to run to completion.
Review URL: https://chromiumcodereview.appspot.com//9701029
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5494 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-14 22:43:11 +00:00
jacobr@google.com
de1d525459
Enable new dart:html wrapperless frog bindings and wrapper dartium bindings.
...
Split unittest.dart into unittest_html and unittest_dom
Bug fixes to the new dart:html bindings to compile with dartc.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9600035
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4998 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-06 00:30:09 +00:00
rnystrom@google.com
458908f549
Get dartdoc in the SDK and working correctly.
...
Review URL: https://chromiumcodereview.appspot.com//9555013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4905 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-02 22:28:00 +00:00
rnystrom@google.com
6eb0081153
Make dartdoc and apidoc run on the VM instead of node.
...
Review URL: https://chromiumcodereview.appspot.com//9453031
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4558 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-23 23:56:02 +00:00
rnystrom@google.com
3a4b7e9d16
Fix apidoc to work with latest frog.
...
Review URL: https://chromiumcodereview.appspot.com//9452037
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4553 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-23 22:48:27 +00:00
rnystrom@google.com
47f98dc1b3
Don't check for Member.
...
Fixes broken correspondences between html and htmlimpl. That in turn fixes
a bunch of missing MDN docs.
Review URL: https://chromiumcodereview.appspot.com//9317040
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3813 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 22:17:11 +00:00
rnystrom@google.com
dc14652319
Fix apidoc to work with latest frog and dartdoc.
...
Review URL: https://chromiumcodereview.appspot.com//9113094
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3631 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-26 23:19:43 +00:00
rnystrom@google.com
7e2ea12a4c
Add a mode to dartdoc to generate the navigation on the client.
...
Right now, the generated docs are pretty huge (100MB for all of the main libs). This is mainly
because each generated HTML page includes full navigation for each type in the containing
library. For stuff like dart:html, that's tons of HTML. Even after compression, the docs are
9.2MB. Also, they take a long time to generate (30s on my laptop).
This patch adds a mode you can use called "live-nav" (and makes it the default). With that
mode, pages do not include navigation. Instead, we generate a single nav.json file with the
navigation data. Client-side Dart code does an XHR for that and then renders the navigation
on the fly.
This gets the generated docs down to 13.3MB (2MB after compression) and gets doc generation
up to 6.3s for everything.
The two downsides are:
1. There's a visible flash on page load when it renders the nav since it's asynchronous.
2. You can't browse docs locally just using file://. To be able to XHR the nav.json, you
either need to enable file access in your browser or run a local server.
Review URL: https://chromiumcodereview.appspot.com//9256002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3445 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-19 20:10:51 +00:00
nweiz@google.com
f6c51d1567
Fix various warnings and errors in html_diff and its annotations.
...
TBR
Review URL: http://codereview.chromium.org//9110046
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3221 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 01:17:52 +00:00