summary refs log tree commit diff stats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* [RFC] 'walkDir' now has a new 'checkDir' flag, to mimic behaviour of other ↵Timothee Cour2020-03-202-13/+18
| | | | | languages (#13642) Co-authored-by: narimiran
* fixes #13698 (#13706)Andreas Rumpf2020-03-201-1/+6
|
* Add Base64 safe (#13672)Juan Carlos2020-03-201-0/+15
| | | | * Implement RFC-4648 Section-7 * https://github.com/nim-lang/Nim/pull/13672#issuecomment-600993466
* fix #13538 sigmatch errors are now sorted (#13701)Timothee Cour2020-03-205-47/+47
| | | | | | | * fix #13538 sigmatch now sorted and has reliable order * re-enable tests that were disabled because of that bug * fix remaining tests and un-disable 2 other tests that were affected by this bug
* cycle breaker (#13593)Andreas Rumpf2020-03-191-7/+12
| | | | * cycle breaking as an alternative to cycle detection
* Attempt to finish off araq cpp exceptions (#13695)cooldome2020-03-194-15/+17
| | | | | | | | | | | | | | | * config update * disable a questionable test * remove c++ exception handling IDs, new impl doesn't require it anymore * C++ based exceptions finally work * fixes bootstrapping problem in C++ mode * teach GCC it's 2020 now * more bugfixes for C++ based exception handling * apply cooldome's patch * another attempt to enable C++11 * bug fix Co-authored-by: Araq <rumpf_a@web.de> Co-authored-by: cooldome <ariabushenko@bk.ru>
* fixes #13691 (#13694)Andreas Rumpf2020-03-191-0/+29
|
* arc optimizations (#13325)Andreas Rumpf2020-03-185-3/+63
| | | | | * scope based destructors * handle 'or' and 'and' expressions properly, see the new test arc/tcontrolflow.nim * make this branch mergable, logic is disabled for now
* new feature: --staticBoundChecks:on to enforce static array index checking ↵Andreas Rumpf2020-03-185-21/+23
| | | | (#10965)
* fix #13524 astToStr now works inside generics (#13681)Timothee Cour2020-03-181-0/+6
|
* fixes #13622 (#13679)Andreas Rumpf2020-03-181-0/+20
|
* fixes #13671 [backport] (#13678)Andreas Rumpf2020-03-181-0/+5
|
* fix when statements in inheritable generic objects (#13667) [backport]Jasper Jenkins2020-03-171-0/+11
|
* rewritten goto based exception handling; much cleaner implementation;… ↵Andreas Rumpf2020-03-171-0/+69
| | | | | | (#13677) * rewritten goto based exception handling; much cleaner implementation; fixes #13668
* Fixes #13659 (#13674)cooldome2020-03-171-1/+25
| | | | | * fixes #13659 Co-authored-by: cooldome <ariabushenko@bk.ru>
* fix `nim doc subdir/foo` which was generating broken css; + other fixes (#13647)Timothee Cour2020-03-171-1/+1
| | | | | | * docgen: minor refactoring via docOutDir * fix css for `nim doc subdir/foo` without --outdir nor -o * tcompilesetting.nim: keep `git status` clean * re-enable pkg nimgame2 that got fixed upstream
* fix sets of scoped imported enums (#13666)Jasper Jenkins2020-03-172-0/+12
|
* fixes #13661 (#13664) [backport]Andreas Rumpf2020-03-161-0/+12
|
* fixes #13646Araq2020-03-161-3/+22
|
* fixes #12747 [backport] (#13651)cooldome2020-03-163-2/+13
| | | | | | | * fixes #12747 * fix tests * improve code style Co-authored-by: cooldome <ariabushenko@bk.ru>
* catchable defects (#13626)Andreas Rumpf2020-03-124-3/+55
| | | | | | | | | | * allow defects to be caught even for --exceptions:goto (WIP) * implemented the new --panics:on|off switch; refs https://github.com/nim-lang/RFCs/issues/180 * new implementation for integer overflow checking * produce a warning if a user-defined exception type inherits from Exception directly * applied Timothee's suggestions; improved the documentation and replace the term 'checked runtime check' by 'panic' * fixes #13627 * don't inherit from Exception directly
* rename `lenTuple` and `lenVarargs` (#13639)Miran2020-03-122-24/+25
| | | | | | | | | | | * rename 'lenTuple' to 'tupleLen' Rationale: `lenTuple` is a tuple consisting of lengths (e.g. `(1, 5, 0)`), `tupleLen` is a length of a tuple (e.g. `tupleLen((1, 5, 0) == 3`) * rename 'lenVarargs' to 'varargsLen' The same rationale as a previous commit. Consistency.
* fixes #13240Araq2020-03-111-0/+25
|
* fixes #13519Araq2020-03-111-0/+21
|
* add expectIdent to macros (#12778)Arne Döring2020-03-112-0/+42
| | | | | | | | | | | | | | | | * add expectIdent to macros * apply feedback * Update lib/core/macros.nim Co-Authored-By: Clyybber <darkmine956@gmail.com> * Update texpectIdent2.nim * Update texpectIdent1.nim Co-authored-by: Clyybber <darkmine956@gmail.com> Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* fix operators containing percent for VM usage (#13536)Arne Döring2020-03-112-1/+19
| | | | * fixes #13513 * merge tarithmetics in tarithm
* fixes #13436 (#13615)Andreas Rumpf2020-03-101-0/+10
|
* fixes #13599 (#13614)Andreas Rumpf2020-03-091-0/+39
|
* fixes #13596 (#13612)Andreas Rumpf2020-03-092-0/+112
|
* Fix #13573 and #13574 (#13575)Andrea Ferretti2020-03-061-1/+6
| | | | | * Fix https://github.com/nim-lang/Nim/issues/13573 and https://github.com/nim-lang/Nim/issues/13574 * Restored asynchttpserver
* close #12704 by adding a test (tuple codegen error) (#13592)Timothee Cour2020-03-061-0/+14
| | | | | * close #12704 by adding a test * move test to tests/metatype/ttypedesc2.nim
* fixes #5170 (#13589)Andreas Rumpf2020-03-053-5/+35
| | | | | | * fixes #5170 * make tests green
* fix #13579 joinPath("/foo/", "../a") is now /a (#13586)Andreas Rumpf2020-03-051-0/+13
|
* sink parameter inference for types that have destructors (#13544)Andreas Rumpf2020-03-043-4/+8
| | | | | | | | | | | | | | * ensure capitalize doesn't take an inferred sink parameter * sink parameter inference: first version, for now disabled. Changed that sink parameters can be consumed multiple times in order to adhere to our spec. * sink inference can now be disabled with .nosinks; sometimes for proc type interop this is required * fixes yet another critical DFA bug * better implementation that also understands if expressions etc * document sink parameter inference and allow for global disabling
* std/compilesettings implementation (#13584)Andreas Rumpf2020-03-041-0/+19
| | | | | | | | * Implement compileSetting() and compileSettingSeq() * Change from magic to vmop * better design for querySetting Co-authored-by: genotrance <dev@genotrance.com>
* fix #13531 by adding a test (#13581)Miran2020-03-041-0/+31
|
* make genericParams support static[T] generic params (#13433)Timothee Cour2020-03-021-1/+44
| | | | | | * make genericParams support static[T] generic params * WrapStatic => StaticParam
* fixes #13543 and added times.isLeapDay (#13547)Timothee Cour2020-03-011-3/+7
|
* EndsInNoReturn in expressions extension, fixes #13490 (#13520)cooldome2020-02-281-0/+37
| | | | * fix #13490
* save another 33s of CI for tests/gc/gcleak.nimTimothee Cour2020-02-271-1/+8
|
* CI tests run faster: save 120s in azure machines, 335s on local OSXTimothee Cour2020-02-271-1/+13
|
* revert changes to tests/gc/gcleak2.nimTimothee Cour2020-02-271-72/+5
|
* make CI tests faster + more preciseTimothee Cour2020-02-271-5/+72
|
* cleanup Ordinal (#13501)Timothee Cour2020-02-272-2/+19
|
* tables/sharedtables/intsets/etc: fix #13496, #13504, #13505; add lots of ↵Timothee Cour2020-02-264-16/+252
| | | | | | | | | | | tests (#13498) [backport] * fix #13496 handle tombstones * add test * more tests * fix #13504; add SharedTable tests * fix #https://github.com/nim-lang/Nim/issues/13505 intsets.missingOrExcl silently gave wrong results sometimes * add test for tintsets
* fix #13455 ; joinPath(a,b) now honors trailing slashes in b (or a if b = "") ↵Timothee Cour2020-02-261-3/+26
| | | | | | | (#13467) * fix #13455 ; joinPath(a,b) now honors trailing slashes in b (or a if b = "") * fix test windows
* fix #13449 texitcode flaky on windows (#13487)Timothee Cour2020-02-251-1/+4
|
* make devel green again: tnetdial still doesn't work on Travisnarimiran2020-02-251-0/+1
|
* fix 3 minor bugs in joinPath (see #13455) (#13462) [backport]Andrey Makarov2020-02-231-0/+4
|
* relativePath("foo", "foo") is now ".", not "" (#13452)Timothee Cour2020-02-223-4/+18
|