summary refs log tree commit diff stats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Adds test case for #6846. (#8729)Dominik Picheta2018-08-231-0/+16
|
* Don't skip poll() when no handles are present. (#8727)Dominik Picheta2018-08-231-0/+17
| | | | | | | | | | | Fixes #7886. Fixes #7758. Fixes #6929. Fixes #3909. Replaces #8209.
* Fix for module alias inside brackets (#8726)Oscar Nihlgård2018-08-231-0/+11
|
* Fixes #8719 (onFailedAssert now works for doAssert) (#8731)awr12018-08-231-0/+11
|
* Cleanup ttimes (#8714)Oscar Nihlgård2018-08-222-144/+72
| | | | | | * Refactor fromWinTime * Cleanup ttimes
* Fix abs & unary sub in semfold (#8724)Oscar Nihlgård2018-08-221-0/+4
|
* Pick skParam symbols when resolving type idents (#8720)LemonBoy2018-08-221-0/+10
| | | Fixes #8357
* Don't consider tyAnd/tyNot/tyOr/tyAnything as generic (#8700)LemonBoy2018-08-221-0/+29
| | | | | | | | | | | | | | | * Don't consider tyAnd/tyNot/tyOr/tyAnything as generic `containsGenericType` was too shallow and didn't check all the branches. The resulting half-processed nodes are often simplified by the constant folding pass but when that's not possible we get a nasty error during codegen. Fixes #8693 * Move the blame onto the semFold pass Slightly better evaluation of `is` forms.
* Fix #8126 (#8712)zah2018-08-212-0/+16
| | | | | | This is a temporary fix that will be reworked in a follow up commit that aims to eliminate the tfExplicit flag from the compiler. The complete and proper fix was considered too risky for inclusion just before our 0.19 release.
* HTML generation in testament works again (#8702)LemonBoy2018-08-211-2/+2
| | | Fallout from the nil-str patch. Nothing to see here, move along.
* More robust handling of deprecated pragmas (#8696)LemonBoy2018-08-213-0/+40
| | | | | | Prevent `deprecated` annotations to "slip" up to the parent module and warn about unsupported annotations. Accidentally fixes #7867
* sfForward is also sfReorder for skModule symbols (#8692)LemonBoy2018-08-211-0/+1
| | | | | Take this into account while searching for undefined forward references. Fixes #8665
* Fixes ropes regressions due to the not-nil strings (#8687)Dmitry Atamanov2018-08-201-0/+36
|
* Update all the default parameters after an instantiation (#8689)LemonBoy2018-08-201-0/+11
| | | | | | The old implementation relied on the (now?) wrong assumption that default-valued parameters can only be placed after the required ones. Fixes #8683
* exploit nil seqs for performance (#8688)Andreas Rumpf2018-08-202-7/+7
| | | | | * changes $ for seqs to never produce 'nil' * exploit the fact that empty seqs don't have to allocate in the code generator
* Expand tyAlias in typeToString (#8634)LemonBoy2018-08-181-0/+8
| | | Fixes #8339
* times.Timezone changes (#8527)Oscar Nihlgård2018-08-172-29/+11
| | | | | | | | | | * Use floorDiv in times.nim * New implementation of times.Timezone * Tweak doc comments * Fix typo
* Fixes 8535 (#8591)LemonBoy2018-08-171-0/+16
| | | | | | | | | | | | | | | | | | | * Goodbye postInitProc * Give preInitProc its own scope Avoid any conflict between the variables introduced by preInitProc and initProc since both are codegen'd in the same function body. * Fix codegen for global var init in emulated TLS Fixes #8535 * Add test for #8535 * Keep a bogus stack frame around * Remove more dead code
* Merge branch 'araq-misc' into develAraq2018-08-1641-161/+113
|\
| * Merge branch 'devel' into araq-miscAndreas Rumpf2018-08-165-4/+34
| |\
| * | put the new for loop macros under an experimental switch named 'forLoopMacros'Andreas Rumpf2018-08-151-1/+1
| | |
| * | changes how the now illegal 'string == nil' comparison is detectedAndreas Rumpf2018-08-151-0/+4
| | |
| * | renames threadpool.await to blockUntil; refs #7853Araq2018-08-141-2/+2
| | |
| * | make tests green againAraq2018-08-136-52/+11
| | |
| * | Merge branch 'devel' into araq-miscAraq2018-08-138-2/+61
| |\ \
| * | | make NimInAction tests greenAraq2018-08-131-0/+2
| | | |
| * | | fixes more nil handling regressionsAraq2018-08-139-47/+33
| | | |
| * | | make more tests greenAndreas Rumpf2018-08-135-19/+19
| | | |
| * | | make generic tests green againAndreas Rumpf2018-08-131-2/+2
| | | |
| * | | make JS tests greenAndreas Rumpf2018-08-133-3/+3
| | | |
| * | | testament: change how JS tests are disable for travis on OSXAndreas Rumpf2018-08-132-3/+5
| | | |
| * | | make more tests greenAndreas Rumpf2018-08-137-18/+18
| | | |
| * | | WIP: disallow 'nil' for strings and seqsAndreas Rumpf2018-08-132-4/+3
| | | |
| * | | make tests green againAndreas Rumpf2018-08-101-1/+1
| | | |
| * | | Merge branch 'devel' into araq-miscAndreas Rumpf2018-08-104-0/+80
| |\ \ \
| * | | | deprecated regionized pointersAraq2018-08-101-2/+2
| | | | |
| * | | | make test green againAraq2018-08-081-6/+6
| | | | |
| * | | | deprecate isNil for strings and seqsAraq2018-08-081-1/+1
| | | | |
* | | | | tester.nim add more diagnostics (#8631)Timothee Cour2018-08-161-1/+3
| |_|_|/ |/| | |
* | | | Allow taking address of skForVar variables (#8632)LemonBoy2018-08-141-0/+13
| | | | | | | | | | | | Fixes #8630
* | | | Fix unsound transform pass (#8633)LemonBoy2018-08-141-0/+8
| | | | | | | | | | | | | | | | | | | | When a `var openArray[T]` function parameter goes trough the `transformAddrDeref` pass we may lose the `var` specifier, leading to nasty crashes at runtime.
* | | | Haiku support for Nim (#8542)alaviss2018-08-143-4/+13
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * posix_other: Haiku now has spawn.h This is added per https://dev.haiku-os.org/ticket/13446 * posix_other: Add Haiku specific Dirent members * cpuinfo: Add an implementation for Haiku * distros: Add basic Haiku support * encodings: update Haiku support * fenv, math: Haiku now provides libm * times: Add Haiku struct members * ansi_c, osalloc: Add Haiku constants * threads: Add Haiku support * testament: Haiku uses LIBRARY_PATH * nim.cfg: Update Haiku support libnetwork should only be linked if network functions are used * threads: Haiku does not support -pthread switch * tworkingdir: Haiku's env is in /bin * posix_other: add SIGKILLTHR for Haiku * sockets: link with libnetwork on Haiku * coro: correct ucontext.h location http://pubs.opengroup.org/onlinepubs/009696699/basedefs/ucontext.h.html * coro: ucontext backend is not available on Haiku Haiku doesn't provide the <ucontext.h> header, as it was removed from POSIX * coro: fix setjmp backend The compiler does not allow statements after a noreturn function * nativesockets: Haiku doesn't support AI_V4MAPPED * system: hostOS can contains "haiku" * os: add support for Haiku's packagefs packagefs is read-only, but there are writable holes to the underlying file system as well * os: update constant for Haiku
* | | Converters to take into account constraints. Fixes #7520 (#8593)cooldome2018-08-131-0/+20
| | |
* | | Fixed 7478: splitLines keepEol option (#8621)Iván Montes2018-08-131-1/+8
| | |
* | | Clarify usage of "Test" argument in Koch (#8613)Naveen Arunachalam2018-08-121-1/+1
| | | | | | | | | | | | | | | | | | Minor change to help people (e.g. like myself) who are starting out :) Currently, the readme mentions the use of `./koch tests cat async`, but the help text for koch doesn't mention it. Helptexts are modified accordingly.
* | | Fixes 8616 (#8617)LemonBoy2018-08-123-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | * Don't leave dangling forward references to types Fixes #8616 * Add a test case for #8616
* | | Mysterious fix for #8550 (#8561)LemonBoy2018-08-121-0/+12
| | | | | | | | | | | | Replacing the `for` body with a nkEmpty node is not the right thing to do.
* | | Preliminary check for test category folder existence (#8579)LemonBoy2018-08-101-0/+4
| |/ |/| | | Warn the user if nothing is executed.
* | fixes #8519; implements T.distinctBase to reverse T = distinct A (#8531)Timothee Cour2018-08-101-0/+29
| |
* | Tests for v1 closed generics/static issues (#8572)Mamy Ratsimbazafy2018-08-083-0/+51
|/ | | | | | | | * Add tests to confirm https://github.com/nim-lang/Nim/issues/7231 is fixed. * Add test for closed https://github.com/nim-lang/Nim/issues/6137 * Add test for https://github.com/nim-lang/Nim/issues/7141