fixes a collect() bug reported on the forum (#15156) [backport:1.2]
(cherry picked from commit 64aec6e)
asyncnet: don't try to close the socket again [backport] (#15174)
The closed flag isn't a good design by any means, but let's have this working first before I get rid of the flag and potentially create a non-backportable commit. (cherry picked from commit 957bf15)
[backport] fix #15064, strscans.scanf edge case for '$+' (#15223)
(cherry picked from commit 15ff89c)
(cherry picked from commit 4096929)
fix #15257, toHex couldn't handle large uint64 (#15261) [backport:1.2]
(cherry picked from commit 4fb17bc)
Fix c_malloc inside syslocks.nim to take size_t (#15268) [backport]
* update c_malloc's to csize_t (cherry picked from commit 57f98da)
more Protocol supports in windows (#15274) [backport:1.2]
(cherry picked from commit e08b802)
nativesockets docs minor [backport: 1.2] (#15285)
(cherry picked from commit a816102)
(cherry picked from commit b56432b)
Small optimization for the CI pipeline. (#15088)
* azure-pipelines: cache csources to speed up build Building csources takes about 2-4 mins, and since it hasn't changed for a long time, employ some caching to cut the time spent. * azure-pipelines: remove ppa avoidance configs Testing shows that there aren't any difference between having this and not having it, so removing this to simplify the code. (cherry picked from commit c292c57)
remove annoying messages when creating orderedTables (#15309)
* nativesockets docs minor [backport: 1.2] * remove annoying messages (cherry picked from commit a41b243)
base64: fixes the error message for an invalid base64 input character…
… [backport:1.2] (cherry picked from commit cbdda63)
better nativestacktrace support; refs #15284; backport [1.2] (#15384)
* nimStackTraceOverride: enable stack traces in exceptions This is a two-step stack trace collection scheme, because re-raised exceptions will collect multiple stack traces but use them rarely, when printing info about an uncaught exception, so it makes sense to only do the cheap stack unwinding all the time and the relatively expensive debugging information collection on-demand. `asyncfutures` implements its own `$` proc for printing `seq[StackTraceEntry]`, so we have to add the debugging info there, just like we do for the private `$` proc in `system/excpt`. * cleaned up PR #15284 Co-authored-by: Ștefan Talpalaru <stefantalpalaru@yahoo.com> (cherry picked from commit 1fae66e)
finish the stacktraces.nim implementation [backport:1.2] (#15393)
(cherry picked from commit e2d80b1)
Dont assert on setstacksize result in iOS (#15427) [backport:1.2]
(cherry picked from commit 22d0a39)
various documentation fixes [backport] (#15422)
(cherry picked from commit eb2a496)
remove nim.cfg file change lefover [backport:1.2] (#15469)
(cherry picked from commit ff70ff5)
fixes nim-lang/RFCs#257 [backport:1.2] (#15479)
(cherry picked from commit 2288188)
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 d4892e9)
tools/deps: fix git dir check (#15470)
On Windows, a successful call will have a trailing newline appended, so strip that away before doing any checks. (cherry picked from commit e3eae3f)
koch: unify nimble building scripts [backport:1.4] (#15443)
This commit gets rid of buildNimble in favor of the simpler bundleNimbleExe, which does pretty much the same thing. (cherry picked from commit 3919f0a)
(cherry picked from commit fe18771)
(cherry picked from commit 0ac74dd)
tslow_tables: wait for an additional 2 seconds (#14266)
This test runtime tends to hover around the 5s mark depending on how loaded the system currently is. This causes the test to fail a lot during CI, per analytics: https://dev.azure.com/nim-lang/Nim/_test/analytics?definitionId=1&contextType=build Give the test an extra 2 seconds to account for unrelated overhead. (cherry picked from commit 83435fe)
close socket in getPrimaryIPAddr (#15538) [backport]
(cherry picked from commit c7ccbfa)
Fix doc for CountTable (#15561) [backport]
(cherry picked from commit f1d81dc)
sigmatch: hotfix [backport] (#15565)
(cherry picked from commit c664fb2)
(cherry picked from commit a4c2839)
Fix crash in parsexml (#15582) (#15583)
Co-authored-by: Igor Ribeiro de Assis <igor.ribeiro_de_assis@zeiss.com> (cherry picked from commit 42c180c)
renamed '=' to '=copy' [backport:1.2] (#15585)
(cherry picked from commit da4aa2e)