Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Merge branch 'devel' of github.com:nim-lang/Nim into devel | Araq | 2017-02-17 | 1 | -1/+1 |
|\ | |||||
| * | Fix reverse on empty openArray (#5407) | fenekku | 2017-02-17 | 1 | -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 improvements | Araq | 2017-02-17 | 1 | -1/+1 |
|/ | |||||
* | distros.nim: brew usually doesn't require 'sudo' | Araq | 2017-02-16 | 1 | -1/+1 |
| | |||||
* | fixes #5392 | araq | 2017-02-15 | 1 | -1/+4 |
| | |||||
* | Fixes parseHeader("foo:") != ("foo", @[""]). Refs #5344. | Dominik Picheta | 2017-02-13 | 1 | -1/+5 |
| | |||||
* | Add hash proc for cstrings (#5386) | Ruslan Mustakov | 2017-02-13 | 1 | -0/+10 |
| | |||||
* | Add ``tearDownForeignThreadGc`` function (#5369) | Anatoly Galiulin | 2017-02-13 | 2 | -10/+35 |
| | |||||
* | Fixes #5382 | Anatoly Galiulin | 2017-02-13 | 1 | -1/+1 |
| | |||||
* | Added BiggestUInt (#5378) | flyx | 2017-02-13 | 3 | -13/+24 |
| | |||||
* | Column details for postgres. (#5380) | ionel anton | 2017-02-13 | 1 | -15/+167 |
| | |||||
* | Make walkDirRec docstring more clear (#5377) | Federico Ceratto | 2017-02-12 | 1 | -2/+2 |
| | |||||
* | sysio: check for IO errors for write operations | Araq | 2017-02-11 | 1 | -6/+8 |
| | |||||
* | Fixed heapqueue.del for last elem (#5363) | Yuriy Glukhov | 2017-02-10 | 1 | -10/+31 |
| | |||||
* | sysio: minor improvements | Araq | 2017-02-09 | 1 | -4/+5 |
| | |||||
* | make tests green again | Andreas Rumpf | 2017-02-08 | 2 | -1/+5 |
| | |||||
* | make tests green again | Andreas Rumpf | 2017-02-08 | 2 | -4/+5 |
| | |||||
* | system/unicode: check for buffer overflows; refs #5284 | Araq | 2017-02-08 | 2 | -43/+78 |
| | |||||
* | system.nim: don't use deprecated symbols/constructs | Araq | 2017-02-08 | 8 | -32/+33 |
| | |||||
* | fixes #5349 | Araq | 2017-02-08 | 2 | -20/+40 |
| | |||||
* | Mark setupForeignThreadGc and initGC as gcsafe (#5353) | Anatoly Galiulin | 2017-02-08 | 2 | -2/+2 |
| | |||||
* | fix in using the linenoise function (#5351) | Arne Döring | 2017-02-08 | 1 | -1/+2 |
| | |||||
* | Merge pull request #5348 from c-blake/devel | Andreas Rumpf | 2017-02-08 | 1 | -7/+24 |
|\ | | | | | Update Stat to work with modern Unix impls | ||||
| * | Use old approach for Mac OSX which, as of 2016, does not yet support POSIX | Charles Blake | 2017-02-07 | 1 | -12/+18 |
| | | | | | | | | high-resolution file times. | ||||
| * | Move Timespec up, use in Stat for st_?tim and define accessors for the seconds | Charles Blake | 2017-02-07 | 1 | -7/+18 |
| | | | | | | | | portion of the Timespec. | ||||
* | | Implement SSL SNI hostname setting for asyncnet. | Dominik Picheta | 2017-02-08 | 1 | -0/+5 |
| | | |||||
* | | Add some tests to httpcore related to #5344. | Dominik Picheta | 2017-02-07 | 1 | -0/+7 |
| | | |||||
* | | cleaned up accept-close-race fix #5279 | Araq | 2017-02-07 | 3 | -27/+2 |
| | | |||||
* | | Merge branch 'accept-close-race-5279' of https://github.com/endragor/Nim ↵ | Araq | 2017-02-07 | 4 | -44/+78 |
|\ \ | |/ |/| | | | into endragor-accept-close-race-5279 | ||||
| * | Move checkCloseError to nativesockets | Ruslan Mustakov | 2017-02-07 | 2 | -25/+25 |
| | | |||||
| * | Fix Windows accept() to fail future instead of raising | Ruslan Mustakov | 2017-02-01 | 5 | -44/+78 |
| | | | | | | | | Resolves: #5279 | ||||
* | | fixes #4996 | Andreas Rumpf | 2017-02-05 | 1 | -0/+9 |
| | | |||||
* | | Use __NR_gettid instead of SYS_gettid (#5338) | Yuriy Glukhov | 2017-02-04 | 1 | -3/+3 |
| | | |||||
* | | Fix #5331 and #5332. | cheatfate | 2017-02-04 | 1 | -10/+15 |
| | | |||||
* | | critical realloc bugfix; refs #4818 | Andreas Rumpf | 2017-02-03 | 1 | -3/+4 |
| | | |||||
* | | reenabled clear test, made clear working (#5323) | Arne Döring | 2017-02-02 | 1 | -2/+5 |
| | | |||||
* | | Merge branch 'devel' into new-name-mangling | Araq | 2017-02-02 | 1 | -1/+1 |
|\ \ | |||||
| * | | make tests on Windows green under --pedantic | Araq | 2017-02-02 | 1 | -1/+1 |
| | | | |||||
* | | | new name mangling rules for easier debugging | Andreas Rumpf | 2017-02-02 | 1 | -8/+21 |
|/ / | |||||
* / | refactoring: explict config state instead of globals | Andreas Rumpf | 2017-02-01 | 1 | -0/+5 |
|/ |