Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | better nativestacktrace support; refs #15284; backport [1.2] (#15384) | Andreas Rumpf | 2020-09-22 | 1 | -3/+10 |
| | | | | | | | | | | | | | | | | | * nimStackTraceOverride: enable stack traces in exceptions This is a two-step stack trace collection scheme, because re-raised exceptions will collect multiple stack traces but use them rarely, when printing info about an uncaught exception, so it makes sense to only do the cheap stack unwinding all the time and the relatively expensive debugging information collection on-demand. `asyncfutures` implements its own `$` proc for printing `seq[StackTraceEntry]`, so we have to add the debugging info there, just like we do for the private `$` proc in `system/excpt`. * cleaned up PR #15284 Co-authored-by: Ștefan Talpalaru <stefantalpalaru@yahoo.com> | ||||
* | async: minor refactorings (#15354) | Andreas Rumpf | 2020-09-18 | 1 | -26/+8 |
| | |||||
* | change some Exceptions to CatchableError or Defect, fixes #10288 (#14069) | hlaaftana | 2020-04-22 | 1 | -1/+1 |
| | |||||
* | cycle breaker (#13593) | Andreas Rumpf | 2020-03-19 | 1 | -1/+1 |
| | | | | * cycle breaking as an alternative to cycle detection | ||||
* | async: use $ and not repr in debug mode | Araq | 2019-11-05 | 1 | -1/+1 |
| | |||||
* | [backport] run nimpretty on async | narimiran | 2019-09-30 | 1 | -8/+8 |
| | |||||
* | last stdlib cleanups | Araq | 2019-09-21 | 1 | -0/+9 |
| | |||||
* | make async tests green again | Andreas Rumpf | 2019-07-11 | 1 | -1/+5 |
| | |||||
* | styleCheck: make the compiler and large parts of the stdlib compatible with ↵ | Araq | 2019-07-10 | 1 | -3/+3 |
| | | | | --styleCheck:error | ||||
* | newruntime: async progress | Araq | 2019-07-09 | 1 | -8/+24 |
| | |||||
* | async: more 'owned' annotations | Araq | 2019-07-09 | 1 | -1/+2 |
| | |||||
* | newruntime for async (#11650) | Andreas Rumpf | 2019-07-05 | 1 | -3/+3 |
| | | | | | | | * 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 | -5/+7 |
| | | | | (#11232) | ||||
* | Implements pending future tracking in async. | Dominik Picheta | 2019-05-06 | 1 | -3/+48 |
| | |||||
* | complete future only once in `or` (fixes #8982) (#9632) | Miran | 2018-11-09 | 1 | -2/+3 |
| | | | | | | | | | * complete future only once in `or` Analogous to `and`. Credits to @k0zmo for proposing the solution. * add test | ||||
* | keep the order of the callbacks | narimiran | 2018-11-07 | 1 | -5/+11 |
| | |||||
* | docs: clarify `asyncCheck` vs `waitFor` | citycide | 2018-10-27 | 1 | -1/+2 |
| | |||||
* | stdlib: minor changes to avoid compiler warnings | Andreas Rumpf | 2018-09-19 | 1 | -1/+1 |
| | |||||
* | WIP: disallow 'nil' for strings and seqs | Andreas Rumpf | 2018-08-13 | 1 | -2/+2 |
| | |||||
* | remove deprecated stuff from the stdlib; introduce better deprecation warnings | Araq | 2018-05-05 | 1 | -2/+0 |
| | |||||
* | Make clearCallbacks() public. (#7753) | Eugene Kabanov | 2018-05-03 | 1 | -1/+1 |
| | |||||
* | Merge branch 'devel' into async-improvements | Dominik Picheta | 2018-01-17 | 1 | -12/+73 |
|\ | |||||
| * | Merge pull request #6962 from nim-lang/fixes/6100 | Dominik Picheta | 2018-01-10 | 1 | -3/+3 |
| |\ | | | | | | | Fixes #6100. | ||||
| | * | Fixes #6100. | Dominik Picheta | 2017-12-27 | 1 | -3/+3 |
| | | | |||||
| * | | Simplify async traceback processing. | Dominik Picheta | 2017-12-28 | 1 | -42/+15 |
| | | | |||||
| * | | made the logic correct | Andreas Rumpf | 2017-12-28 | 1 | -6/+5 |
| | | | |||||
| * | | attempt to get the stack trace logic right; fix boundaries | Araq | 2017-12-28 | 1 | -2/+2 |
| | | | |||||
| * | | attempt to get the stack trace logic right | Araq | 2017-12-28 | 1 | -14/+15 |
| | | | |||||
| * | | optimized friendly stack traces | Araq | 2017-12-28 | 1 | -29/+19 |
| | | | |||||
| * | | No need to recurse now that mergeEntries doesn't do any pattern matching. | Dominik Picheta | 2017-12-28 | 1 | -1/+2 |
| | | | |||||
| * | | Show only detailed async tracebacks. | Dominik Picheta | 2017-12-28 | 1 | -62/+2 |
| | | | |||||
| * | | Attempt to provide simplified and detailed tracebacks | Dominik Picheta | 2017-12-28 | 1 | -16/+34 |
| | | | |||||
| * | | Rename cb0 to asyncProcName_continue + other improvements to async tracebacks. | Dominik Picheta | 2017-12-28 | 1 | -35/+62 |
| | | | |||||
| * | | Go through the re-raise stacks for more detailed tracebacks. | Dominik Picheta | 2017-12-28 | 1 | -12/+43 |
| | | | |||||
| * | | Refine the async tracebacks. | Dominik Picheta | 2017-12-28 | 1 | -7/+29 |
| | | | |||||
| * | | Implement some simple pattern-based transformation for async tracebacks. | Dominik Picheta | 2017-12-28 | 1 | -9/+68 |
| |/ | |||||
* | | Merge branch 'devel' into async-improvements | Andreas Rumpf | 2017-12-11 | 1 | -2/+2 |
|\| | |||||
| * | Use addCallback rather than callback= in asyncfutures.all() (#6850) | Mathias Stearn | 2017-12-09 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | * Use addCallback rather than callback= in asyncfutures.all() Addresses part of #6849 * Stop using do notation for #6849 * Update example style | ||||
* | | Implements ``asyncdispatch.getIoHandler`` and assert on nil futures. | Dominik Picheta | 2017-11-24 | 1 | -0/+1 |
|/ | |||||
* | make asyncfutures.complete compile | Erik Johansson Andersson | 2017-07-18 | 1 | -2/+1 |
| | |||||
* | asyncdispatch: formatting fixes | Michał Zieliński | 2017-07-12 | 1 | -9/+13 |
| | |||||
* | asyncdispatch: add callSoon getter/setter, renames | Michał Zieliński | 2017-07-06 | 1 | -3/+14 |
| | |||||
* | Future: support for multiple callbacks | Michał Zieliński | 2017-07-05 | 1 | -21/+62 |
| | |||||
* | split FutureStream from asyncfutures | Michał Zieliński | 2017-07-05 | 1 | -101/+2 |
| | |||||
* | asyncdispatch: split asyncfutures into its own module | Michał Zieliński | 2017-07-05 | 1 | -0/+418 |
| | | | | This slightly changes behaviour of callSoon - before loop is initialized, callSoon will call the function immediately. | ||||
* | made async compile again | Andreas Rumpf | 2016-09-26 | 1 | -293/+0 |
| | |||||
* | revert brainless changes | Andreas Rumpf | 2016-09-26 | 1 | -2/+2 |
| | |||||
* | make travis green | Andreas Rumpf | 2016-09-26 | 1 | -2/+2 |
| | |||||
* | Moves async futures into asyncfutures module. | Dominik Picheta | 2016-09-25 | 1 | -0/+293 |