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
nweiz@google.com
7b72bd1b8d
Use a lockfile to persist Pub's installed version constellation.
...
This fixes a race condition in r9767 caused by issue 4155.
Review URL: https://chromiumcodereview.appspot.com//10790079
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9824 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-23 19:36:22 +00:00
nweiz@google.com
20b75854d1
Reverting 9767.
...
Review URL: https://chromiumcodereview.appspot.com//10803042
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9768 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-19 19:44:30 +00:00
nweiz@google.com
915c6be38b
Use a lockfile to persist Pub's installed version constellation.
...
Review URL: https://chromiumcodereview.appspot.com//10796021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9767 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-19 19:37:09 +00:00
nweiz@google.com
0db73f5236
Add a "help" command to Pub.
...
Review URL: https://chromiumcodereview.appspot.com//10805017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9765 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-19 18:10:39 +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
nweiz@google.com
38add2cf87
Allow the Git source to depend on a specific revision.
...
Review URL: https://chromiumcodereview.appspot.com//10790021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9693 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-17 02:36:06 +00:00
nweiz@google.com
b4f3327e2b
pub: treat a pubspec with just comments as empty
...
BUG= http://dartbug.com/3483
TEST=
Review URL: https://chromiumcodereview.appspot.com//10534081
Patch from Kevin Moore <kevmoo@j832.com >.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9686 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-16 22:44:43 +00:00
regis@google.com
b86a40f48f
Fix type checking of void type.
...
Fix library and tests accordingly.
Add new test.
Disable new test for dart2js.
Disable some now failing co19 tests (new issue 158 filed).
Hide internal VM String types from user (not complete).
Review URL: https://chromiumcodereview.appspot.com//10787021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9681 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-16 21:34:07 +00:00
nweiz@google.com
223195ba79
Use environment variables to find the Dart SDK and the Pub cache directory.
...
Review URL: https://chromiumcodereview.appspot.com//10689169
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9615 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-12 21:44:17 +00:00
nweiz@google.com
2c2583e304
Hook in the version solver to pub install.
...
Review URL: https://chromiumcodereview.appspot.com//10704172
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9604 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-12 18:47:31 +00:00