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
ahe@google.com
d1af3e7465
Copy all frog/native tests to dart2js_foreign.
...
Review URL: https://chromiumcodereview.appspot.com//10855248
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11020 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-21 08:56:36 +00:00
rnystrom@google.com
952230068c
Don't pollute repo with temp dirs for pub tests.
...
Review URL: https://chromiumcodereview.appspot.com//10825422
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10997 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-20 20:02:36 +00:00
ahe@google.com
36dfc00144
Disable colors on Windows and non-ttys.
...
Review URL: https://chromiumcodereview.appspot.com//10860041
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10980 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-20 15:25:56 +00:00
rnystrom@google.com
180df4ec25
Look for SDK packages in "pkg" in addition to "lib".
...
Review URL: https://chromiumcodereview.appspot.com//10857059
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10912 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-17 18:04:42 +00:00
dgrove@google.com
de531b234a
Move args from lib/ to pkg/ .
...
Review URL: https://chromiumcodereview.appspot.com//10831371
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10910 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-17 17:57:10 +00:00
scheglov@google.com
ca5e0d567c
Issue 4553. Any constant is valid for 'case'.
...
Also check for 'operator =='.
R=brianwilkerson@google.com
BUG=
Review URL: https://chromiumcodereview.appspot.com//10829365
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10899 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-17 14:28:48 +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
efortuna@google.com
1a5e39d4eb
Remove dysfunctional "always clobber" from Windows build.
...
Review URL: https://chromiumcodereview.appspot.com//10837269
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10836 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-16 16:51:09 +00:00
nweiz@google.com
30dc5566d8
Reverting 10779
...
Review URL: https://chromiumcodereview.appspot.com//10825375
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10781 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 23:32:43 +00:00
nweiz@google.com
8b8f1af9dc
Allow pub install and pub update to update dependers.
...
If the pubspec has a new dependency which causes an incompatibility with the
locked packages' version constraints, `pub install` will now unlock packages
one by one until a compatible version graph can be found.
`pub update <package>` will now always update the given package to its latest
version, even if that requires updating locked packages that depend on it
transitively. If no amount of updating will make the latest version valid, an
exception will be thrown.
Review URL: https://chromiumcodereview.appspot.com//10854152
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10779 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 23:24:24 +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
ricow@google.com
13cafea03d
Address additional review comments for annotated steps in r10644
...
TBR=ahe
Review URL: https://chromiumcodereview.appspot.com//10855169
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10701 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 07:21:40 +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
nweiz@google.com
ef953a51be
Actually enable the pub update tests.
...
Review URL: https://chromiumcodereview.appspot.com//10825142
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10669 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-14 19:26:16 +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
ricow@google.com
78438e2b83
Change clobbering to use the new script inside the dart tools directory.
...
This is the first step in unifying our clobbering functionality, I will change the vm and dartc bots to use this in another cl (the current scripts reside in another repository).
Also, I will do another follow up for browser bot clobbering later, including changing the current wrong clobber for windows 7 bots (which uses the old naming scheme for output directories)
Review URL: https://chromiumcodereview.appspot.com//10826301
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10644 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-14 13:20:35 +00:00
ricow@google.com
306b08740e
Enable clobber functionality for the dart2js buildbots
...
Review URL: https://chromiumcodereview.appspot.com//10831304
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10621 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-14 08:28:45 +00:00
ricow@google.com
7fff3965a5
Remove frog support from the annotated steps for dart2js and in browser testing.
...
Review URL: https://chromiumcodereview.appspot.com//10829313
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10620 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-14 07:41:26 +00:00
antonm@google.com
beda26dd25
Adjust suppressions.
...
R=smok@google.com
Review URL: https://chromiumcodereview.appspot.com//10827303
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10592 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-13 18:13:32 +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
nweiz@google.com
0cbfef976d
Fix the archive code so that it compiles in a stricter mode.
...
Review URL: https://chromiumcodereview.appspot.com//10824210
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10362 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-07 23:19:12 +00:00
rnystrom@google.com
0bc9b19740
Rename BadNumberFormatException -> FormatException.
...
Review URL: https://chromiumcodereview.appspot.com//10850034
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10354 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-07 20:56:59 +00:00
nweiz@google.com
a0020f326f
Check in the archive used for testing the libarchive reader.
...
Review URL: https://chromiumcodereview.appspot.com//10826179
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10348 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-07 19:04:31 +00:00
nweiz@google.com
114137d29a
Add ArchiveInputStream.readAll.
...
Review URL: https://chromiumcodereview.appspot.com//10830191
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10325 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-07 00:57:22 +00:00
gram@google.com
2edb59744d
Remove use of deprecated test functions.
...
Review URL: https://chromiumcodereview.appspot.com//10828139
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10238 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-03 16:51:21 +00:00
nweiz@google.com
2f9fd6e6bd
Attach the native entry struct to the ArchiveEntry object.
...
This allows the entry properties to be set by the user.
Review URL: https://chromiumcodereview.appspot.com//10832116
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10202 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-02 22:50:24 +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
11575e1a64
remove old tip util
...
BUG=
Review URL: https://chromiumcodereview.appspot.com//10824150
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10187 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-02 18:11:41 +00:00
rnystrom@google.com
4eed14aa17
Get symlinks working in pub on Windows.
...
Review URL: https://chromiumcodereview.appspot.com//10825158
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10183 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-02 17:27:25 +00:00
nweiz@google.com
61ff55fced
Free the C memory for ArchiveInputStream when the stream is garbage collected.
...
Review URL: https://chromiumcodereview.appspot.com//10825139
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10149 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-01 23:58:56 +00:00
nweiz@google.com
9833418db1
Add the beginnings of a Dart wrapper for libarchive.
...
Currently this only supports reading archives.
Review URL: https://chromiumcodereview.appspot.com//10842002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10138 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-01 20:19:07 +00:00
rnystrom@google.com
a4c11b47d7
Get basic Windows stuff working.
...
Enable pub tests that do appear to currently pass on Windows.
Review URL: https://chromiumcodereview.appspot.com//10824095
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10100 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-31 23:54:10 +00:00
efortuna@google.com
86ad5d3d50
Fix slash direction on Windows.
...
Review URL: https://chromiumcodereview.appspot.com//10831093
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10079 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-31 18:13:39 +00:00
gram@google.com
27846b0846
Improved the way we generate mismatch descriptions.
...
matches() methods can now return additional state that is used by describeMismatch(). This adds a small tax to the happy path, but makes the unhappy path quite a bit more efficient as well as providing better error messages.
Related to this, expect() can now be passed a verbose flag. Currently this is used by throwsA/returnsNormally to provide stack traces from the actual exception but could be used for other things too.
The tests for the Mock classes have been changed to be normal tests, not 'meta' tests.
A couple of other minor fixes.
Review URL: https://chromiumcodereview.appspot.com//10832058
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10078 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-31 18:12:49 +00:00
efortuna@google.com
61da51179b
Account for spaces in Windows path names.
...
Review URL: https://chromiumcodereview.appspot.com//10841002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10033 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-31 01:50:08 +00:00
antonm@google.com
daf8046461
Better filtering of dart:* libs.
...
R=smok@google.com
Review URL: https://chromiumcodereview.appspot.com//10834049
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9977 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-27 14:09:56 +00:00
antonm@google.com
83cecd8b0d
Triage dart2dart pub failures.
...
Most of the tests are not supposed to pass. YAML requires additional investigation.
R=smok@google.com
Review URL: https://chromiumcodereview.appspot.com//10823053
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9975 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-27 12:29:45 +00:00
efortuna@google.com
9d9f73e535
Print out browser version number also for Windows bots.
...
Review URL: https://chromiumcodereview.appspot.com//10827028
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9924 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-26 00:54:34 +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
nweiz@google.com
812b305657
Fix an isEmpty call.
...
Review URL: https://chromiumcodereview.appspot.com//10821021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9900 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-25 18:25:11 +00:00
nweiz@google.com
ae7c34c537
Make "pub update PACKAGE" update a specific package.
...
Review URL: https://chromiumcodereview.appspot.com//10809058
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9899 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-25 18:23:18 +00:00
efortuna@google.com
ed03d58b28
Remove extra paren.
...
TBR=sigmund@google.com
Review URL: https://chromiumcodereview.appspot.com//10820015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9897 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-25 17:43:05 +00:00
efortuna@google.com
688f76c6f6
Reapply r9440 (reverted in in 9450) with fix for Windows.
...
Review URL: https://chromiumcodereview.appspot.com//10833008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9896 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-25 17:38:28 +00:00
antonm@google.com
74d17a16f9
dart2dart compiler support.
...
R=whesse@google.com
Review URL: https://chromiumcodereview.appspot.com//10809069
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9880 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-25 11:20:41 +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
nweiz@google.com
d4ef73e116
Make "pub update" update all packages.
...
Review URL: https://chromiumcodereview.appspot.com//10809057
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9825 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-23 20:13:33 +00:00