Anthon van der Neut
f991d2c1fd
[backport] fix broken link to non-existing c2nim manual html, fixes #12537 [ci skip] ( #12544 )
...
(cherry picked from commit c58aa7705d )
2019-10-30 10:38:25 +01:00
Jjp137
d6ae4e00f4
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 ee119f7984 )
2019-10-30 10:38:25 +01:00
Arne Döring
2a2a9110b2
integer literal documentation [ci skip] ( #12513 )
...
* integer literal documentation [ci skip]
* apply feedback [ci skip]
(cherry picked from commit 91af075244 )
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
Jjp137
476d677c6f
Remove sentences referring to the graphics module ( #12522 )
...
(cherry picked from commit 3a62cf29d8 )
2019-10-30 10:38:25 +01:00
Jjp137
ee0c1482d7
sequtils: replace deprecated 'random' call within example ( #12515 ) [backport]
...
(cherry picked from commit 1d42108fda )
2019-10-30 10:30:47 +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
narimiran
338f43f305
disable flaky test on OSX
...
(cherry picked from commit d5cd5b00b9 )
2019-10-24 18:59:16 +02:00
Jjp137
d1d8cd1000
Fix word wrapping
...
(cherry picked from commit 3ad48069d3 )
2019-10-24 14:12:23 +02:00
Jjp137
f042acc535
asyncstreams: replace unintended link with emphasis
...
(cherry picked from commit e6d5379b3b )
2019-10-24 14:12:23 +02:00
Jjp137
eac5452082
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 59c1f7c87f )
2019-10-24 14:12:23 +02:00
Jjp137
80861998c7
koch.rst: remove link to nonexistent section
...
(cherry picked from commit 79aa58979c )
2019-10-24 14:12:23 +02:00
Jjp137
c1fd463834
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 72147c9ba4 )
2019-10-24 14:12:12 +02:00
Jjp137
dedff71ca0
Fix many broken links
...
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 93461aee34 )
2019-10-24 14:10:46 +02:00
Federico Ceratto
cd60067638
[backport] Add link to posix_utils.html - related to #10723 ( #12509 )
...
(cherry picked from commit 9ac062b746 )
2019-10-24 14:08:46 +02:00
UNIcodeX
bf047d6ef1
[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 d731646106 )
2019-10-24 14:08:46 +02:00
Juan Carlos
313b2f0d71
[backport] Documentation Math module ( #12460 )
...
(cherry picked from commit 8f8916413f )
2019-10-24 14:08:46 +02:00
narimiran
f5269876ea
disable package 'chronos' for now
...
(cherry picked from commit 2baa21d461 )
2019-10-24 13:54:57 +02:00
Oscar Nihlgård
89738fd95d
Fix JS bug in std/monotimes ( #12499 ) [backport]
...
(cherry picked from commit 3d0c756a3c )
2019-10-24 13:45:43 +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
narimiran
6ffe5ee7e8
[backport] package chronos now has dependencies
...
(cherry picked from commit 2120fb2777 )
2019-10-24 13:45:42 +02:00
Artem V L
ab2a8344b3
Docstring refined for the getSectionValue() ( #12478 ) [backport]
...
(cherry picked from commit 049032432c )
2019-10-24 13:45:42 +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
narimiran
6fc9327ebf
nightly version is 1.0.3
2019-10-24 13:44:46 +02:00
Anthony Sottile
93aeb9c825
[ci skip] Fix link in changelog ( #12498 )
2019-10-23 17:36:47 +02:00
narimiran
59e8ca721e
add changelog for v1.0.2
...
(cherry picked from commit 822078ed12 )
2019-10-23 14:36:06 +02:00
Arne Döring
193b3c66bb
fix #12426 ( #12462 )
...
(cherry picked from commit ec20fd3544 )
v1.0.2
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
ducdetronquito
1526ae8791
Namespace unittest enums to avoid name conflicts ( #12468 ) [backport]
...
* [backport] Fixes : #12465 - Unittest - Namespace the usage of TestStatus enum to avoid name conflicts.
(cherry picked from commit df4c339cfc )
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
Juan Carlos
f579d29b68
Fixes #8802 ( #12439 )
...
* Fix #8802
* Peer review feedbacks https://github.com/nim-lang/Nim/pull/12439#discussion_r335905397
(cherry picked from commit f5b4d9a2e5 )
2019-10-21 07:32:38 +02:00
Juan Carlos
f79f7fed98
Fixes #10824 ( #12437 )
...
(cherry picked from commit 4d1f69c7d2 )
2019-10-17 22:27:54 +02:00
Juan Carlos
e0c4015bbe
Fix #10804 ( #12438 )
...
(cherry picked from commit 2cfd58de48 )
2019-10-17 22:27:38 +02:00
Miran
7b500cbfad
[backport] fix type's case in random.nim ( #12445 )
...
(cherry picked from commit a5ab502f08 )
2019-10-17 22:25:51 +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
Miran
b0e595b3cf
[backport] fix #12418 , fix random.randomize on JS backend ( #12432 )
...
(cherry picked from commit 5f5ac8ce16 )
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
genotrance
8f1dea614e
Fixes #12286 - require explicit disabling of boehm interior pointer checking ( #12406 ) [backport]
...
(cherry picked from commit 9e62876647 )
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
Andreas Rumpf
2ebd47089a
fixes a koch regression that made 'koch boot --listcmd' not work anymore [backport] ( #12400 )
...
(cherry picked from commit d783c0f7ff )
2019-10-12 08:00:43 +02:00
Araq
535f0b9c9d
fixes #12244 [backport]
...
(cherry picked from commit 7f904e2c66 )
2019-10-12 08:00:43 +02:00
awr1
813b371758
[backport] Mention "lambdas" and => in the manual ( #12397 ) [ci skip]
...
(so that "lambda" can be CTRL+F'd)
(cherry picked from commit 3b1760df72 )
2019-10-12 08:00:43 +02:00
Andreas Rumpf
a09379f5fd
fixes #12366 [backport] ( #12393 )
...
(cherry picked from commit f728614ef8 )
2019-10-12 08:00:43 +02:00
narimiran
e9f7455bd6
bump version to 1.0.2
2019-10-09 06:42:54 +02:00
Andrew Smith
e03b1b79ae
Updated the code example in the os module to use better grammar. ( #12328 )
...
(cherry picked from commit 0d94ee15c0 )
2019-10-09 06:39:41 +02:00