Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | export asyncdispatch handles (#15140) | flywind | 2020-08-01 | 1 | -1/+1 |
| | | | | | | | * improve epoll docs * export handles * add comments and changelog | ||||
* | [Backport] Fixes callbacks being dropped on Linux/macOS/BSD. (#15012) | Dominik Picheta | 2020-07-19 | 1 | -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 Carlos | 2020-06-30 | 1 | -10/+0 |
| | | | Co-authored-by: Andreas Rumpf <rumpf_a@web.de> | ||||
* | Fix asyncdispatch drain behavior (#14820) (#14838) | Ray Imber | 2020-06-30 | 1 | -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) | Miran | 2020-06-17 | 1 | -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) | alaviss | 2020-05-20 | 1 | -14/+57 |
| | | | | | * asyncdispatch, asyncnet: add inheritance control * asyncnet, asyncdispatch: cleanup | ||||
* | Fix #14289 (#14304) [backport] | slangmgh | 2020-05-11 | 1 | -1/+2 |
| | |||||
* | JS unittest stacktrace fix, cleanup js repr and inclrtl includes (#14168) | hlaaftana | 2020-04-30 | 1 | -2/+0 |
| | |||||
* | asyncdispatch: export Callback (#14042) [backport] | alaviss | 2020-04-21 | 1 | -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) | alaviss | 2020-04-05 | 1 | -5/+9 |
| | | | Ref #13764 | ||||
* | asyncdispatch: fix erroneous set construction (#13765) | alaviss | 2020-03-26 | 1 | -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) | Miran | 2020-03-25 | 1 | -5/+5 |
| | |||||
* | fix #13218: avoid some irrelevant warnings for nim doc,rst2html,--app:lib, + ↵ | Timothee Cour | 2020-03-13 | 1 | -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 regression | Araq | 2020-03-11 | 1 | -1/+1 |
| | |||||
* | fixes #13519 | Araq | 2020-03-11 | 1 | -1/+1 |
| | |||||
* | ARC works for async on Windows (#13179) | Andreas Rumpf | 2020-01-17 | 1 | -27/+29 |
| | |||||
* | ARC: implemented a simple cycle detector | Araq | 2019-11-28 | 1 | -0/+2 |
| | |||||
* | index out of bounds exception when data is empty (#12428) | Jack Tang | 2019-11-22 | 1 | -9/+11 |
| | |||||
* | async: cleaner solution that avoids GC_ref on strings which doesn't exist ↵ | Araq | 2019-11-13 | 1 | -6/+5 |
| | | | | for --gc:arc | ||||
* | Fix drain to correctly take into account hasPendingOperations and the ↵ | Ray Imber | 2019-10-10 | 1 | -2/+2 |
| | | | | timeout value | ||||
* | [backport] run nimpretty on async | narimiran | 2019-09-30 | 1 | -9/+9 |
| | |||||
* | Fix spellings (#12277) [backport] | Federico Ceratto | 2019-09-27 | 1 | -1/+1 |
| | |||||
* | Fix issue with long wait for passed timer [bugfix] (#12221) | PMunch | 2019-09-22 | 1 | -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 proc | Araq | 2019-09-21 | 1 | -5/+1 |
| | |||||
* | Use std/monotimes in the stdlib | Oscar Nihlgård | 2019-07-16 | 1 | -6/+10 |
| | |||||
* | make more parts of the stdlib compile with --styleCheck:error | Araq | 2019-07-10 | 1 | -3/+3 |
| | |||||
* | styleCheck: make the compiler and large parts of the stdlib compatible with ↵ | Araq | 2019-07-10 | 1 | -43/+43 |
| | | | | --styleCheck:error | ||||
* | async: more 'owned' annotations | Araq | 2019-07-09 | 1 | -13/+13 |
| | |||||
* | newruntime for async (#11650) | Andreas Rumpf | 2019-07-05 | 1 | -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 Picheta | 2019-06-12 | 1 | -44/+73 |
| | | | | (#11232) | ||||
* | Render deprecated pragmas (#8886) | LemonBoy | 2019-06-03 | 1 | -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 Picheta | 2019-05-15 | 1 | -3/+2 |
| | | | | (#11231) | ||||
* | Implements pending future tracking in async. | Dominik Picheta | 2019-05-06 | 1 | -0/+21 |
| | |||||
* | Fix header inconsistencies in documentation (#11071) | Zed | 2019-04-23 | 1 | -6/+6 |
| | |||||
* | Documentation import fixes (#11070) | Zed | 2019-04-21 | 1 | -17/+14 |
| | | | | | | * Move asyncdispatch imports below introduction * Move nre imports below documentation | ||||
* | fixes #10795 | Andreas Rumpf | 2019-03-06 | 1 | -5/+5 |
| | |||||
* | Remove deprecated modules (asyncio, sockets, ftpclient) (#10401) | Miran | 2019-01-22 | 1 | -42/+1 |
| | |||||
* | Merge async common into asyncdispatch. | Dominik Picheta | 2018-12-07 | 1 | -2/+211 |
| | |||||
* | removes deprecated T/P types | Araq | 2018-11-16 | 1 | -3/+0 |
| | |||||
* | export `asyncdispatch.callSoon` (fixes #7192) | narimiran | 2018-11-12 | 1 | -3/+4 |
| | |||||
* | docs: clarify `asyncCheck` vs `waitFor` | citycide | 2018-10-27 | 1 | -1/+3 |
| | |||||
* | stdlib: minor changes to avoid compiler warnings | Andreas Rumpf | 2018-09-19 | 1 | -2/+2 |
| | |||||
* | Handle fut.failed in asyncdispatch.WithTimeout | Jedrzej Nowak | 2018-09-02 | 1 | -1/+5 |
| | | | | Fixes: #8839 | ||||
* | Process timers before and after `select`. Fixes flaky #7758 test. (#8750) | Dominik Picheta | 2018-08-25 | 1 | -19/+24 |
| | |||||
* | Don't skip poll() when no handles are present. (#8727) | Dominik Picheta | 2018-08-23 | 1 | -74/+72 |
| | | | | | | | | | | | Fixes #7886. Fixes #7758. Fixes #6929. Fixes #3909. Replaces #8209. | ||||
* | Allow float argument to sleepAsync() to allow sub-millisecond resolution | Ico Doornekamp | 2018-02-23 | 1 | -1/+1 |
| | |||||
* | Fixes #4995. (#7157) | Dominik Picheta | 2018-02-13 | 1 | -1/+5 |
| | |||||
* | Revert 3db460f5045e790b54ea382 as requested by @Araq. | Dominik Picheta | 2018-01-28 | 1 | -20/+8 |
| | |||||
* | Merge branch 'devel' into async-improvements | Dominik Picheta | 2018-01-17 | 1 | -12/+33 |
|\ | |||||
| * | Add hasPendingOperations check to asyncdispatch.drain | Ruslan Mustakov | 2017-12-30 | 1 | -1/+1 |
| | |