summary refs log tree commit diff stats
path: root/tests/async
Commit message (Collapse)AuthorAgeFilesLines
* Fix infinite recursion when await is in except body.Dominik Picheta2015-03-302-0/+28
|
* Async await try statement fixes.Dominik Picheta2015-02-092-1/+41
|
* Improved tasyncawait test.Dominik Picheta2014-12-261-3/+1
|
* Deprecated asyncio module. Fixed old tests.Dominik Picheta2014-12-262-5/+5
|
* More empty stmt fixes.Dominik Picheta2014-09-092-11/+4
|
* Fixes async tests.Dominik Picheta2014-09-093-10/+10
|
* Implements getCurrentException for try in async procs. Ref #1487.Dominik Picheta2014-09-091-2/+2
|
* Multiple exception idents in except for async. Ref #1487.Dominik Picheta2014-09-082-1/+52
|
* Implemented asyncfile for Posix.Dominik Picheta2014-09-051-5/+27
|
* Added Windows asyncfile implementation.Dominik Picheta2014-09-051-0/+14
|
* further adaptationsAraq2014-08-292-2/+2
|
* fix failed tests due to gcsafeAraq2014-08-122-9/+12
|
* Fixes incorrect async exception handling. Adds sleepAsync.Dominik Picheta2014-08-091-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 Picheta2014-07-133-5/+5
|
* Rename asyncdispatch.close to asyncdispatch.closeSocket.Dominik Picheta2014-05-231-3/+3
|
* Fix #1170.EXetoC2014-05-041-0/+39
|
* Fix #1171.EXetoC2014-05-031-0/+8
|
* Tester now appreciates the test target. Modified 'cmd' in specs.Dominik Picheta2014-04-162-3/+2
|
* Move asyncdispatch tests to asyncnet.Dominik Picheta2014-03-261-2/+0
|
* Moved the global dispatcher to asyncdispatch.Dominik Picheta2014-03-231-23/+22
|
* Fixes tasyncawait and the net module on Linux.Dominik Picheta2014-03-231-1/+1
|
* Copied most blocking socket operations to the net module.Dominik Picheta2014-03-221-3/+14
|
* PFuture[void] now works.Dominik Picheta2014-03-151-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 Picheta2014-03-141-3/+3
| | | | Fixes tasyncawait on linux.
* Fixed tasyncawait on Windows.Dominik Picheta2014-03-121-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 Picheta2014-03-111-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 Picheta2014-03-091-1/+9
|
* Implemented selector support for asyncio2.Dominik Picheta2014-02-221-2/+2
|
* Fix processing of 'await' with a nnkCall.Dominik Picheta2014-02-161-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 Picheta2014-02-161-0/+65
|
* new tester; all tests categorizedAraq2014-01-132-0/+169