dgrove@google.com
98302c85df
Unify most of our utf8 implementations. This takes the implementation
...
from utils/string_encoding and moves it to utils/utf . utils/utf8
goes away.
Review URL: https://chromiumcodereview.appspot.com//9462001
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5169 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-08 13:28:40 +00:00
ngeoffray@google.com
4ec5057271
More skips on legium.
...
Review URL: https://chromiumcodereview.appspot.com//9635013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5164 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-08 11:51:49 +00:00
mattsh@google.com
d8af601ce4
removed unused 'prefix' line from status files
...
Review URL: https://chromiumcodereview.appspot.com//9621003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5101 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-07 16:10:57 +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
ager@google.com
b2b123d24b
Update Timer API to take the callback as the last parameter.
...
This makes the code easier to read when the callback actually does
work:
new Timer(1000, (t) {
// do
// lots
// of
// stuff
});
Also, it is more consistent with the rest of the APIs.
R=sgjesse@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9597015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4945 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-05 12:43:41 +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
sigmund@google.com
ee6a907611
isolates refactor: this change introduces 'dart:isolate' as a library. This is a
...
big global change, so let me explain in more detail. This refactoring CL does
the following:
- moves all the dart code for isolates in a common library (lib/isolate)
- changes frog to understand 'dart:isolate' imoprts by loading the code from the
location above.
- changes the vm to undernstand 'dart:isolate' imports by creating a separate
library that is part of the bootstrap. This follows the same code-structure
that Todd suggested in his CL introducing the mirror library
- changes dartc to use the shared isolate library as the source of truth for
type checking. I left around some of the internal js code in dartc so that the
backend continues to work for apps that don't use isolates.
- changes all tests that use isolates to import the library explicitly (this is a large bulk of the files in this CL)
- changes test status for tests we can't fix in this repo (e.g. co19)
- splits the isolate library code to make it possible to preserve some tests
without exposing internal types (e.g. tests about
serialization/deserialization)
- changes the create_sdk script to copy the isolate library to the sdk
- includes the isolate library in dartdoc
I'll wait for at least one lgtm from each area (dartc, vm, frog, sdk)
There is one important pending thing this CL doesn't do:
- update test_runner.dart: This should be updated next time we upload the new
binaries to tool/testing/bin
- dartium specific changes: Vijay, is there anything I need to do for dartium?
Review URL: https://chromiumcodereview.appspot.com//9422019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4647 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-27 22:50:44 +00:00
rnystrom@google.com
fd8583197c
Hook up dartdoc tests to the frog buildbot.
...
Review URL: https://chromiumcodereview.appspot.com//9447045
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4578 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-24 18:40:45 +00:00
rnystrom@google.com
f4ba5a7cd5
Fix dartdoc tests.
...
Review URL: https://chromiumcodereview.appspot.com//9455034
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4559 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-24 00:33:43 +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
ahe@google.com
cbcba131eb
Explicitly use node.js in the cases where it is needed.
...
Review URL: https://chromiumcodereview.appspot.com//9430046
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4450 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 13:57:25 +00:00
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