summary refs log tree commit diff stats
path: root/lib/pure
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #5317 from rokups/feature/coroutinesAndreas Rumpf2017-02-261-102/+255
|\ | | | | Coroutine improvements
| * Removed test code from coro.nim and created three real tests for coroutinesRokas Kupstys2017-02-201-92/+0
| |
| * Use constant nimCoroutines instead of defined(nimCoroutines)Rokas Kupstys2017-02-201-2/+5
| | | | | | | | Variable
| * Reworked gc support for coroutines. Nim now bootstraps with -d:nimCoroutinesRokas Kupstys2017-02-201-52/+77
| | | | | | | | | | Added gc test to coro.nim Lots of misc improvements and comments in coro.nim
| * Iterators test in coroutinesRokas Kupstys2017-02-201-0/+19
| |
| * Delete fiber context when it exits (memleak fix)Rokas Kupstys2017-02-201-3/+10
| | | | | | | | Few correctness changes to gc stack management.
| * Added support for exceptions in coroutines and added exception testRokas Kupstys2017-02-201-9/+35
| | | | | | | | Fix bug where first coroutine ending would terminate main loop
| * Coroutine rework.Rokas Kupstys2017-02-201-95/+260
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* | Merge pull request #5373 from nim-lang/feature/async-streamsAndreas Rumpf2017-02-267-86/+314
|\ \ | | | | | | Async streams and HTTP client streaming downloads support
| * | make the logic rightAraq2017-02-261-1/+1
| | |
| * | Fix the other withNewLine template.Dominik Picheta2017-02-261-1/+1
| | |
| * | Various fixes to FutureStreams based on PR feedback.Dominik Picheta2017-02-265-46/+59
| | |
| * | Add small warning in httpclient's onProgressChanged docs.Dominik Picheta2017-02-261-0/+3
| | |
| * | fixed premature finishing of httpclient.downloadFileAraq2017-02-252-12/+8
| | |
| * | Merge branch 'devel' into feature/async-streamsAraq2017-02-2512-38/+74
| |\ \
| * | | Implement streamed async/sync downloadFile and deprecate old one.Dominik Picheta2017-02-112-14/+58
| | | |
| * | | Implement streamed body reading in httpclient.Dominik Picheta2017-02-111-42/+108
| | | |
| * | | FutureStream's cb call behaviour fixed + other fixes.Dominik Picheta2017-02-111-1/+6
| | | |
| * | | Add support for `Async | Sync` return types in {.multisync.} macro.Dominik Picheta2017-02-111-21/+34
| | | |
| * | | Remove immediate FutureStream procs and make 'put' awaitable.Dominik Picheta2017-02-101-18/+8
| | | |
| * | | Improve implementation of takeAsync for FutureStreams.Dominik Picheta2017-02-101-14/+26
| | | |
| * | | Implemented a first working version of FutureStreams.Dominik Picheta2017-02-102-41/+49
| | | |
| * | | Work around issue with queues. Refs #4773.Dominik Picheta2017-02-101-1/+1
| | | |
| * | | Improve error message when a `nil` future is await'ed.Dominik Picheta2017-02-091-3/+5
| | | |
| * | | WIP implementation of FutureStream.Dominik Picheta2017-02-091-8/+84
| | | |
* | | | better docs for strutils.escapeAraq2017-02-261-0/+1
| | | |
* | | | fixes #5430Araq2017-02-261-1/+1
| | | |
* | | | added hash for uints (#5435)Fabian Keller2017-02-261-0/+8
| | | |
* | | | Make use of `used` in unittest (#5410)Fabian Keller2017-02-251-6/+6
| |/ / |/| |
* | | Listen on ipv6Yuriy Glukhov2017-02-251-2/+2
| | |
* | | Merge pull request #5427 from ivankoster/patch-1Dominik Picheta2017-02-241-1/+1
|\ \ \ | | | | | | | | Remove unnecessary colon in unittest.nim code example
| * | | Remove unnecessary colon in unittest.nim code exampleIvan Koster2017-02-241-1/+1
| | | |
* | | | Make toHex work for uints (#5423)Dennis Felsing2017-02-241-1/+1
| | | |
* | | | Add warning about log flushing. Related to #3269 (#5424)Federico Ceratto2017-02-241-0/+2
|/ / /
* | / match json.toPretty style with NodeJS's stringify (#5406)Emery Hemingway2017-02-211-5/+4
| |/ |/|
* | Merge branch 'devel' of github.com:nim-lang/Nim into develAraq2017-02-171-1/+1
|\ \
| * | Fix reverse on empty openArray (#5407)fenekku2017-02-171-1/+1
| | | | | | | | | Reversing an empty `openArray` would raise a RangeError. For instance for `a: seq[int] = @[]`, we have `a.high` return `-1` but `-1` is not a `Natural`. Leaving the array as-is is the expected behaviour.
* | | minor documentation improvementsAraq2017-02-171-1/+1
|/ /
* | distros.nim: brew usually doesn't require 'sudo'Araq2017-02-161-1/+1
| |
* | Fixes parseHeader("foo:") != ("foo", @[""]). Refs #5344.Dominik Picheta2017-02-131-1/+5
| |
* | Add hash proc for cstrings (#5386)Ruslan Mustakov2017-02-131-0/+10
| |
* | Added BiggestUInt (#5378)flyx2017-02-132-13/+13
| |
* | Make walkDirRec docstring more clear (#5377)Federico Ceratto2017-02-121-2/+2
| |
* | Fixed heapqueue.del for last elem (#5363)Yuriy Glukhov2017-02-101-10/+31
|/
* system/unicode: check for buffer overflows; refs #5284Araq2017-02-081-25/+47
|
* Implement SSL SNI hostname setting for asyncnet.Dominik Picheta2017-02-081-0/+5
|
* Add some tests to httpcore related to #5344.Dominik Picheta2017-02-071-0/+7
|
* cleaned up accept-close-race fix #5279Araq2017-02-072-26/+1
|
* Merge branch 'accept-close-race-5279' of https://github.com/endragor/Nim ↵Araq2017-02-072-21/+50
|\ | | | | | | into endragor-accept-close-race-5279
| * Move checkCloseError to nativesocketsRuslan Mustakov2017-02-072-25/+25
| |