summary refs log tree commit diff stats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fixes #5062 (#5527); JS: holes in enumsSilvio2017-03-157-16/+92
|
* fixes #5231 inheriting from partial specialized generic object (#5538)andri lim2017-03-151-0/+43
|
* fixes #5264 (#5520); inheriting from generic objectandri lim2017-03-145-0/+151
|
* add bitops module for optimized bit manipulation. (#5201)Parashurama2017-03-144-0/+339
|
* asyncdispatch.nim recursion test. (#5534)Eugene Kabanov2017-03-141-0/+21
|
* fix varargs forwarding for templates; fixes #5455 (#5505)zah2017-03-131-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-blake2017-03-121-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)zah2017-03-127-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)zah2017-03-121-0/+47
|
* fixes #5467Araq2017-03-071-1/+25
|
* fixes #5478Araq2017-03-061-0/+22
|
* close #5472 nre tests should be run (#5474)Florent2017-03-041-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 Krauter2017-03-031-1/+1
| | | | | The result of countLines() is now increased by 1 compared to the old version. Fixes #5460.
* More robust tests for #5453 (#5469)Florent2017-03-031-14/+9
|
* Add compute proc for SharedTable (#5385)Ruslan Mustakov2017-03-021-1/+25
|
* Fix sigsegv in getTypeImpl for unnamed tuple (#5440)Fabian Keller2017-03-021-0/+4
| | | avoid sigsegv in getTypeImpl for unnamed tuple; fixes #4862
* Fix waiting on coroutines (#5463)Rokas Kupstys2017-03-022-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)Florent2017-03-021-0/+19
|
* Add gethostname to nativesockets (#5443)Federico Ceratto2017-03-011-0/+8
|
* Merge pull request #5317 from rokups/feature/coroutinesAndreas Rumpf2017-02-266-0/+65
|\ | | | | Coroutine improvements
| * Proper use of sequences in coroutine testsRokas Kupstys2017-02-242-11/+8
| |
| * Removed test code from coro.nim and created three real tests for coroutinesRokas Kupstys2017-02-206-0/+68
| |
* | removed onThreadCreation; onThreadDestruction is now thread localAraq2017-02-261-7/+4
| |
* | fixes #5439Araq2017-02-261-0/+27
| |
* | Merge pull request #5373 from nim-lang/feature/async-streamsAndreas Rumpf2017-02-262-3/+60
|\ \ | | | | | | Async streams and HTTP client streaming downloads support
| * | Various fixes to FutureStreams based on PR feedback.Dominik Picheta2017-02-261-2/+2
| | |
| * | Merge branch 'devel' into feature/async-streamsAraq2017-02-2523-17/+583
| |\ \
| * | | Fixes tests.Dominik Picheta2017-02-111-0/+1
| | | |
| * | | Implement streamed async/sync downloadFile and deprecate old one.Dominik Picheta2017-02-111-2/+4
| | | |
| * | | Implement streamed body reading in httpclient.Dominik Picheta2017-02-111-1/+3
| | | |
| * | | Remove immediate FutureStream procs and make 'put' awaitable.Dominik Picheta2017-02-101-2/+2
| | | |
| * | | Improve implementation of takeAsync for FutureStreams.Dominik Picheta2017-02-101-4/+22
| | | |
| * | | Add test spec to tfuturestreamDominik Picheta2017-02-101-0/+14
| | | |
| * | | Implemented a first working version of FutureStreams.Dominik Picheta2017-02-101-4/+5
| | | |
| * | | WIP implementation of FutureStream.Dominik Picheta2017-02-091-0/+19
| | | |
* | | | fixes #5430Araq2017-02-261-0/+15
| | | |
* | | | fixes #5432Araq2017-02-261-0/+15
| | | |
* | | | added hash for uints (#5435)Fabian Keller2017-02-261-0/+15
| | | |
* | | | Make use of `used` in unittest (#5410)Fabian Keller2017-02-252-8/+39
| |/ / |/| |
* | | Merge branch 'faster-nimsuggest' of github.com:nim-lang/Nim into ↵Andreas Rumpf2017-02-251-0/+0
|\ \ \ | | | | | | | | | | | | faster-nimsuggest
| * | | another attempt to make test green againAraq2017-02-241-0/+0
| | | |
* | | | Merge branch 'devel' into faster-nimsuggestAndreas Rumpf2017-02-255-4/+51
|\ \ \ \ | |/ / / |/| | |
| * | | Bugfix/double newlines in stderr (#5426)Fabian Keller2017-02-245-4/+51
| | | |
* | | | fixes a multimethod regressionAndreas Rumpf2017-02-241-2/+11
| | | |
* | | | Merge branch 'devel' into faster-nimsuggestAndreas Rumpf2017-02-243-0/+46
|\| | |
| * | | fixes #5417Andreas Rumpf2017-02-241-0/+18
| | | |
| * | | fixes #5419Andreas Rumpf2017-02-242-0/+28
| | |/ | |/|
* | | Merge branch 'devel' into faster-nimsuggestAndreas Rumpf2017-02-223-0/+42
|\| |
| * | Enabled explicitly unknown lock levels (#5409)Fabian Keller2017-02-201-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 warningAraq2017-02-171-0/+13
| | |