sgjesse@google.com
724aec4086
Fix breakages from r23266
...
TBR=floitsch@google.com
BUG=
Committed: https://code.google.com/p/dart/source/detail?r=23270
Review URL: https://codereview.chromium.org//15643004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23283 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 15:16:15 +00:00
sgjesse@google.com
783918095b
Fix breakages from r23266
...
TBR=floitsch@google.com
BUG=
Review URL: https://codereview.chromium.org//15643004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23270 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 13:51:45 +00:00
sgjesse@google.com
9d6a64e81b
Merge the dart:uri library into dart:core and update the Uri class
...
This merges the dart:uri library into dart:core removing the dart:uri library. Besides moving the library the Url class has been changed.
* Removed existing Uri constructor as it was equivalent with Uri.parse
* Remamed constructor Uri.fromComponents to Uri
* Moved toplevel function encodeUriComponent to static method Uri.encodeComponent
* Moved toplevel function decodeUriComponent to static method Uri.decodeComponent
* Moved toplevel function encodeUri to static method Uri.encodeFull
* Moved toplevel function decodeUri to static method Uri.decodeFull
* Rename domain to host
* Added static methods Uri.encodeQueryComponent and Uri.decodeQueryComponent
* Added support for path generation and splitting
* Added support for query generation and splitting
* Added some level of normalization
R=floitsch@google.com , lrn@google.com , nweiz@google.com , scheglov@google.com
BUG=
Review URL: https://codereview.chromium.org//16019002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23266 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 13:35:01 +00:00
johnniwinther@google.com
5a8e457362
Make source mirror ObjectMirror.getField synchronous
...
Review URL: https://codereview.chromium.org//14333011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22002 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-25 07:04:40 +00:00
johnniwinther@google.com
797c6aeeb9
Remove dartdoc specific methods from dart2js_mirror.
...
BUG=
Committed: https://code.google.com/p/dart/source/detail?r=21921
Review URL: https://codereview.chromium.org//13956028
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21924 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 07:31:39 +00:00
johnniwinther@google.com
e27e3c8a62
Revert "Remove dartdoc specific methods from dart2js_mirror."
...
This reverts commit r21921.
BUG=
Review URL: https://codereview.chromium.org//14198010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21922 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 06:54:13 +00:00
johnniwinther@google.com
314a922c9e
Remove dartdoc specific methods from dart2js_mirror.
...
BUG=
Review URL: https://codereview.chromium.org//13956028
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21921 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 06:36:08 +00:00
johnniwinther@google.com
f4f3958af1
Change MirrorSystem.libraries to Map<Uri, String>
...
BUG=
Review URL: https://codereview.chromium.org//13797002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21812 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-22 13:01:20 +00:00
amouravski@google.com
6e056b8044
Lots of little changes for dartdoc/apidoc.
...
* Alphabetized imports.
* Added TODOs.
* Removed some prefixes.
* Cleaned up a LOT of async code to make it work better.
* Much, much, much friendlier status messages for dartdoc/apidoc. More to do...
* Prevented many, many bad warnings from showing up... by fixing them.
* Smarter finding of packages directories.
* Started using pathos all over the place.
* Added indexed_db to html_diff.
Review URL: https://codereview.chromium.org//12448006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19817 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-11 20:27:53 +00:00
johnniwinther@google.com
43d6b6a84b
Support full dart2js output for dartdoc/apidoc.
...
Review URL: https://codereview.chromium.org//12446003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19537 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-06 08:43:33 +00:00
floitsch@google.com
ecce8a6293
Remove deprecated Strings class.
...
Review URL: https://codereview.chromium.org//12295014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18686 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-19 13:57:03 +00:00
amouravski@google.com
cd51673fce
Removed some cruft from ApiDoc.
...
Review URL: https://codereview.chromium.org//12208017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18151 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-05 19:00:21 +00:00
blois@google.com
de9fbf0e90
Renaming dart:html library from 'html' to 'dart.html'
...
This should be invisible to end users, but basically brings dart:html in-line with the core libraries.
BUG=
Review URL: https://codereview.chromium.org//12061008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17929 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 17:25:55 +00:00
amouravski@google.com
d2a79c9bdd
First half of the new HTML json docs.
...
This half produces the JSON file by going through each of the HTML libraries
and pulling out the @DomName annotations as keys for the map.
This means that even though member names may change, the map still works.
Currently creates a blank json file because I have not hooked up the other half
that puts the docs into the libraries to begin with.
Review URL: https://codereview.chromium.org//12035057
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17610 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 22:53:00 +00:00
amouravski@google.com
af3428430c
Remove CommentMap from all DartDoc code.
...
Review URL: https://codereview.chromium.org//11958023
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17224 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-17 16:55:14 +00:00
amouravski@google.com
038af964dc
Changed @domName annotation in comment to full fledge @DomName annotation.
...
Review URL: https://codereview.chromium.org//11887006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17154 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 19:01:07 +00:00
blois@google.com
76b1800cd6
Splitting the Audio types out of the HTML library.
...
BUG=3108
Review URL: https://codereview.chromium.org//11280103
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15529 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-29 17:58:26 +00:00
ajohnsen@google.com
970cc5ba68
Move JSSyntaxRegExp to core as a private member. This removes the last refrences to dart:coreimpl.
...
After this cleanup, RegExp no longer have a const constructor. Use 'new
RegExp(...)' from now on.
BUG=
Review URL: https://codereview.chromium.org//11365196
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14838 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 10:41:37 +00:00
ajohnsen@google.com
ab69873a42
Make RegExp constructor non-const.
...
Another take of https://codereview.chromium.org/11410033/ with status changes applied for co19 tests.
BUG=
Review URL: https://codereview.chromium.org//11369210
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14837 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 10:18:06 +00:00
ajohnsen@google.com
ec9fee9858
"Reverting 14829-14832"
...
BUG=
Review URL: https://codereview.chromium.org//11312203
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14833 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 07:28:13 +00:00
ajohnsen@google.com
8dc3edd7ce
Make RegExp's constructor non-const.
...
BUG=
Review URL: https://codereview.chromium.org//11410033
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14829 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 06:48:43 +00:00
blois@google.com
ed44b9285d
Splitting SVG types out of dart:html.
...
Beyond this CL I need to remove the SVG prefix for most of the classes, but this is an additional chunk of work.
Review URL: https://codereview.chromium.org//11398002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14808 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-12 21:15:06 +00:00
floitsch@google.com
8e6f238f86
a === b -> identical(a, b)
...
Replace === null with == null.
BUG=http://dartbug.com/6380
Review URL: https://codereview.chromium.org//11361190
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14794 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-12 17:19:58 +00:00
johnniwinther@google.com
1e96528cc1
Fix move errors.
...
Review URL: https://codereview.chromium.org//11359059
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14557 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-06 10:19:56 +00:00
dgrove@google.com
7897a78551
Changes outside pkg/ and lib/ for directory refactoring
...
Review URL: https://codereview.chromium.org//11358024
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14475 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-02 15:18:11 +00:00
johnniwinther@google.com
ec9e32f669
ObjectMirror => ContainerMirror
...
declaredMembers => members
Review URL: https://codereview.chromium.org//11363005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14325 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-31 10:51:10 +00:00
johnniwinther@google.com
f3cd95e744
LibraryMirror interface updated to match dart:mirrors.
...
BUG=
Review URL: https://codereview.chromium.org//11342039
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14276 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-30 13:34:52 +00:00
johnniwinther@google.com
bad0f22863
Change surroundingDeclaration to DeclarationMirror.owner
...
Review URL: https://codereview.chromium.org//11337021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14264 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-30 11:36:44 +00:00
johnniwinther@google.com
a9ec3ff87b
Rename InterfaceMirror to ClassMirror
...
Review URL: https://codereview.chromium.org//11341037
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14256 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-30 10:21:18 +00:00
floitsch@google.com
2e778387b3
Make getKeys, getValues getters (keys, values).
...
Review URL: https://codereview.chromium.org//11267018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14093 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 19:22:11 +00:00
floitsch@google.com
09f6d09d88
Make isEmpty a getter.
...
Review URL: https://codereview.chromium.org//11238035
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14022 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-24 15:04:32 +00:00
amouravski@google.com
fa916d3169
Fixed the HTML doc breakage.
...
Temporary fix until we can make all of apidoc work with new import syntax.
Review URL: https://codereview.chromium.org//11260005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13991 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-24 01:56:42 +00:00
regis@google.com
adb534674c
Change core lib, dart2js, and more for new optional parameters syntax and semantics (new semantics is not enforced yet).
...
Review URL: https://codereview.chromium.org//11090016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13684 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-16 16:03:47 +00:00
johnniwinther@google.com
699c54c68d
Make Mirror.simpleName unique.
...
Review URL: https://codereview.chromium.org//11014022
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13167 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-03 09:36:58 +00:00
ager@google.com
1159462fc6
Switch from interfaces to abstract classes in dart:io.
...
Add a bunch of default argument values to the abstract classes
so they are picked up by dartdoc.
R=sgjesse@google.com
BUG=
Review URL: https://codereview.chromium.org//10938010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12484 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-18 10:54:37 +00:00
rnystrom@google.com
05dadf490e
Reorganize dartdoc to new package layout.
...
Review URL: https://codereview.chromium.org//10919260
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12338 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-13 16:49:48 +00:00
johnniwinther@google.com
16f8dd92e9
Changed final to const in apidoc.
...
Review URL: https://codereview.chromium.org//10914255
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12311 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-13 10:51:15 +00:00
efortuna@google.com
f19c48c69b
Remove dom_deprecated from everywhere but lib/dom and lib/html.
...
Review URL: https://chromiumcodereview.appspot.com//10918063
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11908 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-05 22:22:31 +00:00
efortuna@google.com
17353233b6
Remove local change that also got comitted in revert.
...
Review URL: https://chromiumcodereview.appspot.com//10910017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11658 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-30 21:14:05 +00:00
efortuna@google.com
9c129175d8
This accidentally snuck into the revert.
...
Review URL: https://chromiumcodereview.appspot.com//10909017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11656 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-30 21:09:57 +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
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
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
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
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
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