Andrey Sobolev
78de355ec6
Fix async timers execution. ( #5448 )
2017-03-01 09:43:24 +01:00
Araq
386efb464b
upcoming/asyncdispatch: remove unused queues import again
2017-02-27 00:03:46 +01:00
Dominik Picheta
843099d8ae
Fixes upcoming tests.
2017-02-26 15:58:07 +01:00
Dominik Picheta
f9cce32097
Various fixes to FutureStreams based on PR feedback.
2017-02-26 12:52:19 +01:00
Dominik Picheta
b053ded266
Fixes tests.
2017-02-11 16:49:02 +01:00
Araq
8ae05c6555
cleaned up accept-close-race fix #5279
2017-02-07 14:59:46 +01:00
Araq
4790b6b203
Merge branch 'accept-close-race-5279' of https://github.com/endragor/Nim into endragor-accept-close-race-5279
2017-02-07 14:44:27 +01:00
cheatfate
95d8558f0c
Fix #5331 and #5332 .
2017-02-04 12:10:07 +01:00
Ruslan Mustakov
fb8168d338
Fix Windows accept() to fail future instead of raising
...
Resolves : #5279
2017-02-01 18:18:44 +07:00
Eugene Kabanov
d90f3f59ac
Fixes for upcoming asyncdispatch and ioselectors. ( #5309 )
2017-02-01 12:12:26 +01:00
Andreas Rumpf
76eb20d2d3
deprecated nativesockets.dealloc, use freeAddrInfo instead; fixed stdlib deprecations
2017-01-30 08:50:57 +01:00
cheatfate
e84efc4d01
asyncdispatch exception memory leaks fixes.
2017-01-27 12:14:53 +02:00
Eugene Kabanov
108f5e688e
Fix #5128 , #5184 . ( #5214 )
...
* Fix #5128 , #5184 .
Removed flush() procedure from ioselectors.nim
Changed methods of work with application-driven data
* Make cache switch for kqueue, update test for it.
* Fix registerProcess bug returns wrong id.
Fix tupcoming_async test to compile with upcoming again.
Change socket() as unique identifier to dup(socket) as unique identifier.
2017-01-16 14:01:40 +01:00
Anatoly Galiulin
8e71949b78
Add pending operations presence check function, fixes #5155
2016-12-29 17:27:03 +07:00
cheatfate
b59ce8d321
Fix compilation errors and enable async events on partially supported systems.
2016-12-07 14:08:53 +02:00
cheatfate
d40b783110
Add comments to latest fixes.
...
One more fix.
Some artifacts removed.
2016-11-30 04:55:17 +02:00
Araq
5c46f26880
fix upcoming/asyncdispatch properly
2016-11-30 02:08:34 +01:00
Araq
9b68b878b2
upcoming/asyncdispatch: addTimer and addEvent fixes
2016-11-30 01:47:37 +01:00
Araq
d495ef5705
updated upcoming/asyncdispatch
2016-11-29 10:40:08 +01:00
Ruslan Mustakov
2c146445bc
Added deques module, deprecating queues
2016-11-24 19:11:51 +07:00
cheatfate
b835df0a2b
make semantic equal to current version
2016-11-20 01:20:59 +02:00
cheatfate
0ff7fbea34
Fix handle of error only events.
2016-10-16 04:03:45 +03:00
cheatfate
64cb03f633
Fix upcoming to pass tpolltimeouts.nim test
2016-09-29 11:16:14 +03:00
Andreas Rumpf
21e35c201c
made async compile again
2016-09-26 23:31:36 +02:00
Dominik Picheta
6aa8ff9af6
Moves async futures into asyncfutures module.
2016-09-25 18:24:35 +02:00
Dominik Picheta
dfe416eaad
Fixes Futures' or operation so that asyncftpclient compiles.
2016-09-17 17:21:05 +02:00
Dominik Picheta
75e5c87f15
Fixes #4170 .
2016-09-17 14:19:26 +02:00
cheatfate
7788b5a043
Borrow SelectEvent ==.
2016-09-07 10:33:08 +03:00
Dominik Picheta
3760a8b973
Merge branch 'async_buffers_v2' of https://github.com/vegansk/Nim into vegansk-async_buffers_v2
...
Merges #4683 .
2016-09-06 20:10:19 +02:00
cheatfate
ec7aec3d58
Fix windows issues.
...
Fix semantic of AsyncEvent close/unregister #4694 .
Fix #4697 .
Added first test.
2016-09-06 12:29:53 +03:00
Anatoly Galiulin
60dbfb2ec9
Revert function names scheme due to the @dom96 comment
2016-09-06 09:31:13 +07:00
Anatoly Galiulin
862d6ad234
Restore `recvInto` for backwards compatibility
2016-09-06 09:31:13 +07:00
Anatoly Galiulin
e4c46e6fba
Add async IO operations with buffers on files and sockets
2016-09-06 09:31:13 +07:00
Andreas Rumpf
a5be42c024
Merge branch 'async-readwrite-no-conflict' of https://github.com/endragor/Nim into endragor-async-readwrite-no-conflict
2016-09-04 23:41:18 +02:00
Eugene Kabanov
4fa3ded9c7
async: transfer all await/async macro related code to asyncmacro.nim module. ( #4704 )
...
* Transfer all async macro related code to asyncmacro.nim.
* Make tests green.
2016-09-03 20:52:45 +02:00
cheatfate
685830de79
Make upcoming version to be up to date with current version.
2016-09-03 13:41:56 +03:00
Ruslan Mustakov
b676a08b3a
Async read/write procedures no longer replace each other in upcoming asyncdispatch
2016-09-02 19:15:59 +07:00
cheatfate
c5ffdd0389
Protect data argument for GC.
2016-08-30 23:15:08 +03:00
Ruslan Mustakov
b6844bf487
Fixed infinite recursion in setEvent and close procs in upcoming asyncdispatch
2016-08-23 13:48:23 +07:00
Ruslan Mustakov
3ffb6e1ba3
AsyncEvent is now exported on all platforms and created with newAsyncEvent proc in upcoming asyncdispatch
2016-08-15 16:30:08 +07:00
cheatfate
835ff4a2f8
ioselectors separated and refactored version.
...
adopted asyncdispatch version
2016-07-05 13:18:26 +03:00