Commit Graph

29 Commits

Author SHA1 Message Date
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
ahe@google.com 56f34d7514 Move cygwin_dir to shared gypi file.
Review URL: https://chromiumcodereview.appspot.com//9877003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6626 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-17 11:53:56 +00:00
rnystrom@google.com e34a368125 Fix apidoc build step on Windows.
Review URL: https://chromiumcodereview.appspot.com//10091010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6603 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-16 20:58:18 +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 d2ca275165 Generate API docs during build.
Review URL: https://chromiumcodereview.appspot.com//9705088

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6065 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-30 20:24:06 +00:00
sethladd@google.com 3734d65be1 add disqus comments
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9844031

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6055 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-30 18:00:53 +00:00
rnystrom@google.com 1ab996e50f Get rid of bash for dartdoc and do the whole thing in dart.
Review URL: https://chromiumcodereview.appspot.com//9722012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5659 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-19 21:30:34 +00:00
rnystrom@google.com eb1e4c84ab Allow specifying output directory for dartdoc and apidoc.
Review URL: https://chromiumcodereview.appspot.com//9705078

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5578 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-16 17:35:58 +00:00
rnystrom@google.com 337b2da0cb Add new core ("dart:") libraries to frog so that apidoc can find them.
Review URL: https://chromiumcodereview.appspot.com//9705037

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5530 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-15 17:48:41 +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
nweiz@google.com 8c29c1e0c8 When dumping JSON for html_diff, don't list renames where the member name
remains the same.

TBR

Review URL: https://chromiumcodereview.appspot.com//9350049

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4196 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-13 20:57:39 +00:00
nweiz@google.com 2d1381dec6 Add a script to parse and dump DOM -> HTML mapping information as JSON.
TBR

Review URL: https://chromiumcodereview.appspot.com//9385029

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4160 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-11 01:13:41 +00:00
jacobr@google.com b3416ac83a cleanup postProcess step and output obsolete.json file
Split postProcess.dart into
util.dart, postProcess.dart and prettyPrint.dart
so it is clear which code should be high quality and which is just debugging
pretty print logic.

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9360002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4018 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-08 01:20:57 +00:00
jacobr@google.com 5825741150 Cleanup mdn scripts
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9315026

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3920 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-03 22:01:58 +00:00
rnystrom@google.com 9f1bc6d2a6 Remove unused #import from postProcess and check in regenerated MDN docs.
Review URL: https://chromiumcodereview.appspot.com//9310036

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3818 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 22:40:57 +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 cfe03739c2 Integrate VM IO libraries and search box into apidoc.
Review URL: https://chromiumcodereview.appspot.com//9319001

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3766 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 00:35:45 +00:00
rnystrom@google.com 7abda05053 Integrate MDN content into API documentation.
Most of the code under mdn/ is Jacob's magic with a little extra hackery
on my part.

Review URL: https://chromiumcodereview.appspot.com//9225039

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3750 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 21:33:41 +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
jmesserly@google.com b08fcc744b Small performance improvement: avoid looking up builtin types too much by tracking them, particularly ones in coreimpl like NumImplementation.
I also did a few refactorings:
* Tried to tame the "nativeName" stuff to keep the code paths from forking too much
* Removed the bad code duplication between needsConversion and convertTo  in Value (they had gone out of sync again!)
* Simplified the function wrapping code & made it clear it's about isolates. The code still checks for DOM, but conceptually it's part of our isolate impl. If we had a different way to tag native function types (e.g. perhaps the "native" keyword, if it's allowed in that position?) we could remove the DOM check there.

Review URL: http://codereview.chromium.org//9110027

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3057 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-06 21:36:59 +00:00
rnystrom@google.com e66f5a3e6c Hook up favicon, link to main page, and fix process bug.
Review URL: http://codereview.chromium.org//9020028

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2735 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-21 23:35:24 +00:00
rnystrom@google.com a2e2ab6d23 Tweak dartdoc look to match dartlang.org a bit more.
Also prepare for adding search box.

Review URL: http://codereview.chromium.org//9019001

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2715 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-21 18:46:12 +00:00
rnystrom@google.com 036681063c Move Nathan's HTML scripts over and rename to apidoc.
Review URL: http://codereview.chromium.org//8973004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2494 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-16 00:06:58 +00:00