summary refs log tree commit diff stats
path: root/lib/upcoming
Commit message (Collapse)AuthorAgeFilesLines
* asyncdispatch: formatting fixesMichał Zieliński2017-07-121-1/+1
|
* asyncdispatch: add callSoon getter/setter, renamesMichał Zieliński2017-07-061-5/+5
|
* split FutureStream from asyncfuturesMichał Zieliński2017-07-051-4/+5
|
* asyncdispatch: split asyncfutures into its own moduleMichał Zieliński2017-07-051-10/+20
| | | | This slightly changes behaviour of callSoon - before loop is initialized, callSoon will call the function immediately.
* Remove unused oids import from asyncdispatch (#5811)Ruslan Mustakov2017-05-141-1/+1
|
* setGlobalDispatcher()Christopher Dunn2017-05-071-0/+10
|
* Implement dial, support IPv6 in httpclient (#5763)Ruslan Mustakov2017-05-021-149/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 async timers execution. (#5448)Andrey Sobolev2017-03-011-1/+5
|
* upcoming/asyncdispatch: remove unused queues import againAraq2017-02-271-1/+1
|
* Fixes upcoming tests.Dominik Picheta2017-02-261-1/+1
|
* Various fixes to FutureStreams based on PR feedback.Dominik Picheta2017-02-261-0/+11
|
* Fixes tests.Dominik Picheta2017-02-111-1/+1
|
* cleaned up accept-close-race fix #5279Araq2017-02-071-1/+1
|
* Merge branch 'accept-close-race-5279' of https://github.com/endragor/Nim ↵Araq2017-02-071-20/+23
|\ | | | | | | into endragor-accept-close-race-5279
| * Fix Windows accept() to fail future instead of raisingRuslan Mustakov2017-02-011-20/+23
| | | | | | | | Resolves: #5279
* | Fix #5331 and #5332.cheatfate2017-02-041-10/+15
|/
* Fixes for upcoming asyncdispatch and ioselectors. (#5309)Eugene Kabanov2017-02-011-27/+37
|
* deprecated nativesockets.dealloc, use freeAddrInfo instead; fixed stdlib ↵Andreas Rumpf2017-01-301-2/+2
| | | | deprecations
* asyncdispatch exception memory leaks fixes.cheatfate2017-01-271-25/+32
|
* Fix #5128, #5184. (#5214)Eugene Kabanov2017-01-161-77/+100
| | | | | | | | | | | | * 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.
* Add pending operations presence check function, fixes #5155Anatoly Galiulin2016-12-291-1/+11
|
* Fix compilation errors and enable async events on partially supported systems.cheatfate2016-12-071-8/+12
|
* Add comments to latest fixes.cheatfate2016-11-301-13/+12
| | | | | One more fix. Some artifacts removed.
* fix upcoming/asyncdispatch properlyAraq2016-11-301-3/+1
|
* upcoming/asyncdispatch: addTimer and addEvent fixesAraq2016-11-301-5/+14
|
* updated upcoming/asyncdispatchAraq2016-11-291-1/+1
|
* Added deques module, deprecating queuesRuslan Mustakov2016-11-241-5/+5
|
* make semantic equal to current versioncheatfate2016-11-201-36/+60
|
* Fix handle of error only events.cheatfate2016-10-161-12/+12
|
* Fix upcoming to pass tpolltimeouts.nim testcheatfate2016-09-291-31/+32
|
* made async compile againAndreas Rumpf2016-09-261-1/+1
|
* Moves async futures into asyncfutures module.Dominik Picheta2016-09-251-280/+1
|
* Fixes Futures' `or` operation so that asyncftpclient compiles.Dominik Picheta2016-09-171-3/+3
|
* Fixes #4170.Dominik Picheta2016-09-171-11/+22
|
* Borrow SelectEvent `==`.cheatfate2016-09-071-0/+1
|
* Merge branch 'async_buffers_v2' of https://github.com/vegansk/Nim into ↵Dominik Picheta2016-09-061-8/+82
|\ | | | | | | | | | | vegansk-async_buffers_v2 Merges #4683.
| * Revert function names scheme due to the @dom96 commentAnatoly Galiulin2016-09-061-18/+6
| |
| * Restore ``recvInto`` for backwards compatibilityAnatoly Galiulin2016-09-061-0/+12
| |
| * Add async IO operations with buffers on files and socketsAnatoly Galiulin2016-09-061-10/+84
| |
* | Fix windows issues.cheatfate2016-09-061-25/+34
|/ | | | | | Fix semantic of AsyncEvent close/unregister #4694. Fix #4697. Added first test.
* Merge branch 'async-readwrite-no-conflict' of ↵Andreas Rumpf2016-09-041-2/+8
|\ | | | | | | https://github.com/endragor/Nim into endragor-async-readwrite-no-conflict
| * Async read/write procedures no longer replace each other in upcoming ↵Ruslan Mustakov2016-09-021-2/+8
| | | | | | | | asyncdispatch
* | async: transfer all await/async macro related code to asyncmacro.nim module. ↵Eugene Kabanov2016-09-031-360/+2
| | | | | | | | | | | | | | | | (#4704) * Transfer all async macro related code to asyncmacro.nim. * Make tests green.
* | Make upcoming version to be up to date with current version.cheatfate2016-09-031-38/+43
| |
* | Protect data argument for GC.cheatfate2016-08-301-1/+6
|/
* Fixed infinite recursion in setEvent and close procs in upcoming asyncdispatchRuslan Mustakov2016-08-231-2/+2
|
* AsyncEvent is now exported on all platforms and created with newAsyncEvent ↵Ruslan Mustakov2016-08-151-3/+3
| | | | proc in upcoming asyncdispatch
* ioselectors separated and refactored version.cheatfate2016-07-051-0/+2154
adopted asyncdispatch version