Jason Beetham
fabbb7ea3e
Fixed iteration limit hit from execproc ( #15723 ) [backport:1.2] [backport:1.4]
...
When calling procs from Nim in Nimscript you could hit the VM iteration limit even though the code is functioning properly. This resolves that by making the iteration limit reset eachtime you call a proc.
(cherry picked from commit a87617956f )
2020-10-26 11:14:55 +01:00
Timothee Cour
d777a8f86c
fix #15704 #15597 wrong VM register was freed ( #15705 )
...
(cherry picked from commit d4c2e2c53f )
2020-10-26 10:29:54 +01:00
Clyybber
00cd7b8ca4
Revert "fixes #15280 [backport:1.2] ( #15281 )" ( #15700 )
...
This reverts commit 3f00a738db .
(cherry picked from commit d4022ebe53 )
2020-10-24 17:18:44 +02:00
Andreas Rumpf
59b5bdc2c6
renamed '=' to '=copy' [backport:1.2] ( #15585 )
...
(cherry picked from commit da4aa2e1fb )
2020-10-15 13:32:25 +02:00
Andreas Rumpf
2ce9352285
sigmatch: hotfix [backport] ( #15565 )
...
(cherry picked from commit c664fb2843 )
2020-10-14 11:00:47 +02:00
Araq
991902e286
fixes a renderer regression
...
(cherry picked from commit 0ac74ddd74 )
2020-10-09 12:06:05 +02:00
narimiran
5534c56d05
manually backport #15506
2020-10-09 12:03:07 +02:00
cooldome
777c28cf45
fix #15516 ( #15518 )
...
(cherry picked from commit fe187719ab )
2020-10-09 10:04:24 +02:00
alaviss
60783ccc11
koch, compiler: bundle fusion as part of the source archive ( #15409 )
...
This allows distributions to build Nim from the downloaded source
archive without an Internet connection.
(cherry picked from commit d4892e9388 )
2020-10-07 19:44:00 +02:00
Andreas Rumpf
9599d95caa
fixes https://github.com/nim-lang/RFCs/issues/257 [backport:1.2] ( #15479 )
...
(cherry picked from commit 2288188fe9 )
2020-10-06 09:50:36 +02:00
Andreas Rumpf
e3c85f5885
remove nim.cfg file change lefover [backport:1.2] ( #15469 )
...
(cherry picked from commit ff70ff529d )
2020-10-06 08:49:06 +02:00
Andreas Rumpf
da03b5ca8b
closureiters: fixes #15243 ( #15454 ) [backport:1.2]
...
* fixes #15243 [backport:1.2]
(cherry picked from commit aa1d7fe1e9 )
2020-10-06 08:48:44 +02:00
Andreas Rumpf
c53c6458b0
finish the stacktraces.nim implementation [backport:1.2] ( #15393 )
...
(cherry picked from commit e2d80b15a6 )
2020-10-06 08:46:25 +02:00
Andreas Rumpf
7ef706fef9
fixes #15360 [backport:1.2] ( #15378 )
...
(cherry picked from commit c2434d939e )
2020-09-21 18:19:13 +02:00
Andreas Rumpf
7bba0deb1d
fixes #15280 [backport:1.2] ( #15281 )
...
* fixes #15280 [backport:1.2]
* make tests green again
* adapt tests
(cherry picked from commit 3f00a738db )
2020-09-11 13:58:04 +02:00
PMunch
53f3bd9376
Fix sets for architectures with default integers smaller than 32 bits ( #15258 ) [backport]
...
(cherry picked from commit 244760197c )
2020-09-11 13:58:04 +02:00
Andreas Rumpf
ae688aa7f5
fixes #15210 [backport:1.2] ( #15237 )
...
* fixes #15210 [backport:1.2]
* use patched version of bigints library
(cherry picked from commit ff13f8cc3c )
2020-09-11 13:58:04 +02:00
Andreas Rumpf
a41ece8d86
fixes #15101 [backport] ( #15171 )
...
(cherry picked from commit 2a8bf470af )
2020-09-11 13:58:04 +02:00
Andreas Rumpf
67d729aa2e
fixes a collect() bug reported on the forum ( #15156 ) [backport:1.2]
...
(cherry picked from commit 64aec6eb85 )
2020-09-11 13:58:04 +02:00
Andreas Rumpf
0ddf7153b8
fixes #15129 [backport:1.2] ( #15144 )
...
(cherry picked from commit d6161e7e9e )
2020-09-11 13:58:04 +02:00
Andreas Rumpf
0aec43e850
fixes #15071 [backport] ( #15131 )
...
(cherry picked from commit d23ae49535 )
2020-09-11 13:58:04 +02:00
Andreas Rumpf
e9d6d2b961
fixes #14616 [backport:1.2] ( #15109 )
...
(cherry picked from commit a3a87cdb29 )
2020-07-29 11:59:20 +02:00
Bung
9d11fc026b
fixes #14189 ( #15080 ) [backport]
...
(cherry picked from commit 191c388792 )
2020-07-29 10:43:48 +02:00
Andreas Rumpf
f2844ba2d3
fixes #15038 [backport:1.2]
...
(cherry picked from commit aae998feff )
2020-07-29 10:43:20 +02:00
Bung
a3f00b87e1
fix #14534 ( #15060 ) [backport]
...
(cherry picked from commit 9746868832 )
2020-07-29 10:39:39 +02:00
Araq
df490bd59f
fixes #15056 [backport]
...
(cherry picked from commit 12a9fe017e )
2020-07-29 10:39:29 +02:00
Andreas Rumpf
b4ccdf870b
fixes #15044 [backport:1.2]
...
(cherry picked from commit c90c53e8bb )
2020-07-29 10:39:11 +02:00
Clyybber
1b093d7ec7
Fix #14911 ( #14922 ) [backport]
...
* Fix #14911
* Add testcase
* Fix test
(cherry picked from commit 5bd2da3f64 )
2020-07-21 15:40:24 +02:00
Miran
7c27cdc719
[backport] fix #14748 , move gdb files to other section of installer.ini ( #14772 )
...
(cherry picked from commit 6bf2990f66 )
2020-06-24 06:56:37 +02:00
Andreas Rumpf
f864c351f0
fixes #14240 [backport:1.2] ( #14757 )
...
(cherry picked from commit 451129de42 )
2020-06-24 06:56:14 +02:00
Andreas Rumpf
ac00504928
fixes #14458 [backport:1.2] ( #14756 )
...
(cherry picked from commit 8df20276c9 )
2020-06-24 06:56:05 +02:00
Andreas Rumpf
10fb986fb6
more precise analysis about 'observable stores' [backport:1.2] ( #14582 )
...
(cherry picked from commit 32083c7ff8 )
2020-06-08 13:26:33 +02:00
Andreas Rumpf
33bf7839ba
fixes #14514 [backport:1.2] ( #14533 )
...
(cherry picked from commit 8710395a0f )
2020-06-08 13:26:28 +02:00
Danil Yarantsev
5702a60793
Change severity of template instantiation message [backport] ( #14526 )
...
* Change severity of template instatiation msg
* Add a test
* Trailing newline argh
(cherry picked from commit 3698f197f1 )
2020-06-01 17:41:04 +02:00
Andreas Rumpf
2c64868764
warn about observerable stores but don't prevent them for 1.2.2 [backport:1.2]; refs https://github.com/nim-lang/RFCs/issues/230 ( #14510 )
...
(cherry picked from commit 52c3633223 )
2020-06-01 13:39:16 +02:00
Andreas Rumpf
97c68d9446
fixes #14498 [backport:1.2] ( #14503 )
...
(cherry picked from commit 7ccc7d7e93 )
2020-06-01 12:15:28 +02:00
Andreas Rumpf
aec0d583d1
fixes #14495 [backport:1.2] ( #14496 )
...
(cherry picked from commit 3105909f88 )
2020-06-01 12:15:15 +02:00
Andreas Rumpf
7800fa394f
specialize genericReset ( #14398 )
...
* progress
* make tests green
* maybe we also want to reset pointers, dunno
* progress
* cleanup; fixes #13879 [backport:1.2]
(cherry picked from commit b35d370d88 )
2020-05-20 15:30:20 +02:00
Andreas Rumpf
acc3879c54
fixes #14126 [backport:1.2] ( #14390 )
...
* fixes #14126 [backport:1.2]
* used more logic to optimize it further; updated Nimble version
(cherry picked from commit 16003bffe1 )
2020-05-20 09:04:49 +02:00
Ștefan Talpalaru
c0b749da38
fix #14364 ( #14372 ) [backport:1.2]
...
Turn on the TLS emulation when using Boehm, since it doesn't scan the
real TLS.
(cherry picked from commit 27741d6a5c )
2020-05-19 12:15:59 +02:00
Clyybber
87992a3a18
Fix #14269 ( #14286 )
...
(cherry picked from commit 8e93105606 )
2020-05-19 12:12:45 +02:00
Clyybber
c3ecd38da1
New "ping-pong" DFA ( #14322 )
...
* New ping-pong analysis
* Add testcase for #13456
* Remove debugging leftover
* Unquote "unstructured controlflow"
* Fix typo
* Fix exponential complexity in edge cases
* Add sanity testcase
* Fix
(cherry picked from commit 9f78f116b2 )
2020-05-19 12:12:45 +02:00
cooldome
a7ebbad8cf
fix #14219 ( #14225 )
...
Co-authored-by: cooldome <ariabushenko@bk.ru >
(cherry picked from commit a39123c93c )
2020-05-19 12:12:45 +02:00
Antonis
e9d2b8971a
better error message
...
(cherry picked from commit 517dd800f8 )
2020-05-18 22:22:27 +02:00
Antonis
287dff200d
fix closure env check
...
(cherry picked from commit 3616b0698b )
2020-05-18 22:22:08 +02:00
Clyybber
d60a01e513
Fix the DFA for "unstructured controlflow" ( #14263 )
...
* Fix the DFA for "unstructured controlflow"
* Add testcase from #14233
(cherry picked from commit 42db75c970 )
2020-05-18 22:21:56 +02:00
cooldome
8cb8cb7861
Implements RFCs #209 ( #13995 )
...
* add test
* add changelod entry
Co-authored-by: cooldome <ariabushenko@bk.ru >
(cherry picked from commit 9295251e68 )
2020-05-18 22:16:07 +02:00
Andreas Rumpf
32d56fa913
fixes #13998 [backport:1.2]
...
(cherry picked from commit 82870e0737 )
2020-05-14 07:32:29 +02:00
Andreas Rumpf
59a97a0e06
fixes #13104 [backport]
...
(cherry picked from commit f3e17e7c77 )
2020-05-14 07:32:23 +02:00
Timothee Cour
8e5e92f679
fix https://github.com/nim-lang/Nim/issues/14275 querySetting(nimcacheDir) works even if implicitly set ( #14277 )
...
(cherry picked from commit 363b7ff3b8 )
2020-05-13 08:15:50 +02:00