Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Improve asyncdispatch error messages, fix some tests on Windows. | Dominik Picheta | 2015-09-11 | 1 | -17/+31 |
| | |||||
* | Reintroduce FutureVar[T] from commit 72b4912c84b16644657. | Dominik Picheta | 2015-09-11 | 1 | -0/+31 |
| | |||||
* | The async macro now supports transforming multiple async procs. | Dominik Picheta | 2015-08-03 | 1 | -7/+18 |
| | | | | | | | | | | | | This is a workaround for #3182, no forward declarations. You can now do this: ```nim async: proc bar(): Future[T] proc foo() = await bar() proc bar() {.async.} = echo(123); await foo() ``` | ||||
* | Merge branch 'async_callback_issue_0412' of https://github.com/l04m33/Nim ↵ | Dominik Picheta | 2015-07-26 | 1 | -6/+14 |
|\ | | | | | | | | | | | | | into l04m33-async_callback_issue_0412-2 Conflicts: lib/pure/asyncdispatch.nim | ||||
| * | Check for async errors in | Kay Zheng | 2015-04-18 | 1 | -3/+11 |
| | | |||||
| * | Ignore EvError in `asyncdispatch.poll(...)` for non-windows systems, so that ↵ | Kay Zheng | 2015-04-12 | 1 | -3/+3 |
| | | | | | | | | exceptions can be raised from `send(...)` and `recv(...)` | ||||
* | | Update asyncdispatch.nim | apense | 2015-07-09 | 1 | -3/+3 |
| | | |||||
* | | asyncdispatch compiles again on Linux | Araq | 2015-07-01 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'more_concurrency' into devel | Araq | 2015-06-30 | 1 | -3/+2 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | Conflicts: doc/tut1.txt lib/core/locks.nim lib/pure/collections/tables.nim lib/pure/selectors.nim | ||||
| * | | some progress on making async multithreaded | Araq | 2015-05-28 | 1 | -3/+2 |
| | | | |||||
* | | | Fixes socket problems on Windows and normalises some names. | Dominik Picheta | 2015-06-29 | 1 | -16/+17 |
| | | | | | | | | | | | | Ref #2976. Ref #2003. See news.txt for details. | ||||
* | | | Fixes net/asyncdispatch on Windows. Ref #2976. Fixes #2996. | Dominik Picheta | 2015-06-25 | 1 | -2/+2 |
| | | | |||||
* | | | Match the AF of the socket in connect(). | Andrew Yourtchenko | 2015-06-24 | 1 | -2/+3 |
| | | | |||||
* | | | Make asyncdispatch.connectAddr IPv6-aware. | Andrew Yourtchenko | 2015-06-24 | 1 | -2/+2 |
| | | | |||||
* | | | lib/pure/a-c - Dropped 'T' from types | pdw | 2015-06-04 | 1 | -80/+83 |
| | | | |||||
* | | | Fix bug with asyncdispatch.async and discard statements. | Philip Witte | 2015-05-20 | 1 | -1/+1 |
| | | | |||||
* | | | Fixed 'milliseconds' spelling in code and docs | pdw | 2015-05-15 | 1 | -1/+1 |
|/ / | |||||
* | | Revert "Introduce FutureVar[T] to make recvLineInto safer." | def | 2015-04-26 | 1 | -31/+0 |
| | | | | | | | | This reverts commit 72b4912c84b16644657f94e54105739cba4b2457. | ||||
* | | Fix asyncdispatch on Windows. | Dominik Picheta | 2015-04-24 | 1 | -0/+111 |
| | | |||||
* | | Introduce FutureVar[T] to make recvLineInto safer. | Dominik Picheta | 2015-04-24 | 1 | -0/+31 |
|/ | | | | | | | | | | | FutureVar[T] is a new distinct Future type which is designed to be used for situations where the highest performance is needed. It reduces the number of Future allocations needed. It acts as a replacement for 'var' params in async procs. This commit modifies @def-'s PR in order to make it safer. The recvLineInto procedure has been modified to take a ``FutureVar[string]`` param instead of a ``ptr string`` param. | ||||
* | Fixed SIGPIPE on MacOS | yglukhov | 2015-04-08 | 1 | -1/+4 |
| | |||||
* | Fix infinite recursion when await is in except body. | Dominik Picheta | 2015-03-30 | 1 | -3/+3 |
| | |||||
* | Rename PNimrodNode to NimNode | def | 2015-03-17 | 1 | -14/+14 |
| | |||||
* | Get rid of 'result shadowed' warning for async procs | def | 2015-03-11 | 1 | -1/+12 |
| | |||||
* | fixes #1940; code breakage! stricter template evaluation | Araq | 2015-03-07 | 1 | -31/+31 |
| | |||||
* | Fix typos | Federico Ceratto | 2015-02-15 | 1 | -1/+1 |
| | |||||
* | Async await try statement fixes. | Dominik Picheta | 2015-02-09 | 1 | -10/+48 |
| | |||||
* | Happy new year! | Guillaume Gelin | 2015-01-06 | 1 | -1/+1 |
| | |||||
* | Close async socket on error (instead of looping on epoll_wait with 100% CPU) | def | 2015-01-04 | 1 | -0/+4 |
| | |||||
* | More deprecation warning fixes (asyncdispatch, uri). | Dominik Picheta | 2014-12-26 | 1 | -15/+15 |
| | |||||
* | fixes #1689 | Araq | 2014-12-10 | 1 | -9/+9 |
| | |||||
* | Fix some deprecation warnings caused by renames | def | 2014-11-13 | 1 | -22/+22 |
| | |||||
* | s/sock/fd/. Fixes #1487. | Dominik Picheta | 2014-09-27 | 1 | -44/+44 |
| | |||||
* | Adds socket creation for arbitrary domain, type and protocol. | Dominik Picheta | 2014-09-18 | 1 | -0/+11 |
| | |||||
* | Lots of documentation improvements for asyncdispatch. | Dominik Picheta | 2014-09-12 | 1 | -19/+121 |
| | | | | Ref #1487. | ||||
* | Fixes for new comment handling. | Dominik Picheta | 2014-09-09 | 1 | -0/+1 |
| | |||||
* | Implements getCurrentException for try in async procs. Ref #1487. | Dominik Picheta | 2014-09-09 | 1 | -5/+12 |
| | |||||
* | Multiple exception idents in except for async. Ref #1487. | Dominik Picheta | 2014-09-08 | 1 | -24/+39 |
| | |||||
* | Fixes httpclient SSL issue. Implements unbuffered SSL recv. Ref #1487. | Dominik Picheta | 2014-09-06 | 1 | -0/+4 |
| | |||||
* | Implemented asyncfile for Posix. | Dominik Picheta | 2014-09-05 | 1 | -3/+4 |
| | |||||
* | Added Windows asyncfile implementation. | Dominik Picheta | 2014-09-05 | 1 | -9/+8 |
| | |||||
* | Case sensitivity fixes for Posix. | Dominik Picheta | 2014-08-30 | 1 | -20/+20 |
| | |||||
* | Case fixes for network modules. | Dominik Picheta | 2014-08-30 | 1 | -32/+32 |
| | |||||
* | Merge branch 'devel' into bigbreak | Dominik Picheta | 2014-08-30 | 1 | -7/+17 |
|\ | | | | | | | | | Conflicts: lib/pure/ftpclient.nim | ||||
| * | Async macro fixes. Added waitFor. | Dominik Picheta | 2014-08-29 | 1 | -7/+17 |
| | | |||||
* | | big rename | Araq | 2014-08-28 | 1 | -79/+79 |
| | | |||||
* | | big rename | Araq | 2014-08-27 | 1 | -44/+48 |
|/ | |||||
* | Implements `or` and `and` for futures. Ref #1487. | Dominik Picheta | 2014-08-19 | 1 | -0/+21 |
| | |||||
* | Fixes #1158. | Dominik Picheta | 2014-08-14 | 1 | -3/+2 |
| | |||||
* | Added SafeDisconn for accept. | Dominik Picheta | 2014-08-10 | 1 | -13/+39 |
| |