Commit graph

37 commits

Author SHA1 Message Date
nweiz@google.com
543f2283bc Support SVG files in toss.
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2488 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-15 23:09:56 +00:00
rnystrom@google.com
93324b5405 Refactor dartdoc into a class. Use method overriding to extend.
Review URL: http://codereview.chromium.org//8947005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2477 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-15 21:24:18 +00:00
rnystrom@google.com
ce4f2b0d16 Include JSON in generated docs.
Review URL: http://codereview.chromium.org//8912015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2413 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-14 02:30:11 +00:00
sigmund@google.com
cd10dad521 frogium: fix all status file to reflect frogium current status.
Review URL: http://codereview.chromium.org//8930024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2407 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-14 00:57:56 +00:00
jmesserly@google.com
20c88fd220 Fix path in tip
I broke this when I moved to utils... fortunately an easy fix!

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2396 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-13 20:48:15 +00:00
nweiz@google.com
9586f917db Don't depend on dart:dom in file_system_memory.dart.
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2372 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-13 02:25:50 +00:00
mattsh@google.com
b18cd70666 beginning of matrix class
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2360 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-12 23:14:03 +00:00
jmesserly@google.com
527c321449 move tip to utils so it can be picked up in the SDK
Review URL: http://codereview.chromium.org//8889031

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2284 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-08 22:06:59 +00:00
dgrove@google.com
69d06de47f Update toss.dart's imports after moving it.
Review URL: http://codereview.chromium.org//8873030

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2274 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-08 19:52:15 +00:00
dgrove@google.com
c8e0e93d9a Move frog/server to toss.dart .
Review URL: http://codereview.chromium.org//8879030

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2273 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-08 19:49:25 +00:00
ager@google.com
64ca753193 Split File into File and RandomAccessFile.
Update all users of the API.

R=sgjesse@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2272 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-08 19:37:17 +00:00
ngeoffray@google.com
ab24606c5a Fix frog presubmit.
Review URL: http://codereview.chromium.org//8888007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2230 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-08 08:58:51 +00:00
rnystrom@google.com
430a969207 In the navigation, list exception types after other types.
Review URL: http://codereview.chromium.org//8885005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2223 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-08 03:31:41 +00:00
rnystrom@google.com
5168cde79f Fix displaying generic types.
Review URL: http://codereview.chromium.org//8888002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2219 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-08 02:22:55 +00:00
rnystrom@google.com
1b58511a2c Fix broken dartdoc.
Review URL: http://codereview.chromium.org//8879004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2216 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-08 02:08:20 +00:00
nweiz@google.com
a811209d78 Add a script to generate HTML and DOM docs with cross-links to one another.
This entails adding callbacks to dartdoc for injecting additional
comments, as well as adding somewhat deeper support for hashing and
equality testing of Frog objects.

The next step is to inject the annotations into the HTML and DOM library source itself.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2199 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-07 22:15:12 +00:00
rnystrom@google.com
0b7c641d40 Bunch more dartdoc changes in response to feedback:
- Remove "Library" from libraries in index.
- Use different icon for exception classes in nav.
- Group classes, interfaces, and exceptions together on lib page.
- Don't show "Class" or "Interface" before types on lib pages.
- Show type bounds on generic classes.
- Don't show private constructors.
- Sort named constructors.
- Document function-typed parameters correctly. (See Collection<T>)
- Document named optional parameters and default values.
- Document type bounds in class definitions.
- Show raw types without type arguments.
- In type annotations for instantiated generic types, link the type
  argument appropriately (i.e. List<String> will link String>).

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2159 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-07 02:34:27 +00:00
sigmund@google.com
015921812f frog: life is better with colors :)
Also adds 'Compilation succeded' message when running the code right after it is
compiled.

BUG = http://code.google.com/p/dart/issues/detail?id=708

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2153 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-06 23:42:27 +00:00
rnystrom@google.com
cbbae74150 Bunch of dartdoc changes:
- Add special fake entrypoints so you can build docs for just corelib,
  dom, or html.
- Better main index page.
- Only show classes in nav for current library.
- Link to index page.
- Fix word wrap on icons.
- Sort case-insensitively.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2143 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-06 21:20:34 +00:00
ager@google.com
f7b6b6eaba Add more test configurations. Everything seems covered for frog again now.
R=sgjesse@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2118 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-06 10:46:13 +00:00
rnystrom@google.com
d2130d11e8 Navigation in generated docs.
Review URL: http://codereview.chromium.org//8772067

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2102 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-05 23:14:43 +00:00
rnystrom@google.com
f02660f3a0 Link to factory class if an interface has one.
Review URL: http://codereview.chromium.org//8763016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2048 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-03 01:43:41 +00:00
rnystrom@google.com
cafe727361 Create separate HTML pages for each type.
This also writes everything to an index.html inside an appropriate
directory. This keeps the URLs nice and pretty like: core_lib/String.
The downside is that you'll need to run a little local web server
to get them to be served up right instead of just opening them as
files in your browser.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2031 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-02 19:41:08 +00:00
rnystrom@google.com
f7f610fdb5 Find [references] to top-level members.
Review URL: http://codereview.chromium.org//8692017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1932 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-30 18:34:10 +00:00
rnystrom@google.com
fb075c5865 Use subscript to get match groups.
Review URL: http://codereview.chromium.org//8739001

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1931 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-30 18:30:02 +00:00
rnystrom@google.com
64a619f032 Use right path to html lib.
Review URL: http://codereview.chromium.org//8726038

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1899 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-29 18:04:04 +00:00
rnystrom@google.com
95f64cbf9f Lots of stuff hooking up markdown to dartdoc.
- Add support for [foo] implicit links to markdown.
- Add hook so that outside code can define what markup a [foo] link creates.
- Make dartdoc look up [foo] names to resolve the identifier.
- Fix unmatched tag unwinding bug.
- Add [:...:] code support to dartdoc.
- Fix text and URLs for generic types in docs.
- Sort classes by name.
- Don't generate docs for private types.
- Fix generated docs for inheritance chain.
- Make source code in generated docs optional.
- Fix showing base class in docs.
- Implement insertRange() for List in frog.
- Add dartdoc shell script.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1886 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-29 02:47:18 +00:00
rnystrom@google.com
fa59ed59d6 First pass at a markdown parser in Dart.
Review URL: http://codereview.chromium.org//8680025

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1830 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-24 01:18:05 +00:00
nweiz@google.com
4b756816ea Add a script for determining which DOM methods correspond to which HTML methods.
Ultimately, this will be used for generating documentation. Currently, though,
it just prints out information to the console.

This also includes some annotations to the HTML library, where the DOM
correspondence couldn't be auto-detected.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1767 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-22 23:39:59 +00:00
terry@google.com
64784aa1b1 Beginning of CSS parser using frog parsering infrastructure.
Change for in memory buffers.

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1752 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-22 17:30:20 +00:00
rnystrom@google.com
92f55bcfd5 Clean and create output directory when generating docs.
Review URL: http://codereview.chromium.org//8572044

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1627 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-17 20:59:14 +00:00
nweiz@google.com
07a7a968a8 StopWatch -> Stopwatch in dartdoc.
TBR=rnystrom

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1523 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-15 00:10:29 +00:00
rnystrom@google.com
a1fa8e8245 Move doc generator out of frog samples.
It's on its way to being a real library now so it isn't a sample anymore.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1482 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-11 23:41:34 +00:00
sra@google.com
25e8752353 Move PEG parser test into testing framework.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1177 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-03 23:24:33 +00:00
sra@google.com
b1cdd76ec5 Revert "Revert "PEG Parser: under review at http://codereview.chromium.org/8399029""
This reverts commit 662a83bbf617fd8a008c3b55f7bf122be23dfd53.

Has added suppression to keep dartc green.

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@929 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-29 01:14:18 +00:00
sra@google.com
9aacf5aa62 Revert "PEG Parser: under review at http://codereview.chromium.org/8399029"
This reverts commit e9f4f54f10af8a0b808b0fd4a1ea54384df0d7d9.

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@870 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-28 05:34:41 +00:00
sra@google.com
5801bcfbb3 PEG Parser: under review at http://codereview.chromium.org/8399029
Some features are not yet implemented (e.g. attributes).

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@869 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-28 05:12:12 +00:00