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 |
|
ajohnsen@google.com
|
7e75589a5d
|
Fix File stream on cancel.
Before we could end up having both an issued read and a close request.
Given the new nature of our io-service, this could lead to a race
condition between the two.
BUG=https://code.google.com/p/dart/issues/detail?id=12982
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//24667003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27955 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-09-26 14:34:15 +00:00 |
|
kevmoo@j832.com
|
bdb17c0cc9
|
added bool type to named args in lib/io and lib/_internal
R=ahe@google.com, floitsch@google.com
Review URL: https://codereview.chromium.org//24645002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27946 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-09-26 12:29:27 +00:00 |
|
ajohnsen@google.com
|
3e0a59b920
|
Clean up IOService implementation to be shared between patched and non-patched code.
BUG=
Review URL: https://codereview.chromium.org//24596003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27888 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-09-25 15:53:54 +00:00 |
|
ajohnsen@google.com
|
6a58b2fc67
|
Remove unused library patch code.
BUG=
Review URL: https://codereview.chromium.org//24479004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27887 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-09-25 15:39:27 +00:00 |
|
ajohnsen@google.com
|
a347038cd7
|
Merge services into a shared IOService in dart:io, and use a native port.
BUG=
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//24395013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27883 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-09-25 15:03:24 +00:00 |
|
whesse@google.com
|
4fc5c84809
|
Recommit add FileSystemEntity.resolveSymbolicLinks
This was reverted in r27481 because of a failure on the debug Windows VM buildbot.
BUG=dartbug.com/1016
Review URL: https://codereview.chromium.org//23480093
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27612 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-09-18 12:29:47 +00:00 |
|
whesse@google.com
|
fa483c7e1b
|
Delete unreachable code in library.
BUG=
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//23537052
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27570 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-09-17 13:34:54 +00:00 |
|
whesse@google.com
|
c809653d9a
|
dart:io | Change creation of symbolic links with relative targets on Windows.
A relative path to a target directory on Windows is changed to an absolute path,
joining the relative path to the directory the link is contained in.
BUG=dartbug.com/13279
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//23532066
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27566 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-09-17 12:21:05 +00:00 |
|
mcampione@google.com
|
f3d9d92758
|
fixed one-liners for file and directory
BUG=
R=kathyw@google.com
Review URL: https://codereview.chromium.org//24076014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27485 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-09-13 16:16:43 +00:00 |
|
whesse@google.com
|
31c85401eb
|
Revert "dart:io | Change File.fullPath to FileSystemEntity.resolveSymbolicLinks."
This reverts commit r27475.
BUG=dartbug.com/1016
Review URL: https://codereview.chromium.org//23658048
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27481 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-09-13 15:00:26 +00:00 |
|
whesse@google.com
|
f9ba5f494d
|
dart:io | Change File.fullPath to FileSystemEntity.resolveSymbolicLinks.
BUG=dartbug.com/1016
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//23444037
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27475 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-09-13 11:15:12 +00:00 |
|
whesse@google.com
|
ca27ddeafe
|
Add FileSystemEntity.absolutePath and .isAbsolute properties.
BUG=
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//23468027
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27467 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-09-13 08:56:16 +00:00 |
|
whesse@google.com
|
27600274c8
|
Fix error handling when current working directory is deleted.
BUG=
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//23702037
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27433 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-09-12 14:30:23 +00:00 |
|
mcampione@google.com
|
b19d1ec608
|
added one-liners: Node, EventTarget, Canvas, HttpClient, HttpServer etc.
BUG=
R=kathyw@google.com
Review URL: https://codereview.chromium.org//23904009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27400 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-09-11 20:13:14 +00:00 |
|
ajohnsen@google.com
|
b57176ef54
|
Throw FileExceptions when in File when reading as String and decoding fails.
BUG=https://code.google.com/p/dart/issues/detail?id=13199
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//23953004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27329 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-09-10 11:14:31 +00:00 |
|
ajohnsen@google.com
|
47239cb3a2
|
Move delete/deleteSync up to FileSystemEntity, with a shared documentation.
This also means that FileSystemEntity.delete(recursive: true) now will
delete any object on disk, much like 'rm -r', without the need of
wrapping it in a Directory object.
BUG=
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//23889008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27196 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-09-05 14:54:38 +00:00 |
|
ajohnsen@google.com
|
7c53dfaf3f
|
Make file system watcher compile on Mac OS 106, and add a runtime-call to test if the system supports the feature.
BUG=
R=kustermann@google.com, sgjesse@google.com
Review URL: https://codereview.chromium.org//23483030
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27064 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-09-03 15:42:02 +00:00 |
|
ajohnsen@google.com
|
6c5229abda
|
Move _FileSystemWatcher to IO patch since it extends NativeFieldWrapperClass1.
BUG=
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//23615005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27051 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-09-03 13:13:36 +00:00 |
|
ajohnsen@google.com
|
38bae0af02
|
Add FileSystemWatcher class to dart:io.
BUG=
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//19263003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27048 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-09-03 12:43:08 +00:00 |
|
ajohnsen@google.com
|
d47d589e92
|
Make sure to never report SocketExceptions on HttpResponse.
This fixes a case where the system might not fail on sending data, but first fail on closing the socket.
BUG=
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//23479022
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27039 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-09-03 11:05:08 +00:00 |
|
sgjesse@google.com
|
2ecb7ed05c
|
Add cast to please the analyzer
R=ajohnsen@google.com
BUG=
Review URL: https://codereview.chromium.org//23479014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26993 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-09-02 07:57:34 +00:00 |
|
sgjesse@google.com
|
c02b3dd335
|
Fix piping to a WebSocket
R=lrn@google.com
BUG=http://dartbug.com/12923
Review URL: https://codereview.chromium.org//23507003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26991 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-09-02 07:33:04 +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 |
|
mcampione@google.com
|
72c17a1cd0
|
Edited docs for dart:io HttpRequest
BUG=
R=kathyw@google.com, sgjesse@google.com
Review URL: https://codereview.chromium.org//23135017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26769 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-08-28 08:34:09 +00:00 |
|
floitsch@google.com
|
6d46cb3e6c
|
Fix bad (too specialized) types.
Review URL: https://codereview.chromium.org//23068037
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26633 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-08-26 10:55:35 +00:00 |
|