ngeoffray@google.com
b5fe256172
Improvements for checked mode: check when intializing fields, and when assigning to fields.
...
Review URL: https://chromiumcodereview.appspot.com//10910092
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11962 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-06 16:03:25 +00:00
ngeoffray@google.com
fce3e2ec01
Fix checked mode on browser.
...
Review URL: https://chromiumcodereview.appspot.com//10912109
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11933 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-06 10:48:22 +00:00
efortuna@google.com
f19c48c69b
Remove dom_deprecated from everywhere but lib/dom and lib/html.
...
Review URL: https://chromiumcodereview.appspot.com//10918063
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11908 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-05 22:22:31 +00:00
ahe@google.com
f60c22adb8
Disable browser dart2js checked mode tests. Too broken.
...
Review URL: https://chromiumcodereview.appspot.com//10911107
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11896 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-05 19:01:38 +00:00
ahe@google.com
ccc5a66fbc
One more problem with checked mode in browsers.
...
Review URL: https://chromiumcodereview.appspot.com//10912104
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11892 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-05 18:43:56 +00:00
ahe@google.com
2cb2b0161a
Disable checked mode browser tests on platforms where they break test framework.
...
Review URL: https://chromiumcodereview.appspot.com//10919099
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11885 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-05 16:21:37 +00:00
ahe@google.com
c19adedfa5
Test dart2js checked mode.
...
Review URL: https://chromiumcodereview.appspot.com//10911094
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11873 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-05 12:02:53 +00:00
ahe@google.com
e82ca32178
Improve [relativize] for Windows.
...
Review URL: https://chromiumcodereview.appspot.com//10914094
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11864 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-05 09:35:12 +00:00
nweiz@google.com
e36237835a
Use a bare git repository for the repo cache.
...
This also allows remote branch names to be used in the `ref` field for Git
dependencies.
BUG=4892
Review URL: https://chromiumcodereview.appspot.com//10913077
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11856 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-05 01:35:27 +00:00
nweiz@google.com
dab90c79b4
Emit a non-zero exit code when Pub fails.
...
BUG=4922
Review URL: https://chromiumcodereview.appspot.com//10911085
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11855 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-05 01:16:21 +00:00
rnystrom@google.com
29e9417404
One more error code to check.
...
Review URL: https://chromiumcodereview.appspot.com//10916106
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11854 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-05 00:45:05 +00:00
rnystrom@google.com
b33db2545f
Use right errno on Linux.
...
Review URL: https://chromiumcodereview.appspot.com//10909073
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11853 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-05 00:30:35 +00:00
rnystrom@google.com
603f1e3368
Show nicer errors on some server failures.
...
Review URL: https://chromiumcodereview.appspot.com//10917053
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11852 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-05 00:02:10 +00:00
rnystrom@google.com
361e992008
Hide self-referential symlinks behind a flag in pub.
...
Review URL: https://chromiumcodereview.appspot.com//10907036
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11725 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-31 21:54:49 +00:00
jmesserly@google.com
963d06882b
Fix pub to close connection to dartlang.org when it's done downloading
...
See bug http://dartbug.com/4857
fixes: http://dartbug.com/4856
Review URL: https://chromiumcodereview.appspot.com//10913034
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11714 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-31 19:02:42 +00:00
iposva@google.com
0dd77bf634
- Change "static final" to "static const" in the
...
pkg/, language/, utils/ and lib/core/ directories.
Review URL: https://chromiumcodereview.appspot.com//10919024
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11703 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-31 17:47:17 +00:00
rnystrom@google.com
ed8794090e
Rename "repo" source to "hosted".
...
Review URL: https://chromiumcodereview.appspot.com//10916034
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11671 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-30 23:44:51 +00:00
efortuna@google.com
17353233b6
Remove local change that also got comitted in revert.
...
Review URL: https://chromiumcodereview.appspot.com//10910017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11658 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-30 21:14:05 +00:00
efortuna@google.com
9c129175d8
This accidentally snuck into the revert.
...
Review URL: https://chromiumcodereview.appspot.com//10909017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11656 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-30 21:09:57 +00:00
gram@google.com
ba92707967
Testrunner for 3rd parties.
...
Review URL: https://chromiumcodereview.appspot.com//10897016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11648 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-30 20:12:24 +00:00
nweiz@google.com
1e3faaeda1
Add a friendly error message for using a tab as indentation.
...
BUG=4813
Review URL: https://chromiumcodereview.appspot.com//10886055
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11644 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-30 19:19:15 +00:00
nweiz@google.com
ac0927b2eb
Improve the error message for pub install without a name key in the pubspec.
...
BUG=4806
Review URL: https://chromiumcodereview.appspot.com//10896051
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11643 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-30 18:57:33 +00:00
ahe@google.com
c1564e0114
Improve detection of when to use colors.
...
Review URL: https://chromiumcodereview.appspot.com//10910006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11628 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-30 17:03:10 +00:00
ajohnsen@google.com
3cf5d6531d
Move core and coreimpl from corelib/ to lib/core and lib/coreimpl.
...
BUG=
Review URL: https://chromiumcodereview.appspot.com//10890030
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11606 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-30 11:45:40 +00:00
nweiz@google.com
cb45c460f7
Create packages directories in test/ and bin/ as well as at the top level.
...
This is necessary to run Dart files in these directories.
Review URL: https://chromiumcodereview.appspot.com//10900015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11549 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-29 20:57:03 +00:00
eub@google.com
020123ce0f
Repair bitrot in the utils/apidoc/mdn/ code. It now runs all the way through,
...
though it currently doesn't seem to be getting any docs for members.
Review URL: https://chromiumcodereview.appspot.com//10889017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11539 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-29 19:49:39 +00:00
lrn@google.com
78f404baca
Remove library_map.dart.
...
Review URL: https://chromiumcodereview.appspot.com//10894005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11519 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-29 12:57:32 +00:00
kasperl@google.com
72e668595d
Use new try-catch syntax in runtime/, tools/, and utils/.
...
R=ngeoffray@google.com
BUG=
Review URL: https://chromiumcodereview.appspot.com//10887023
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11514 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-29 11:58:58 +00:00
johnniwinther@google.com
c57b7b0a3a
'Find-as-you-type'-search in dartdoc/apidoc.
...
Review URL: https://chromiumcodereview.appspot.com//10829361
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11508 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-29 10:35:30 +00:00
lrn@google.com
a7cc80dd7c
Get library data from lib/_internal/libraries.dart.
...
Review URL: https://chromiumcodereview.appspot.com//10874030
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11435 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-28 10:23:22 +00:00
johnniwinther@google.com
887a1eb8f7
Fix apidoc generation of pkg on Windows
...
Review URL: https://chromiumcodereview.appspot.com//10867082
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11431 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-28 07:52:07 +00:00
nweiz@google.com
18f8f5a72f
Add a note to Source#install explaining that it should be very light-weight.
...
Review URL: https://chromiumcodereview.appspot.com//10883072
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11421 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-27 22:21:37 +00:00
nweiz@google.com
89b1f5ec12
Support removing dead packages with pub install.
...
Review URL: https://chromiumcodereview.appspot.com//10867070
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11356 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-25 00:18:48 +00:00
nweiz@google.com
af2d533d41
Fix some compilation errors and warnings in Pub.
...
Review URL: https://chromiumcodereview.appspot.com//10880055
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11355 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-24 23:57:42 +00:00
nweiz@google.com
4b76d74d5d
Properly handle Git URLs with trailing slashes.
...
BUG=3493
Review URL: https://chromiumcodereview.appspot.com//10875056
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11343 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-24 21:11:28 +00:00
nweiz@google.com
36575ab9ef
Add a missing semicolon to a file in pub.
...
Review URL: https://chromiumcodereview.appspot.com//10878059
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11342 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-24 21:01:34 +00:00
nweiz@google.com
562860c6c3
Skip the new pub tests on platforms where they don't belong.
...
Review URL: https://chromiumcodereview.appspot.com//10879071
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11338 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-24 19:55:02 +00:00
nweiz@google.com
e74b871e92
Support self-referential package: imports with Pub.
...
Review URL: https://chromiumcodereview.appspot.com//10874051
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11334 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-24 18:48:00 +00:00
rnystrom@google.com
0ca2c3fee4
Add new pub test suites to status file.
...
Review URL: https://chromiumcodereview.appspot.com//10883019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11284 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-24 01:48:53 +00:00
rnystrom@google.com
172e5cfae4
Split pub tests into separate suites.
...
Review URL: https://chromiumcodereview.appspot.com//10876058
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11283 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-24 01:42:51 +00:00
nweiz@google.com
12c59d9112
Don't print Git output when running Pub.
...
BUG=4412
Review URL: https://chromiumcodereview.appspot.com//10873053
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11281 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-24 01:04:12 +00:00
nweiz@google.com
20a9094704
Use ephemeral ports for serving stuff during the pub tests.
...
BUG=4531
Review URL: https://chromiumcodereview.appspot.com//10874039
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11274 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-23 23:18:10 +00:00
nweiz@google.com
523bb86491
Add a number of convenience methods to test_pub.
...
This changelist has two goals. The first is to simply clean up pub_test by
factoring out repeated patterns, removing the use of raw YAML, and making the
commands more semantic. The second goal is to set the stage for the use of
ephemeral ports for the mock package server, which will allow multiple instances
of the tests to be run simultaneously.
This was originally submitted as r11261, but that caused test errors due to a
race condition that were then fixed. Then it was submitted as r11266, which
caused further test errors that are now completely fixed.
Review URL: https://chromiumcodereview.appspot.com//10868059
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11273 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-23 23:10:01 +00:00
rnystrom@google.com
17a941e040
Update pub to new getter syntax.
...
Review URL: https://chromiumcodereview.appspot.com//10869033
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11270 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-23 22:41:47 +00:00
nweiz@google.com
66950a48d0
Reverting 11266
...
Review URL: https://chromiumcodereview.appspot.com//10872050
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11268 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-23 22:38:29 +00:00
nweiz@google.com
b0511b4d58
Add a number of convenience methods to test_pub.
...
This changelist has two goals. The first is to simply clean up pub_test by
factoring out repeated patterns, removing the use of raw YAML, and making the
commands more semantic. The second goal is to set the stage for the use of
ephemeral ports for the mock package server, which will allow multiple instances
of the tests to be run simultaneously.
This was originally submitted as r11261, but that caused test errors due to a race condition that's fixed in this CL.
Review URL: https://chromiumcodereview.appspot.com//10868058
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11266 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-23 22:28:23 +00:00
nweiz@google.com
06c640c763
Actually hook server creation into the pub test schedule.
...
Review URL: https://chromiumcodereview.appspot.com//10873003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11265 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-23 22:09:43 +00:00
nweiz@google.com
dfefb08fab
Reverting 11261
...
Review URL: https://chromiumcodereview.appspot.com//10873051
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11264 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-23 22:05:45 +00:00
nweiz@google.com
258cd65f18
Add a number of convenience methods to test_pub.
...
This changelist has two goals. The first is to simply clean up pub_test by
factoring out repeated patterns, removing the use of raw YAML, and making the
commands more semantic. The second goal is to set the stage for the use of
ephemeral ports for the mock package server, which will allow multiple instances
of the tests to be run simultaneously.
Review URL: https://chromiumcodereview.appspot.com//10871008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11261 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-23 21:38:38 +00:00
ager@google.com
722c1a3ce6
Deprecate Math object in corelib in favor of dart:math library.
...
Review URL: https://chromiumcodereview.appspot.com//10829459
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11155 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-22 14:33:01 +00:00