lry@google.com
948743a78c
Scanner for UTF-8 byte arrays
...
Introduces a SourceFile based on UTF-8 byte arrays and a scanner for
such source files.
Substrings are computed lazily. This should save some memory because
substring tokens in classes that are not used by some program are
R=kasperl@google.com
Review URL: https://codereview.chromium.org//27510003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28843 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-18 06:40:07 +00:00
ajohnsen@google.com
326f48d476
Expand usage of defaultEncoding in HttpBody in the http_server package.
...
This fixes a few cases where other default encodings was used. Given
that we operate with the concept of a default encoding, to use that
encoding makes more sense.
BUG=https://code.google.com/p/dart/issues/detail?id=13928
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//26685004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28453 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-10 14:08:55 +00:00
sra@google.com
f28f2c5446
Get pegparser test to pass again
...
TBR=dgrove
Review URL: https://codereview.chromium.org//25536017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28193 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-03 03:28:57 +00:00
efortuna@google.com
68dd8869de
Fix current dartdoc to not exclude mocking library.
...
BUG=
R=dgrove@google.com
Review URL: https://codereview.chromium.org//23757006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26887 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-29 18:29:40 +00:00
floitsch@google.com
74da0c7286
Remove usage of dart:json.
...
R=jmesserly@google.com , lrn@google.com , nweiz@google.com , rnystrom@google.com
Review URL: https://codereview.chromium.org//23596007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26789 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-28 14:05:11 +00:00
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