Commit Graph

24 Commits

Author SHA1 Message Date
Yuriy Glukhov
bbbf5cf800 Added newAsyncFile proc (#6129) 2017-07-21 17:20:21 +02:00
Andreas Rumpf
3afd852f54 Fixes #5532 win async write (#5791)
* nimgrab tool bugfix: don't divide by zero
* fixes #5532 (asyncfile write on Windows)
* add a comment about what has been tried instead
2017-05-14 17:10:39 +02:00
Jacek Sieka
ce86b4ad78 Posix from detect (#5697)
* refactor posix.nim
* types move to separate files for platform-specifc and generic
("other')
* consts move to separate files that get autogenerated by detect.nim
* proc's stay where they are for now, though in a second stage might
move as well
* fix missing when
2017-04-12 23:10:54 +02:00
Emery Hemingway
bc5c2d8414 getFileSize and setFileSize procedures for File and AsyncFile
Platform independent procedure to set a file length. Useful when
replacing file content.
2017-04-05 19:05:43 -05:00
Dominik Picheta
0cad2896ae Implement asyncfile.readToStream. 2017-03-23 21:34:53 +01:00
Dominik Picheta
f9cce32097 Various fixes to FutureStreams based on PR feedback. 2017-02-26 12:52:19 +01:00
Araq
45765601e0 fixed premature finishing of httpclient.downloadFile 2017-02-25 17:26:03 +01:00
Dominik Picheta
f9f86899b5 Implement streamed async/sync downloadFile and deprecate old one. 2017-02-11 14:00:53 +01:00
Dmitry Polienko
e695d3bfba Fix asyncfile in Windows Server 2003
Fixes #5022
2016-11-14 02:55:57 -08:00
Dominik Picheta
87eb3a105d Some small fixes to changes introduced by #4683. 2016-09-06 20:35:02 +02:00
Anatoly Galiulin
e4c46e6fba Add async IO operations with buffers on files and sockets 2016-09-06 09:31:13 +07:00
cheatfate
fb4ff86ad6 Make some proper closes. 2016-06-09 07:07:43 +03:00
cheatfate
be5639582e Correct proper usage of getOverlappedResult() 2016-04-13 13:19:50 +03:00
Adam Strzelecki
43bddf62dd lib: Trim .nim files trailing whitespace
via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
2015-09-04 23:03:56 +02:00
pdw
192ba3bbc0 lib/pure/a-c - Dropped 'T' from types 2015-06-04 13:17:11 +02:00
def
5020806696 Fix doc for asyncfile 2015-03-11 12:31:24 +01:00
Dominik Picheta
d8c5c2f222 Export AsyncFile. Add asyncfile module to docgen. 2015-03-06 10:51:56 +00:00
def
e686ca2523 Fix a few more warnings 2015-02-17 02:22:30 +01:00
Guillaume Gelin
3119fe087d Happy new year! 2015-01-06 15:26:33 +01:00
Dominik Picheta
baae9bfea8 s/sock/fd/. Fixes #1487. 2014-09-27 17:15:32 +01:00
Dominik Picheta
952de51170 Removed async console FDs. 2014-09-08 16:48:09 +01:00
Dominik Picheta
cb8a25b3d1 Added asyncfile.readLine and async stdin/out/err. Ref #1487. 2014-09-06 19:50:11 +01:00
Dominik Picheta
52c16a1a79 Implemented asyncfile for Posix. 2014-09-05 21:14:18 +01:00
Dominik Picheta
31deee5142 Add asyncfile module. 2014-09-05 17:39:14 +01:00