Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixes #5062 (#5527); JS: holes in enums | Silvio | 2017-03-15 | 7 | -16/+92 |
| | |||||
* | fixes #5231 inheriting from partial specialized generic object (#5538) | andri lim | 2017-03-15 | 1 | -0/+43 |
| | |||||
* | fixes #5264 (#5520); inheriting from generic object | andri lim | 2017-03-14 | 5 | -0/+151 |
| | |||||
* | add bitops module for optimized bit manipulation. (#5201) | Parashurama | 2017-03-14 | 4 | -0/+339 |
| | |||||
* | asyncdispatch.nim recursion test. (#5534) | Eugene Kabanov | 2017-03-14 | 1 | -0/+21 |
| | |||||
* | fix varargs forwarding for templates; fixes #5455 (#5505) | zah | 2017-03-13 | 1 | -0/+37 |
| | | | | | * fix varargs forwarding for templates; fixes #5455 * document the macros' varargs change in the news for 0.16.2 | ||||
* | Fixes incorrect fd==0 test on Unix; Conserves handles by default. (#5512) | c-blake | 2017-03-12 | 1 | -1/+1 |
| | | | | | | | | | | | | | | * Fix 2 problems. First, 0 is a valid fd on Unix (easily gotten if user first closes all fds and then starts using memfiles). Use -1 instead for an invalid fd. Second, it is best practice to conserve open fds on Unix and file handles on Windows. These handles are not needed unless the user wants to remap the memory with ``mapMem`` (or a hypothetical future ``proc resize``). Adding a new bool param ``allowRemap=false`` to ``memfiles.open`` solves this cleanly in a "mostly" backward compatible way. This is only "mostly" because the default ``false`` case does not keep unneeded resources allocated, but that most sensible default means that any ``mapMem`` callers need to fix all their open calls to have allowRemap=true, as this PR also does for tmemfiles2.nim. * Include backwards compatibility note. | ||||
* | Fixes #5167 and related problems (#5475) | zah | 2017-03-12 | 7 | -2/+101 |
| | | | | | | | | | This commit returns to a bit less strict checking of the number of macro arguments, because some old immediate macros rely on a behavior where even the arity of the macro is not being checked. It may be better if such macros are just declared to use varargs[expr], but this remains for another day. | ||||
* | don't allow casting to non-concrete types; fixes #5428 (#5502) | zah | 2017-03-12 | 1 | -0/+47 |
| | |||||
* | fixes #5467 | Araq | 2017-03-07 | 1 | -1/+25 |
| | |||||
* | fixes #5478 | Araq | 2017-03-06 | 1 | -0/+22 |
| | |||||
* | close #5472 nre tests should be run (#5474) | Florent | 2017-03-04 | 1 | -0/+22 |
| | | | nre tests were just being compiled - changed so that a failure causes exit code to defer causing `tester` to report it as a failure | ||||
* | Make countLines() the same as len(splitLines(s)) (#5470) | Simon Krauter | 2017-03-03 | 1 | -1/+1 |
| | | | | | The result of countLines() is now increased by 1 compared to the old version. Fixes #5460. | ||||
* | More robust tests for #5453 (#5469) | Florent | 2017-03-03 | 1 | -14/+9 |
| | |||||
* | Add compute proc for SharedTable (#5385) | Ruslan Mustakov | 2017-03-02 | 1 | -1/+25 |
| | |||||
* | Fix sigsegv in getTypeImpl for unnamed tuple (#5440) | Fabian Keller | 2017-03-02 | 1 | -0/+4 |
| | | | avoid sigsegv in getTypeImpl for unnamed tuple; fixes #4862 | ||||
* | Fix waiting on coroutines (#5463) | Rokas Kupstys | 2017-03-02 | 2 | -0/+20 |
| | | | | | | 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 | 1 | -0/+19 |
| | |||||
* | Add gethostname to nativesockets (#5443) | Federico Ceratto | 2017-03-01 | 1 | -0/+8 |
| | |||||
* | Merge pull request #5317 from rokups/feature/coroutines | Andreas Rumpf | 2017-02-26 | 6 | -0/+65 |
|\ | | | | | 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 | 6 | -0/+68 |
| | | |||||
* | | removed onThreadCreation; onThreadDestruction is now thread local | Araq | 2017-02-26 | 1 | -7/+4 |
| | | |||||
* | | fixes #5439 | Araq | 2017-02-26 | 1 | -0/+27 |
| | | |||||
* | | Merge pull request #5373 from nim-lang/feature/async-streams | Andreas Rumpf | 2017-02-26 | 2 | -3/+60 |
|\ \ | | | | | | | Async streams and HTTP client streaming downloads support | ||||
| * | | Various fixes to FutureStreams based on PR feedback. | Dominik Picheta | 2017-02-26 | 1 | -2/+2 |
| | | | |||||
| * | | Merge branch 'devel' into feature/async-streams | Araq | 2017-02-25 | 23 | -17/+583 |
| |\ \ | |||||
| * | | | Fixes tests. | Dominik Picheta | 2017-02-11 | 1 | -0/+1 |
| | | | | |||||
| * | | | Implement streamed async/sync downloadFile and deprecate old one. | Dominik Picheta | 2017-02-11 | 1 | -2/+4 |
| | | | | |||||
| * | | | Implement streamed body reading in httpclient. | Dominik Picheta | 2017-02-11 | 1 | -1/+3 |
| | | | | |||||
| * | | | Remove immediate FutureStream procs and make 'put' awaitable. | Dominik Picheta | 2017-02-10 | 1 | -2/+2 |
| | | | | |||||
| * | | | Improve implementation of takeAsync for FutureStreams. | Dominik Picheta | 2017-02-10 | 1 | -4/+22 |
| | | | | |||||
| * | | | Add test spec to tfuturestream | Dominik Picheta | 2017-02-10 | 1 | -0/+14 |
| | | | | |||||
| * | | | Implemented a first working version of FutureStreams. | Dominik Picheta | 2017-02-10 | 1 | -4/+5 |
| | | | | |||||
| * | | | WIP implementation of FutureStream. | Dominik Picheta | 2017-02-09 | 1 | -0/+19 |
| | | | | |||||
* | | | | fixes #5430 | Araq | 2017-02-26 | 1 | -0/+15 |
| | | | | |||||
* | | | | fixes #5432 | Araq | 2017-02-26 | 1 | -0/+15 |
| | | | | |||||
* | | | | added hash for uints (#5435) | Fabian Keller | 2017-02-26 | 1 | -0/+15 |
| | | | | |||||
* | | | | Make use of `used` in unittest (#5410) | Fabian Keller | 2017-02-25 | 2 | -8/+39 |
| |/ / |/| | | |||||
* | | | Merge branch 'faster-nimsuggest' of github.com:nim-lang/Nim into ↵ | Andreas Rumpf | 2017-02-25 | 1 | -0/+0 |
|\ \ \ | | | | | | | | | | | | | faster-nimsuggest | ||||
| * | | | another attempt to make test green again | Araq | 2017-02-24 | 1 | -0/+0 |
| | | | | |||||
* | | | | Merge branch 'devel' into faster-nimsuggest | Andreas Rumpf | 2017-02-25 | 5 | -4/+51 |
|\ \ \ \ | |/ / / |/| | | | |||||
| * | | | Bugfix/double newlines in stderr (#5426) | Fabian Keller | 2017-02-24 | 5 | -4/+51 |
| | | | | |||||
* | | | | fixes a multimethod regression | Andreas Rumpf | 2017-02-24 | 1 | -2/+11 |
| | | | | |||||
* | | | | Merge branch 'devel' into faster-nimsuggest | Andreas Rumpf | 2017-02-24 | 3 | -0/+46 |
|\| | | | |||||
| * | | | fixes #5417 | Andreas Rumpf | 2017-02-24 | 1 | -0/+18 |
| | | | | |||||
| * | | | fixes #5419 | Andreas Rumpf | 2017-02-24 | 2 | -0/+28 |
| | |/ | |/| | |||||
* | | | Merge branch 'devel' into faster-nimsuggest | Andreas Rumpf | 2017-02-22 | 3 | -0/+42 |
|\| | | |||||
| * | | Enabled explicitly unknown lock levels (#5409) | Fabian Keller | 2017-02-20 | 1 | -0/+13 |
| | | | | | | | | | | | | | | | | | | | | | * enabled explicitly unknown lock levels * allowing "unknown" as locks pragma * added test case for locks pragma * updated docs on locks pragma | ||||
| * | | new feature: .used pragma to suppress declared-but-not-used warning | Araq | 2017-02-17 | 1 | -0/+13 |
| | | |