Eugene Kabanov
336a7c9b3f
Fixes to support Dragonfly BSD. ( #5552 )
...
* Fix kqueue.nim and ansi_c.nim to support dragonfly.
* Fix ioselectors.nim, threads.nim to support dragonfly.
* Fix deprecated dealloc call in tioselectors.nim.
* Fix tfsmonitor.nim test to run only on Linux.
* Fix osproc.nim return wrong exit codes.
* Fix getAppFilename() for dragonfly.
* Fix proper exit code handling.
2017-03-17 08:22:11 +01:00
Eugene Kabanov
ac2f1996a8
asyncdispatch.nim recursion test. ( #5534 )
2017-03-14 20:03:13 +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
Dominik Picheta
2f502e2a9e
Remove immediate FutureStream procs and make 'put' awaitable.
2017-02-10 20:40:32 +01:00
Dominik Picheta
ddd3d3f44a
Improve implementation of takeAsync for FutureStreams.
2017-02-10 20:18:59 +01:00
Dominik Picheta
d87fb236d1
Add test spec to tfuturestream
2017-02-10 18:57:43 +01:00
Dominik Picheta
7766fdfec1
Implemented a first working version of FutureStreams.
2017-02-10 00:06:18 +01:00
Dominik Picheta
e189004a03
WIP implementation of FutureStream.
2017-02-09 22:46:20 +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
Ruslan Mustakov
7a839d7b02
Move checkCloseError to nativesockets
2017-02-07 16:45:59 +07:00
Andreas Rumpf
072d79511f
fixes #5314
2017-02-05 17:14:49 +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
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
Araq
bf8f00f717
make nimforum compile again
2016-12-31 11:37:58 +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
Ruslan Mustakov
f2bded180f
async all() now immediately completes if arg is empty
2016-11-03 10:50:43 +07:00
Andreas Rumpf
a8dc4df8be
removed async test that never produced reliable results
2016-10-20 15:20:57 +02:00
Andreas Rumpf
bae3baf9cc
fixes #4856
2016-10-20 15:20:27 +02:00
Dominik Picheta
c188c2076b
Merge pull request #4830 from cheatfate/disabletimetest
...
tupcoming_async: Disable real time test comparison
2016-09-25 17:18:58 +02:00
Dominik Picheta
927fce4c7f
FutureVar[T] parameters are now completed automatically.
2016-09-25 16:05:22 +02:00
cheatfate
54977e3709
Disable time error test.
2016-09-25 15:28:57 +03:00
cheatfate
f40c1d3ad1
Add support for kqueue's EVFILT_VNODE (filesystem monitoring), and add test for it.
2016-09-24 05:16:39 +03:00
Dominik Picheta
1740619c0c
Implements {.multisync.} pragma for async and sync proc combos.
2016-09-18 18:15:20 +02:00
Dominik Picheta
07c637c24c
Increase error rate for upcoming timers test.
2016-09-17 22:09:10 +02:00
Simon Ruderich
38505e31c8
tests: tnewasyncudp: use constant
2016-09-17 18:11:12 +02:00
Dominik Picheta
75e5c87f15
Fixes #4170 .
2016-09-17 14:19:26 +02:00
Dominik Picheta
5bf16439e1
Fixes #4262 .
2016-09-17 13:22:04 +02:00
cheatfate
3d556a9719
Fix #4777 network buffers overflow because of immediate sendTo call.
2016-09-17 03:07:57 +03:00
Dmitry Polienko
191ff51859
Fix tasyncsend4757 test (Linux)
2016-09-13 02:40:48 -07:00
Dmitry Polienko
a2a5985a2d
Add test for issue #4757
2016-09-13 02:00:37 -07:00
cheatfate
cc2a8409e1
update path to SSL certificates
2016-09-07 12:51:18 +03:00
cheatfate
1350d5312b
Removed tests with asyncio.
...
Fix ssl connection drop in asyncnet
Add tasyncssl test
2016-09-07 12:19:06 +03: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
cheatfate
015e22c8c0
Add upcoming/asyncdispatch.nim to tests.
2016-09-04 01:22:04 +03:00
cheatfate
ab69849a05
Resolve #4606
...
Resolve some new deprecated warnings for test.
2016-08-12 02:41:23 +03:00
Andreas Rumpf
67b024838c
fixes #1970
2016-07-19 20:44:08 +02:00
Andreas Rumpf
1d186ee9c3
fixes #2377
2016-07-08 18:08:34 +02:00
Andreas Rumpf
b47d9b7b91
fixes #4371
2016-07-08 10:34:12 +02:00
cheatfate
32e3e01dac
Resolve problems with test on macosx.
2016-07-06 18:02:59 +03:00
cheatfate
835ff4a2f8
ioselectors separated and refactored version.
...
adopted asyncdispatch version
2016-07-05 13:18:26 +03:00
cheatfate
2eb34a8129
Event enum is now .pure.
...
Modified getMaxFds() to work more properly.
Removed seqs from code
Some exceptions replaced with doAssert
2016-06-26 09:51:01 +03:00
cheatfate
ee6257b992
Forgot about newlines at the end
2016-06-23 23:16:00 +03:00
cheatfate
c857e32867
Small version of ioselectors.nim, without code duplication and some renames.
2016-06-23 23:12:27 +03:00
cheatfate
b53f13cbe7
New version, without any piece of code duplication.
2016-06-17 13:37:42 +03:00
Dominik Picheta
500aa0cb3f
Reverts 1446dc87c3. Fixes #4333 . Fixes #4170 .
2016-06-15 16:56:28 +01:00
cheatfate
43329c5909
Introduce addRead/addWrite for Windows IOCP.
2016-06-12 15:09:30 +03:00