summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Removed test code from coro.nim and created three real tests for coroutinesRokas Kupstys2017-02-208-92/+71
|
* 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
|
* Removed fasm support.Rokas Kupstys2017-02-206-70/+5
|
* For CI: -d:nimCoroutinesRokas Kupstys2017-02-202-8/+8
|
* 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
|
* Enabled explicitly unknown lock levels (#5409)Fabian Keller2017-02-203-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 testsAraq2017-02-171-0/+10
|
* 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.
* | new feature: .used pragma to suppress declared-but-not-used warningAraq2017-02-175-10/+51
| |
* | fixes #5404Araq2017-02-172-1/+23
| |
* | minor documentation improvementsAraq2017-02-172-7/+7
| |
* | update code from a time when unsigned didn't existAraq2017-02-161-1/+1
|/
* fixes #5391Araq2017-02-161-1/+1
|
* distros.nim: brew usually doesn't require 'sudo'Araq2017-02-161-1/+1
|
* fixes #5400Araq2017-02-162-2/+28
|
* fixes #5405Araq2017-02-164-10/+37
|
* fixes #5399Araq2017-02-161-1/+1
|
* resolved conflictAraq2017-02-169-59/+101
|\
| * fixes #5402Araq2017-02-162-4/+31
| |
| * fixes #5383Araq2017-02-1611-17/+60
| |
| * compiler debug proc: also output node flagsAraq2017-02-161-0/+1
| |
| * koch: don't build downloader tool, it is not readyaraq2017-02-151-2/+3
| |
| * fixes #5392araq2017-02-151-1/+4
| |
| * Fix appveyor.yml shows green, when failed. (#5396)Eugene Kabanov2017-02-151-4/+1
| |
| * Fix rst parse problem in version 0.16.2 news.Dominik Picheta2017-02-141-2/+2
| |
| * Update bountysource sponsors.Dominik Picheta2017-02-143-46/+60
| |
* | make tests green againAraq2017-02-161-1/+3
| |
* | make more tests greenAraq2017-02-163-6/+11
| |
* | fixes #5383Araq2017-02-1611-17/+60
| |
* | compiler debug proc: also output node flagsAraq2017-02-151-0/+1
|/
* C++ codegen: emit 'extern C' for importc'ed functions that we declare a ↵Araq2017-02-142-6/+9
| | | | prototype for
* compile external .c files with the C compiler, not with C++; refs #5357Araq2017-02-141-6/+8
|
* Fixes parseHeader("foo:") != ("foo", @[""]). Refs #5344.Dominik Picheta2017-02-131-1/+5
|
* Add hash proc for cstrings (#5386)Ruslan Mustakov2017-02-132-1/+15
|
* Add ``tearDownForeignThreadGc`` function (#5369)Anatoly Galiulin2017-02-135-10/+132
|
* Fixes #5382Anatoly Galiulin2017-02-132-1/+12
|
* Added BiggestUInt (#5378)flyx2017-02-133-13/+24
|
* Column details for postgres. (#5380)ionel anton2017-02-132-15/+396
|
* Make walkDirRec docstring more clear (#5377)Federico Ceratto2017-02-121-2/+2
|
* fixes #5354Araq2017-02-112-5/+22
|
* finish.nim: user has multiple chances to move .7z file to proper locationAraq2017-02-111-0/+3
|
* sysio: check for IO errors for write operationsAraq2017-02-111-6/+8
|