summary refs log tree commit diff stats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Removed test code from coro.nim and created three real tests for coroutinesRokas Kupstys2017-02-202-92/+3
|
* Use constant nimCoroutines instead of defined(nimCoroutines)Rokas Kupstys2017-02-204-12/+32
| | | | Variable
* Cleanup of gc codeRokas Kupstys2017-02-204-275/+214
| | | | Cleanups
* Coroutines realtime supportRokas Kupstys2017-02-201-13/+36
|
* Reworked gc support for coroutines. Nim now bootstraps with -d:nimCoroutinesRokas Kupstys2017-02-203-164/+231
| | | | | 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-203-7/+33
| | | | Few correctness changes to gc stack management.
* Added support for exceptions in coroutines and added exception testRokas Kupstys2017-02-202-9/+46
| | | | Fix bug where first coroutine ending would terminate main loop
* Coroutine rework.Rokas Kupstys2017-02-2011-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.nimRokas Kupstys2017-02-201-0/+14
|
* 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 #5392araq2017-02-151-1/+4
|
* Fixes parseHeader("foo:") != ("foo", @[""]). Refs #5344.Dominik Picheta2017-02-131-1/+5
|
* Add hash proc for cstrings (#5386)Ruslan Mustakov2017-02-131-0/+10
|
* Add ``tearDownForeignThreadGc`` function (#5369)Anatoly Galiulin2017-02-132-10/+35
|
* Fixes #5382Anatoly Galiulin2017-02-131-1/+1
|
* Added BiggestUInt (#5378)flyx2017-02-133-13/+24
|
* Column details for postgres. (#5380)ionel anton2017-02-131-15/+167
|
* Make walkDirRec docstring more clear (#5377)Federico Ceratto2017-02-121-2/+2
|
* sysio: check for IO errors for write operationsAraq2017-02-111-6/+8
|
* Fixed heapqueue.del for last elem (#5363)Yuriy Glukhov2017-02-101-10/+31
|
* sysio: minor improvementsAraq2017-02-091-4/+5
|
* make tests green againAndreas Rumpf2017-02-082-1/+5
|
* make tests green againAndreas Rumpf2017-02-082-4/+5
|
* system/unicode: check for buffer overflows; refs #5284Araq2017-02-082-43/+78
|
* system.nim: don't use deprecated symbols/constructsAraq2017-02-088-32/+33
|
* fixes #5349Araq2017-02-082-20/+40
|
* Mark setupForeignThreadGc and initGC as gcsafe (#5353)Anatoly Galiulin2017-02-082-2/+2
|
* fix in using the linenoise function (#5351)Arne Döring2017-02-081-1/+2
|
* Merge pull request #5348 from c-blake/develAndreas Rumpf2017-02-081-7/+24
|\ | | | | Update Stat to work with modern Unix impls
| * Use old approach for Mac OSX which, as of 2016, does not yet support POSIXCharles Blake2017-02-071-12/+18
| | | | | | | | high-resolution file times.
| * Move Timespec up, use in Stat for st_?tim and define accessors for the secondsCharles Blake2017-02-071-7/+18
| | | | | | | | portion of the Timespec.
* | 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-073-27/+2
| |
* | Merge branch 'accept-close-race-5279' of https://github.com/endragor/Nim ↵Araq2017-02-074-44/+78
|\ \ | |/ |/| | | into endragor-accept-close-race-5279
| * Move checkCloseError to nativesocketsRuslan Mustakov2017-02-072-25/+25
| |
| * Fix Windows accept() to fail future instead of raisingRuslan Mustakov2017-02-015-44/+78
| | | | | | | | Resolves: #5279
* | fixes #4996Andreas Rumpf2017-02-051-0/+9
| |
* | Use __NR_gettid instead of SYS_gettid (#5338)Yuriy Glukhov2017-02-041-3/+3
| |
* | Fix #5331 and #5332.cheatfate2017-02-041-10/+15
| |
* | critical realloc bugfix; refs #4818Andreas Rumpf2017-02-031-3/+4
| |
* | reenabled clear test, made clear working (#5323)Arne Döring2017-02-021-2/+5
| |
* | Merge branch 'devel' into new-name-manglingAraq2017-02-021-1/+1
|\ \
| * | make tests on Windows green under --pedanticAraq2017-02-021-1/+1
| | |
* | | new name mangling rules for easier debuggingAndreas Rumpf2017-02-021-8/+21
|/ /
* / refactoring: explict config state instead of globalsAndreas Rumpf2017-02-011-0/+5
|/