Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ref #5617 add lineinfo to complete (#16102) | flywind | 2020-11-23 | 1 | -3/+8 |
| | |||||
* | fix #9695 asyncmacro: tfuturevar fails when activated [backport: 1.0] (#16090) | flywind | 2020-11-22 | 1 | -1/+2 |
| | | | | | | | * fix asyncmacro * Apply suggestions from code review * Update lib/pure/asyncmacro.nim | ||||
* | fixes #15804 (#15820) | Andreas Rumpf | 2020-11-02 | 1 | -12/+9 |
| | | | | | | | | | * fixes #15804 * fix the existing test * add the testcase for #15804 Co-authored-by: narimiran <narimiran@disroot.org> | ||||
* | async: removed the 'unown' references, async never worked with --newruntime ↵ | Andreas Rumpf | 2020-09-20 | 1 | -6/+5 |
| | | | | anyway and --newruntime is dead (#15374) | ||||
* | fix #14846; add macros.extractDocCommentsAndRunnables (#14849) | Timothee Cour | 2020-07-01 | 1 | -3/+3 |
| | | | | | | | | | * fix #14846; add macros.extractDocCommentsAndRunnables * fixup * update tests * address comment | ||||
* | fix #13899 defer now works with async (#14723) | Timothee Cour | 2020-06-19 | 1 | -0/+3 |
| | |||||
* | Disable unused warnings for error await template too (#14531) | Danil Yarantsev | 2020-06-01 | 1 | -1/+1 |
| | |||||
* | Disable unused warnings for await in async macro (#14517) | Danil Yarantsev | 2020-05-31 | 1 | -2/+2 |
| | | | | | * Disable unused warnings for await in async macro * Remove used for the error template | ||||
* | discardable async procs are now an error (#14176) | hlaaftana | 2020-05-01 | 1 | -8/+14 |
| | | | | * add discard warning in manual | ||||
* | Error -> Defect for defects (#13908) | Jacek Sieka | 2020-04-28 | 1 | -2/+2 |
| | | | | | | | | | | | | | | * Error -> Defect for defects The distinction between Error and Defect is subjective, context-dependent and somewhat arbitrary, so when looking at an exception, it's hard to guess what it is - this happens often when looking at a `raises` list _without_ opening the corresponding definition and digging through layers of inheritance. With the help of a little consistency in naming, it's at least possible to start disentangling the two error types and the standard lib can set a good example here. | ||||
* | Make await a template (#12085) | Alexander Ivanov | 2020-04-25 | 1 | -132/+30 |
| | | | | | * Make await a template * Generate await inside async/multisync | ||||
* | Fix #13889 with testcase (#13896) [backport] | Clyybber | 2020-04-06 | 1 | -1/+1 |
| | | | | | | | | | * Fix https://github.com/nim-lang/Nim/issues/13889 * Add testcase * Reduce test time Co-authored-by: Elie Zedeck RANDRIAMIANDRIRAY <elie.zedeck@gmail.com> | ||||
* | macros for proc types, macros for types (#13778) | Andreas Rumpf | 2020-03-31 | 1 | -0/+6 |
| | | | | | | | | | * new minor feature: macros for proc types, to be documented * Finished the implementation and added tests * [skip ci] Describe the new custom pragmas in the manual and the changelog Co-authored-by: Zahary Karadjov <zahary@gmail.com> | ||||
* | fixes #13519 | Araq | 2020-03-11 | 1 | -1/+1 |
| | |||||
* | [backport] run nimpretty on async | narimiran | 2019-09-30 | 1 | -9/+11 |
| | |||||
* | async macro: general stability improvements [bugfix] (#11787) | Andreas Rumpf | 2019-07-19 | 1 | -10/+13 |
| | |||||
* | newruntime: progress to make 'async' work with --newruntime | Araq | 2019-07-15 | 1 | -7/+4 |
| | |||||
* | make async tests green again | Andreas Rumpf | 2019-07-11 | 1 | -2/+2 |
| | |||||
* | make more parts of the stdlib compile with --styleCheck:error | Araq | 2019-07-10 | 1 | -1/+1 |
| | |||||
* | newruntime: async progress | Araq | 2019-07-09 | 1 | -2/+2 |
| | |||||
* | asyncmacro produces 'owned' types | Araq | 2019-07-09 | 1 | -2/+2 |
| | |||||
* | newruntime for async (#11650) | Andreas Rumpf | 2019-07-05 | 1 | -1/+4 |
| | | | | | | | * 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 | ||||
* | Fix header inconsistencies in documentation (#11071) | Zed | 2019-04-23 | 1 | -2/+0 |
| | |||||
* | Small change in how tuples are handled in async macro | LemonBoy | 2019-02-04 | 1 | -7/+7 |
| | | | | A small change that brings no functional change beside a flatter tree. | ||||
* | Restore the docstring during the .async. transform (#10404) [backport] | LemonBoy | 2019-01-22 | 1 | -0/+6 |
| | | | Fixes #9816 | ||||
* | asyncmacro: add nnkSym support for getName() (#9204) | alaviss | 2018-10-09 | 1 | -1/+1 |
| | | | Fixes #9201 | ||||
* | Fix regression w/ templates defined in async proc | LemonBoy | 2018-10-03 | 1 | -1/+1 |
| | |||||
* | Skip nested procedures in .async. macro | LemonBoy | 2018-09-22 | 1 | -0/+3 |
| | | | | Fixes #3075 | ||||
* | Minor fixes for asyncjs (#8894) | LemonBoy | 2018-09-07 | 1 | -1/+1 |
| | | | | | | | | | | * Minor fixes for asyncjs Mark internal procedures as used Allow .async. for more node kinds Make .async. work for nkStmtList * Fix logic error in both the async macros | ||||
* | Rip out the `try` transformation in the async macro. | Dominik Picheta | 2018-06-06 | 1 | -105/+6 |
| | |||||
* | Fix some usages of typedesc in async procs | Zahary Karadjov | 2018-04-13 | 1 | -1/+3 |
| | | | | | This also fixes a compilation error in modules, based only on the new async module (i.e. not importing the full asyncdispatch) | ||||
* | fix deprecation warnings in asyncmacro and htmlgen (#7573) | Arne Döring | 2018-04-12 | 1 | -20/+20 |
| | | | | | | * fix deprecation warnings in asyncmacro and htmlgen * removed todo | ||||
* | Merge pull request #6962 from nim-lang/fixes/6100 | Dominik Picheta | 2018-01-10 | 1 | -0/+6 |
|\ | | | | | Fixes #6100. | ||||
| * | Fixes #6100. | Dominik Picheta | 2017-12-27 | 1 | -0/+6 |
| | | |||||
* | | optimized friendly stack traces | Araq | 2017-12-28 | 1 | -0/+2 |
| | | |||||
* | | Rename cb0 to asyncProcName_continue + other improvements to async tracebacks. | Dominik Picheta | 2017-12-28 | 1 | -6/+7 |
|/ | |||||
* | Remove unneeded comment #6708 | Anatoly Galiulin | 2017-11-13 | 1 | -3/+0 |
| | |||||
* | Fix parameter types splitting in multisync macro #6708 | Anatoly Galiulin | 2017-11-09 | 1 | -19/+8 |
| | |||||
* | work in progress: new implementation for 'a[^1]' | Andreas Rumpf | 2017-10-29 | 1 | -7/+7 |
| | |||||
* | revert accidentical asyncmacro change | Andreas Rumpf | 2017-09-21 | 1 | -1/+1 |
| | |||||
* | introduce OnHeapNew and rename TLoc.s to TLoc.storage | Andreas Rumpf | 2017-09-21 | 1 | -1/+1 |
| | |||||
* | workaround so doc2 asynchttpserver works again | Andreas Rumpf | 2017-07-26 | 1 | -3/+3 |
| | |||||
* | Suppress "pointless conversion" hint (#6103) | Yuriy Glukhov | 2017-07-15 | 1 | -0/+2 |
| | |||||
* | Fixes #5738 (#6059) | Yuriy Glukhov | 2017-07-15 | 1 | -3/+7 |
| | |||||
* | Fixes #5995 | Yuriy Glukhov | 2017-06-18 | 1 | -1/+1 |
| | |||||
* | Fixes regression introduced by #5739. Improves newNimNode proc. | Dominik Picheta | 2017-05-17 | 1 | -1/+1 |
| | |||||
* | Remove processing hints for async procs. | Dominik Picheta | 2017-05-16 | 1 | -3/+0 |
| | |||||
* | Async macro fixes (#5739) | Yuriy Glukhov | 2017-05-16 | 1 | -20/+18 |
| | |||||
* | Fixes the order in which FutureVar and return completions are made. | Dominik Picheta | 2017-03-27 | 1 | -10/+17 |
| | | | | | | | | | This caused a pretty bad and subtle bug in the asynchttpserver. As far as I can understand, the fact that the returned future was being completed first meant that the underlying async procedure could continue running and thus clean() the FutureVar and request new data. The control then went back and the FutureVar was completed again causing an error. | ||||
* | Add support for `Async | Sync` return types in {.multisync.} macro. | Dominik Picheta | 2017-02-11 | 1 | -21/+34 |
| |