whesse@google.com
|
b48895be05
|
Return an absolute URI for Platform.script.
BUG=
R=ajohnsen@google.com, sgjesse@google.com
Review URL: https://codereview.chromium.org//46163009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29740 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-11-01 10:37:36 +00:00 |
|
sgjesse@google.com
|
c38de04d0c
|
Change dart:io Platform.script to return a Uri.
BUG=
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//46063010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29651 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-10-31 07:29:01 +00:00 |
|
whesse@google.com
|
4f08151090
|
Revert "Change dart:io Platform.script to return a Uri."
This reverts r29619 and r29624. The changes look fine on the buildbot,
but need review before adding to the repository.
BUG=
TBR=sgjesse@google.com
Review URL: https://codereview.chromium.org//52723007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29627 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-10-31 02:17:37 +00:00 |
|
whesse@google.com
|
cb0110350a
|
Change dart:io Platform.script to return a URI. Change all uses of Platform.script to work with the new value.
R=floitsch@google.com
Review URL: https://codereview.chromium.org//53313007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29619 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-10-31 01:08:11 +00:00 |
|
whesse@google.com
|
462d0363fe
|
Remove dart:io Options class.
BUG=
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//52903002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29570 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-10-30 17:46:30 +00:00 |
|
whesse@google.com
|
1e3b58ade0
|
dart:io | Add 'recursive' flag to File.create and Link.create.
BUG=dartbug.com/12462
R=ajohnsen@google.com
Review URL: https://codereview.chromium.org//52363002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29563 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-10-30 16:31:53 +00:00 |
|
whesse@google.com
|
16eb7fd728
|
Fix standalone/io/platform_test on Windows. Remove @deprecated from Platform.
BUG=
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//51103012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29558 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-10-30 15:57:24 +00:00 |
|
ajohnsen@google.com
|
841785cbb3
|
Add IOSink:flush().
BUG=
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//52263005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29550 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-10-30 14:50:22 +00:00 |
|
ajohnsen@google.com
|
253ad80d88
|
Don't close the _FileStream until all operations are done.
BUG=
Review URL: https://codereview.chromium.org//48113028
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29541 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-10-30 13:15:32 +00:00 |
|
ajohnsen@google.com
|
7338c0c409
|
Fix File.openStream where it sometimes would keep the file open.
BUG=
Review URL: https://codereview.chromium.org//46073003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29539 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-10-30 12:38:00 +00:00 |
|
lrn@google.com
|
f0a1c922a2
|
Reapply "Remove @deprecated features."
R=scheglov@google.com, sgjesse@google.com
Review URL: https://codereview.chromium.org//50413005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29535 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-10-30 12:09:15 +00:00 |
|
ajohnsen@google.com
|
09e82e02be
|
Let the stream of File:openRead handle cancel correctly.
BUG=
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//51883004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29534 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-10-30 11:44:06 +00:00 |
|
ajohnsen@google.com
|
c3a9f33ef8
|
Fix directory-listing to return a future on cancel.
This also fixes an issue where we would leake FDs/HANDLEs if the listing was interrupted.
Add new pause-resume-cancel test of directory listing.
BUG=https://code.google.com/p/dart/issues/detail?id=10163
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//45833003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29454 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-10-29 15:04:59 +00:00 |
|
ajohnsen@google.com
|
bf7ea13e8e
|
Fix HttpServer after SecureServerSocket no longer is a ServerSocket.
BUG=
Review URL: https://codereview.chromium.org//50783003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29451 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-10-29 14:38:11 +00:00 |
|
ajohnsen@google.com
|
fe4797646c
|
Fix sdk/lib/io errors found by the analyzer.
BUG=
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//46663003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29450 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-10-29 14:30:36 +00:00 |
|
sgjesse@google.com
|
426bf24751
|
Remove type argument from SecureServerSocket
The VM will soon disallow this construct.
R=johnniwinther@google.com, whesse@google.com
BUG=
Review URL: https://codereview.chromium.org//50143006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29448 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-10-29 14:18:16 +00:00 |
|
lrn@google.com
|
57efa5da8c
|
Revert "Remove @deprecated features."
There were more uses of the deprecated features.
Review URL: https://codereview.chromium.org//50313004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29443 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-10-29 12:54:37 +00:00 |
|
lrn@google.com
|
72e1d263dc
|
Remove @deprecated features.
R=alanknight@google.com, rnystrom@google.com, sgjesse@google.com
Review URL: https://codereview.chromium.org//48293002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29438 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-10-29 12:00:44 +00:00 |
|
whesse@google.com
|
3b54950144
|
Remove dart:platform library.
This reverts commits r29154, r29244, r29251, r29268, and r29272.
The dart:io Platform class will not be moved to a dart:platform library.
R=ajohnsen@google.com
Review URL: https://codereview.chromium.org//50573002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29435 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-10-29 11:33:34 +00:00 |
|
ajohnsen@google.com
|
2101ba9c12
|
Add 'isDir' to FileSystemEvent.
BUG=https://code.google.com/p/dart/issues/detail?id=14425
R=whesse@google.com
Review URL: https://codereview.chromium.org//48613002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29371 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-10-28 17:14:43 +00:00 |
|
sgjesse@google.com
|
a405eff618
|
Add a note on watching files on Linux.
BUG=http://dartbug.com/13562
R=ajohnsen@google.com
Review URL: https://codereview.chromium.org//48593002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29355 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-10-28 12:08:41 +00:00 |
|
sgjesse@google.com
|
2c386273cf
|
Throw exception when trying to modify HTTP status code when header is already sent
BUG=http://dartbug.com/14505
R=ajohnsen@google.com
Review URL: https://codereview.chromium.org//48283002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29346 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-10-28 09:26:02 +00:00 |
|
whesse@google.com
|
d20c5a3f4c
|
Deprecate dart:io Platform, replaced by dart:platform.
BUG=
R=floitsch@google.com
Review URL: https://codereview.chromium.org//45103002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29272 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-10-25 19:30:56 +00:00 |
|
floitsch@google.com
|
6a72655d1b
|
Very simple version of Isolates.
R=ajohnsen@google.com, iposva@google.com, kasperl@google.com, lrn@google.com
Review URL: https://codereview.chromium.org//27215002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29271 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-10-25 19:23:00 +00:00 |
|
whesse@google.com
|
2e949d99d6
|
dart:io | Directory.createTemp - fix missed rename of template to prefix.
BUG=dartbug.com/14409
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//43433002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29234 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-10-25 07:38:28 +00:00 |
|
ajohnsen@google.com
|
1cfe5c7f64
|
Document FileSystemEntity:watch and family..
BUG=https://code.google.com/p/dart/issues/detail?id=14369
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//38783005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29171 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-10-24 12:31:39 +00:00 |
|
ajohnsen@google.com
|
e02b5a3fa4
|
Make FileSystemEntity.watch return a broadcast stream.
BUG=https://code.google.com/p/dart/issues/detail?id=14378
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//39943002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29170 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-10-24 12:30:20 +00:00 |
|
ajohnsen@google.com
|
103eac574c
|
Remove FileException, DirectoryException and LinkException from dart:io and use FileSystemException instaed.
BUG=https://code.google.com/p/dart/issues/detail?id=12461
R=nweiz@google.com, sgjesse@google.com
Review URL: https://codereview.chromium.org//26968003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29168 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-10-24 12:17:20 +00:00 |
|
ajohnsen@google.com
|
fdea26c768
|
Close file watcher when target is deleted.
BUG=http://code.google.com/p/dart/issues/detail?id=14374
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//39613002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29159 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-10-24 08:12:16 +00:00 |
|
ager@google.com
|
208042db5f
|
Fix typos in FileSystemEntity.watch documentation.
R=ajohnsen@google.com
BUG=
Review URL: https://codereview.chromium.org//39313003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29157 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-10-24 07:23:51 +00:00 |
|
ajohnsen@google.com
|
9c7ba71d61
|
Don't close existing connection on HttpServer close (and stream cancel).
This also fixes several issues exposed by this.
BUG=http://code.google.com/p/dart/issues/detail?id=14317
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//36643002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29083 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-10-23 14:18:25 +00:00 |
|
whesse@google.com
|
6dbc9e5268
|
dart:io | Remove uses of Options class from standalone tests. Mark Options deprecated.
BUG=
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//37033002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29079 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-10-23 12:50:18 +00:00 |
|
whesse@google.com
|
a87372af70
|
dart:io | Remove deprecated _Path library, and use FileSystemEntity.parent for recursive Directory.create.
BUG=
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//25421003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28992 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-10-22 10:30:45 +00:00 |
|
whesse@google.com
|
bfc3d53dc6
|
dart:io | Add FileSystemEntity.parent, make File.directory call it.
BUG=
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//26001002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28986 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-10-22 07:32:06 +00:00 |
|
whesse@google.com
|
1475ab75e9
|
dart:io | Remove deprecated behavior of Directory('').createTemp, replaced by Directory.systemTemp.
BUG=dartbug.com/13720
R=floitsch@google.com
Review URL: https://codereview.chromium.org//28943003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28920 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-10-21 08:23:30 +00:00 |
|
floitsch@google.com
|
dc9c5f42ed
|
Redo StreamTransformers so they work with Stack traces.
Since this involved a breaking change I cleaned up more of the
StreamTransformer API.
This CL also deprecates the getAttachedStackTrace method.
R=ajohnsen@google.com, lrn@google.com, nweiz@google.com, rnystrom@google.com
Review URL: https://codereview.chromium.org//25354003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28562 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-10-12 12:34:34 +00:00 |
|
ajohnsen@google.com
|
b95a02f0b5
|
Remove debug print from previous commit.
BUG=
Review URL: https://codereview.chromium.org//27000007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28516 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-10-11 14:05:16 +00:00 |
|
ajohnsen@google.com
|
86e664e645
|
Preserve '\' in filenames for uploads, as Windows/IE contains them.
BUG=http://code.google.com/p/dart/issues/detail?id=13928
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//26973004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28515 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-10-11 12:36:14 +00:00 |
|
floitsch@google.com
|
4be547c705
|
Adapt streams for additional stackTrace argument.
R=lrn@google.com
Review URL: https://codereview.chromium.org//25094002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28511 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-10-11 12:02:20 +00:00 |
|
floitsch@google.com
|
e73ce83a12
|
Rename error to _reportError in HttpParser.
The "error" name made it harder for dart2js since it assumed that errors
could get called and that the error method would be closurized.
R=ajohnsen@google.com
Review URL: https://codereview.chromium.org//26575004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28508 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-10-11 11:38:19 +00:00 |
|
whesse@google.com
|
a77536b83a
|
Fix type error in http_impl.dart.
BUG=
Review URL: https://codereview.chromium.org//25757009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28264 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-10-04 13:01:48 +00:00 |
|
whesse@google.com
|
e98871bbc6
|
dart:io | Replace duplicate implementation with Uri.resolveUri in HttpClient.
BUG=
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//25426007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28261 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-10-04 11:21:23 +00:00 |
|
whesse@google.com
|
3c0c99a3b9
|
Add Directory.systemTemp getter to replace createSystemTemp().
BUG=dartbug.com/12496
R=rnystrom@google.com, sgjesse@google.com
Review URL: https://codereview.chromium.org//25720002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28215 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-10-03 12:55:30 +00:00 |
|
floitsch@google.com
|
c65685a666
|
Remove dead code.
_StdinEventSink doesn't look like it's still used.
R=ajohnsen@google.com
Review URL: https://codereview.chromium.org//25748002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28174 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-10-02 17:29:55 +00:00 |
|
whesse@google.com
|
e5982dc4c9
|
Fix breakage from r28097
BUG=
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//25553002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28100 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-10-01 16:07:28 +00:00 |
|
whesse@google.com
|
b221c702a3
|
dart:io | Add Directory.CreateSystemTemp(template) and change Directory.CreateTemp(template).
BUG=dartbug.com/12496
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//25279003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28097 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-10-01 15:38:01 +00:00 |
|
ajohnsen@google.com
|
b90ecc03cd
|
Don't throw SocketExceptions in websocket.
This makes the implementation much more stable and act just like
HttpResponse.
BUG=https://code.google.com/p/dart/issues/detail?id=13164
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//25373004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28089 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-10-01 11:26:43 +00:00 |
|
ajohnsen@google.com
|
8323221e70
|
Only allow one async operation on RandomAccessFile at a time.
This is to make sure we never have a race-condition on the same
File*/FD. For a File it should be fine, as each operation will open it's
own FD to work on.
BUG=
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//24721003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28088 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-10-01 11:23:32 +00:00 |
|
whesse@google.com
|
5b95688b5f
|
dart:io | Remove unused asynchronous file request enums.
BUG=
R=ajohnsen@google.com
Review URL: https://codereview.chromium.org//25173004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28056 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-09-30 15:23:38 +00:00 |
|
whesse@google.com
|
12cadfd1be
|
Add .address to [Raw]ServerSocket and HttpServer.
Also use .address in Pub's barback server.
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//25010004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28010 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-09-27 13:36:03 +00:00 |
|