floitsch@google.com
a1a91eb915
Add async_helper package.
...
This package is private and should not be published to pub (nor should
its documentation be published to api.dartlang.org).
R=kustermann@google.com
Review URL: https://codereview.chromium.org//23547005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26774 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-28 09:24:50 +00:00
floitsch@google.com
1887b5ca49
Some more removals of dart:utf.
...
R=jmesserly@google.com , lrn@google.com , nweiz@google.com
Review URL: https://codereview.chromium.org//22909059
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26712 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 13:18:34 +00:00
floitsch@google.com
35d7140e66
Remove Encoding-enum from dart:io and add interface in dart:convert.
...
BUG= http://dartbug.com/6284
BUG= http://dartbug.com/7966
R=nweiz@google.com , sgjesse@google.com
Review URL: https://codereview.chromium.org//22872012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26632 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-26 10:37:25 +00:00
lrn@google.com
928a2e76d6
Remove use of "interface" in template.
...
R=floitsch@google.com
Review URL: https://codereview.chromium.org//22852023
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26593 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-23 10:55:20 +00:00
kevmoo@j832.com
179c810f8a
starting to work on unit test config interface
...
R=gram@google.com
Review URL: https://codereview.chromium.org//22883008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26215 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-15 20:48:32 +00:00
sgjesse@google.com
ff7a0b95bd
Fix Windows bugs in r26181
...
TBR=ahe@google.com
BUG=
Review URL: https://codereview.chromium.org//23035004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26191 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-15 12:10:03 +00:00
sgjesse@google.com
353428a918
Remove the Path class from dart:io
...
The Path class in dart:io has been deprecated for some time
now. It was scheduled to be removed on August 11th, so here it
goes.
dart:io still uses the Path class internally, but now it is
private. I will trim it down to what is actually used in a
follow-up change.
R=ahe@google.com , devoncarew@google.com , whesse@google.com
BUG=http://dartbug.com/11666
Review URL: https://codereview.chromium.org//23054008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26181 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-15 10:10:53 +00:00
kustermann@google.com
315daf1d72
First CL for removing our dependency on the checked-in binary for building
...
R=ricow@google.com
Review URL: https://codereview.chromium.org//22393002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25809 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-06 10:52:57 +00:00
dgrove@google.com
36c699b863
Publish path package documentation.
...
R=rnystrom@google.com
Review URL: https://codereview.chromium.org//19977005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25377 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-23 22:49:13 +00:00
ahe@google.com
216289bcb1
dart2js has its own snapshot.
...
R=ngeoffray@google.com
Review URL: https://codereview.chromium.org//19795006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25344 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-23 14:58:28 +00:00
dgrove@google.com
07b2fcffd4
Use path package rather than Path from dart:io .
...
R=ajohnsen@google.com , rnystrom@google.com
Review URL: https://codereview.chromium.org//19500013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25316 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-22 23:04:37 +00:00
nweiz@google.com
1b541506ff
Roll forward "Use package:stack_trace in unittest."
...
This reverts r25135, and rolls forward r25131, r25132, and r25133.
R=rnystrom@google.com
Review URL: https://codereview.chromium.org//19540015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25169 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-18 19:30:33 +00:00
nweiz@google.com
e93476aa9d
Roll back "Use package:stack_trace in unittest."
...
This reverts r25131, r25132, and r25133.
R=rnystrom@google.com
Review URL: https://codereview.chromium.org//19684006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25135 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-17 23:55:46 +00:00
nweiz@google.com
c7b527f8bc
Roll forward "Use package:stack_trace in unittest."
...
This reverts r24669 and rolls forward r24652, r24659, and r24661.
BUG=11649
R=asiva@google.com , vsm@google.com
Review URL: https://codereview.chromium.org//18892003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25131 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-17 22:39:44 +00:00
rnystrom@google.com
ed4a747343
File watching package.
...
BUG=
R=nweiz@google.com
Review URL: https://codereview.chromium.org//18612013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24971 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-12 21:15:02 +00:00
rnystrom@google.com
a9d24edd0f
Rename "pathos" package to "path".
...
R=ajohnsen@google.com
Review URL: https://codereview.chromium.org//18356011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24964 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-12 17:54:48 +00:00
nweiz@google.com
d3af1780d2
Roll back "Use package:stack_trace in unittest."
...
This reverts r24652, r24659, and r24661. r24652 triggered a crashing bug in all
the Dartium tests, so it's being reverted until that bug is fixed.
BUG=11649
R=asiva@google.com
Review URL: https://codereview.chromium.org//18400002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24669 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-01 23:12:23 +00:00
nweiz@google.com
7b0ae79768
Use package:stack_trace in unittest.
...
R=gram@google.com
Review URL: https://codereview.chromium.org//18052029
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24652 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-01 20:10:54 +00:00
rnystrom@google.com
f1eded44e3
Don't generate docs for barback.
...
R=amouravski@google.com
Review URL: https://codereview.chromium.org//17639004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24483 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-26 17:57:31 +00:00
amouravski@google.com
f9049d964a
Remove ? operator from Apidoc
...
R=iposva@google.com
Review URL: https://codereview.chromium.org//17773005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24448 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-26 04:48:34 +00:00
janicejl@google.com
0bbe2c4920
Added --exclude-lib=docgen so that it does throw an error about markdown when building.
...
R=efortuna@google.com
Review URL: https://codereview.chromium.org//17608007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24421 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-25 16:49:11 +00:00
ajohnsen@google.com
0ef921b335
First push of a new 'http_server' dart package.
...
The package will contain helper-classes for writing http server, such as
VirtualDirectory, VirtualHost etc.
BUG=
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//17544005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24281 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-21 11:22:31 +00:00
nweiz@google.com
66404438fc
Add toUri and fromUri functions to pathos.
...
This also replaces the ubiqutous pathToFileUri/fileUriToPath functions.
R=rnystrom@google.com
Review URL: https://codereview.chromium.org//16848002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24196 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-19 19:06:19 +00:00
asiva@google.com
a12382dc22
Fix for issue 11112 align flags to formats used by other tools.
...
R=hausner@google.com
Review URL: https://codereview.chromium.org//16673006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23831 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-10 21:57:49 +00:00
ricow@google.com
93e817b16c
Add packages as a dependency for dart2js target
...
Since dartdoc depeneds on packages and we include it in the snapshot we need packages as a depenedency.
Currently tools/build.py -mrelease dart2js is broken if you do a clean build.
R=ahe@google.com , kustermann@google.com
Review URL: https://codereview.chromium.org//15870012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23804 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-10 11:57:06 +00:00
amouravski@google.com
126fc37640
Makes snapshot smarter so that it can run dart2js on the client files.
...
R=dgrove@google.com
Review URL: https://codereview.chromium.org//16424005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23702 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-06 17:40:48 +00:00
amouravski@google.com
6c96878cda
Add dartdoc to the generated utils snapshot.
...
Lots of bad patches should be fixed in this change.
R=dgrove@google.com
Review URL: https://codereview.chromium.org//16471002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23655 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-05 20:32:11 +00:00
amouravski@google.com
d86c72348b
Roll back 16364004 and 16206027.
...
Review URL: https://codereview.chromium.org//16387004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23625 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-05 01:14:04 +00:00
amouravski@google.com
0d1be28061
Add dartdoc to the generated utils snapshot.
...
This is the same as r23575 (14135007), but fixed.
R=dgrove@google.com
Review URL: https://codereview.chromium.org//16364004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23622 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-05 00:32:31 +00:00
ricow@google.com
604f2ace70
Revert revision 23575.
...
This is causing failures in the test of dartdoc (on the editor bot)
The reason seems to be that we are generating a temporary nav.dart
file relative to the dartdocPath in sdk/lib/_internal/dartdoc/lib/
which we claim to be part of in
sdk/lib/_internal/dartdoc/lib/src/client/client-static.dart.
This will not work since actual code has been snapshot.
Review URL: https://codereview.chromium.org//16357003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23583 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-04 09:36:20 +00:00
ricow@google.com
950934a7e7
Add dartdoc to the generated utils snapshot
...
R=amouravski@google.com , kustermann@google.com
Review URL: https://codereview.chromium.org//14135007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23575 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-04 06:06:29 +00:00
regis@google.com
b7eb5aedbe
Cleanup various test status files.
...
R=zra@google.com
Review URL: https://codereview.chromium.org//16232012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23450 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-31 00:39:37 +00:00
sgjesse@google.com
7841206de5
Change File.directory to not do any IO
...
Removed the File.directory and File.directorySync methods and added a
File.directory getter. The File.directory getter does not do any IO,
but just calculates the directory of the file from the path.
R=whesse@google.com
BUG=http://dartbug.com/9926
Review URL: https://codereview.chromium.org//15832003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23349 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-29 12:38:27 +00:00
antonm@google.com
4638137480
Switch from DRT to content shell.
...
R=kustermann@google.com , ricow@google.com
Review URL: https://codereview.chromium.org//15755017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23328 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-29 08:34:52 +00:00
sgjesse@google.com
724aec4086
Fix breakages from r23266
...
TBR=floitsch@google.com
BUG=
Committed: https://code.google.com/p/dart/source/detail?r=23270
Review URL: https://codereview.chromium.org//15643004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23283 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 15:16:15 +00:00
sgjesse@google.com
783918095b
Fix breakages from r23266
...
TBR=floitsch@google.com
BUG=
Review URL: https://codereview.chromium.org//15643004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23270 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 13:51:45 +00:00
sgjesse@google.com
9d6a64e81b
Merge the dart:uri library into dart:core and update the Uri class
...
This merges the dart:uri library into dart:core removing the dart:uri library. Besides moving the library the Url class has been changed.
* Removed existing Uri constructor as it was equivalent with Uri.parse
* Remamed constructor Uri.fromComponents to Uri
* Moved toplevel function encodeUriComponent to static method Uri.encodeComponent
* Moved toplevel function decodeUriComponent to static method Uri.decodeComponent
* Moved toplevel function encodeUri to static method Uri.encodeFull
* Moved toplevel function decodeUri to static method Uri.decodeFull
* Rename domain to host
* Added static methods Uri.encodeQueryComponent and Uri.decodeQueryComponent
* Added support for path generation and splitting
* Added support for query generation and splitting
* Added some level of normalization
R=floitsch@google.com , lrn@google.com , nweiz@google.com , scheglov@google.com
BUG=
Review URL: https://codereview.chromium.org//16019002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23266 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 13:35:01 +00:00
gram@google.com
cef855bca6
Add a new --extra-lib option to apidoc that allows us to specify an explicit .dart file that should be included in the processing.
...
Change the gyp file to use --extra-lib for mock.dart.
Remove the import of mock.dart from unittest.dart.
R=amouravski@google.com
Review URL: https://codereview.chromium.org//14736010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22560 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-09 20:00:26 +00:00
ajohnsen@google.com
d548955117
Enable parsing of IPv6 form addresse (see rfc2373 and rfc2732).
...
This also wraps the 'domain' component in toString with [...], if it
contains any ':' characters.
BUG=
R=floitsch@google.com , sgjesse@google.com
Review URL: https://codereview.chromium.org//14753005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22228 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-01 09:27:50 +00:00
sgjesse@google.com
2ef54d314a
Add the ability to change the working directory
...
Directory.current have been changed from a factory constructor to a
getter and setter. The getter returns a Direcotry object holding the
current working directory. The setter changes the current working
directory of the Dart process.
R=whesse@google.com
BUG=https://code.google.com/p/dart/issues/detail?id=6316 , https://code.google.com/p/dart/issues/detail?id=8893
Review URL: https://codereview.chromium.org//13896034
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22116 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-29 12:43:53 +00:00
kustermann@google.com
0cd25239ef
Use checked-in binary to call tools/version.dart
...
BUG=http://dartbug.com/10193
Review URL: https://codereview.chromium.org//13890016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22033 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-25 14:43:21 +00:00
johnniwinther@google.com
5a8e457362
Make source mirror ObjectMirror.getField synchronous
...
Review URL: https://codereview.chromium.org//14333011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22002 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-25 07:04:40 +00:00
nweiz@google.com
1dd302a00b
Add a gitignore for pub's gyp outputs.
...
BUG=10191
Review URL: https://codereview.chromium.org//14081027
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21992 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 22:19:21 +00:00
nweiz@google.com
8ce1364479
Have pub.gyp depend on the packages symlink directory.
...
TBR
Review URL: https://codereview.chromium.org//14474017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21981 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 20:53:20 +00:00
nweiz@google.com
cc6e2f7b93
Put a snapshot of pub in the SDK.
...
BUG=9117
Review URL: https://codereview.chromium.org//13966011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21979 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 20:43:39 +00:00
gram@google.com
eccaec8f3b
Updated testrunner:
...
- works with latest SDK
- understand and works with pub and pubspecs
- tested on Linux, Mac and Windows
- has its own tests
There is still as issue on Windows, where using Process.start to run a .bat file is not terminating until the timeout kills the cmd.exe process. My suspicion is that this is am issue with Process, not testrunner. I have contacted whesse et al about this.
Review URL: https://codereview.chromium.org//14247033
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21969 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 18:39:50 +00:00
johnniwinther@google.com
797c6aeeb9
Remove dartdoc specific methods from dart2js_mirror.
...
BUG=
Committed: https://code.google.com/p/dart/source/detail?r=21921
Review URL: https://codereview.chromium.org//13956028
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21924 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 07:31:39 +00:00
johnniwinther@google.com
e27e3c8a62
Revert "Remove dartdoc specific methods from dart2js_mirror."
...
This reverts commit r21921.
BUG=
Review URL: https://codereview.chromium.org//14198010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21922 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 06:54:13 +00:00
johnniwinther@google.com
314a922c9e
Remove dartdoc specific methods from dart2js_mirror.
...
BUG=
Review URL: https://codereview.chromium.org//13956028
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21921 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 06:36:08 +00:00
nweiz@google.com
24213beff5
Move pub into sdk/lib/_internal.
...
This also converts pub to a more package-like layout, which will help in the
eventual exposing of pub internals as a library. Since pub's sources are now in
lib/src, this also makes them importable from the tests and entrypoint using
"package:" imports.
BUG=6619
Review URL: https://codereview.chromium.org//14297021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21907 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-23 21:44:26 +00:00
johnniwinther@google.com
f4f3958af1
Change MirrorSystem.libraries to Map<Uri, String>
...
BUG=
Review URL: https://codereview.chromium.org//13797002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21812 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-22 13:01:20 +00:00
rnystrom@google.com
6c9cc582ec
Use the cached pubspec if possible for describing hosted packages.
...
BUG=https://code.google.com/p/dart/issues/detail?id=9027
Review URL: https://codereview.chromium.org//14241005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21777 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-19 22:29:44 +00:00
rnystrom@google.com
76cc853f06
Disable SDK constraint checking on bleeding edge.
...
BUG=
Review URL: https://codereview.chromium.org//14247026
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21773 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-19 21:13:08 +00:00
nweiz@google.com
89cb31e4c4
Fix some warnings in pub and pkg packages.
...
Review URL: https://codereview.chromium.org//13817008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21701 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-18 20:24:47 +00:00
rnystrom@google.com
a204feb031
Fix type annotation.
...
Review URL: https://codereview.chromium.org//13933030
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21700 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-18 20:12:59 +00:00
nweiz@google.com
da643164c5
Migrate pub away from throwing strings.
...
This also makes it a little more intelligent about which errors it prints what
information for.
BUG=9921
Review URL: https://codereview.chromium.org//14253005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21698 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-18 20:08:20 +00:00
rnystrom@google.com
fe71916d71
Switch to backtracking solver.
...
BUG=https://code.google.com/p/dart/issues/detail?id=9260
Review URL: https://codereview.chromium.org//14232023
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21690 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-18 18:32:20 +00:00
rnystrom@google.com
ff4ef8885b
Select packages that match SDK constraints.
...
BUG=https://code.google.com/p/dart/issues/detail?id=9216
Review URL: https://codereview.chromium.org//14298006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21659 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-17 23:14:40 +00:00
rnystrom@google.com
a2b229b4a0
Revise based on feedback from previous patch.
...
Review URL: https://codereview.chromium.org//14249006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21644 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-17 18:36:31 +00:00
rnystrom@google.com
91edf93383
Disable backtracking solver.
...
Review URL: https://codereview.chromium.org//14308004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21572 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-16 20:20:35 +00:00
rnystrom@google.com
67239a998d
Use backtracking when solving dependency constraints.
...
Review URL: https://codereview.chromium.org//13095015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21563 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-16 18:34:45 +00:00
nweiz@google.com
a80a4ad3ad
Stop manually handling broken symlinks in listDir in pub.
...
Review URL: https://codereview.chromium.org//14187003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21529 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 23:24:20 +00:00
nweiz@google.com
ee5f6fc653
Use the dart:io IOSink API in pub.
...
Review URL: https://codereview.chromium.org//14266003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21525 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 22:59:30 +00:00
floitsch@google.com
466d6670c1
Refactor Future constructors.
...
BUG=
Review URL: https://codereview.chromium.org//14070010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21517 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 21:24:27 +00:00
floitsch@google.com
6c6ee276eb
Remove tests that don't work with asBroadcastStreams anymore.
...
Review URL: https://codereview.chromium.org//14110012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21515 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 21:08:09 +00:00
floitsch@google.com
a1e11534ec
First round of fixes.
...
Review URL: https://codereview.chromium.org//14263019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21501 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 19:31:41 +00:00
floitsch@google.com
62d413ec91
Remove StreamController.broadcast.
...
Review URL: https://codereview.chromium.org//14136004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21499 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 19:08:17 +00:00
floitsch@google.com
5431a5af54
Remove AsyncError with Expando.
...
Review URL: https://codereview.chromium.org//14251006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21498 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 18:58:32 +00:00
floitsch@google.com
e2ee353940
Rename unsubscribeOnError to cancelOnError.
...
Review URL: https://codereview.chromium.org//14251013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21469 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 16:07:36 +00:00
ajohnsen@google.com
b4eacbf8aa
Rename RandomAccessFile.readList and RandomAccessFile.writeList to RandomAccessFile.readInto and RandomAccessFile.writeFrom.
...
BUG=
Review URL: https://codereview.chromium.org//14018007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21466 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 15:44:41 +00:00
floitsch@google.com
759a366cea
Remove insertRange.
...
Review URL: https://codereview.chromium.org//13956006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21464 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 15:20:16 +00:00
lrn@google.com
485c8a5999
Move Iterable implementation to collection.
...
Add IterableMixin and IterableBase to dart:collection.
For now, the implementation is duplicated, because mixins and const
constructors don't mix. We hope that mixins will be improved in the
future to allow using the mixin to define the base class.
Review URL: https://codereview.chromium.org//14022007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21457 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 14:32:16 +00:00
floitsch@google.com
bebe3ac2cd
Refactor List.setRange function.
...
Review URL: https://codereview.chromium.org//13863012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21452 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 13:52:29 +00:00
ajohnsen@google.com
b09546b138
Don't delay IOSink.close() with no subscription to the next instance.
...
This fixes the issue with pub I found. Added TODO in pub, as
stdout/stderr doesn't really need wrapping anymore.
BUG=
Review URL: https://codereview.chromium.org//14261003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21431 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 11:21:08 +00:00
ajohnsen@google.com
e718657e85
Fix dartc tests and pub after IOSink change.
...
BUG=
Review URL: https://codereview.chromium.org//14259002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21420 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 08:25:55 +00:00
ajohnsen@google.com
67650cb16e
Remove .writeStream, .consume and rewrite IOSink to correctly implement a (sane) well-defined behaviour of the .done future.
...
BUG=
Review URL: https://codereview.chromium.org//14028017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21416 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 07:35:45 +00:00
floitsch@google.com
94fd64a5e2
Import math library with a prefix.
...
Review URL: https://codereview.chromium.org//14111004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21406 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-13 13:17:13 +00:00
ajohnsen@google.com
044f0d02eb
Remove Collection, Collections and clean up List/Set/Queue implementations of retain/remove.
...
BUG=
Review URL: https://codereview.chromium.org//14173003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21338 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-12 09:34:52 +00:00
floitsch@google.com
285849c801
Change hasSubscribers to hasListener.
...
Review URL: https://codereview.chromium.org//14103010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21337 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-12 09:30:05 +00:00
amouravski@google.com
f9e2907a23
Revert "Revert "Attempt to re-commit Dartdoc exports.""
...
This reverts commit 1340ca938883c2810fbc4e6d4ed4c52b68694faf.
Review URL: https://codereview.chromium.org//14194003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21320 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-11 22:42:55 +00:00
amouravski@google.com
e492c020ed
Revert "Attempt to re-commit Dartdoc exports."
...
This reverts commit fd5ad9b823fab60724ef00b68beaa7756873ccf0.
Review URL: https://codereview.chromium.org//13990004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21316 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-11 21:21:49 +00:00
amouravski@google.com
362cf71a5c
Attempt to re-commit Dartdoc exports.
...
Review URL: https://codereview.chromium.org//14088002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21313 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-11 21:14:15 +00:00
ajohnsen@google.com
dcaf52732e
Remove StreamSink(replaced by EventSink) and make IOSink extend EventSink.
...
With this change 'writeBytes' was renamed to 'add'.
BUG=
Review URL: https://codereview.chromium.org//14150002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21275 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-11 12:54:19 +00:00
lrn@google.com
f41508d33b
Added new version of reduce.
...
Removed min/max and uses of min/max.
Review URL: https://codereview.chromium.org//14071002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21258 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-11 08:32:31 +00:00
ricow@google.com
9fd1680aa5
Fix apidoc dependencies and reenable editor test
...
Add back full copy of lib/_internal
Also fix snapshot dependency on old dart2js snapshot location
Review URL: https://codereview.chromium.org//14155002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21257 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-11 07:47:18 +00:00
ricow@google.com
7f11fa7ebd
Mark oauth2/with_server_rejected_credentials_authenticates_again_test as flaky
...
Filed http://dartbug.com/9839
Review URL: https://codereview.chromium.org//14152003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21255 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-11 07:19:56 +00:00
ricow@google.com
00da866b33
Move the dart2js snapshot into bin directory of sdk root.
...
This is the first step in eliminating lib/_internal.
Review URL: https://codereview.chromium.org//13945008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21247 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-11 05:47:24 +00:00
nweiz@google.com
b9120c526d
Renumber a TODO from issue 4928 to issue 9832.
...
Review URL: https://codereview.chromium.org//14106004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21238 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 23:25:11 +00:00
rnystrom@google.com
68a5c9a803
Add flag to disable capturing stack traces.
...
BUG=http://dartbug.com/9697
Review URL: https://codereview.chromium.org//13839023
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21237 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 23:20:43 +00:00
amouravski@google.com
3d7abb414a
Exclude the expect library from apidoc.
...
Review URL: https://codereview.chromium.org//13818019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21227 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 19:42:26 +00:00
ahe@google.com
adf844a4fe
Make only_in_release_mode read the environment variable directly.
...
BUG=http://dartbug.com/9821
Review URL: https://codereview.chromium.org//13919004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21211 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 15:44:11 +00:00
nweiz@google.com
d50f344915
Revert dartdoc documenting exports.
...
This is causing a bunch of weird build breakages and I'm not going to have time
to fix them all tonight.
Review URL: https://codereview.chromium.org//13986002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21177 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 01:01:08 +00:00
nweiz@google.com
8751525bae
Have dartdoc document exports.
...
BUG=9651
Review URL: https://codereview.chromium.org//13861024
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21172 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-09 21:45:16 +00:00
ricow@google.com
14a6ddcacc
Remove some old leftover cleanup code
...
Review URL: https://codereview.chromium.org//13841010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21156 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-09 16:04:02 +00:00
ajohnsen@google.com
a323cd84cb
Revert "Have dartdoc document exports."
...
Revert "Fix the dartdoc build."
Revert "Really fix Dartdoc."
BUG=
Review URL: https://codereview.chromium.org//13811012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21139 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-09 08:59:39 +00:00
nweiz@google.com
46e1783cae
Really fix Dartdoc.
...
Review URL: https://codereview.chromium.org//13882002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21131 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-09 02:11:18 +00:00
nweiz@google.com
8db0ca07f4
Fix the dartdoc build.
...
Review URL: https://codereview.chromium.org//13878002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21128 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-09 01:14:25 +00:00
ahe@google.com
da25a12caf
Only build apidoc in release mode.
...
Review URL: https://codereview.chromium.org//13784002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21068 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 12:43:25 +00:00
ajohnsen@google.com
1bae12223b
Fix recursive directory-deletion of top-level files/links.
...
BUG=
Review URL: https://codereview.chromium.org//13771010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21060 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 11:30:33 +00:00
ahe@google.com
0f111680af
Fix dependencies of apidoc.
...
Review URL: https://codereview.chromium.org//13722007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21058 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 10:49:04 +00:00
kevmoo@j832.com
f2059edd6e
pub/validator/lib_test: use group instead of integration
...
All tests are now registered before the test system starts.
Review URL: https://codereview.chromium.org//13694002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21005 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 22:56:40 +00:00
floitsch@google.com
c93132625d
Fix for pub.
...
Review URL: https://codereview.chromium.org//13598017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20987 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 17:16:54 +00:00
floitsch@google.com
bef8ebb5f6
Add Iterable.fold (and Stream.fold) which replace reduce
.
...
For now this is just a copy. In a next step we will change the behavior of
`reduce`.
BUG= http://dartbug.com/9536
Review URL: https://codereview.chromium.org//13548002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20978 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 16:12:40 +00:00
sgjesse@google.com
e10bc2d3e0
Reapply "Add a sleep function to dart:io"
...
This reapplies r20952, r20953, r20954 together with hiding sleep from
dart:io in a number of tests.
R=ager@google.com
Review URL: https://codereview.chromium.org//13704003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20964 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 13:04:26 +00:00
ahe@google.com
43d9cdb340
Ensure apidoc exits with non-zero exit code when dart2js crashes.
...
Also, print the stack trace when dart2js crashes.
Review URL: https://codereview.chromium.org//13471015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20912 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-04 10:32:18 +00:00
nweiz@google.com
5e5d82725c
Split apart several asynchronous tests to reduce timeouts.
...
Review URL: https://codereview.chromium.org//13472016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20827 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-02 22:39:43 +00:00
amouravski@google.com
8a8de00b90
Changed pkg option to package-root.
...
pkg will remain in a deprecated state for the time being.
Review URL: https://codereview.chromium.org//13421002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20808 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-02 19:32:51 +00:00
nweiz@google.com
59a85239a7
Split up some slow pub tests and mark some scheduled_test tests as slow.
...
BUG=9231
Review URL: https://codereview.chromium.org//13375022
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20758 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-01 23:20:11 +00:00
nweiz@google.com
2510e91be2
Fix a few bugs breaking the pub tests.
...
Review URL: https://codereview.chromium.org//13370003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20709 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-30 00:39:31 +00:00
nweiz@google.com
57bf732773
Always enable the friendly pub unittest config locally.
...
Review URL: https://codereview.chromium.org//13366002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20706 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-30 00:31:47 +00:00
nweiz@google.com
3569854b56
Rename the includeHiddenFiles parameter of listDir.
...
Review URL: https://codereview.chromium.org//13367002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20705 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-30 00:31:12 +00:00
nweiz@google.com
16367f141e
Work around issue 4928.
...
Review URL: https://codereview.chromium.org//13293006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20704 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-30 00:10:48 +00:00
nweiz@google.com
1049bd30dc
Replace defer() with Future.of in pub.
...
Review URL: https://codereview.chromium.org//13196007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20703 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-30 00:08:47 +00:00
nweiz@google.com
0c20674dbd
Make pub warning-clean.
...
This also works around issue 9535 in scheduled_test.
Review URL: https://codereview.chromium.org//13348002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20702 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-30 00:07:27 +00:00
nweiz@google.com
5750ce8d71
Make listDir and createSymlink synchronous in pub.
...
Review URL: https://codereview.chromium.org//13332009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20698 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-29 22:20:22 +00:00
nweiz@google.com
f5534bdb3f
Increase the default test timeout for scheduled tests on Windows.
...
Review URL: https://codereview.chromium.org//13327009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20695 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-29 21:47:35 +00:00
rnystrom@google.com
aa3fdc3659
Mark flaky test as flaky.
...
Review URL: https://codereview.chromium.org//13314007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20675 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-29 17:45:57 +00:00
devoncarew@google.com
972ec0b7b0
Minor tweak to the pubspec.lock output to remove the leading whitespace from the file.
...
" # Generated by pub. See: http://pub.dartlang.org/doc/glossary.html#lockfile "
" {"packages":{}}"
becomes:
# Generated by pub.
# see http://pub.dartlang.org/doc/glossary.html#lockfile
{"packages":{}}
Review URL: https://codereview.chromium.org//13200003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20655 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-28 23:10:35 +00:00
nweiz@google.com
70f8c7ab6e
Work around issue 9499.
...
Review URL: https://codereview.chromium.org//13236002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20648 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-28 21:31:49 +00:00
nweiz@google.com
c590e8ae0c
Switch pkg packages, pub, and dartdoc to use package: imports.
...
This also changes the SDK layout by replacing the "pkg" directory, which
contained the full source of all the packages needed by pub and dartdoc, with a
"packages" directory that contains only their lib directories. This directory is
used as the package root for pub and dartdoc when run from the SDK.
BUG=6745
Review URL: https://codereview.chromium.org//12782016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20640 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-28 20:27:28 +00:00
nweiz@google.com
3697a04750
Add a library for manipulating stack traces.
...
Review URL: https://codereview.chromium.org//13102003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20582 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-27 21:15:55 +00:00
nweiz@google.com
ac18c8ced8
Work around issue 9278.
...
Review URL: https://codereview.chromium.org//12907030
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20577 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-27 20:53:25 +00:00
nweiz@google.com
d80616fdce
Clean up the semantics of io.dart operations w.r.t. symlinks.
...
fileExists and dirExists will now both return true for symlinks only if those
symlinks are unbroken and point to entries of the appropriate type. entryExists
will return true for any symlink as well, broken or unbroken.
deleteDir and deleteFile have been replaced with a single function, deleteEntry.
This will delete whatever filesystem entry exists at the path specified, whether
it's a file, directory, or symlink (broken or unbroken).
BUG=9454
Review URL: https://codereview.chromium.org//13116020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20575 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-27 20:37:55 +00:00
rnystrom@google.com
616ab7e943
Handle deleting broken symlinks on Windows.
...
BUG=https://code.google.com/p/dart/issues/detail?id=9192
Review URL: https://codereview.chromium.org//12716024
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20501 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-26 00:50:23 +00:00
nweiz@google.com
5f052a9796
Work around issue 9360.
...
BUG=8687
Review URL: https://codereview.chromium.org//12995008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20406 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-22 18:49:14 +00:00
nweiz@google.com
8783e780e9
Stop working around issue 6764.
...
Review URL: https://codereview.chromium.org//12902031
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20404 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-22 18:34:55 +00:00
rnystrom@google.com
7aafe74407
Mark right test as flaky.
...
BUG=
Review URL: https://codereview.chromium.org//12872006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20398 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-22 18:29:59 +00:00
nweiz@google.com
c9724a390f
Ignore lockfile entries where the source is wrong.
...
BUG=7262
Review URL: https://codereview.chromium.org//12995013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20395 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-22 18:12:14 +00:00
nweiz@google.com
5d68e6b5fc
Mark pub_update_test as flaky.
...
BUG=9357
Review URL: https://codereview.chromium.org//12995004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20357 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-21 22:03:51 +00:00
nweiz@google.com
30afbfd9c0
Provisionally un-flake pub tests.
...
Now that pub is using scheduled_test, it should at least be clearer what's going
on if these tests start flaking again.
BUG=8511,8868
Review URL: https://codereview.chromium.org//12422015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20291 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-20 21:21:06 +00:00
nweiz@google.com
cc340dc736
Increase the scheduled_test timeout for Git tests on Windows.
...
Review URL: https://codereview.chromium.org//12668014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20289 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-20 21:09:17 +00:00
nweiz@google.com
6cd9cee512
Provisionally stop working around issues 9252 and 9253.
...
We're removing these workarounds in the hopes that the pub tests won't resume
flaking. If they do, this CL should be rolled back.
Review URL: https://codereview.chromium.org//12879015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20286 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-20 19:49:05 +00:00
nweiz@google.com
84dd8a51e0
"new Map()" -> "new Map.from()" in pub.
...
BUG=8511
Review URL: https://codereview.chromium.org//12580008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20265 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-20 01:03:23 +00:00
nweiz@google.com
db9ff1e404
Use scheduled_test for Pub tests.
...
This was originally committed as r20250. Due to issue 9294, this failed on
Windows. This commit works around that issue.
BUG=8511
Review URL: https://codereview.chromium.org//12437022
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20264 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-20 00:50:58 +00:00
nweiz@google.com
32db9c0cf6
Revert "Use scheduled_test for Pub tests."
...
This reverts r20250, which was failing on Windows.
BUG=8511
Review URL: https://codereview.chromium.org//12782005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20253 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-19 22:22:55 +00:00
nweiz@google.com
82cbc2db3a
Use scheduled_test for Pub tests.
...
BUG=8511
Review URL: https://codereview.chromium.org//12794007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20250 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-19 21:58:53 +00:00
nweiz@google.com
83d896d80b
Fix a couple broken tests in pub/validator_test.
...
These tests were marked as test() rather than integration() and so their
schedules weren't getting run at all.
Review URL: https://codereview.chromium.org//12659008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20238 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-19 20:37:03 +00:00
nweiz@google.com
8f7295dce7
Work around issue 9252 in scheduled_test and pkg/http.
...
Review URL: https://codereview.chromium.org//12540010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20187 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-19 00:25:05 +00:00
sgjesse@google.com
49dec76806
Change all File APIs to make the mode and encoding arguments named
...
R=ager@google.com , ajohnsen@google.com , whesse@google.com , floitsch@google.com
BUG=
Review URL: https://codereview.chromium.org//12609004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20153 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-18 12:10:32 +00:00
rnystrom@google.com
78a4088f03
Actually make status file do something.
...
Review URL: https://codereview.chromium.org//12712013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20123 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-15 23:17:27 +00:00
rnystrom@google.com
5def0d4962
Disable failing test on Windows until I can fix it.
...
BUG=https://code.google.com/p/dart/issues/detail?id=9192
Review URL: https://codereview.chromium.org//12422010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20118 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-15 22:51:16 +00:00
rnystrom@google.com
2f2b30eb0e
Handle broken symlinks when creating package dirs.
...
BUG=https://code.google.com/p/dart/issues/detail?id=8343
Review URL: https://codereview.chromium.org//12772005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20116 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-15 22:07:18 +00:00
rnystrom@google.com
4a465ef855
Remove support for SDK dependencies.
...
BUG=https://code.google.com/p/dart/issues/detail?id=6354
Review URL: https://codereview.chromium.org//12790006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20098 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-15 18:33:05 +00:00
floitsch@google.com
e57443e0b5
Make argument to StringSink.writeln optional.
...
BUG= http://dartbug.com/9102
Review URL: https://codereview.chromium.org//12870003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20081 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-15 13:59:39 +00:00
floitsch@google.com
f85fa4feff
Make argument to StringSink.writeln optional.
...
BUG= http://dartbug.com/9102
Review URL: https://codereview.chromium.org//12870003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20074 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-15 12:45:40 +00:00
lrn@google.com
844cd39fad
Change getRange to sublist. Make getRange deprecated.
...
This changes the exception behavior of getRange. It used to accept
a length of zero, no matter what start value. Now the start value
must be a valid list index.
Review URL: https://codereview.chromium.org//12817003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20064 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-15 09:15:39 +00:00
nweiz@google.com
f12902dfaf
Fix some analyzer warnings in pub.
...
Review URL: https://codereview.chromium.org//12820009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20057 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-14 22:39:14 +00:00
nweiz@google.com
a9a8d42063
Add a SafeHttpServer shim to work around issue 9140.
...
Review URL: https://codereview.chromium.org//12633015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20054 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-14 22:12:19 +00:00
keertip@google.com
a455e0d9cd
add cache list command to pub
...
Review URL: https://codereview.chromium.org//12755024
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19977 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-13 22:29:00 +00:00
scheglov@google.com
139e02c68e
Rename analyzer-experimental to analyzer_experimental.
...
https://code.google.com/p/dart/issues/detail?id=9071
R=pquitslund@google.com
BUG=
Review URL: https://codereview.chromium.org//12838003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19973 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-13 21:42:01 +00:00
nweiz@google.com
0e32e0327f
Fix pub_lish_test.
...
This fixes a consistent breakage, not the flakiness.
Review URL: https://codereview.chromium.org//12847002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19970 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-13 20:45:59 +00:00
rnystrom@google.com
0122b2954e
Dev dependencies.
...
BUG=dartbug.com/5358
Review URL: https://codereview.chromium.org//12433014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19966 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-13 19:40:25 +00:00
floitsch@google.com
482b2f34e8
Move Options to dart:io.
...
Review URL: https://codereview.chromium.org//12794002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19927 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-13 13:12:00 +00:00
floitsch@google.com
65718c56df
Rename XMatching to XWhere.
...
For example firstMatching -> firstWhere.
BUG= http://dartbug.com/8664
BUG= http://dartbug.com/8337
Review URL: https://codereview.chromium.org//12537009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19880 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-12 17:34:49 +00:00
nweiz@google.com
f29ae528f7
Use default-port-aware URI comparisons in pub.
...
This fixes a usability issue where error messages from
pub.dartlang.org were getting reported as generic HTTP errors.
Review URL: https://codereview.chromium.org//12667016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19826 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-11 23:07:17 +00:00
amouravski@google.com
6e056b8044
Lots of little changes for dartdoc/apidoc.
...
* Alphabetized imports.
* Added TODOs.
* Removed some prefixes.
* Cleaned up a LOT of async code to make it work better.
* Much, much, much friendlier status messages for dartdoc/apidoc. More to do...
* Prevented many, many bad warnings from showing up... by fixing them.
* Smarter finding of packages directories.
* Started using pathos all over the place.
* Added indexed_db to html_diff.
Review URL: https://codereview.chromium.org//12448006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19817 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-11 20:27:53 +00:00
nweiz@google.com
15762df9f4
Stop working around issue 8512.
...
Review URL: https://codereview.chromium.org//12452008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19743 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-08 23:04:09 +00:00
nweiz@google.com
845e550cbb
Properly handle errors from the OAuth2 token endpoint in pub.
...
This also adds more detailed HTTP logging to pub.
BUG=8849
Review URL: https://codereview.chromium.org//12428012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19734 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-08 21:57:27 +00:00
nweiz@google.com
c71bb58877
Update pub to use the latest dart:io stream APIs.
...
Review URL: https://codereview.chromium.org//12613010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19729 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-08 21:46:08 +00:00
floitsch@google.com
dd48256fe5
Remove deprecated StringBuffer.add, addAll and addCharCode.
...
Review URL: https://codereview.chromium.org//12473003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19690 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-08 13:07:18 +00:00
lrn@google.com
cd9bcfe956
Remove references to capital-D-Dynamic.
...
Review URL: https://codereview.chromium.org//12615002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19687 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-08 11:57:28 +00:00
lrn@google.com
bead146749
Renamed StreamSink to EventSink. Renamed signalError to addError.
...
Review URL: https://codereview.chromium.org//12610006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19683 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-08 11:31:19 +00:00
sgjesse@google.com
b6096848b1
Make IOSink implement StringSink
...
Besides adding the StringSink methods I also added writeBytes and
deprecated both add and addString.
To handle the encoding of strings the IOSike has an encoding
property. This property is mutable in situation when it makes sense to
change encoding of what is written. The exception here is for HTTP
where the encoding is determined from the header and the encoding
cannot be changed.
R=ajohnsen@google.com , ager@google.com , nweiz@google.com
BUG=
Review URL: https://codereview.chromium.org//12504006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19676 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-08 10:06:28 +00:00
johnniwinther@google.com
44b1941b88
Revert "Remove pkg from apidoc."
...
This reverts commit r19636.
Review URL: https://codereview.chromium.org//12614006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19637 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-07 15:19:14 +00:00
johnniwinther@google.com
4f40f1d3aa
Remove pkg from apidoc.
...
Review URL: https://codereview.chromium.org//12613008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19636 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-07 15:01:35 +00:00
rnystrom@google.com
b3e5168249
Add a failing test for handling broken symlinks.
...
BUG=8343
Review URL: https://codereview.chromium.org//12500005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19580 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-06 20:55:53 +00:00
johnniwinther@google.com
43d6b6a84b
Support full dart2js output for dartdoc/apidoc.
...
Review URL: https://codereview.chromium.org//12446003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19537 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-06 08:43:33 +00:00
rnystrom@google.com
50d1fc7a99
Delete files synchronously.
...
BUG=8868
Review URL: https://codereview.chromium.org//12481003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19517 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-05 21:32:35 +00:00
gram@google.com
9b40e6b13e
Fix issue with async callbacks that get called synchronously while running test case function causing the test to be marked as complete prematurely.
...
Added an optional id to completion matchers that can be used in error messages (this was invaluable in tracking down the above problem).
Re-enable pub tests. https://code.google.com/p/dart/issues/detail?id=8862
Review URL: https://codereview.chromium.org//12393017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19339 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-01 21:49:15 +00:00
devoncarew@google.com
1600f30a14
Cleanup two warning messages when running apidoc, and update the apidoc.gyp file to rerun the tool
...
when any of its dart source changes.
Review URL: https://codereview.chromium.org//12388048
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19336 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-01 20:01:03 +00:00
ricow@google.com
85b572e7d7
Mark flaky pub tests
...
Review URL: https://codereview.chromium.org//12377042
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19284 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-01 09:08:20 +00:00
gram@google.com
621650b0e8
Disable breaking tests while I investigate the issue. I don't really want to revert;
...
I want to understand this as it may indicate some other problem.
Review URL: https://codereview.chromium.org//12387033
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19271 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-01 01:38:57 +00:00
nweiz@google.com
a903dfd3a4
Remove the wrapStream workaround for issue 8310.
...
Review URL: https://codereview.chromium.org//12374033
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19266 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-28 23:24:21 +00:00
nweiz@google.com
2a0c74a18d
Make pub warning-clean.
...
Review URL: https://codereview.chromium.org//12382031
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19265 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-28 23:21:58 +00:00
nweiz@google.com
3ce4e71a92
Make use of Completer.isComplete in pub and pkg/scheduled_test.
...
Review URL: https://codereview.chromium.org//12385027
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19264 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-28 23:18:27 +00:00
floitsch@google.com
cc8cefc004
Timer callbacks don't take arguments anymore.
...
Review URL: https://codereview.chromium.org//12379013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19231 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-28 14:22:49 +00:00
floitsch@google.com
ff006ed05b
Timer callback doesn't take an argument anymore.
...
Review URL: https://codereview.chromium.org//12380019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19221 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-28 13:36:22 +00:00
gram@google.com
017d21bdc0
Unit test changes:
...
- add back KevMoo's assertions now that the bugs they exposed ar efixed
- remove onTestResult methods from a couple of configs; these did nothing other
than prevent the base class implementation from being called which is wrong.
- fix the TestFunction signature
- change from ExpectException, which is deprecated, to TestFailure.
Review URL: https://codereview.chromium.org//12335113
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19166 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-27 19:57:40 +00:00
whesse@google.com
6ef35edef1
dart:io | Rename File.name to File.path.
...
BUG=dartbug.com/8790
Review URL: https://codereview.chromium.org//12314153
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19144 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-27 15:26:11 +00:00
lrn@google.com
fa78a93635
Make arg parser return growable list of rest arguments.
...
This allows the user to remove them when he's done, which is what
is currently being done.
Review URL: https://codereview.chromium.org//12316155
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19119 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-27 09:48:17 +00:00
lrn@google.com
6b4f4b1bab
Change new List(n) to return fixed length list.
...
Deprecate List.fixedLength, add List.filled.
Make Iterable.toList and List.from take "growable" argument,
defaulting to false.
Review URL: https://codereview.chromium.org//12328104
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19112 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-27 08:45:04 +00:00
amouravski@google.com
edee0d7e8e
Updated an error message to inform users that their packages were not installed
...
when their SDK version does not match.
Review URL: https://codereview.chromium.org//12315059
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19026 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-26 03:12:02 +00:00
rnystrom@google.com
1d62e0a077
Disable test on Windows for now.
...
Review URL: https://codereview.chromium.org//12313114
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19016 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-25 23:20:47 +00:00
rnystrom@google.com
b88ebea7c3
Handle shared path dependencies.
...
BUG=https://code.google.com/p/dart/issues/detail?id=8775
Review URL: https://codereview.chromium.org//12335076
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19012 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-25 23:00:16 +00:00
lrn@google.com
3c0ac360e7
Remove deprecated string features.
...
Make String.codeUnits return a List.
Review URL: https://codereview.chromium.org//12282038
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18960 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-25 10:48:09 +00:00
nweiz@google.com
c8f6014ae7
Move pkg/path to pkg/pathos.
...
Review URL: https://codereview.chromium.org//12316056
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18906 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-22 18:45:55 +00:00
rnystrom@google.com
df8647c43f
Allow whitespace in version constraints.
...
BUG=http://code.google.com/p/dart/issues/detail?id=7140
Review URL: https://codereview.chromium.org//12310029
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18851 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-21 19:47:44 +00:00
rnystrom@google.com
e3e5d46f32
Make sure package names are URL encoded.
...
If you happen to have a weird package name like "/* blah *?" you
would get a nasty HTTP error when it tried to jam that in a URL.
Instead, this will give you a friendlier 'package "/* blah */" not found error."
BUG=http://code.google.com/p/dart/issues/detail?id=7466
Review URL: https://codereview.chromium.org//12328021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18849 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-21 18:59:48 +00:00
sgjesse@google.com
488b016a2f
Merge IO v2 branch to bleeding edge
...
R=ager@google.com , ajohnsen@google.com , whesse@google.com
BUG=
Review URL: https://codereview.chromium.org//12316036
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18820 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-21 11:58:11 +00:00
rnystrom@google.com
8b37852e8a
Use relative symlinks for self links and secondary "packages" dirs.
...
This lets you move a package directory without breaking all of those links.
BUG=http://code.google.com/p/dart/issues/detail?id=8342
Review URL: https://codereview.chromium.org//12321020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18785 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-20 21:17:16 +00:00
rnystrom@google.com
e28a669679
Make some name validation errors warnings.
...
BUG=http://code.google.com/p/dart/issues/detail?id=8632
Review URL: https://codereview.chromium.org//12313014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18783 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-20 21:11:47 +00:00
nweiz@google.com
d64b7d392a
Use the correct set of reserved identifiers in pub validations.
...
We had been using the set listed in the spec as "BUILT_IN_IDENTIFIER", but
apparently those are the built-in identifiers that are valid for user use. Now
we're using the set listed in the spec as "reserved words".
BUG=8628
Review URL: https://codereview.chromium.org//12301032
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18716 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-19 19:55:40 +00:00
rnystrom@google.com
a1702c3578
Support relative paths in path dependencies.
...
BUG=http://code.google.com/p/dart/issues/detail?id=8527
Review URL: https://codereview.chromium.org//12285010
Review URL: https://codereview.chromium.org//12294039
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18715 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-19 19:49:46 +00:00
floitsch@google.com
ecce8a6293
Remove deprecated Strings class.
...
Review URL: https://codereview.chromium.org//12295014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18686 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-19 13:57:03 +00:00
lrn@google.com
bbfe7b02dc
Reapply "Make Comparable generic."
...
Avoid concurrent modification in dart2js.
Avoid crash in VM by not using self-referential type bound.
Review URL: https://codereview.chromium.org//12288040
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18667 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-19 10:29:44 +00:00
kasperl@google.com
d4feeb4910
Revert "Make Comparable generic."
...
This reverts commit dd714db881a0ad63eaa1e5491e93dd8843eb5929.
R=lrn@google.com
BUG=
Review URL: https://codereview.chromium.org//12298027
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18657 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-19 08:06:03 +00:00
lrn@google.com
a0f22b77be
Make Comparable generic.
...
It's now allowed to write "class X implements Comparable<X>" to make
X comparable only to X's. The argument type of Comparable<T>.compareTo
is now T.
Review URL: https://codereview.chromium.org//12255055
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18655 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-19 07:52:24 +00:00
lrn@google.com
03f5a66836
Recommit changing List.skip/take/revert returns Iterable and remove mappedBy.
...
This reverts r18591.
Review URL: https://codereview.chromium.org//12295009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18615 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-18 10:35:51 +00:00
rnystrom@google.com
5ed85458d1
Revert "Support relative paths in path dependencies."
...
This reverts commit 0b0da0d44dde213647e7281bf0914c59fc552b27.
BUG=
Review URL: https://codereview.chromium.org//12280019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18606 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-16 02:00:45 +00:00
rnystrom@google.com
8514e448b7
Support relative paths in path dependencies.
...
BUG=http://code.google.com/p/dart/issues/detail?id=8527
Review URL: https://codereview.chromium.org//12285010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18605 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-16 01:45:39 +00:00
rnystrom@google.com
0e0473d33a
Unbreak pub:
...
Revert "Make List.skip, List.take and List.reversed return Iterables, not Lists."
This reverts commit 44c3745a76acfad3d1d5bfc7a8b8c8e2def30e09.
Revert "Remove deprecated mappedBy."
This reverts commit 779ab69eab73e5e349245e99560b18955908e0cc.
BUG=dartbug.com/8560
Review URL: https://codereview.chromium.org//12286004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18591 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-15 18:38:42 +00:00
floitsch@google.com
0672317bec
Remove deprecated mappedBy.
...
Committed: https://code.google.com/p/dart/source/detail?r=18575
Reverted: http://code.google.com/p/dart/source/detail?r=18576
Review URL: https://codereview.chromium.org//12212213
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18579 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-15 13:57:18 +00:00
floitsch@google.com
ad839e6957
Revert "Remove deprecated mappedBy."
...
This reverts commit 18575.
Review URL: https://codereview.chromium.org//12207205
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18576 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-15 13:23:22 +00:00
floitsch@google.com
b37100770b
Remove deprecated mappedBy.
...
Review URL: https://codereview.chromium.org//12212213
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18575 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-15 13:18:17 +00:00
lrn@google.com
ecbf4478c2
Reapply "New implementation of {,Linked}Hash{Set,Map}."
...
Review URL: https://codereview.chromium.org//12212211
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18573 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-15 13:07:22 +00:00
rnystrom@google.com
db82ff139f
Fix pub on windows.
...
Review URL: https://codereview.chromium.org//12261050
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18553 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-15 01:33:23 +00:00
rnystrom@google.com
b12e27a4d2
Get rid of join() and encapsulate File and Directory in io.dart.
...
Review URL: https://codereview.chromium.org//12253054
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18551 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-15 01:13:07 +00:00
rnystrom@google.com
10f7ad94ae
Clean up some warnings and deprecated calls.
...
Review URL: https://codereview.chromium.org//12262056
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18550 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-15 01:10:07 +00:00
rnystrom@google.com
ba326cd770
Get rid of old redundant methods in io.dart.
...
Now that we have pkg/path, we can ditch the old methods in io.dart
that do the same thing.
Review URL: https://codereview.chromium.org//12255016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18500 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-14 01:14:31 +00:00
jacobr@google.com
c83eac0511
Add mdn docs to json, tag which classes are throwable, and provide additional information about parameter elements, and store FunctionTypeElements.
...
Review URL: https://codereview.chromium.org//12217161
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18496 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-14 00:00:46 +00:00
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
whesse@google.com
acd03abf83
dart:io: Use PathBuffer class for Directory.list on Windows platform.
...
BUG=https://code.google.com/p/dart/issues/detail?id=7505
Review URL: https://codereview.chromium.org//12252006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18448 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-13 15:00:55 +00:00
jacobr@google.com
71cace784b
Generate separate json files for each library and include the version #.
...
BUG=
Review URL: https://codereview.chromium.org//12217077
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18432 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-13 06:01:27 +00:00
nweiz@google.com
83eec7051a
Work around issue 8512 in pub.
...
Review URL: https://codereview.chromium.org//12225157
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18427 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-13 01:23:17 +00:00
rnystrom@google.com
7c2e379f89
Add --force to pub lish.
...
BUG=http://code.google.com/p/dart/issues/detail?id=8487
Review URL: https://codereview.chromium.org//12217156
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18423 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-13 01:06:29 +00:00
rnystrom@google.com
1b15bef29f
Mark oauth2 and pub_uploader as flaky. :(
...
Review URL: https://codereview.chromium.org//12251008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18416 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-12 23:46:56 +00:00
keertip@google.com
ea861b9bdd
add --preview flag to publish command
...
Review URL: https://codereview.chromium.org//12226077
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18397 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-12 19:52:01 +00:00
floitsch@google.com
3f7146707d
Rework Timer interface.
...
Review URL: https://codereview.chromium.org//12213092
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18326 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-11 19:22:16 +00:00
amouravski@google.com
03aecdbbae
Delete unused file.
...
Review URL: https://codereview.chromium.org//12210039
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18291 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-09 00:22:58 +00:00
amouravski@google.com
c6e2418c89
Added support for 'description' in pubspec.yaml.
...
Also standardized the way of validating a url.
Also, one test was working, but was not actually testing what it was supposed to be testing.
Review URL: https://codereview.chromium.org//12211097
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18290 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-09 00:16:15 +00:00
nweiz@google.com
8f3ec6b6d3
Add a scheduled test library.
...
Review URL: https://codereview.chromium.org//12209073
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18285 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-08 23:07:57 +00:00
pquitslund@google.com
90fd9e9c78
Call init test config for generating human-friendly test results.
...
Review URL: https://codereview.chromium.org//12218062
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18234 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-07 22:11:34 +00:00
rnystrom@google.com
9f21b5324b
Make createTempDir() synchronous.
...
Review URL: https://codereview.chromium.org//12225085
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18231 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-07 20:46:45 +00:00
rnystrom@google.com
ec020bbd99
Handle circular dependencies on the root package when checking SDK constraints.
...
BUG=dartbug.com/8364
Review URL: https://codereview.chromium.org//12211061
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18198 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-07 00:40:09 +00:00
rnystrom@google.com
fd3cfd264e
Don't allow pub to run on XP.
...
BUG=dartbug.com/5480
Review URL: https://codereview.chromium.org//12221049
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18188 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-06 21:33:13 +00:00
rnystrom@google.com
12dd25f65b
Drain HTTP request input streams before responding.
...
Review URL: https://codereview.chromium.org//12211052
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18185 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-06 20:50:53 +00:00
amouravski@google.com
cd51673fce
Removed some cruft from ApiDoc.
...
Review URL: https://codereview.chromium.org//12208017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18151 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-05 19:00:21 +00:00
floitsch@google.com
cb10990e5a
Remove Sink and move CollectionSink to async.
...
Committed: https://code.google.com/p/dart/source/detail?r=18063
Reverted: https://code.google.com/p/dart/source/detail?r=18067
Review URL: https://codereview.chromium.org//12154006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18144 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-05 15:32:18 +00:00
rnystrom@google.com
fcab5f5adb
Fix hosted tests on Windows.
...
BUG=http://dartbug.com/8264
Review URL: https://codereview.chromium.org//12208006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18113 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-05 04:32:40 +00:00
rnystrom@google.com
cf697141d9
Get most pub IO tests passing on Windows.
...
The remaining issue now is a hang in dart:io.
BUG=
Review URL: https://codereview.chromium.org//12211004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18112 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-05 04:18:34 +00:00
nweiz@google.com
193eac0d3c
Un-mark {pub_{uploader,lish},oauth2}_test as flaky.
...
We need to see when these go red so they stop bit rotting.
Review URL: https://codereview.chromium.org//12195006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18105 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-05 01:09:57 +00:00
nweiz@google.com
dbb72ee35d
Get the pub oauth2 test passing locally.
...
Review URL: https://codereview.chromium.org//12191008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18103 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-05 00:57:25 +00:00
rnystrom@google.com
57c9b64975
Wait until file list is available before printing it.
...
Review URL: https://codereview.chromium.org//12193014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18081 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-04 22:18:08 +00:00
nweiz@google.com
dfb2a2f23d
Mark pub hosted tests as flaky on Windows.
...
BUG=8264
Review URL: https://codereview.chromium.org//12184019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18077 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-04 20:52:31 +00:00
rnystrom@google.com
b3606c9047
Tweak SDK constraint checking a bit.
...
Review URL: https://codereview.chromium.org//12171002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18020 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-02 00:47:26 +00:00
rnystrom@google.com
b6d5dc7f5a
Make a bunch of stuff in pub synchronous.
...
Review URL: https://codereview.chromium.org//12079112
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18019 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-02 00:30:16 +00:00
nweiz@google.com
31c93eeceb
Fix a few breakages with Pub's oauth2 test.
...
Review URL: https://codereview.chromium.org//12150006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18017 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-02 00:11:56 +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
nweiz@google.com
342e7a4c1a
Don't mark the few passing hosted pub tests as failing.
...
Review URL: https://codereview.chromium.org//12082127
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18008 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-01 22:43:23 +00:00
nweiz@google.com
6565bb80ef
Stop using cURL in Pub.
...
BUG=7395
Review URL: https://codereview.chromium.org//12090104
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18007 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-01 22:35:33 +00:00
nweiz@google.com
6c3535dceb
Fix the Pub status file.
...
Review URL: https://codereview.chromium.org//12149006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18006 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-01 21:55:44 +00:00
nweiz@google.com
aac9fcda5a
Mark pub hosted tests as failing.
...
Review URL: https://codereview.chromium.org//12082124
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17997 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-01 19:55:11 +00:00
nweiz@google.com
18d274df07
Use the dart:async Stream API thoroughly in Pub.
...
This was originally submitted as r17822, and rolled back in r17867. There are no
changes, but in preparation for the dart:io Stream changes we're applying this
with the intent to mark Windows tests as failing.
BUG=7807
Review URL: https://codereview.chromium.org//12086110
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17996 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-01 19:42:09 +00:00
nweiz@google.com
474994a5b7
Add a validator that tests the size of pub packages.
...
BUG=7045
Review URL: https://codereview.chromium.org//12094093
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17961 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-01 02:09:37 +00:00
keertip@google.com
796a9f601a
add a comment to the generated lock file
...
Review URL: https://codereview.chromium.org//12133002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17951 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 23:03:11 +00:00
nweiz@google.com
f181fdc8a8
Add a Pub validator for READMEs that are invalid utf-8.
...
BUG=7045
Review URL: https://codereview.chromium.org//12090081
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17948 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 22:39:53 +00:00
nweiz@google.com
dd763be6af
Add a pub validator for compiled dartdoc output.
...
BUG=7045
Review URL: https://codereview.chromium.org//12089076
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17943 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 21:02:46 +00:00
blois@google.com
de9fbf0e90
Renaming dart:html library from 'html' to 'dart.html'
...
This should be invisible to end users, but basically brings dart:html in-line with the core libraries.
BUG=
Review URL: https://codereview.chromium.org//12061008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17929 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 17:25:55 +00:00