Commit Graph

3973 Commits

Author SHA1 Message Date
Timothee Cour
26681769e8 tables/sharedtables/intsets/etc: fix #13496, #13504, #13505; add lots of 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

(cherry picked from commit 42dad3a836)
2020-04-14 07:09:36 +02:00
Andrey Makarov
fbf28d1ce7 fix 3 minor bugs in joinPath (see #13455) (#13462) [backport]
(cherry picked from commit 3dad130034)
2020-04-14 07:06:57 +02:00
narimiran
b6924383df Revert "fixes #13378 [backport] (#13392)"
This reverts commit 14e1f82f42.
2020-02-21 09:46:37 +01:00
Andreas Rumpf
14e1f82f42 fixes #13378 [backport] (#13392)
(cherry picked from commit c446c0f57a)
2020-02-19 19:09:24 +01:00
Timothee Cour
a9fa981000 fix #13182: proc fun(a: varargs[Foo, conv]) now can be overloaded (#13345) [backport]
(cherry picked from commit 79ec8c2571)
2020-02-19 18:57:16 +01:00
Miran
6d65e69b10 [backport] -d:danger should imply -d:release (#13336)
(cherry picked from commit c6d5f0df8d)
2020-02-19 18:56:52 +01:00
Andreas Rumpf
2f557f74e5 fixes #9674 [backport] (#13143)
(cherry picked from commit 675ca997fb)
2020-01-16 07:38:25 +01:00
Jasper Jenkins
8994e8f2e2 fix rtti sizeof for varargs in global scope (#13125) [backport]
(cherry picked from commit bf2e052e6d)
2020-01-14 06:31:57 +01:00
cooldome
4028514eeb fixes #13013, reverts previous changes to readLines() (#13036) [backport]
* Revert "remove default argument for readLines (#12807) [backport]"

This reverts commit c949b81efd.

(cherry picked from commit a3df1b55f3)
2020-01-05 10:40:13 +01:00
cooldome
78f9933b8f remove default argument for readLines (#12807) [backport]
(cherry picked from commit c949b81efd)
2020-01-05 10:39:55 +01:00
Andreas Rumpf
7c4bc63b00 fixes #12885 [backport] (#12895)
(cherry picked from commit 347a04606b)
2019-12-16 09:28:31 +01:00
cooldome
d807c4b7c0 fixes #12827 (#12829) [backport]
(cherry picked from commit 13d232ec56)
2019-12-10 16:14:38 +01:00
Neelesh Chandola
789a984c1e Fixed objects being erroneously zeroed out before object construction (#12814) [backport]
(cherry picked from commit 1db21721ec)
2019-12-10 16:09:43 +01:00
Jasper Jenkins
5129a1e88d make addQuoted work on nimscript (#12717) [backport]
(cherry picked from commit 9ea55eccbb)
2019-12-10 16:08:42 +01:00
Araq
299f1e99cd fixes #12488 [backport]
(cherry picked from commit 87f0d534d6)
2019-12-10 16:00:20 +01:00
Brian Wignall
10935a71ed [backport] Fix spelling typos (#12755)
(cherry picked from commit a7aeabb9d2)
2019-12-10 15:55:19 +01:00
Andreas Rumpf
7d444ff04c fixes #12670 [backport] (#12693)
(cherry picked from commit 78e02d174d)
2019-11-21 17:27:50 +01:00
Andreas Rumpf
9d17d02734 attempt to add valgrind support to the CIs and testament (#12646)
* attempt to add valgrind support to the CIs and testament

* valgrind (currently) works only on 64-bit Linux

(cherry picked from commit 223e65e529)
2019-11-18 12:28:33 +01:00
cooldome
ee260dd838 fixes #5050; fixes #11826 (#12606) [backport]
(cherry picked from commit e1b1759439)
2019-11-08 15:08:08 +01:00
Clyybber
7ccefbc422 Fixes #12379 (#12591) [backport]
(cherry picked from commit cf5c3f2400)
2019-11-05 16:20:43 +01:00
Tomohiro
93b868bff9 Fixes #12536 (#12568) [backport]
(cherry picked from commit 4e0f12092e)
2019-11-05 16:15:54 +01:00
Nindaleth
1d43c8620e fix several typos in documentation and comments (#12553)
(cherry picked from commit 34dbc5699e)
2019-10-30 10:38:25 +01:00
Andreas Rumpf
6887d6de80 [backport] fix #12528, fix #12525: incorrect generic type resolution for default values (#12538)
(cherry picked from commit e58c2d261c)
2019-10-30 10:38:25 +01:00
narimiran
338f43f305 disable flaky test on OSX
(cherry picked from commit d5cd5b00b9)
2019-10-24 18:59:16 +02:00
Oscar Nihlgård
ab51a8e08b Fix jsgen bug with uninitialized seq (#12500) [backport]
(cherry picked from commit 4ac100c912)
2019-10-24 13:45:43 +02:00
Paul Tan
fc9cccccd3 guards.nim:sameTree(): handle uint literals correctly (#12483) [backport]
(cherry picked from commit ad3c10022a)
2019-10-24 13:45:42 +02:00
Arne Döring
193b3c66bb fix #12426 (#12462)
(cherry picked from commit ec20fd3544)
2019-10-22 07:21:24 +02:00
Andreas Rumpf
0b134412f8 fixes #12310 [backport] (#12470)
(cherry picked from commit 38b3590e40)
2019-10-21 07:32:38 +02:00
Andreas Rumpf
b914573d18 fixes #12420 [backport] (#12456)
(cherry picked from commit 832b0a0232)
2019-10-21 07:32:38 +02:00
Yuriy Glukhov
4e3c997d40 Fixed yield in nkCheckedFieldExpr (#12429) [backport]
(cherry picked from commit 1aed455e7c)
2019-10-17 22:25:51 +02:00
Araq
535f0b9c9d fixes #12244 [backport]
(cherry picked from commit 7f904e2c66)
2019-10-12 08:00:43 +02:00
kraptor
5df7f3fd5c Fix reference to parseSpec proc in readme (#12359)
(cherry picked from commit 412011eb96)
2019-10-09 06:33:45 +02:00
Andreas Rumpf
44d45b763c fixes #12315 [backport]; refs #12314 (#12385)
(cherry picked from commit f30da2f266)
2019-10-09 06:28:27 +02:00
Leorize
0a8dcd5e11 azure: disable failing tests
(cherry picked from commit 73c8391fd3)
2019-10-08 11:43:16 +02:00
Tomohiro
5785444520 Fix how relativePath handle case sensitiviy (#12312) [backport]
(cherry picked from commit 64d5e25821)
2019-10-03 09:32:46 +02:00
Federico Ceratto
fa7f5742d3 Fix spellings (#12277) [backport]
(cherry picked from commit 39290cf88c)
2019-09-30 18:43:35 +02:00
PMunch
2565d3d102 Fix issue with long wait for passed timer [bugfix] (#12221)
* Fix issue with long wait for passed timer [bugfix]

This fixes a small issue where a timer that had been completed while
code executed would still wait for more events before being considered
completed. This would in some scenarios incur a 500ms delay to the
completion of a timer.

* Refactor logic into

* Add test case based on original issue

* Use longer timeouts to be more lenient in checking

* Revert to short timeouts, but widen the accepted range

* Widen accepted range further, it is meant to check for a 500ms delay after all

* Increase poll timeout to make it easier to detect mistakes
2019-09-22 07:24:14 +02:00
cooldome
be82d11576 fixes #12224 (#12225)
* fixes #12224

* improve test
2019-09-21 06:45:27 +02:00
Araq
908b553215 asyndispatch: removed deprecated setEvent proc 2019-09-21 06:43:37 +02:00
Arne Döring
38ab51c445 importjs symbol (#12218)
* importjs symbol
* importjs warning message, minor warning fixes
2019-09-20 20:26:30 +02:00
Andreas Rumpf
7bc5bf8334 consistent floating point output (#12219)
* unify float printing
* makes tests green
2019-09-20 10:41:40 +02:00
Andreas Rumpf
162d74db91 fixes #10981; fixes #7261 (#12217) 2019-09-19 14:34:56 +02:00
Arne Döring
638a4d9d9f rename cast opcodes, fix for 32bit cast, fix python pretty printer (#12207) 2019-09-18 09:04:37 +02:00
Araq
ea8a049af3 fixes the testcase 2019-09-17 15:15:12 +02:00
Araq
c9f3a8b269 added a testcase for #12195; testament now supports a 'timeout' spec field 2019-09-17 15:15:12 +02:00
Andreas Rumpf
059a16b34d fixes #12193 (#12199) 2019-09-16 15:38:07 +02:00
Araq
6c487a6309 fixes #12196 2019-09-16 12:12:44 +02:00
narimiran
ee6df5bd24 close #7104 by writing a test 2019-09-13 07:59:38 +02:00
narimiran
d79fb77974 close #6731 by writing a test case 2019-09-13 07:46:46 +02:00
Jasper Jenkins
ca7bf3be8b no commas for empty importcpp splat params (#12183) 2019-09-12 08:19:53 +02:00