rnystrom@google.com
96697d6ecc
Fix path tests on windows.
...
Review URL: https://codereview.chromium.org//12263018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18488 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-13 22:18:55 +00:00
rnystrom@google.com
76ec804170
Auto-reinstall broken packages in the system cache.
...
BUG=http://code.google.com/p/dart/issues/detail?id=5939
Review URL: https://codereview.chromium.org//12225149
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18480 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-13 21:11:12 +00:00
rnystrom@google.com
bd0d874a53
Take Sam Elkhateeb's path for "path" dependencies and clean it up some.
...
BUG=http://code.google.com/p/dart/issues/detail?id=3732
Review URL: https://codereview.chromium.org//12208138
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18465 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-13 18:47:19 +00:00
rnystrom@google.com
4a9cc0f619
Validate packages against their SDK constraints.
...
After running pub install or update, it will look at all of the
selected packages and see if their SDK constraints match the
current SDK. If not, it will show a (hopefully) helpful error
message.
BUG=dartbug.com/6285
Review URL: https://codereview.chromium.org//12092080
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18014 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-01 23:45:26 +00:00
rnystrom@google.com
7ec5b82507
Make pub use the SDK's "version" file for its version.
...
This includes pub's own version and the implied version of SDK
packages. I also added a little test that verifies that pub can
parse the actual version file generated with the SDK.
BUG=5906,6173,7837
Review URL: https://codereview.chromium.org//12036065
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17512 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 23:20:09 +00:00
rnystrom@google.com
f053f356ee
Clean up code that locates SDK and SDK version.
...
This is prep work for SDK constraints. It moves the SDK
version-related code out of SdkSource (which will go away at some
point) into its own library.
I also removed the need for the DART_SDK env variable. It will
still be used if set (which the tests need), but if not set, Pub
will locate the SDK.
Clean up a few static warnings.
Review URL: https://codereview.chromium.org//11871028
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17433 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 23:52:37 +00:00
rnystrom@google.com
97af32b4d3
Make integration tests a bit cleaner.
...
Review URL: https://codereview.chromium.org//11943005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17300 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-18 18:06:22 +00:00
rnystrom@google.com
90325c70ca
Remove support for old package layouts.
...
Review URL: https://codereview.chromium.org//11280018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14990 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-16 00:23:58 +00:00
rnystrom@google.com
10c9d938ab
Place "packages" directories inside "tool".
...
Review URL: https://codereview.chromium.org//11362233
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14868 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-13 22:06:35 +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
rnystrom@google.com
5704507534
Show better error messages in network failures.
...
We had decent messages for a couple of failure modes. This tries
to catch some more.
Review URL: https://codereview.chromium.org//11369066
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14543 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-05 20:42:39 +00:00
gram@google.com
981c4b11df
Restructure pkg/unittest and pkg/webdriver to follow the pub conventions.
...
This means all imports of unittest in our test code had to change to include 'lib' in the path.
While doing that change I changed the library/imports to the new syntax in the affected files.
Review URL: https://codereview.chromium.org//11301046
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14443 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-01 23:09:47 +00:00
nweiz@google.com
11a3d6b769
Reverting 13708
...
TBR
Review URL: https://codereview.chromium.org//11192019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13710 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-16 22:39:50 +00:00
nweiz@google.com
ac3242b205
Add a Pub test that runs against the real Dart SDK.
...
BUG=5906
Review URL: https://codereview.chromium.org//11187011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13708 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-16 22:31:44 +00:00
rnystrom@google.com
182ae3e26c
Update pub to use new import syntax.
...
Review URL: https://codereview.chromium.org//11093012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13391 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-09 01:25:43 +00:00
rnystrom@google.com
57a43b6fd5
Spit pub tests into smaller suites.
...
Windows is slow and our large tests suites time out.
Review URL: https://codereview.chromium.org//11035066
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13315 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-05 20:01:50 +00:00