Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | async: transfer all await/async macro related code to asyncmacro.nim module. ↵ | Eugene Kabanov | 2016-09-03 | 1 | -360/+2 |
| | | | | | | | | (#4704) * Transfer all async macro related code to asyncmacro.nim. * Make tests green. | ||||
* | Protect data argument for GC. | cheatfate | 2016-08-30 | 1 | -1/+6 |
| | |||||
* | stdlib and compiler don't use .immediate anymore | Andreas Rumpf | 2016-07-29 | 1 | -4/+4 |
| | |||||
* | fixes #1970 | Andreas Rumpf | 2016-07-19 | 1 | -32/+33 |
| | |||||
* | async: use -d:nimDumpAsync to see what the async macro generates | Andreas Rumpf | 2016-07-08 | 1 | -1/+3 |
| | |||||
* | fixes #4371 | Andreas Rumpf | 2016-07-08 | 1 | -2/+4 |
| | |||||
* | Fix #4390 | Eduardo Bart | 2016-06-21 | 1 | -1/+1 |
| | |||||
* | Add withTimeout proc for futures | Eduardo Bart | 2016-06-19 | 1 | -0/+18 |
| | |||||
* | Lets make arguments names equal on all platforms. | cheatfate | 2016-06-17 | 1 | -2/+2 |
| | |||||
* | New version, without any piece of code duplication. | cheatfate | 2016-06-17 | 1 | -0/+149 |
| | |||||
* | Merge pull request #4336 from cheatfate/protectwinrw | Andreas Rumpf | 2016-06-16 | 1 | -0/+16 |
|\ | | | | | Implement protection on callback environment. | ||||
| * | One more place to release callback environment protection | cheatfate | 2016-06-14 | 1 | -0/+2 |
| | | |||||
| * | Implement protection on callback environment. | cheatfate | 2016-06-14 | 1 | -0/+14 |
| | |