Dominik Picheta
b4366366d1
Clean createVar template.
2014-05-25 13:09:18 +01:00
Dominik Picheta
d54b902441
Modified future behaviour when completing with an exception.
...
Futures will now raise the exception if they did not have a callback
associated with them.
2014-05-24 15:55:39 +01:00
Dominik Picheta
b386d38208
Add asyncdispatch.unregister.
2014-05-24 15:55:37 +01:00
Dominik Picheta
6a38d36239
Rename asyncdispatch.close to asyncdispatch.closeSocket.
2014-05-23 13:14:28 +01:00
EXetoC
b1c865a656
Fix #1170 .
2014-05-04 01:52:42 +02:00
EXetoC
8802688e9f
Fix #1171 .
2014-05-03 23:32:14 +02:00
Dominik Picheta
a21289f5d5
Await is now supported in try statements.
2014-05-01 23:27:43 +01:00
Dominik Picheta
6c4870d812
Get rid unsafe pointer type in GetQueuedCompletionStatus.
2014-04-30 17:38:44 +01:00
Araq
d438ecc246
async might work now reliably
2014-04-30 00:52:58 +02:00
Araq
e6d17e6273
made large parts of the stdlib gcsafe
2014-04-20 20:01:24 +02:00
Dominik Picheta
3612aca5fe
Implemented buffering for asynchronous sockets.
2014-04-13 14:18:47 +01:00
Andreas Rumpf
fe387888bd
fixes for asynchttpserver
2014-04-13 00:39:15 +02:00
Dominik Picheta
369d8c57ae
Disable async macro code output. Added some WSA error codes to winlean.
2014-04-07 20:46:47 +01:00
Dominik Picheta
d2593e1d62
setLen now used on asyncdispatch.recv's return value on Linux.
...
This fixes issues with the async httpclient.
2014-04-06 22:06:25 +01:00
Dominik Picheta
b2fd562983
Updates docs and news.
2014-04-06 20:46:31 +01:00
Dominik Picheta
b23dce03a1
Get rid of incorrect assert in asyncdispatch.
2014-04-06 19:26:21 +01:00
Araq
a4ccd7b865
doc generation for asyncdispatch works
2014-04-06 19:36:29 +02:00
Dominik Picheta
d0478a5637
Asyncdispatch fixes.
...
``return`` is now transformed into a ``return nil`` in the async iterator
to work around the no-yield in ``try .. except ..`` closure iterator
limitation.
2014-04-05 20:27:42 +01:00
Dominik Picheta
4399895d2e
Async httpclient should now work. Changed recv behaviour.
...
asyncdispatch.recv no longer guarantees that it will read ALL the data
requested. The underlying WinAPI function doesn't guarantee this and it
already wasn't guaranteed anyway since the socket could disconnect
mid-transmission.
2014-04-03 20:02:42 +01:00
Dominik Picheta
e4e87f1cb2
Refactored createCb in asyncdispatch.
2014-04-02 21:28:45 +01:00
Dominik Picheta
227c54c786
Replaced idents with genSym in asyncdispatch.
2014-03-29 21:28:01 +00:00
Dominik Picheta
783087fd57
Implemented async for httpclient.
2014-03-26 16:43:32 +00:00
Dominik Picheta
4ed1ac0078
Move asyncdispatch tests to asyncnet.
2014-03-26 10:31:16 +00:00
Dominik Picheta
d310b01db1
Moved the global dispatcher to asyncdispatch.
2014-03-23 18:24:11 +00:00
Dominik Picheta
192e11e7b7
Many renames. Created high level asyncnet module.
2014-03-22 22:33:53 +00:00