Commit Graph

73 Commits

Author SHA1 Message Date
jmesserly@google.com 695f892ed1 Add all api docs from pkg. Right now we only have "intl" and "unittest". This changes the code to find all of them.
Review URL: https://chromiumcodereview.appspot.com//10824367

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11090 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-21 19:28:02 +00:00
alanknight@google.com 96c3872ffe Rename i18n to intl
Review URL: https://chromiumcodereview.appspot.com//10829442

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11076 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-21 17:30:21 +00:00
ager@google.com 59df4e7735 Add a couple of workarounds for issues caused by current dart2js patch
support.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10878 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-17 10:45:08 +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
dgrove@google.com c265902bea Move unittest from lib to pkg.
Review URL: https://chromiumcodereview.appspot.com//10836241

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10685 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-14 22:36:59 +00:00
dgrove@google.com 8998e74536 Start moving non-platform libraries from lib/ to pkg/ .
Review URL: https://chromiumcodereview.appspot.com//10827227

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10655 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-14 16:26:41 +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
sethladd@google.com 773c068010 show current version used for api docs
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10201 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-02 22:34:05 +00:00
sethladd@google.com 3882b4172c use continuous as build name
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10196 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-02 20:21:10 +00:00
sethladd@google.com 9d5ef8017c serve api docs from cloud storage
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9908 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-25 21:05:44 +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
efortuna@google.com 7be8e8fc12 Reapply r9192 and 9194, with the change of making locale a public field.
Review URL: https://chromiumcodereview.appspot.com//10692022

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9206 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-28 17:00:58 +00:00
efortuna@google.com 02cbb9c9de revert 9192,9194
Review URL: https://chromiumcodereview.appspot.com//10700013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9195 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-27 23:52:40 +00:00
efortuna@google.com 57582bbd08 Add intl to apidoc, and some minor comment formatting cleanup.
Review URL: https://chromiumcodereview.appspot.com//10692018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9192 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-27 22:49:06 +00:00
johnniwinther@google.com e7fea7af1b Copy of html_frog added to dartdoc/frog/lib
Build uses dart2js.bat on Windows

BUG=3775
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9149 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-27 06:44:24 +00:00
johnniwinther@google.com a337f0e5a9 Dart2js called as 'dart2js.bat' on Windows
Bug 3568 also fixed.

BUG=3568

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9101 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-26 08:12:49 +00:00
lrn@google.com e2284fb7c4 Reapply "Add dart:web to dart2js and editor, containing only htmlEscape."
This reverts commit r8785

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8789 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-18 13:12:44 +00:00
kasperl@google.com 80d3863ba8 Revert "Add dart:web to dart2js and editor, containing only htmlEscape."
This reverts r8772.

R=lrn@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8785 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-18 12:30:09 +00:00
lrn@google.com 71f06bea93 Add dart:web to dart2js and editor, containing only htmlEscape.
Review URL: https://chromiumcodereview.appspot.com//10557005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8772 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-18 09:38:20 +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 04b217c6d2 Remove frog from the repository.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8709 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-15 07:01:39 +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 e042b19b96 Modify apidoc to prefer handwritten HTML5 docs over those in MDN or generated code.
Review URL: https://chromiumcodereview.appspot.com//10540085

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8516 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-11 20:51:12 +00:00
kasperl@google.com e4b4574863 Fix apidoc after r8231.
R=johnniwinther@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8232 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-04 06:57:16 +00:00
ahe@google.com d5bcfd7249 Update dependencies for apidoc.
Review URL: https://chromiumcodereview.appspot.com//10454090

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8189 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-01 10:54:26 +00:00
rnystrom@google.com 2fa24c5a67 Get rid of the html<->dom correspondence comments.
Now that dart:dom is gone, they aren't being used, so the code is dead.
This also removes uses of "+" on strings, which fixes #3115.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7965 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-24 22:43:38 +00:00
iposva@google.com 47cb0e5ea5 - Fix comments in math.dart
- Create ApiDoc for dart:math.
Review URL: https://chromiumcodereview.appspot.com//10383300

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7915 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-23 16:43:30 +00:00
sigmund@google.com 5cf6739b6e fix apidoc - we see errors when building it using build.py
Review URL: https://chromiumcodereview.appspot.com//10409055

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7809 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-21 17:42:57 +00:00
efortuna@google.com 114c3836e0 Add unittest to apidoc and fix readme.
Review URL: https://chromiumcodereview.appspot.com//10389223

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7779 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-18 23:31:08 +00:00
ager@google.com b6e35655cf Make the crypto library an official dart:crypto library.
The library now works on dart2js and on the VM.

Add the library to the API docs and to the sdk.

R=iposva@google.com,dgrove@google.com,kasperl@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7604 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-14 11:20:56 +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
sethladd@google.com e255a2d015 remove dart dom from docs
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7552 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-11 15:01:59 +00:00
sethladd@google.com 18476ae8ff turn off app cache, print generation date at bottom
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7466 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-09 16:24:37 +00:00
sethladd@google.com ba3d26178f add appcache generation to apidocs
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7338 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-04 17:43:26 +00:00
ahe@google.com 2b5fd1ca69 Share a tool for listing dependencies thus fixing a dependency problem on Windows.
Review URL: https://chromiumcodereview.appspot.com//10308006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7227 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-02 11:30:28 +00:00
vsm@google.com 94344cd762 Rename getTEMPNAME to get
BUG=2584
TEST=xhr_test.dart

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7212 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-02 04:20:45 +00:00
ahe@google.com 3deac3dc36 Use 'frog' in apidoc. Also fix broken dependencies.
Second attempt, now with Windows support.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6873 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-24 12:55:39 +00:00
ahe@google.com 1f05ed8c0e Revert "Use 'frog' in apidoc. Also fix broken dependencies."
Review URL: https://chromiumcodereview.appspot.com//10140021

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6872 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-24 10:54:18 +00:00
ahe@google.com f86a50b4fb Use 'frog' in apidoc. Also fix broken dependencies.
Review URL: https://chromiumcodereview.appspot.com//10174006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6870 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-24 10:38:21 +00:00
ahe@google.com 9eac6a5748 Remove frogsh.
Review URL: https://chromiumcodereview.appspot.com//10164004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6840 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-23 13:26:06 +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
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