Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed compilation error (#5462) | Yuriy Glukhov | 2017-03-02 | 1 | -3/+0 |
| | |||||
* | Fix waiting on coroutines (#5463) | Rokas Kupstys | 2017-03-02 | 3 | -27/+56 |
| | | | | | | Public coroutine API returns a safe reference to specific running coroutine. Fixes bug where multiple coroutines executing same procedure would identify as same coroutine. Greatly optimizes `alive()` (and as a result of that `wait()`) calls. Coroutine struct is allocated together with stack as memory unmanaged by GC. | ||||
* | fixes #5444 - nre.findIter keeps searching when no match is possible (#5453) | Florent | 2017-03-02 | 2 | -6/+25 |
| | |||||
* | Ignore pointer-bool-conversion warning (#5468) | Ruslan Mustakov | 2017-03-02 | 1 | -0/+1 |
| | |||||
* | Fixes #5457 - StdLib base64 encodeInternal crashes with out of bound ↵ | Florent | 2017-03-02 | 1 | -3/+9 |
| | | | | exception (#5464) | ||||
* | Merge pull request #5466 from yglukhov/asynchttpserver-bad-content-length | Dominik Picheta | 2017-03-01 | 1 | -1/+3 |
|\ | | | | | Dont assert on malformed requests | ||||
| * | Dont assert on malformed requests | Yuriy Glukhov | 2017-03-01 | 1 | -1/+3 |
| | | |||||
* | | Revert "Listen on ipv6" (#5461) | Yuriy Glukhov | 2017-03-01 | 1 | -2/+2 |
| | | |||||
* | | minor website improvement | Andreas Rumpf | 2017-03-01 | 2 | -2/+2 |
|/ | |||||
* | Add gethostname to nativesockets (#5443) | Federico Ceratto | 2017-03-01 | 3 | -0/+27 |
| | |||||
* | Fix async timers execution. (#5448) | Andrey Sobolev | 2017-03-01 | 2 | -2/+10 |
| | |||||
* | Merge pull request #5454 from yglukhov/fix-5452 | Andreas Rumpf | 2017-03-01 | 1 | -1/+1 |
|\ | | | | | Fixes #5452 | ||||
| * | Fixes #5452 | Yuriy Glukhov | 2017-02-28 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #5447 from FedericoCeratto/patch-25 | Andreas Rumpf | 2017-02-28 | 1 | -0/+2 |
|\ | | | | | Add note about passing channels between threads. | ||||
| * | Add note about passing channels between threads. | Federico Ceratto | 2017-02-27 | 1 | -0/+2 |
|/ | |||||
* | Merge pull request #5442 from FedericoCeratto/patch-24 | Andreas Rumpf | 2017-02-27 | 1 | -0/+2 |
|\ | | | | | Add comment on return value | ||||
| * | Add comment on return value | Federico Ceratto | 2017-02-26 | 1 | -0/+2 |
| | | |||||
* | | Merge pull request #5446 from endragor/mt-defaultsslcontext | Andreas Rumpf | 2017-02-27 | 1 | -2/+10 |
|\ \ | | | | | | | Ensure default SSL context is always initialized | ||||
| * | | Ensure default SSL context is always initialized | Ruslan Mustakov | 2017-02-27 | 1 | -2/+10 |
| | | | |||||
* | | | Merge pull request #5445 from endragor/log-gcsafe | Andreas Rumpf | 2017-02-27 | 1 | -1/+1 |
|\ \ \ | |/ / |/| | | Explicitly mark log() method as gcsafe | ||||
| * | | Explicitly mark log() method as gcsafe | Ruslan Mustakov | 2017-02-27 | 1 | -1/+1 |
|/ / | |||||
* | | upcoming/asyncdispatch: remove unused queues import again | Araq | 2017-02-27 | 1 | -1/+1 |
| | | |||||
* | | travis/appveyor: don't overdo -d:nimCoroutines checking | Araq | 2017-02-26 | 2 | -4/+4 |
| | | |||||
* | | make tests green again | Araq | 2017-02-26 | 1 | -3/+0 |
| | | |||||
* | | finish tool can use 'nimgrab' tool to download the mingw version | Araq | 2017-02-26 | 4 | -2/+27 |
| | | |||||
* | | documentation for strscans.scanp; fixes #5154 | Araq | 2017-02-26 | 1 | -1/+142 |
| | | |||||
* | | Merge pull request #5317 from rokups/feature/coroutines | Andreas Rumpf | 2017-02-26 | 28 | -772/+803 |
|\ \ | | | | | | | Coroutine improvements | ||||
| * | | Proper use of sequences in coroutine tests | Rokas Kupstys | 2017-02-24 | 2 | -11/+8 |
| | | | |||||
| * | | 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 |
| | | | |||||
* | | | removed onThreadCreation; onThreadDestruction is now thread local | Araq | 2017-02-26 | 3 | -58/+15 |
| | | | |||||
* | | | fixes most recent codegen regression | Araq | 2017-02-26 | 1 | -3/+3 |
| | | | |||||
* | | | minor codegen bugfix: don't use names for closures that are also mangled Nim ↵ | Araq | 2017-02-26 | 6 | -17/+17 |
| | | | | | | | | | | | | names | ||||
* | | | fixes a minor codegen issue where name mangling could produce an identifier ↵ | Araq | 2017-02-26 | 4 | -10/+10 |
| | | | | | | | | | | | | used by the codegen; refs #5437 | ||||
* | | | fixes #5439 | Araq | 2017-02-26 | 2 | -4/+32 |
| | | | |||||
* | | | minor news.rst update | Araq | 2017-02-26 | 1 | -1/+4 |
| | | | |||||
* | | | Merge pull request #5373 from nim-lang/feature/async-streams | Andreas Rumpf | 2017-02-26 | 11 | -94/+387 |
|\ \ \ | |_|/ |/| | | Async streams and HTTP client streaming downloads support | ||||
| * | | Fixes upcoming tests. | Dominik Picheta | 2017-02-26 | 1 | -1/+1 |
| | | | |||||
| * | | make the logic right | Araq | 2017-02-26 | 1 | -1/+1 |
| | | | |||||
| * | | Fix the other withNewLine template. | Dominik Picheta | 2017-02-26 | 1 | -1/+1 |
| | | |