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
ahe@google.com
5c2839d6c9
Increase the heap growth rate as it decreases compile-time by as much as 10%.
...
Review URL: https://codereview.chromium.org//11414144
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15377 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-27 09:56:29 +00:00
ahe@google.com
7a3632d3ee
Update dependencies after big lib -> sdk/lib move.
...
Review URL: https://codereview.chromium.org//11418141
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15374 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-27 09:24:12 +00:00
aprelev@gmail.com
aa82516264
Fixed snapshot name in dart2js.bat, dartdoc.bat invocation scripts.
...
BUG=dartbug.com/6916
TEST=
Review URL: https://chromiumcodereview.appspot.com//11308193
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15363 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-27 02:45:29 +00:00
rnystrom@google.com
8ce4fd1895
Mark the pub tests as slow/timeout on Windows.
...
Review URL: https://codereview.chromium.org//11421085
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15361 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-27 00:57:36 +00:00
rnystrom@google.com
d824a21ef4
Git tests on Windows are fast now.
...
Review URL: https://codereview.chromium.org//11414170
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15348 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-26 22:03:36 +00:00
erikcorry@google.com
359736e97a
Fix Unicode issues in dart2js and dart2dart.
...
R=floitsch@google.com
BUG=
Review URL: https://codereview.chromium.org//11418115
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15254 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-22 12:51:14 +00:00
rnystrom@google.com
08b3c5ef6f
Avoid passing absolute path to 7zip.
...
Review URL: https://codereview.chromium.org//11417102
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15186 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-21 00:15:33 +00:00
erikcorry@google.com
84da84c22d
Revert "Add some support for the code-point code-unit distinction."
...
This reverts commit r15150
R=karlklose@google.com
BUG=
Review URL: https://codereview.chromium.org//11411092
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15152 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-20 15:23:41 +00:00
erikcorry@google.com
547cbf9da6
Add some support for the code-point code-unit distinction.
...
Adds String.fromCodeUnits and String.codeUnitAt, and modifies
String.fromCodePoints and String.codePointAt to actually use code points.
Fixes String.charCodes to use code points and adds String.codeUnits.
Reenables some tests, and adds new ones for non-BMP characters.
Fixes issues 6418, 6501 and 1357.
R=floitsch@google.com
BUG=
Review URL: https://codereview.chromium.org//11368138
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15150 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-20 14:51:25 +00:00
nweiz@google.com
500db0fb88
Enable CurlClient tests on Windows by bundling curl.exe.
...
BUG=6777
Review URL: https://codereview.chromium.org//11414044
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15117 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-19 22:55:30 +00:00
nweiz@google.com
ed9a474a50
Add a package for authenticating via OAuth2.
...
Review URL: https://codereview.chromium.org//11420025
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15115 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-19 22:23:33 +00:00
nweiz@google.com
f4e557d746
Move CurlClient to Pub so that it can access resources.
...
This CL also enables tests for the client on Linux and OS X.
Review URL: https://codereview.chromium.org//11299028
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15047 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-17 01:15:45 +00:00