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 | 8 | -92/+71 |
| | |||||
* | 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 |
| | |||||
* | Removed fasm support. | Rokas Kupstys | 2017-02-20 | 6 | -70/+5 |
| | |||||
* | For CI: -d:nimCoroutines | Rokas Kupstys | 2017-02-20 | 2 | -8/+8 |
| | |||||
* | 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 |
| | |||||
* | Enabled explicitly unknown lock levels (#5409) | Fabian Keller | 2017-02-20 | 3 | -1/+39 |
| | | | | | | | * enabled explicitly unknown lock levels * allowing "unknown" as locks pragma * added test case for locks pragma * updated docs on locks pragma | ||||
* | travis: first attempt to enable OSX tests | Araq | 2017-02-17 | 1 | -0/+10 |
| | |||||
* | 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. | ||||
* | | new feature: .used pragma to suppress declared-but-not-used warning | Araq | 2017-02-17 | 5 | -10/+51 |
| | | |||||
* | | fixes #5404 | Araq | 2017-02-17 | 2 | -1/+23 |
| | | |||||
* | | minor documentation improvements | Araq | 2017-02-17 | 2 | -7/+7 |
| | | |||||
* | | update code from a time when unsigned didn't exist | Araq | 2017-02-16 | 1 | -1/+1 |
|/ | |||||
* | fixes #5391 | Araq | 2017-02-16 | 1 | -1/+1 |
| | |||||
* | distros.nim: brew usually doesn't require 'sudo' | Araq | 2017-02-16 | 1 | -1/+1 |
| | |||||
* | fixes #5400 | Araq | 2017-02-16 | 2 | -2/+28 |
| | |||||
* | fixes #5405 | Araq | 2017-02-16 | 4 | -10/+37 |
| | |||||
* | fixes #5399 | Araq | 2017-02-16 | 1 | -1/+1 |
| | |||||
* | resolved conflict | Araq | 2017-02-16 | 9 | -59/+101 |
|\ | |||||
| * | fixes #5402 | Araq | 2017-02-16 | 2 | -4/+31 |
| | | |||||
| * | fixes #5383 | Araq | 2017-02-16 | 11 | -17/+60 |
| | | |||||
| * | compiler debug proc: also output node flags | Araq | 2017-02-16 | 1 | -0/+1 |
| | | |||||
| * | koch: don't build downloader tool, it is not ready | araq | 2017-02-15 | 1 | -2/+3 |
| | | |||||
| * | fixes #5392 | araq | 2017-02-15 | 1 | -1/+4 |
| | | |||||
| * | Fix appveyor.yml shows green, when failed. (#5396) | Eugene Kabanov | 2017-02-15 | 1 | -4/+1 |
| | | |||||
| * | Fix rst parse problem in version 0.16.2 news. | Dominik Picheta | 2017-02-14 | 1 | -2/+2 |
| | | |||||
| * | Update bountysource sponsors. | Dominik Picheta | 2017-02-14 | 3 | -46/+60 |
| | | |||||
* | | make tests green again | Araq | 2017-02-16 | 1 | -1/+3 |
| | | |||||
* | | make more tests green | Araq | 2017-02-16 | 3 | -6/+11 |
| | | |||||
* | | fixes #5383 | Araq | 2017-02-16 | 11 | -17/+60 |
| | | |||||
* | | compiler debug proc: also output node flags | Araq | 2017-02-15 | 1 | -0/+1 |
|/ | |||||
* | C++ codegen: emit 'extern C' for importc'ed functions that we declare a ↵ | Araq | 2017-02-14 | 2 | -6/+9 |
| | | | | prototype for | ||||
* | compile external .c files with the C compiler, not with C++; refs #5357 | Araq | 2017-02-14 | 1 | -6/+8 |
| | |||||
* | 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 | 2 | -1/+15 |
| | |||||
* | Add ``tearDownForeignThreadGc`` function (#5369) | Anatoly Galiulin | 2017-02-13 | 5 | -10/+132 |
| | |||||
* | Fixes #5382 | Anatoly Galiulin | 2017-02-13 | 2 | -1/+12 |
| | |||||
* | Added BiggestUInt (#5378) | flyx | 2017-02-13 | 3 | -13/+24 |
| | |||||
* | Column details for postgres. (#5380) | ionel anton | 2017-02-13 | 2 | -15/+396 |
| | |||||
* | Make walkDirRec docstring more clear (#5377) | Federico Ceratto | 2017-02-12 | 1 | -2/+2 |
| | |||||
* | fixes #5354 | Araq | 2017-02-11 | 2 | -5/+22 |
| | |||||
* | finish.nim: user has multiple chances to move .7z file to proper location | Araq | 2017-02-11 | 1 | -0/+3 |
| | |||||
* | sysio: check for IO errors for write operations | Araq | 2017-02-11 | 1 | -6/+8 |
| |