guards.nim:sameTree(): handle uint literals correctly (#12483) [backp…
…ort] (cherry picked from commit ad3c100)
Docstring refined for the getSectionValue() (#12478) [backport]
(cherry picked from commit 0490324)
[backport] package chronos now has dependencies
(cherry picked from commit 2120fb2)
Fix jsgen bug with uninitialized seq (#12500) [backport]
(cherry picked from commit 4ac100c)
Fix JS bug in std/monotimes (#12499) [backport]
(cherry picked from commit 3d0c756)
disable package 'chronos' for now
(cherry picked from commit 2baa21d)
[backport] Documentation Math module (#12460)
(cherry picked from commit 8f89164)
[backport] Clarifies experimental / parallel example on manual.rst (#…
…12472) * Clarifies experimental / parallel on manual.rst Details: Calling `useParallel()` in example fails with compiler error Error: 'parallel' section without 'spawn' Adding `spawn` causes error: Error: internal error: (filename: "ccgexprs.nim", line: 1032, column: 17) No stack traceback available To create a stacktrace, rerun compilation with ./koch temp c <file> Therefore a separate proc, `threadedEcho`, is added for the echo'ing of the string, which allows the example to build, however, `sync()` must be added so that the "echo in parallel" strings will actually be shown on the terminal. Otherwise, the program will spawn of the threads and exit before they can return to the main thread. * Fixes and clarifies example for threading in manual.rst Issue: Calling useParallel() in example failed with compiler error `Error: 'parallel' section without 'spawn'` Adding spawn yielded compiler error: ```bash Error: internal error: (filename: "ccgexprs.nim", line: 1032, column: 17) No stack traceback available To create a stacktrace, rerun compilation with ./koch temp c ``` Proposed Solution: - Separate proc, threadedEcho, is added for the echo'ing of the string, which allows the example to build - Added the thread number so that it can demonstrate that sometimes threads which were started sooner, come back after threads which were started later. (cherry picked from commit d731646)
[backport] Add link to posix_utils.html - related to #10723 (#12509)
(cherry picked from commit 9ac062b)
Note that contrary to what docgen.rst currently says, the ids have to match exactly or else most web browsers will not jump to the intended symbol. (cherry picked from commit 93461ae)
Prefer relative links for Nim documentation
This is more friendly to those browsing the documentation without a network connection. The nim-doc package in Debian allows this, for example. Also, the domain name being used was not consistent. It could have been either nim-lang.org or nim-lang.github.io, and those reading the stable docs could have found themselves suddenly reading the devel docs instead. (cherry picked from commit 72147c9)
koch.rst: remove link to nonexistent section
(cherry picked from commit 79aa589)
manual.rst: remove unintended link
cast[T](0) is interpreted as a link to id 0 with text T, so escape the opening parentheses to display the intended output. (cherry picked from commit 59c1f7c)
asyncstreams: replace unintended link with emphasis
(cherry picked from commit e6d5379)
(cherry picked from commit 3ad4806)
VM: fixes most ran-out-registers problems [backport] (#12485)
(cherry picked from commit 801a794)
(cherry picked from commit 8a599fb)
VM: fixes register leaks [backport] (#12510)
(cherry picked from commit e0d13ab)
sequtils: replace deprecated 'random' call within example (#12515) [b…
…ackport] (cherry picked from commit 1d42108)
Remove sentences referring to the graphics module (#12522)
(cherry picked from commit 3a62cf2)
integer literal documentation [ci skip] (#12513)
* integer literal documentation [ci skip] * apply feedback [ci skip] (cherry picked from commit 91af075)
colors: fix 'mix' template and make most examples runnable (#12532) […
…backport] * colors: fix the 'mix' template * colors: make most examples runnable (cherry picked from commit ee119f7)
Fix code style errors (#12545)
(cherry picked from commit 160c07b)
Fix newLit for objects having string fields (#12542) [backport]
(cherry picked from commit de5f6a0)
(cherry picked from commit 1214960)
fix several typos in documentation and comments (#12553)
(cherry picked from commit 34dbc56)
Add or detectOs(Manjaro) (#12587) [backport]
Using `pacman` command in Manjaro Linux
--os:ios needs to imply defined(macosx) [backport] (#12585)
(cherry picked from commit 62fc3db)
[backport] fix #12395 (#12590)
'countBits32' is now fixed in the same way that 'countBits64' was already patched earlier (by adding 'u32 where needed). (cherry picked from commit ae32d63)
refactoring: --newruntime consists of 3 different switches
(cherry picked from commit 61ea856)
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 5f5879d)
[backport] Add links to packaging and distro pages (#12603) [ci skip]
(cherry picked from commit 59c2126)
[backport] doc/tut3.rst: Fix typo in Introduction (#12607) [ci skip]
Derivative of `b*pow(x, 2)` is `2*b*x`, while old version had `2*a*x` (cherry picked from commit 5ccbf7e)
[backport] rewrite flaky runnable example
(cherry picked from commit 5381c81)
[backport] print more information for the previous commit
(cherry picked from commit 717da9f)