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
BinHong Lee
6d2884be9c
Allow -o option for buildIndex ( #13037 ) [backport]
...
Addressing #12771
This is also included in the docgen documentation [here](https://nim-lang.org/docs/docgen.html ) but its not respected as reported in the issue.
(cherry picked from commit 2cfa8d8385 )
2020-01-14 06:26:14 +01:00
Andy Davidoff
e636b47429
fix crash due to errant symbols in nim.cfg ( #13073 ) [backport]
...
(cherry picked from commit 56fb909676 )
2020-01-14 06:25:45 +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
Andy Davidoff
46be787fb2
fixes disruptek/nimph#102 multi-level nim.cfg use ( #13001 ) [backport]
...
(cherry picked from commit 8a63caca07 )
2020-01-05 10:39:48 +01:00
genotrance
89b244a2f5
Path substitution for --out and --outdir ( #12796 )
...
* Enable pathSubs for --out and --outDir
* Cleanup
(cherry picked from commit eed328856f )
2019-12-30 12:24:39 +01:00
Araq
4c120c1978
fixes a bug that kept sugar.collect from working with for loop macros [backport]
...
(cherry picked from commit a7b4b2ed54 )
2019-12-26 15:42:31 +01:00
Timothee Cour
bc601a62a2
fix cmdline bugs affecting nimBetterRun correctness ( #12933 ) [backport]
...
(cherry picked from commit 206a4cee77 )
2019-12-26 15:42:07 +01:00
Andreas Rumpf
7c4bc63b00
fixes #12885 [backport] ( #12895 )
...
(cherry picked from commit 347a04606b )
2019-12-16 09:28:31 +01:00
Andreas Rumpf
f52395f2d8
fixes #12148 [backport] ( #12888 )
...
(cherry picked from commit 22b2684608 )
2019-12-16 09:28:07 +01:00
cooldome
d807c4b7c0
fixes #12827 ( #12829 ) [backport]
...
(cherry picked from commit 13d232ec56 )
2019-12-10 16:14:38 +01:00
Neelesh Chandola
0f05a0dd5b
Fixes #12832 ( #12842 ) [backport]
...
(cherry picked from commit ff5ef95414 )
2019-12-10 16:14:22 +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
cooldome
1edb81b66c
fixes #12783 [backport] ( #12810 )
...
* fixes #12783
* Trigger build
(cherry picked from commit 9b0e874687 )
2019-12-10 16:09:30 +01:00
Jasper Jenkins
a13f623f16
[backport] always set fileInfoIdx.isKnownFile ( #12773 )
...
(cherry picked from commit b6b8d540e3 )
2019-12-10 16:08:54 +01:00
Araq
3f6a08d5b0
fixes #11727 [backport]
...
(cherry picked from commit 0996eb174f )
2019-12-10 16:00:29 +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
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