Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Allow float argument to sleepAsync() to allow sub-millisecond resolution | Ico Doornekamp | 2018-02-23 | 1 | -1/+1 |
| | |||||
* | Fixes #4995. (#7157) | Dominik Picheta | 2018-02-13 | 1 | -1/+5 |
| | |||||
* | Revert 3db460f5045e790b54ea382 as requested by @Araq. | Dominik Picheta | 2018-01-28 | 1 | -20/+8 |
| | |||||
* | Merge branch 'devel' into async-improvements | Dominik Picheta | 2018-01-17 | 1 | -12/+33 |
|\ | |||||
| * | Add hasPendingOperations check to asyncdispatch.drain | Ruslan Mustakov | 2017-12-30 | 1 | -1/+1 |
| | | |||||
| * | fixes a serious poll() regression that caused poll() to ignore the timeout ↵ | Andreas Rumpf | 2017-12-28 | 1 | -1/+1 |
| | | | | | | | | parameter | ||||
| * | Fix #6906 | cheatfate | 2017-12-21 | 1 | -1/+1 |
| | | |||||
| * | make asyncdispatch.poll completing all opterations that can be comple… (#6911) | Andreas Rumpf | 2017-12-19 | 1 | -11/+32 |
| | | | | | | introduce asyncdispatch.drain that completes all operations that can be completed immediately; implements #6523 | ||||
* | | Merge branch 'devel' into async-improvements | Andreas Rumpf | 2017-12-11 | 1 | -1/+2 |
|\| | |||||
| * | Use addCallback rather than callback= in asyncfutures.all() (#6850) | Mathias Stearn | 2017-12-09 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | | | | | | * Use addCallback rather than callback= in asyncfutures.all() Addresses part of #6849 * Stop using do notation for #6849 * Update example style | ||||
* | | Fix asyncdispatch docgen | Dominik Picheta | 2017-11-26 | 1 | -2/+2 |
| | | |||||
* | | Implements ``asyncdispatch.getIoHandler`` and assert on nil futures. | Dominik Picheta | 2017-11-24 | 1 | -0/+8 |
| | | |||||
* | | The AsyncFD type now implies that the underlying FD is registered. | Dominik Picheta | 2017-11-24 | 1 | -3/+22 |
|/ | | | | | * `asyncdispatch.register` won't attempt to register an ``AsyncFD``, but instead assume that it is already registered. | ||||
* | Async upcoming (#6585) | Dominik Picheta | 2017-11-22 | 1 | -140/+399 |
| | | | | | | | | | | | | | * Merge upcoming async with current. * Various improvements to selectors (mostly docs). Two changes to highlight: * Renamed ``setEvent`` to ``trigger`` * Reused setBlocking from nativesockets. * Various changes/fixes to asyncdispatch after upcoming merge. * Make some attempts to be compatible with older selectors. * Reuse epoll module in ioselectors_epoll. | ||||
* | Remove expr/stmt (#5857) | Arne Döring | 2017-07-25 | 1 | -1/+1 |
| | |||||
* | asyncdispatch: formatting fixes | Michał Zieliński | 2017-07-12 | 1 | -1/+1 |
| | |||||
* | asyncdispatch: add callSoon getter/setter, renames | Michał Zieliński | 2017-07-06 | 1 | -5/+5 |
| | |||||
* | split FutureStream from asyncfutures | Michał Zieliński | 2017-07-05 | 1 | -4/+5 |
| | |||||
* | asyncdispatch: split asyncfutures into its own module | Michał Zieliński | 2017-07-05 | 1 | -11/+20 |
| | | | | This slightly changes behaviour of callSoon - before loop is initialized, callSoon will call the function immediately. | ||||
* | Add waitFor on seq[Future], waitAll and more (#5189) | Federico Ceratto | 2017-05-16 | 1 | -2/+2 |
| | | | | | | * Switch to unittest and speedup * Make timers and callbacks fields public | ||||
* | Remove unused oids import from asyncdispatch (#5811) | Ruslan Mustakov | 2017-05-14 | 1 | -1/+1 |
| | |||||
* | setGlobalDispatcher() | Christopher Dunn | 2017-05-07 | 1 | -0/+10 |
| | |||||
* | Implement dial, support IPv6 in httpclient (#5763) | Ruslan Mustakov | 2017-05-02 | 1 | -148/+22 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 async timers execution. (#5448) | Andrey Sobolev | 2017-03-01 | 1 | -1/+5 |
| | |||||
* | Various fixes to FutureStreams based on PR feedback. | Dominik Picheta | 2017-02-26 | 1 | -1/+12 |
| | |||||
* | Implemented a first working version of FutureStreams. | Dominik Picheta | 2017-02-10 | 1 | -1/+1 |
| | |||||
* | cleaned up accept-close-race fix #5279 | Araq | 2017-02-07 | 1 | -1/+1 |
| | |||||
* | Fix Windows accept() to fail future instead of raising | Ruslan Mustakov | 2017-02-01 | 1 | -20/+23 |
| | | | | Resolves: #5279 | ||||
* | deprecated nativesockets.dealloc, use freeAddrInfo instead; fixed stdlib ↵ | Andreas Rumpf | 2017-01-30 | 1 | -4/+4 |
| | | | | deprecations | ||||
* | asyncdispatch exception memory leaks fixes. | cheatfate | 2017-01-27 | 1 | -4/+9 |
| | |||||
* | Add pending operations presence check function, fixes #5155 | Anatoly Galiulin | 2016-12-29 | 1 | -1/+14 |
| | |||||
* | Add comments to latest fixes. | cheatfate | 2016-11-30 | 1 | -13/+6 |
| | | | | | One more fix. Some artifacts removed. | ||||
* | Added deques module, deprecating queues | Ruslan Mustakov | 2016-11-24 | 1 | -6/+6 |
| | |||||
* | Async: Refactors asyncdispatch.poll. | Dominik Picheta | 2016-11-19 | 1 | -31/+22 |
| | |||||
* | Async: Fixes problem when callbacks add other callbacks. | Dominik Picheta | 2016-11-19 | 1 | -6/+12 |
| | | | | For context, see http://irclogs.nim-lang.org/19-11-2016.html#19:08:51 | ||||
* | Async: Further callbacks will no longer be called after an EAGAIN. | Dominik Picheta | 2016-11-19 | 1 | -4/+14 |
| | | | | For context, see discussion here https://gitter.im/nim-lang/Nim?at=583090a2df9f0f6e7f576e43 or here http://irclogs.nim-lang.org/19-11-2016.html#17:30:59. | ||||
* | Fix few typos | Federico Ceratto | 2016-10-17 | 1 | -1/+1 |
| | |||||
* | Fix handle of error only events. | cheatfate | 2016-10-16 | 1 | -2/+2 |
| | |||||
* | made async compile again | Andreas Rumpf | 2016-09-26 | 1 | -1/+1 |
| | |||||
* | Moves async futures into asyncfutures module. | Dominik Picheta | 2016-09-25 | 1 | -293/+1 |
| | |||||
* | FutureVar[T] parameters are now completed automatically. | Dominik Picheta | 2016-09-25 | 1 | -9/+21 |
| | |||||
* | Fixes #3847. | Dominik Picheta | 2016-09-25 | 1 | -1/+3 |
| | |||||
* | Fixes Futures' `or` operation so that asyncftpclient compiles. | Dominik Picheta | 2016-09-17 | 1 | -3/+3 |
| | |||||
* | Fixes #4170. | Dominik Picheta | 2016-09-17 | 1 | -11/+52 |
| | |||||
* | Fixes #4262. | Dominik Picheta | 2016-09-17 | 1 | -73/+76 |
| | |||||
* | Fix AsyncSocket send | Dmitry Polienko | 2016-09-12 | 1 | -1/+1 |
| | |||||
* | Some small fixes to changes introduced by #4683. | Dominik Picheta | 2016-09-06 | 1 | -82/+26 |
| | |||||
* | Revert function names scheme due to the @dom96 comment | Anatoly Galiulin | 2016-09-06 | 1 | -18/+6 |
| | |||||
* | Restore ``recvInto`` for backwards compatibility | Anatoly Galiulin | 2016-09-06 | 1 | -0/+12 |
| | |||||
* | Add async IO operations with buffers on files and sockets | Anatoly Galiulin | 2016-09-06 | 1 | -10/+84 |
| |