Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | `await x` where x is Fut var now reads after yield. Fixes #3964. | Dominik Picheta | 2016-04-04 | 1 | -1/+1 |
| | |||||
* | Define ports as uint16s to fix #3484 | Josep Sanjuas | 2016-03-27 | 1 | -1/+1 |
| | |||||
* | fixes async regression | Andreas Rumpf | 2016-01-11 | 1 | -0/+17 |
| | |||||
* | fixes #2007 | Andreas Rumpf | 2016-01-05 | 1 | -0/+55 |
| | |||||
* | Rename rawsockets module to nativesockets | Adam Strzelecki | 2015-10-03 | 3 | -6/+6 |
| | | | | | | | | | | This change was done to avoid confusion with TCP/IP raw sockets. Native sockets module represents handling native system low level socket API in general and is not just limited anyhow to TCP/IP raw sockets. A stub lib/deprecated/pure/rawsockets.nim module has been added as compatibility layer for old code using rawsockets, so this change will not break existing code. | ||||
* | Fixes failing async tests on Linux. | Dominik Picheta | 2015-09-11 | 2 | -4/+4 |
| | |||||
* | Improve asyncdispatch error messages, fix some tests on Windows. | Dominik Picheta | 2015-09-11 | 3 | -3/+5 |
| | |||||
* | tests: Trim .nim files trailing whitespace | Adam Strzelecki | 2015-09-04 | 5 | -12/+12 |
| | | | | via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} + | ||||
* | Check for async errors in | Kay Zheng | 2015-04-18 | 1 | -0/+33 |
| | |||||
* | Only run the test for the fixed version of poll(...) | Kay Zheng | 2015-04-17 | 1 | -33/+36 |
| | |||||
* | Add a test case for the EvError handling issue | Kay Zheng | 2015-04-17 | 1 | -0/+62 |
| | |||||
* | Fix infinite recursion when await is in except body. | Dominik Picheta | 2015-03-30 | 2 | -0/+28 |
| | |||||
* | Async await try statement fixes. | Dominik Picheta | 2015-02-09 | 2 | -1/+41 |
| | |||||
* | Improved tasyncawait test. | Dominik Picheta | 2014-12-26 | 1 | -3/+1 |
| | |||||
* | Deprecated asyncio module. Fixed old tests. | Dominik Picheta | 2014-12-26 | 2 | -5/+5 |
| | |||||
* | More empty stmt fixes. | Dominik Picheta | 2014-09-09 | 2 | -11/+4 |
| | |||||
* | Fixes async tests. | Dominik Picheta | 2014-09-09 | 3 | -10/+10 |
| | |||||
* | Implements getCurrentException for try in async procs. Ref #1487. | Dominik Picheta | 2014-09-09 | 1 | -2/+2 |
| | |||||
* | Multiple exception idents in except for async. Ref #1487. | Dominik Picheta | 2014-09-08 | 2 | -1/+52 |
| | |||||
* | Implemented asyncfile for Posix. | Dominik Picheta | 2014-09-05 | 1 | -5/+27 |
| | |||||
* | Added Windows asyncfile implementation. | Dominik Picheta | 2014-09-05 | 1 | -0/+14 |
| | |||||
* | further adaptations | Araq | 2014-08-29 | 2 | -2/+2 |
| | |||||
* | fix failed tests due to gcsafe | Araq | 2014-08-12 | 2 | -9/+12 |
| | |||||
* | Fixes incorrect async exception handling. Adds sleepAsync. | Dominik Picheta | 2014-08-09 | 1 | -0/+38 |
| | | | | | | | | | | | | | | The tasyncexceptions test has been added which tests for this incorrect exception handling behaviour. The problem was that the exception was raised inside a callback which was called from a previously finished async procedure. This caused a "Future already finished" error. The fix was to simply reraise the exception if the retFutureSym is already finished. sleepAsync was added to help with the reproduction of this test. It should also be useful for users however. Finally some debug information was added to futures to help with future bugs. | ||||
* | Fix broken async tests. | Dominik Picheta | 2014-07-13 | 3 | -5/+5 |
| | |||||
* | Rename asyncdispatch.close to asyncdispatch.closeSocket. | Dominik Picheta | 2014-05-23 | 1 | -3/+3 |
| | |||||
* | Fix #1170. | EXetoC | 2014-05-04 | 1 | -0/+39 |
| | |||||
* | Fix #1171. | EXetoC | 2014-05-03 | 1 | -0/+8 |
| | |||||
* | Tester now appreciates the test target. Modified 'cmd' in specs. | Dominik Picheta | 2014-04-16 | 2 | -3/+2 |
| | |||||
* | Move asyncdispatch tests to asyncnet. | Dominik Picheta | 2014-03-26 | 1 | -2/+0 |
| | |||||
* | Moved the global dispatcher to asyncdispatch. | Dominik Picheta | 2014-03-23 | 1 | -23/+22 |
| | |||||
* | Fixes tasyncawait and the net module on Linux. | Dominik Picheta | 2014-03-23 | 1 | -1/+1 |
| | |||||
* | Copied most blocking socket operations to the net module. | Dominik Picheta | 2014-03-22 | 1 | -3/+14 |
| | |||||
* | PFuture[void] now works. | Dominik Picheta | 2014-03-15 | 1 | -10/+12 |
| | | | | | Return types can also be completely ommitted. PFuture[void] will then be implicitly deduced. | ||||
* | File descriptors are now removed from fds list explicitly in close(). | Dominik Picheta | 2014-03-14 | 1 | -3/+3 |
| | | | | Fixes tasyncawait on linux. | ||||
* | Fixed tasyncawait on Windows. | Dominik Picheta | 2014-03-12 | 1 | -2/+2 |
| | | | | | | Implicit registration of an fd now only occurs when a new socket is created (in socket() or accept()). This makes the implementation much simpler, changes to the linux version will follow. | ||||
* | tasyncawait now works on Linux. | Dominik Picheta | 2014-03-11 | 1 | -8/+1 |
| | | | | | | Reworked detection of a file descriptor being closed with epoll (in the case of sockets it is when the remote host disconnects). Ensured that events are only updated when they change. | ||||
* | Fixes to asyncio2 on Linux. | Dominik Picheta | 2014-03-09 | 1 | -1/+9 |
| | |||||
* | Implemented selector support for asyncio2. | Dominik Picheta | 2014-02-22 | 1 | -2/+2 |
| | |||||
* | Fix processing of 'await' with a nnkCall. | Dominik Picheta | 2014-02-16 | 1 | -2/+1 |
| | | | | | Specifically, ``discard readMessages(disp, await disp.accept(server))`` works now, i.e. using 'await' as one of the params to a proc call. | ||||
* | Added await test. | Dominik Picheta | 2014-02-16 | 1 | -0/+65 |
| | |||||
* | new tester; all tests categorized | Araq | 2014-01-13 | 2 | -0/+169 |