Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #5317 from rokups/feature/coroutines | Andreas Rumpf | 2017-02-26 | 16 | -694/+725 |
|\ | | | | | Coroutine improvements | ||||
| * | Removed test code from coro.nim and created three real tests for coroutines | Rokas Kupstys | 2017-02-20 | 2 | -92/+3 |
| | | |||||
| * | Use constant nimCoroutines instead of defined(nimCoroutines) | Rokas Kupstys | 2017-02-20 | 4 | -12/+32 |
| | | | | | | | | Variable | ||||
| * | Cleanup of gc code | Rokas Kupstys | 2017-02-20 | 4 | -275/+214 |
| | | | | | | | | Cleanups | ||||
| * | Coroutines realtime support | Rokas Kupstys | 2017-02-20 | 1 | -13/+36 |
| | | |||||
| * | Reworked gc support for coroutines. Nim now bootstraps with -d:nimCoroutines | Rokas Kupstys | 2017-02-20 | 3 | -164/+231 |
| | | | | | | | | | | Added gc test to coro.nim Lots of misc improvements and comments in coro.nim | ||||
| * | Iterators test in coroutines | Rokas Kupstys | 2017-02-20 | 1 | -0/+19 |
| | | |||||
| * | Delete fiber context when it exits (memleak fix) | Rokas Kupstys | 2017-02-20 | 3 | -7/+33 |
| | | | | | | | | Few correctness changes to gc stack management. | ||||
| * | Added support for exceptions in coroutines and added exception test | Rokas Kupstys | 2017-02-20 | 2 | -9/+46 |
| | | | | | | | | Fix bug where first coroutine ending would terminate main loop | ||||
| * | Coroutine rework. | Rokas Kupstys | 2017-02-20 | 11 | -447/+422 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ucontext backend (default on unix) * setjmp backend * fibers backend (default and required on windows) * Fixed coroutine loop timing issues * Fixed saving of xmm registers on x64 windows * Fixed alignment issues * Updated coroutine sample with cooperative fibonacci calculation. * Disable glibc security features only when platform jump functions are used * Removed dependency on fasm. * Using fiber api on windows. * Other platforms and compilers will use built in assembler and .S files or API provided by platform libc. * Replaced stack switching procs with `coroExecWithStack()` which never returns. This makes compiler always generate proper code. | ||||
| * | Added fiber API to winlean.nim | Rokas Kupstys | 2017-02-20 | 1 | -0/+14 |
| | | |||||
* | | removed onThreadCreation; onThreadDestruction is now thread local | Araq | 2017-02-26 | 1 | -49/+11 |
| | | |||||
* | | fixes most recent codegen regression | Araq | 2017-02-26 | 1 | -3/+3 |
| | | |||||
* | | Merge pull request #5373 from nim-lang/feature/async-streams | Andreas Rumpf | 2017-02-26 | 8 | -87/+326 |
|\ \ | | | | | | | Async streams and HTTP client streaming downloads support | ||||
| * | | Fixes upcoming tests. | Dominik Picheta | 2017-02-26 | 1 | -1/+1 |
| | | | |||||
| * | | make the logic right | Araq | 2017-02-26 | 1 | -1/+1 |
| | | | |||||
| * | | Fix the other withNewLine template. | Dominik Picheta | 2017-02-26 | 1 | -1/+1 |
| | | | |||||
| * | | Various fixes to FutureStreams based on PR feedback. | Dominik Picheta | 2017-02-26 | 6 | -46/+70 |
| | | | |||||
| * | | Add small warning in httpclient's onProgressChanged docs. | Dominik Picheta | 2017-02-26 | 1 | -0/+3 |
| | | | |||||
| * | | fixed premature finishing of httpclient.downloadFile | Araq | 2017-02-25 | 2 | -12/+8 |
| | | | |||||
| * | | Merge branch 'devel' into feature/async-streams | Araq | 2017-02-25 | 20 | -71/+308 |
| |\ \ | |||||
| * | | | Fixes tests. | Dominik Picheta | 2017-02-11 | 1 | -1/+1 |
| | | | | |||||
| * | | | Implement streamed async/sync downloadFile and deprecate old one. | Dominik Picheta | 2017-02-11 | 2 | -14/+58 |
| | | | | |||||
| * | | | Implement streamed body reading in httpclient. | Dominik Picheta | 2017-02-11 | 1 | -42/+108 |
| | | | | |||||
| * | | | FutureStream's cb call behaviour fixed + other fixes. | Dominik Picheta | 2017-02-11 | 1 | -1/+6 |
| | | | | |||||
| * | | | Add support for `Async | Sync` return types in {.multisync.} macro. | Dominik Picheta | 2017-02-11 | 1 | -21/+34 |
| | | | | |||||
| * | | | Remove immediate FutureStream procs and make 'put' awaitable. | Dominik Picheta | 2017-02-10 | 1 | -18/+8 |
| | | | | |||||
| * | | | Improve implementation of takeAsync for FutureStreams. | Dominik Picheta | 2017-02-10 | 1 | -14/+26 |
| | | | | |||||
| * | | | Implemented a first working version of FutureStreams. | Dominik Picheta | 2017-02-10 | 2 | -41/+49 |
| | | | | |||||
| * | | | Work around issue with queues. Refs #4773. | Dominik Picheta | 2017-02-10 | 1 | -1/+1 |
| | | | | |||||
| * | | | Improve error message when a `nil` future is await'ed. | Dominik Picheta | 2017-02-09 | 1 | -3/+5 |
| | | | | |||||
| * | | | WIP implementation of FutureStream. | Dominik Picheta | 2017-02-09 | 1 | -8/+84 |
| | | | | |||||
* | | | | better docs for strutils.escape | Araq | 2017-02-26 | 1 | -0/+1 |
| | | | | |||||
* | | | | fixes #5430 | Araq | 2017-02-26 | 1 | -1/+1 |
| | | | | |||||
* | | | | added hash for uints (#5435) | Fabian Keller | 2017-02-26 | 1 | -0/+8 |
| | | | | |||||
* | | | | Make use of `used` in unittest (#5410) | Fabian Keller | 2017-02-25 | 1 | -6/+6 |
| |/ / |/| | | |||||
* | | | Merge pull request #5433 from yglukhov/ipv6 | Dominik Picheta | 2017-02-25 | 1 | -2/+2 |
|\ \ \ | | | | | | | | | Listen on ipv6 | ||||
| * | | | Listen on ipv6 | Yuriy Glukhov | 2017-02-25 | 1 | -2/+2 |
| | | | | |||||
* | | | | Merge branch 'devel' into faster-nimsuggest | Andreas Rumpf | 2017-02-25 | 4 | -2/+5 |
|\| | | | |||||
| * | | | Merge pull request #5427 from ivankoster/patch-1 | Dominik Picheta | 2017-02-24 | 1 | -1/+1 |
| |\ \ \ | | | | | | | | | | | Remove unnecessary colon in unittest.nim code example | ||||
| | * | | | Remove unnecessary colon in unittest.nim code example | Ivan Koster | 2017-02-24 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | Make toHex work for uints (#5423) | Dennis Felsing | 2017-02-24 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | Add warning about log flushing. Related to #3269 (#5424) | Federico Ceratto | 2017-02-24 | 1 | -0/+2 |
| |/ / / | |||||
| * | | | Bugfix/double newlines in stderr (#5426) | Fabian Keller | 2017-02-24 | 1 | -0/+1 |
| | | | | |||||
* | | | | Merge branch 'devel' into faster-nimsuggest | Andreas Rumpf | 2017-02-24 | 1 | -0/+2 |
|\| | | | |||||
| * | | | fixes #5419 | Andreas Rumpf | 2017-02-24 | 1 | -0/+2 |
| | | | | |||||
* | | | | Merge branch 'devel' into faster-nimsuggest | Andreas Rumpf | 2017-02-22 | 2 | -6/+5 |
|\| | | | |||||
| * | | | match json.toPretty style with NodeJS's stringify (#5406) | Emery Hemingway | 2017-02-21 | 1 | -5/+4 |
| | |/ | |/| | |||||
| * | | Merge branch 'devel' of github.com:nim-lang/Nim into devel | Araq | 2017-02-17 | 1 | -1/+1 |
| |\ \ | |||||
| * | | | minor documentation improvements | Araq | 2017-02-17 | 1 | -1/+1 |
| | | | |