Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Simplify async traceback processing. | Dominik Picheta | 2017-12-28 | 1 | -29/+43 |
| | |||||
* | No need to recurse now that mergeEntries doesn't do any pattern matching. | Dominik Picheta | 2017-12-28 | 1 | -2/+2 |
| | |||||
* | Show only detailed async tracebacks. | Dominik Picheta | 2017-12-28 | 1 | -10/+17 |
| | |||||
* | Rename cb0 to asyncProcName_continue + other improvements to async tracebacks. | Dominik Picheta | 2017-12-28 | 1 | -0/+1 |
| | |||||
* | Go through the re-raise stacks for more detailed tracebacks. | Dominik Picheta | 2017-12-28 | 1 | -3/+44 |
| | |||||
* | Refine the async tracebacks. | Dominik Picheta | 2017-12-28 | 1 | -5/+12 |
| | |||||
* | Implement some simple pattern-based transformation for async tracebacks. | Dominik Picheta | 2017-12-28 | 1 | -0/+46 |
| | |||||
* | make asyncdispatch.poll completing all opterations that can be comple… (#6911) | Andreas Rumpf | 2017-12-19 | 1 | -3/+3 |
| | | | introduce asyncdispatch.drain that completes all operations that can be completed immediately; implements #6523 | ||||
* | fixes #6626 | Araq | 2017-12-15 | 1 | -2/+3 |
| | |||||
* | Use addCallback rather than callback= in asyncfutures.all() (#6850) | Mathias Stearn | 2017-12-09 | 1 | -0/+17 |
| | | | | | | | | | | * Use addCallback rather than callback= in asyncfutures.all() Addresses part of #6849 * Stop using do notation for #6849 * Update example style | ||||
* | Add an attempted reproduction for #5531. | Dominik Picheta | 2017-11-26 | 1 | -0/+15 |
| | |||||
* | Async upcoming (#6585) | Dominik Picheta | 2017-11-22 | 1 | -1/+1 |
| | | | | | | | | | | | | | * 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. | ||||
* | make tests green again | Andreas Rumpf | 2017-11-18 | 1 | -5/+4 |
| | |||||
* | Tests should not rely on external services (#6703) | Sergey Avseyev | 2017-11-15 | 1 | -2/+13 |
| | | | | This test depends on example.com site to be reachable, and fails when there is no internet connection. | ||||
* | Fix endianness in the test (#6715) | Sergey Avseyev | 2017-11-11 | 1 | -1/+1 |
| | |||||
* | attempt to make travis green again | Andreas Rumpf | 2017-11-05 | 1 | -0/+1 |
| | |||||
* | make tests green again; closes #5861 | Andreas Rumpf | 2017-10-10 | 1 | -2/+2 |
| | |||||
* | removed newString proc again, reverted some unnecesary changes | Arne Döring | 2017-07-24 | 1 | -3/+3 |
| | |||||
* | Fixes #5738 (#6059) | Yuriy Glukhov | 2017-07-15 | 2 | -0/+66 |
| | |||||
* | Merge pull request #5938 from zielmicha/futures | Dominik Picheta | 2017-07-14 | 2 | -0/+21 |
|\ | | | | | [WIP] Better Future | ||||
| * | Future: support for multiple callbacks | Michał Zieliński | 2017-07-05 | 1 | -0/+20 |
| | | |||||
| * | asyncdispatch: split asyncfutures into its own module | Michał Zieliński | 2017-07-05 | 1 | -0/+1 |
| | | | | | | | | This slightly changes behaviour of callSoon - before loop is initialized, callSoon will call the function immediately. | ||||
* | | Update test header | Euan T | 2017-07-10 | 1 | -1/+1 |
| | | | | | | | | Signed-off-by: Euan T <euantorano@gmail.com> | ||||
* | | Adding test for recvline | Euan Torano | 2017-07-09 | 1 | -0/+54 |
|/ | | | | Signed-off-by: Euan Torano <euantorano@gmail.com> | ||||
* | One more attempt to fix tioselectors.nim test (#6020) | Eugene Kabanov | 2017-06-27 | 1 | -4/+8 |
| | |||||
* | Fixes #5995 | Yuriy Glukhov | 2017-06-18 | 1 | -0/+3 |
| | |||||
* | Async macro fixes (#5739) | Yuriy Glukhov | 2017-05-16 | 1 | -0/+9 |
| | |||||
* | Add waitFor on seq[Future], waitAll and more (#5189) | Federico Ceratto | 2017-05-16 | 1 | -38/+39 |
| | | | | | | * Switch to unittest and speedup * Make timers and callbacks fields public | ||||
* | Fixes #5532 win async write (#5791) | Andreas Rumpf | 2017-05-14 | 1 | -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 Mustakov | 2017-05-02 | 1 | -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 Kabanov | 2017-04-12 | 1 | -3/+4 |
| | |||||
* | getFileSize and setFileSize procedures for File and AsyncFile | Emery Hemingway | 2017-04-05 | 1 | -2/+3 |
| | | | | | Platform independent procedure to set a file length. Useful when replacing file content. | ||||
* | Fix wrong value range of ntohs ... (#5390) | wt | 2017-03-31 | 1 | -3/+3 |
| | |||||
* | Fix tioselectors.nim test timeouts to be executed in appveyor more stable. ↵ | Eugene Kabanov | 2017-03-29 | 1 | -4/+4 |
| | | | | (#5622) | ||||
* | Fixes to support Dragonfly BSD. (#5552) | Eugene Kabanov | 2017-03-17 | 1 | -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 Kabanov | 2017-03-14 | 1 | -0/+21 |
| | |||||
* | Various fixes to FutureStreams based on PR feedback. | Dominik Picheta | 2017-02-26 | 1 | -2/+2 |
| | |||||
* | Fixes tests. | Dominik Picheta | 2017-02-11 | 1 | -0/+1 |
| | |||||
* | Remove immediate FutureStream procs and make 'put' awaitable. | Dominik Picheta | 2017-02-10 | 1 | -2/+2 |
| | |||||
* | Improve implementation of takeAsync for FutureStreams. | Dominik Picheta | 2017-02-10 | 1 | -4/+22 |
| | |||||
* | Add test spec to tfuturestream | Dominik Picheta | 2017-02-10 | 1 | -0/+14 |
| | |||||
* | Implemented a first working version of FutureStreams. | Dominik Picheta | 2017-02-10 | 1 | -4/+5 |
| | |||||
* | WIP implementation of FutureStream. | Dominik Picheta | 2017-02-09 | 1 | -0/+19 |
| | |||||
* | Merge branch 'accept-close-race-5279' of https://github.com/endragor/Nim ↵ | Araq | 2017-02-07 | 1 | -0/+36 |
|\ | | | | | | | into endragor-accept-close-race-5279 | ||||
| * | Move checkCloseError to nativesockets | Ruslan Mustakov | 2017-02-07 | 1 | -0/+7 |
| | | |||||
| * | Fix Windows accept() to fail future instead of raising | Ruslan Mustakov | 2017-02-01 | 1 | -0/+29 |
| | | | | | | | | Resolves: #5279 | ||||
* | | fixes #5314 | Andreas Rumpf | 2017-02-05 | 1 | -0/+17 |
| | | |||||
* | | Fix #5331 and #5332. | cheatfate | 2017-02-04 | 1 | -0/+14 |
|/ | |||||
* | Fixes for upcoming asyncdispatch and ioselectors. (#5309) | Eugene Kabanov | 2017-02-01 | 1 | -13/+42 |
| | |||||
* | Fix #5128, #5184. (#5214) | Eugene Kabanov | 2017-01-16 | 2 | -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. |