summary refs log tree commit diff stats
path: root/tests/async
Commit message (Collapse)AuthorAgeFilesLines
* make tests green again; closes #5861Andreas Rumpf2017-10-101-2/+2
|
* removed newString proc again, reverted some unnecesary changesArne Döring2017-07-241-3/+3
|
* Fixes #5738 (#6059)Yuriy Glukhov2017-07-152-0/+66
|
* Merge pull request #5938 from zielmicha/futuresDominik Picheta2017-07-142-0/+21
|\ | | | | [WIP] Better Future
| * Future: support for multiple callbacksMichał Zieliński2017-07-051-0/+20
| |
| * asyncdispatch: split asyncfutures into its own moduleMichał Zieliński2017-07-051-0/+1
| | | | | | | | This slightly changes behaviour of callSoon - before loop is initialized, callSoon will call the function immediately.
* | Update test headerEuan T2017-07-101-1/+1
| | | | | | | | Signed-off-by: Euan T <euantorano@gmail.com>
* | Adding test for recvlineEuan Torano2017-07-091-0/+54
|/ | | | Signed-off-by: Euan Torano <euantorano@gmail.com>
* One more attempt to fix tioselectors.nim test (#6020)Eugene Kabanov2017-06-271-4/+8
|
* Fixes #5995Yuriy Glukhov2017-06-181-0/+3
|
* Async macro fixes (#5739)Yuriy Glukhov2017-05-161-0/+9
|
* Add waitFor on seq[Future], waitAll and more (#5189)Federico Ceratto2017-05-161-38/+39
| | | | | | * Switch to unittest and speedup * Make timers and callbacks fields public
* Fixes #5532 win async write (#5791)Andreas Rumpf2017-05-141-0/+17
| | | | | | * nimgrab tool bugfix: don't divide by zero * fixes #5532 (asyncfile write on Windows) * add a comment about what has been tried instead
* Implement dial, support IPv6 in httpclient (#5763)Ruslan Mustakov2017-05-021-0/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implement dial, support IPv6 in httpclient Added ``dial`` procedure to networking modules: ``net``, ``asyncdispatch``, ``asyncnet``. It merges socket creation, address resolution, and connection into single step. When using ``dial``, you don't have to worry about IPv4 vs IPv6 problem. Fixed addrInfo loop in connect to behave properly. Previously it would stop on first non-immediate failure, instead of continuing and trying the remaining addresses. Fixed newAsyncNativeSocket to raise proper error if socket creation fails. Fixes: #3811 * Check domain during connect() only on non-Windows This is how it was in the previous implementation of connect(). * Call 'osLastError' before 'close' in net.dial * Record osLastError before freeAddrInfo in net.dial * Add missing docs for 'dial' proc * Optimize dial to create one FD per domain, add tests And make async IPv6 servers work on Windows. * Add IPv6 test to uri module * Fix getAddrString error handling
* Fix tioselectors.nim for appveyor. (#5694)Eugene Kabanov2017-04-121-3/+4
|
* getFileSize and setFileSize procedures for File and AsyncFileEmery Hemingway2017-04-051-2/+3
| | | | | Platform independent procedure to set a file length. Useful when replacing file content.
* Fix wrong value range of ntohs ... (#5390)wt2017-03-311-3/+3
|
* Fix tioselectors.nim test timeouts to be executed in appveyor more stable. ↵Eugene Kabanov2017-03-291-4/+4
| | | | (#5622)
* Fixes to support Dragonfly BSD. (#5552)Eugene Kabanov2017-03-171-6/+6
| | | | | | | | | * 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.
* asyncdispatch.nim recursion test. (#5534)Eugene Kabanov2017-03-141-0/+21
|
* Various fixes to FutureStreams based on PR feedback.Dominik Picheta2017-02-261-2/+2
|
* Fixes tests.Dominik Picheta2017-02-111-0/+1
|
* Remove immediate FutureStream procs and make 'put' awaitable.Dominik Picheta2017-02-101-2/+2
|
* Improve implementation of takeAsync for FutureStreams.Dominik Picheta2017-02-101-4/+22
|
* Add test spec to tfuturestreamDominik Picheta2017-02-101-0/+14
|
* Implemented a first working version of FutureStreams.Dominik Picheta2017-02-101-4/+5
|
* WIP implementation of FutureStream.Dominik Picheta2017-02-091-0/+19
|
* Merge branch 'accept-close-race-5279' of https://github.com/endragor/Nim ↵Araq2017-02-071-0/+36
|\ | | | | | | into endragor-accept-close-race-5279
| * Move checkCloseError to nativesocketsRuslan Mustakov2017-02-071-0/+7
| |
| * Fix Windows accept() to fail future instead of raisingRuslan Mustakov2017-02-011-0/+29
| | | | | | | | Resolves: #5279
* | fixes #5314Andreas Rumpf2017-02-051-0/+17
| |
* | Fix #5331 and #5332.cheatfate2017-02-041-0/+14
|/
* Fixes for upcoming asyncdispatch and ioselectors. (#5309)Eugene Kabanov2017-02-011-13/+42
|
* Fix #5128, #5184. (#5214)Eugene Kabanov2017-01-162-28/+26
| | | | | | | | | | | | * 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.
* make nimforum compile againAraq2016-12-311-0/+1
|
* Add pending operations presence check function, fixes #5155Anatoly Galiulin2016-12-291-0/+21
|
* Fix compilation errors and enable async events on partially supported systems.cheatfate2016-12-072-50/+49
|
* async all() now immediately completes if arg is emptyRuslan Mustakov2016-11-031-0/+9
|
* removed async test that never produced reliable resultsAndreas Rumpf2016-10-201-66/+0
|
* fixes #4856Andreas Rumpf2016-10-201-0/+14
|
* Merge pull request #4830 from cheatfate/disabletimetestDominik Picheta2016-09-251-12/+1
|\ | | | | tupcoming_async: Disable real time test comparison
| * Disable time error test.cheatfate2016-09-251-12/+1
| |
* | FutureVar[T] parameters are now completed automatically.Dominik Picheta2016-09-251-0/+47
|/
* Add support for kqueue's EVFILT_VNODE (filesystem monitoring), and add test ↵cheatfate2016-09-241-0/+213
| | | | for it.
* Implements {.multisync.} pragma for async and sync proc combos.Dominik Picheta2016-09-181-0/+8
|
* Increase error rate for upcoming timers test.Dominik Picheta2016-09-171-1/+1
|
* tests: tnewasyncudp: use constantSimon Ruderich2016-09-171-3/+3
|
* Fixes #4170.Dominik Picheta2016-09-171-17/+55
|
* Fixes #4262.Dominik Picheta2016-09-171-0/+19
|
* Fix #4777 network buffers overflow because of immediate `sendTo` call.cheatfate2016-09-171-4/+17
|