nweiz@google.com
f813520a0a
Add Bob's path library to pub.
...
BUG=7215
Review URL: https://codereview.chromium.org//11475046
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15881 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-08 03:47:03 +00:00
nweiz@google.com
4b0a76bc2d
pipeInputToInput should be resilient to stream closure.
...
Review URL: https://codereview.chromium.org//11474048
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15880 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-08 03:39:19 +00:00
nweiz@google.com
3b8e03576e
Validate that an uploaded package has a LICENSE file.
...
BUG=7045
Review URL: https://codereview.chromium.org//11474047
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15879 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-08 03:24:44 +00:00
nweiz@google.com
55ad513b3b
Work around issue 7218 in Pub.
...
Review URL: https://codereview.chromium.org//11470030
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15878 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-08 03:21:15 +00:00
rnystrom@google.com
88bb817a82
Finish integrating logging.
...
BUG=
Review URL: https://codereview.chromium.org//11470031
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15877 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-08 03:13:13 +00:00
rnystrom@google.com
e5567d556b
Add some relatively innocuous logging.
...
Review URL: https://codereview.chromium.org//11464032
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15876 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-08 02:57:00 +00:00
rnystrom@google.com
30d0a0356d
Fix type annotation and comment.
...
Review URL: https://codereview.chromium.org//11464040
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15875 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-08 02:46:07 +00:00
rnystrom@google.com
015bb89346
Make sure to drain stderr in tests so that spawned process doesn't hang.
...
Review URL: https://codereview.chromium.org//11474046
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15874 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-08 02:18:06 +00:00
rnystrom@google.com
2b9281fe14
Add in basic logging system.
...
Review URL: https://codereview.chromium.org//11470023
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15870 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 22:13:47 +00:00
nweiz@google.com
af15a10d6a
Fix "src" detection in the pub lish validator on Windows.
...
Review URL: https://codereview.chromium.org//11472033
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15866 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 21:33:35 +00:00
nweiz@google.com
89dca42b83
Properly parse library names on Windows in pub.
...
Review URL: https://codereview.chromium.org//11476030
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15859 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 19:46:10 +00:00
nweiz@google.com
97f425b7de
Add a validator that checks package names.
...
BUG=7045
Review URL: https://codereview.chromium.org//11444018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15857 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 19:30:51 +00:00
nweiz@google.com
e15d4788ce
Require a description field in pubspecs.
...
BUG=7045
Review URL: https://codereview.chromium.org//11466020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15856 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 19:27:03 +00:00
rnystrom@google.com
cf5ab6030e
Revert "By default use current code page on Windows for decoding string"
...
This reverts commit c247cd299958d0ee713dcfef8aaf44d230a3a7e0.
Revert "Fix memory leaks in system string patch"
This reverts commit 5e533a0c383518fc1851fbdc01a796f7d6b077f8.
Review URL: https://codereview.chromium.org//11446067
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15854 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 18:49:52 +00:00
ahe@google.com
0301e91b94
Remove stale dependencies on dart2js scripts.
...
Also, add build rule to delete old dart2js scripts.
Review URL: https://codereview.chromium.org//11446040
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15841 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 10:04:38 +00:00
rnystrom@google.com
e3bc775e68
Revert "Add logging system to pub and sprinkle some logging in."
...
This reverts commit 60468a1a0854389bb3f460cf2368f22013f1af31.
BUG=
Review URL: https://codereview.chromium.org//11472016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15830 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 00:48:12 +00:00
rnystrom@google.com
578c415134
Add logging system to pub and sprinkle some logging in.
...
We'll have to tune which things we log over time, but this covers
most IO operations which is where almost all of our problems come
from.
This patch also means that going forward you should no longer call
print() or printError() (which is gone) directly. Instead:
print() -> log.message()
printError() -> log.error()
That ensures all messages will correctly get added to the log's
transcript.
Review URL: https://codereview.chromium.org//11437019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15827 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 00:29:23 +00:00
nweiz@google.com
83fa5c203c
Stop working around issue 7044.
...
Review URL: https://codereview.chromium.org//11478004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15826 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 00:11:35 +00:00
nweiz@google.com
29318c2f5c
Revert "Stop working around issue 6984."
...
Review URL: https://codereview.chromium.org//11464015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15825 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 00:09:19 +00:00
nweiz@google.com
01dd8fcb4e
Stop working around issue 6984.
...
Review URL: https://codereview.chromium.org//11464006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15804 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-06 20:50:21 +00:00
ahe@google.com
57cd87d9f7
Don't build dart2js scripts.
...
Users of dart2js are expected to use the scripts in sdk/bin instead.
Review URL: https://codereview.chromium.org//11421126
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15773 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-06 09:04:14 +00:00
rnystrom@google.com
39dc1b5323
Better error messages for dependency conflicts.
...
BUG=
Review URL: https://codereview.chromium.org//11445034
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15768 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-06 02:04:30 +00:00
nweiz@google.com
0e9b2ef0bd
Add validation infrastructure for "pub lish".
...
This also adds a simple validator.
BUG=7045
Review URL: https://codereview.chromium.org//11434118
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15765 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-06 00:25:41 +00:00
rnystrom@google.com
4691a52f63
Remove buildbot hack. Fixes dartbug.com/6847.
...
If this still breaks the buildbot, I'll revert this and fix it
some other way.
Review URL: https://codereview.chromium.org//11438033
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15761 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-05 23:17:57 +00:00
nweiz@google.com
4ba4e92937
Handle OAuth2 AuthorizationExceptions in pub.
...
BUG=6950
Review URL: https://codereview.chromium.org//11416352
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15747 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-05 19:47:32 +00:00
nweiz@google.com
7137d14a03
Use HTTPS everywhere for "pub lish".
...
BUG=7115
Review URL: https://codereview.chromium.org//11414297
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15658 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-03 21:16:38 +00:00
rnystrom@google.com
2b3c4cd639
Make directory renaming more resilient on Windows.
...
BUG=
Review URL: https://codereview.chromium.org//11348332
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15608 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-30 22:39:45 +00:00
nweiz@google.com
7f9128e262
Restrict the set of files that will be pub lished.
...
This ensures that hidden directories, packages directories, and pubspec.lock
files aren't pub lished.
BUG=7001
Review URL: https://codereview.chromium.org//11308298
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15602 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-30 21:37:37 +00:00
rnystrom@google.com
0c0d8d9dc7
Get curl uploads working on Mac.
...
Review URL: https://codereview.chromium.org//11411273
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15592 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-30 18:21:41 +00:00
nweiz@google.com
6a6c381b91
Use pkg/http pervasively in pub.
...
Review URL: https://codereview.chromium.org//11280246
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15559 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-30 01:15:23 +00:00
nweiz@google.com
5c7323f35d
Keep around a copy of the http.Request that triggered each Response.
...
Review URL: https://codereview.chromium.org//11348309
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15555 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-30 00:09:18 +00:00
nweiz@google.com
f7f4e8c458
Give all async exceptions in pub some sort of stack trace.
...
Review URL: https://codereview.chromium.org//11421159
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15547 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-29 22:45:51 +00:00
rnystrom@google.com
816bcbff5e
Fix relativeToPub() to work in the SDK too.
...
Review URL: https://codereview.chromium.org//11419236
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15545 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-29 22:19:27 +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
nweiz@google.com
806e8a5432
Mark pub oauth2 and curl_client tests as skip on Windows.
...
Review URL: https://codereview.chromium.org//11308262
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15488 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-29 00:52:00 +00:00
nweiz@google.com
ff3ab9a439
Mark the pub oauth2_test as failing on Windows.
...
Review URL: https://codereview.chromium.org//11418227
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15483 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-29 00:39:07 +00:00
rnystrom@google.com
e7382431ba
Get archive creation working on Windows.
...
Review URL: https://codereview.chromium.org//11348288
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15482 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-29 00:20:28 +00:00
nweiz@google.com
2df3fd15b2
The macos pub tests are working again.
...
BUG=
Review URL: https://codereview.chromium.org//11421136
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15479 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-28 23:34:34 +00:00
nweiz@google.com
558ffd19bf
Work around issue 6984.
...
This ensures that before an HTTP response is closed, its corresponding
request is drained of input.
Review URL: https://codereview.chromium.org//11348285
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15476 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-28 22:43:10 +00:00
nweiz@google.com
a964e37605
Don't require users to copy-paste authorization codes when authorizing pub.
...
BUG=6951
Review URL: https://codereview.chromium.org//11348268
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15468 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-28 19:45:06 +00:00
ajohnsen@google.com
50a4a92d22
Hide aliases when printing 'pub --help'.
...
BUG=
Review URL: https://codereview.chromium.org//11413215
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15440 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-28 06:26:06 +00:00
nweiz@google.com
3b5ab2e81e
Add support for pub command aliases.
...
BUG=6949
Review URL: https://codereview.chromium.org//11416222
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15434 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-28 01:57:30 +00:00
nweiz@google.com
c2d351b552
Mark pub Windows tests as failing.
...
Review URL: https://codereview.chromium.org//11348266
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15432 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-28 01:46:55 +00:00
rnystrom@google.com
d2213763e0
Make pub git tests fast on windows again.
...
BUG=
Review URL: https://codereview.chromium.org//11428037
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15424 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-27 23:21:04 +00:00
nweiz@google.com
8161b23167
Fix or mark "pub lish" build failures.
...
Review URL: https://codereview.chromium.org//11411201
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15423 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-27 23:10:47 +00:00
nweiz@google.com
e67b17723c
Add an initial "pub lish" command.
...
BUG=6177
Review URL: https://codereview.chromium.org//11308212
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15422 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-27 22:48:59 +00:00
rnystrom@google.com
ce5a461318
Update Version to latest language changes.
...
Review URL: https://codereview.chromium.org//11308236
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15421 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-27 22:38:03 +00:00
rnystrom@google.com
03320a2c66
Update YAML to latest language changes.
...
Review URL: https://codereview.chromium.org//11348257
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15420 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-27 22:37:19 +00:00
whesse@google.com
34771fb64c
Clean up svn:ignore property and .gitignore in dart, dart/pkg, dart/runtime, and dart/samples.
...
Review URL: https://codereview.chromium.org//11421093
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15392 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-27 14:07:53 +00:00
ahe@google.com
3380a673cb
Remove unnecessary option.
...
Review URL: https://codereview.chromium.org//11419148
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15384 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-27 11:50:18 +00:00