dcarlson@google.com
7c1ae41e25
restructure string decoding to support iterable use and include benchmarks for UTF-8 decoding.
...
R=jat@google.com ,ahe@google.com ,sgjesse@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9410001
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4366 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-17 19:00:19 +00:00
efortuna@google.com
eb41cb3c9e
Don't run any tests on Opera (yet).
...
TBR=jmesserly@google.com ,
Review URL: https://chromiumcodereview.appspot.com//9398015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4242 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-15 01:07:41 +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
rnystrom@google.com
7b5e67b5d6
First prototype of import map generator.
...
Review URL: https://chromiumcodereview.appspot.com//9369006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4106 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-10 01:09:49 +00:00
whesse@google.com
9f27aa3a69
Remove unused support files for old version of tools/test.py.
...
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9360017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4033 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-08 14:11:42 +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
dgrove@google.com
641f078329
Move utils/{uri, utf8} to lib/{uri, utf8} .
...
Fixes issue 1562 .
Review URL: http://codereview.chromium.org//9325085
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4010 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-07 22:31:10 +00:00
ahe@google.com
dca37f7f22
Use production mode when running on debug VM.
...
Review URL: https://chromiumcodereview.appspot.com//9332008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3981 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-07 09:18:11 +00:00
dcarlson@google.com
4e438222b0
Optimize special cases in utf8 and utf16 where input can be copied to output.
...
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9323077
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3974 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-06 23:44:42 +00:00
ahe@google.com
994b7e3a90
Skip tests that times out in debug mode
...
Review URL: https://chromiumcodereview.appspot.com//9331010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3967 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-06 20:45:25 +00:00
ahe@google.com
bb39ff705f
Increase timeout limit in frog-debug
...
Review URL: https://chromiumcodereview.appspot.com//9328043
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3950 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-06 16:12:55 +00:00
ahe@google.com
cefacc0a90
Skip tests in debug mode that times out
...
Review URL: https://chromiumcodereview.appspot.com//9323080
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3946 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-06 15:35:02 +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
83f745ae61
Correctly sort libraries by name, not key.
...
Review URL: https://chromiumcodereview.appspot.com//9316050
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3825 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-02 00:44:20 +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
dcarlson@google.com
9da015d58b
Fix mac/git renaming case failure. Aaarrrrgggghhhh.
...
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9310038
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3816 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 22:38:38 +00:00
dcarlson@google.com
db17ef4ea3
String encoding utility methods and tests for Unicode, UTF-8, -16 and -32.
...
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9233041
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3814 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 22:25:46 +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
a60cd8608d
Fix build break in dartdoc.
...
Review URL: https://chromiumcodereview.appspot.com//9318013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3763 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 23:33:46 +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
ahe@google.com
3ddd2d6b03
Two different classes may have the same *name*.
...
Review URL: https://chromiumcodereview.appspot.com//9303033
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3725 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 13:31:17 +00:00
ahe@google.com
26d232679d
Create a URI class in utils/ (based on client/util/).
...
Review URL: https://chromiumcodereview.appspot.com//9295043
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3722 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 12:11:10 +00:00
ahe@google.com
f1de6231e5
Copy dart/client/util/Uri.dart to dart/utils/uri/uri.dart
...
Review URL: https://chromiumcodereview.appspot.com//9159032
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3692 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-30 17:03:38 +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
jimhug@google.com
cd32d6bfbe
cleanup from r3556
...
Review URL: https://chromiumcodereview.appspot.com//9284030
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3566 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-24 20:28:00 +00:00
jimhug@google.com
b05356a0b1
update status file for quick fix to r3553
...
Review URL: https://chromiumcodereview.appspot.com//9285019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3556 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-24 16:16:06 +00:00
rnystrom@google.com
420b355357
Include subtype information in generated docs.
...
With this change, dartdoc does a more comprehensive job of letting users
navigate the web of types. For each class, this will show its chain of
superclasses, interfaces it implements, and its immediate subclasses.
For interfaces, it shows superinterfaces, subinterfaces, implementing classes,
and a default class if it has one.
Review URL: https://chromiumcodereview.appspot.com//9271020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3515 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-23 21:51:53 +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
rnystrom@google.com
0201ba42f6
Fix copying dartdoc static files.
...
Review URL: https://chromiumcodereview.appspot.com//9249006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3385 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-18 04:35:57 +00:00
lrn@google.com
f2ffb9a804
Make SourceString Iterable<int>.
...
Review URL: http://codereview.chromium.org//9204006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3287 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-13 13:24:38 +00:00
terry@google.com
007ac937e0
Fixed collision with interface Comment in html and Comment in the CSS tree.
...
Updated UI test gadget for CSS.
BUG=
TEST=
Review URL: http://codereview.chromium.org//9190066
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3263 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 22:17:33 +00:00
ahe@google.com
a39d7138e3
Move UTF-8 decoder to utils.
...
Review URL: http://codereview.chromium.org//9185046
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3231 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 11:27:14 +00:00
jimhug@google.com
fd09f522c5
fix Library*NegativeTests (and a couple Prefix ones by accident)
...
In general, this change felt fine to make in frog; however, it felt REALLY ugly to make the required fixes to the dartdoc tests. I suppose this just raises the priority of our packaging and library story.
Review URL: http://codereview.chromium.org//9107031
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3222 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 01:20:23 +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
nweiz@google.com
70bbde3ead
Add the ability to link to members and constructors of other classes in Dartdoc.
...
The syntax is [Class.member] and [new Class], respectively.
[new Class.namedConstructor] also works.
Review URL: http://codereview.chromium.org//9146016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3217 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 00:21:27 +00:00
rnystrom@google.com
d2ad818cf0
Disable dartdoc tests on chromium.
...
Review URL: http://codereview.chromium.org//9190020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3209 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-11 21:56:18 +00:00
rnystrom@google.com
5bf318ec21
Hook up the dartdoc tests to test.py, test.dart, and frog/presubmit.py.
...
Review URL: http://codereview.chromium.org//9147058
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3207 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-11 21:29:13 +00:00
sigmund@google.com
8139db7ae4
bots: include webdriver tests in bots.
...
Review URL: http://codereview.chromium.org//9188012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3206 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-11 20:48:33 +00:00
terry@google.com
28f15786ab
Disable CSS test for leg and frogium #directives not supported.
...
BUG=
TEST=
Review URL: http://codereview.chromium.org//9155013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3150 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-10 15:52:06 +00:00
terry@google.com
9a40e87326
Enabled CSS tests, added CSS tests to buildbot, fixed tooling with nodejs, and added more tests.
...
BUG=
TEST=
Review URL: http://codereview.chromium.org//9168008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3147 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-10 15:28:53 +00:00
nweiz@google.com
ecc9b0b8e0
Add the dummy test file for the dartdoc tests.
...
TBR
Review URL: http://codereview.chromium.org//9169002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3127 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-10 02:24:06 +00:00
rnystrom@google.com
e1894718ab
Display negate operators correctly in dartdoc.
...
Review URL: http://codereview.chromium.org//9166002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3126 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-10 01:53:07 +00:00
nweiz@google.com
eb6b2f9fd7
Naming change for code review.
...
TBR
Review URL: http://codereview.chromium.org//9153010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3121 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-09 23:15:27 +00:00
nweiz@google.com
df490b9c9c
Add some tests for dartdoc name reference resolution.
...
Currently these just test existing behavior, but the goal is to set the stage
for adding more advanced resolution.
TBR
Review URL: http://codereview.chromium.org//9150011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3117 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-09 22:39:24 +00:00
nweiz@google.com
f67c7c44af
Get dartdoc running again.
...
TBR
Review URL: http://codereview.chromium.org//9152013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3116 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-09 22:33:48 +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
c5dcf9f658
Don't fix up paths that are already absolute.
...
Fixes the broken api.dartlang.org link the API docs.
Review URL: http://codereview.chromium.org//8958017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2789 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-22 21:56:12 +00:00
rnystrom@google.com
a258c29303
Fix typo in dartdoc README.
...
Review URL: http://codereview.chromium.org//8958013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2779 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-22 19:51:58 +00:00