summary refs log tree commit diff stats
path: root/lib/pure/asyncdispatch.nim
Commit message (Collapse)AuthorAgeFilesLines
* further progress on rst roles & directives (fix #17646) (#17659)Andrey Makarov2021-04-081-1/+1
| | | | | | | * further progress on rst roles & dir-s (fix #17646) * fix documents according to the messages * fix bug 17 from #17340
* Use `.. warning::` (#17320)konsumlamm2021-03-101-1/+1
|
* use .. warning:: (#17226)flywind2021-03-041-3/+3
| | | | | | | * remove unnecessary when statement * remove outdated codes * use warnings
* use single backtick (#17166)flywind2021-02-231-118/+118
|
* add -d:nimStrictMode in CI to keep code from regressing; fixes ↵Timothee Cour2021-02-171-1/+1
| | | | ConvFromXtoItselfNotNeeded, UnusedImport notes (#16764)
* Fix broken links in docs (#16336)Elliot Waite2020-12-141-1/+1
| | | | | * Fix broken links in docs * Fix rand HSlice links
* fixes #16154; underlying system.add for seq is the real cause; will be ↵Andreas Rumpf2020-11-271-2/+3
| | | | addressed in a follow-up PR (#16161)
* ported to FreeRTOSAraq2020-11-131-10/+12
|
* fixes 'nim doc'Araq2020-11-131-1/+1
|
* attempt to make asynchttpserver better; fixes #15925; [backport:1.0]Araq2020-11-131-0/+22
|
* ORC/ARC async progress (#15370)Andreas Rumpf2020-09-201-8/+7
| | | | | | | * ARC/ORC: fixes memory leak for empty seqs that have a non-zero capacity * async: minor refactorings * it helps to finish a refactoring
* ORC and stdlib optimizations (#15362)Andreas Rumpf2020-09-191-2/+6
|
* async: minor refactorings (#15354)Andreas Rumpf2020-09-181-15/+14
|
* export asyncdispatch handles (#15140)flywind2020-08-011-1/+1
| | | | | | | * improve epoll docs * export handles * add comments and changelog
* [Backport] Fixes callbacks being dropped on Linux/macOS/BSD. (#15012)Dominik Picheta2020-07-191-1/+6
| | | | | | | | | Fixes #15003. This is a serious bug which occurs when data cannot be read/sent immediately and there are a bunch of other read/write events pending. What happens is that the new events are dropped which results in the case of the reported bug resulted in some data not being sent (!).
* Removed asyncdispatch.newAsyncNativeSocket, was deprecated since 0.18 (#14854)Juan Carlos2020-06-301-10/+0
| | | Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* Fix asyncdispatch drain behavior (#14820) (#14838)Ray Imber2020-06-301-4/+9
| | | | | | | | | | | * Fix asyncdispatch drain behavior (#14820) * Changed test to use asyncCheck instead of discard after code review (#14820) * Added some debug statements to help understand what is happening in Azure. * Removed debug statements and increased timeouts by 1 order of magnitude to account for slow Azure VMs Co-authored-by: Ray Imber <ray@crankuptheamps.com>
* Remove deprecated stuff from stdlib (#14699)Miran2020-06-171-1/+1
| | | | | | | * update to the latest Jester * remove deprecated procs from some stdlib modules * 'criterion' is not maintained anymore and relies on obsolete stuff
* asyncdispatch, asyncnet: add inheritance control (#14362)alaviss2020-05-201-14/+57
| | | | | * asyncdispatch, asyncnet: add inheritance control * asyncnet, asyncdispatch: cleanup
* Fix #14289 (#14304) [backport]slangmgh2020-05-111-1/+2
|
* JS unittest stacktrace fix, cleanup js repr and inclrtl includes (#14168)hlaaftana2020-04-301-2/+0
|
* asyncdispatch: export Callback (#14042) [backport]alaviss2020-04-211-2/+2
| | | | | | This let us see the definition of `Callback` in docs, which is required to even make use of asyncdispatch. Ref #13539.
* asyncdispatch: get rid of erroneous set constructions (#13877)alaviss2020-04-051-5/+9
| | | Ref #13764
* asyncdispatch: fix erroneous set construction (#13765)alaviss2020-03-261-1/+3
| | | | | | | These constants were defined as `cint`. They can be huge on certain systems, such as Haiku, and trigger out-of-bounds errors in asyncdispatch. Ref #13764.
* fix deprecations and other warnings (#13748)Miran2020-03-251-5/+5
|
* fix #13218: avoid some irrelevant warnings for nim doc,rst2html,--app:lib, + ↵Timothee Cour2020-03-131-1/+1
| | | | | | | | other fixes (#13550) * fix #13218: avoid some irrelevant warnings for nim doc,rst2html * suppress warnRedefinitionOfLabel for nim doc * lots of fixes for UnusedImport warnings
* fixes async regressionAraq2020-03-111-1/+1
|
* fixes #13519Araq2020-03-111-1/+1
|
* ARC works for async on Windows (#13179)Andreas Rumpf2020-01-171-27/+29
|
* ARC: implemented a simple cycle detectorAraq2019-11-281-0/+2
|
* index out of bounds exception when data is empty (#12428)Jack Tang2019-11-221-9/+11
|
* async: cleaner solution that avoids GC_ref on strings which doesn't exist ↵Araq2019-11-131-6/+5
| | | | for --gc:arc
* Fix drain to correctly take into account hasPendingOperations and the ↵Ray Imber2019-10-101-2/+2
| | | | timeout value
* [backport] run nimpretty on asyncnarimiran2019-09-301-9/+9
|
* Fix spellings (#12277) [backport]Federico Ceratto2019-09-271-1/+1
|
* Fix issue with long wait for passed timer [bugfix] (#12221)PMunch2019-09-221-3/+9
| | | | | | | | | | | | | | | | | | | | | * Fix issue with long wait for passed timer [bugfix] This fixes a small issue where a timer that had been completed while code executed would still wait for more events before being considered completed. This would in some scenarios incur a 500ms delay to the completion of a timer. * Refactor logic into * Add test case based on original issue * Use longer timeouts to be more lenient in checking * Revert to short timeouts, but widen the accepted range * Widen accepted range further, it is meant to check for a 500ms delay after all * Increase poll timeout to make it easier to detect mistakes
* asyndispatch: removed deprecated setEvent procAraq2019-09-211-5/+1
|
* Use std/monotimes in the stdlibOscar Nihlgård2019-07-161-6/+10
|
* make more parts of the stdlib compile with --styleCheck:errorAraq2019-07-101-3/+3
|
* styleCheck: make the compiler and large parts of the stdlib compatible with ↵Araq2019-07-101-43/+43
| | | | --styleCheck:error
* async: more 'owned' annotationsAraq2019-07-091-13/+13
|
* newruntime for async (#11650)Andreas Rumpf2019-07-051-18/+18
| | | | | | | * fixes overloading resolution for passing owned(Future[string]) to Future[T] * WIP: make --newruntime work with .async * memtracker: make it compile again * make Nimble compile again
* [bugfix] Fixes async IO operations stalling even after socket is closed. ↵Dominik Picheta2019-06-121-44/+73
| | | | (#11232)
* Render deprecated pragmas (#8886)LemonBoy2019-06-031-3/+2
| | | | | | | | | * Render deprecated pragmas * fix the expected html * clean up the documentation regarding deprecations * fix typo * fix system.nim * fix random
* Fixes crashes when asyncdispatch.adjustTimeout returns a negative value. ↵Dominik Picheta2019-05-151-3/+2
| | | | (#11231)
* Implements pending future tracking in async.Dominik Picheta2019-05-061-0/+21
|
* Fix header inconsistencies in documentation (#11071)Zed2019-04-231-6/+6
|
* Documentation import fixes (#11070)Zed2019-04-211-17/+14
| | | | | | * Move asyncdispatch imports below introduction * Move nre imports below documentation
* fixes #10795Andreas Rumpf2019-03-061-5/+5
|
* Remove deprecated modules (asyncio, sockets, ftpclient) (#10401)Miran2019-01-221-42/+1
|