Commit Graph

78 Commits

Author SHA1 Message Date
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
Andreas Rumpf
76c8d6164b added 'koch testinstall' command; more installer related bugfixes 2016-06-09 17:34:57 +02:00
cheatfate
fb4ff86ad6 Make some proper closes. 2016-06-09 07:07:43 +03:00
Konstantin Molchanov
d5d036ca9d Tests: tasyncall: Varargs test added. 2016-06-03 15:19:39 +03:00
Konstantin Molchanov
81c7be1b35 Tests: async: Tests for all proc added. 2016-05-31 23:49:59 +04:00
cheatfate
aba60e54d5 Resolve bugs with deep recursion of asyncdispatch.
Introduce callSoon() implementation.
Patch tests to use waitFor() instead of asyncCheck()
2016-05-18 00:53:53 +03:00
Dominik Picheta
1446dc87c3 await x where x is Fut var now reads after yield. Fixes #3964. 2016-04-04 22:50:31 +01:00
Josep Sanjuas
5a582a0d9c Define ports as uint16s to fix #3484 2016-03-27 22:56:44 +02:00
Andreas Rumpf
5be6c95d21 fixes async regression 2016-01-11 11:11:44 +01:00
Andreas Rumpf
1a2bda45ec fixes #2007 2016-01-05 10:20:24 +01:00
Adam Strzelecki
be991ed413 Rename rawsockets module to nativesockets
This change was done to avoid confusion with TCP/IP raw sockets. Native sockets
module represents handling native system low level socket API in general and is
not just limited anyhow to TCP/IP raw sockets.

A stub lib/deprecated/pure/rawsockets.nim module has been added as
compatibility layer for old code using rawsockets, so this change will not
break existing code.
2015-10-03 19:45:41 +02:00
Dominik Picheta
ac6b21a018 Fixes failing async tests on Linux. 2015-09-11 17:09:13 +01:00
Dominik Picheta
77c2bcf079 Improve asyncdispatch error messages, fix some tests on Windows. 2015-09-11 14:35:42 +01:00
Adam Strzelecki
e80465dacf tests: Trim .nim files trailing whitespace
via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
2015-09-04 23:04:32 +02:00
Kay Zheng
a11a2f0fdb Check for async errors in 2015-04-18 10:27:35 +08:00
Kay Zheng
3125058b6a Only run the test for the fixed version of poll(...) 2015-04-17 22:40:53 +08:00
Kay Zheng
371d273924 Add a test case for the EvError handling issue 2015-04-17 22:24:06 +08:00
Dominik Picheta
3751019823 Fix infinite recursion when await is in except body. 2015-03-30 00:42:21 +01:00
Dominik Picheta
03019849fc Async await try statement fixes. 2015-02-09 23:00:07 +00:00
Dominik Picheta
a8771b3051 Improved tasyncawait test. 2014-12-26 19:37:08 +00:00