5820 Commits

Author SHA1 Message Date
Timothee Cour
fa15083cc9 fixes #12663 staticRead now creates a dependency for rebuilds (#12731) [backport]
* fix #12663 staticRead
* address comments

(cherry picked from commit dfe5d115fb)
2019-11-25 17:05:26 +01:00
Andy Davidoff
8f0b891e68 export nim.cfg parser (#12602)
(cherry picked from commit 61889c604a)
2019-11-25 09:46:51 +01:00
Andreas Rumpf
4084ef19a3 conversions to unsigned numbers are not checked anymore (#12688) [backport]
* conversions to unsigned numbers are not checked anymore; implements / fixes https://github.com/nim-lang/RFCs/issues/175

* change the spec yet again to be less consistent but to make more sense; updated the changelog

(cherry picked from commit c98e0e22ad)
2019-11-21 17:31:35 +01:00
Andreas Rumpf
7d444ff04c fixes #12670 [backport] (#12693)
(cherry picked from commit 78e02d174d)
2019-11-21 17:27:50 +01:00
Andy Davidoff
aaf06dba1b restore --define🔑val in nim.cfg and fix #12367 (#12611)
(cherry picked from commit 5544a13236)
2019-11-20 10:23:02 +01:00
Andy Davidoff
0e1dd54fee add --clearNimblePath; fixes #12601 (#12609)
(cherry picked from commit 738c957e94)
2019-11-20 10:22:45 +01:00
Andreas Rumpf
c78cee697d fixes #12612 [backport] (#12681)
(cherry picked from commit 56a00da34a)
2019-11-20 10:22:12 +01:00
Miran
f3e088f11a remove two asserts in int128.nim (#12648) [backport]
Before this PR, `tests/misc/tconv.nim` fails when the compiler
is compiled without `-d:danger` flag.
Bear in mind that even without the asserts, the values outside of
a given range are still checked and a meaningful error message
(from `compiler/semexprs.nim`) is printed.

(cherry picked from commit 107b40f097)
2019-11-18 12:24:32 +01:00
cooldome
ee260dd838 fixes #5050; fixes #11826 (#12606) [backport]
(cherry picked from commit e1b1759439)
2019-11-08 15:08:08 +01:00
Andreas Rumpf
23881b188e bugfix that enables the 'since' template [backport]
(cherry picked from commit f69ee294c8)
2019-11-08 15:08:08 +01:00
narimiran
d61dd518d9 clean up a previous merge conflict 2019-11-06 14:38:37 +01:00
Clyybber
2a292c0e71 Refactor injectdestructors (#12295)
One improvement over #devel is visible in the transformation of getEnv. With this approach we move to result whenever possible.

(cherry picked from commit 5f5879dc4c)
2019-11-06 13:49:24 +01:00
Araq
814e237ab6 refactoring: --newruntime consists of 3 different switches
(cherry picked from commit 61ea85687c)
2019-11-06 12:34:23 +01:00
narimiran
8324b7a86d port the whole 'lambdalifting.nim' from devel 2019-11-06 09:44:26 +01:00
Clyybber
7ccefbc422 Fixes #12379 (#12591) [backport]
(cherry picked from commit cf5c3f2400)
2019-11-05 16:20:43 +01:00
Andreas Rumpf
f47d977f6d --os:ios needs to imply defined(macosx) [backport] (#12585)
(cherry picked from commit 62fc3db9d7)
2019-11-05 16:18:50 +01:00
Andreas Rumpf
a5c98bf3af fixes #12577 [backport] (#12584)
(cherry picked from commit ceda586d88)
2019-11-05 16:18:06 +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
Araq
f5e096b13f fixes #12547 [backport]
(cherry picked from commit 1214960a1b)
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
Solitude
7c2d64c18d Fix code style errors (#12545)
(cherry picked from commit 160c07be00)
2019-10-30 10:38:25 +01:00
Arne Döring
4a7ccfa333 fixes #12514 (#12520) [backport]
(cherry picked from commit 3c567bcf20)
2019-10-30 10:38:25 +01:00
Andreas Rumpf
731d1dff84 VM: fixes register leaks [backport] (#12510)
(cherry picked from commit e0d13abaff)
2019-10-30 10:30:47 +01:00
Tomohiro
e02dc971f5 Fix Nim specify wrong option to vccexe when vcc.options.always is set (#12490) [backport]
(cherry picked from commit 8040c84615)
2019-10-30 10:30:47 +01:00
Andreas Rumpf
5f77d5ad85 fixes #12491 [backport]
(cherry picked from commit 8a599fb571)
2019-10-30 10:30:47 +01:00
Andreas Rumpf
f69dac8038 VM: fixes most ran-out-registers problems [backport] (#12485)
(cherry picked from commit 801a794039)
2019-10-24 19:00:47 +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
Ico Doornekamp
faf5ffd970 Fixed #12337, leaking pipe after gorge (#12339)
(cherry picked from commit 982086dbe9)
2019-10-24 13:45:31 +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
Andreas Rumpf
53e4692665 [backport] add back a check that got accidentically removed; fixes #12379 (#12444)
(cherry picked from commit 81125e2029)
2019-10-17 22:25:51 +02:00
Yuriy Glukhov
4e3c997d40 Fixed yield in nkCheckedFieldExpr (#12429) [backport]
(cherry picked from commit 1aed455e7c)
2019-10-17 22:25:51 +02:00
Alexander Ivanov
f16bb4d85b Fixes semCustomPragma when nkSym (#12414) [backport]
(cherry picked from commit 990aadc43c)
2019-10-12 08:00:44 +02:00
Arne Döring
63d710f5a1 fix #12332 (#12402) [backport]
(cherry picked from commit 0a29c05a1b)
2019-10-12 08:00:44 +02:00
Araq
535f0b9c9d fixes #12244 [backport]
(cherry picked from commit 7f904e2c66)
2019-10-12 08:00:43 +02:00
Andreas Rumpf
4632e8b26e fixes #12323 [backport]
(cherry picked from commit a60f18d025)
2019-10-07 18:40:07 +02:00
Andreas Rumpf
97e2e06b00 VM: no special casing for big endian machines; refs #9690 [backport] (#12364)
(cherry picked from commit 5be8e0b088)
2019-10-07 18:40:07 +02:00
Andreas Rumpf
9afd19b236 fixes #12291 [backport] (#12338)
(cherry picked from commit c51857f434)
2019-10-03 09:32:46 +02:00
Andreas Rumpf
0d0cf86401 fixes #12336 [backport]
(cherry picked from commit 98e76a1058)
2019-10-03 09:32:46 +02:00
Andreas Rumpf
1b3f5eed70 fixes #12240 [backport] (#12308)
(cherry picked from commit 6dd4cbc3af)
2019-10-03 09:32:46 +02:00
Andreas Rumpf
517538dcf8 fixes #12264 [backport] (#12302)
(cherry picked from commit dd082b6ec8)
2019-10-03 09:32:46 +02:00
Andreas Rumpf
59916007cc fixes #12281 [backport]
(cherry picked from commit 72acf5de94)
2019-10-03 09:32:46 +02:00
Andreas Rumpf
a5bcbe6dff fixes #12294 [backport]
(cherry picked from commit 1964589a29)
2019-10-03 09:32:46 +02:00
narimiran
6c1f389d72 [backport] fix nimpretty removing space before pragma
(cherry picked from commit f804245087)
2019-09-30 18:43:35 +02:00
Federico Ceratto
fa7f5742d3 Fix spellings (#12277) [backport]
(cherry picked from commit 39290cf88c)
2019-09-30 18:43:35 +02:00
Endeg
c8314b7c9c Fix #12242, replacing ":" with "@c" in packages [backport] (#12265)
(cherry picked from commit 657e09e79d)
2019-09-30 18:40:12 +02:00
Andreas Rumpf
7926440ae3 fixes the --verbosity:2 regression [backport]
(cherry picked from commit 13960066cb)
2019-09-30 18:39:48 +02:00