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
Jasper Jenkins
0ea770c8f0
Macro docs additions ( #12270 )
...
* small macros doc additions
* more changes
* fixes [ci skip]
* capitalization, couple additions
* nkNodeKind to nnkNodeKind
(cherry picked from commit c20778d2d3 )
2019-10-09 06:39:16 +02:00
Nindaleth
8a0012de42
fix a few dead links and a missing sentence in documentation ( #12387 )
...
(cherry picked from commit 84c956d9da )
2019-10-09 06:36:39 +02:00
treeform
1d4916b481
Easier build instructions for windows - just run build_all.bat. ( #12276 )
...
* Easier build instructions for windows.
* title letter
* Update build_all.bat to be like build_all.sh
(cherry picked from commit dbcffcfccb )
2019-10-09 06:36:19 +02:00
Ray Imber
2de758e68a
Documentation improvements around the db interface ( #12362 )
...
Added more details about the limits and reasoning behind the API.
Came about from this discussion on IRC: https://irclogs.nim-lang.org/04-10-2019.html#16:58:04
(cherry picked from commit 7c23522b29 )
2019-10-09 06:35:37 +02:00
pietroppeter
c8c9699850
[doc/tut1] removed discard discussion in comments ( #12352 )
...
(cherry picked from commit 89c37fada7 )
2019-10-09 06:34:06 +02:00
kraptor
5df7f3fd5c
Fix reference to parseSpec proc in readme ( #12359 )
...
(cherry picked from commit 412011eb96 )
2019-10-09 06:33:45 +02:00
Andreas Rumpf
44d45b763c
fixes #12315 [backport]; refs #12314 ( #12385 )
...
(cherry picked from commit f30da2f266 )
2019-10-09 06:28:27 +02:00
alaviss
f7c150766a
nimsuggest: fix tcp socket leak for epc backend ( #12384 ) [backport]
...
Same as e9fa4c9b9c , but for the epc
backend which is used by emacs and vscode plugin.
Since the EPC backend only deal with one connection per nimsuggest
instance, only one socket is leaked, thus not as servere as with the tcp
backend.
(cherry picked from commit edb24b7ce0 )
2019-10-09 06:28:27 +02:00
alaviss
4ae143ca60
nimsuggest: fix tcp socket leak ( #12377 ) [backport]
...
A new socket is created for each iteration and leak immediately thanks
to the accept() call replacing the created socket with the client socket.
This commit fixes that.
(cherry picked from commit e9fa4c9b9c )
2019-10-09 06:28:27 +02:00
Leorize
0a8dcd5e11
azure: disable failing tests
...
(cherry picked from commit 73c8391fd3 )
2019-10-08 11:43:16 +02:00
Leorize
929aa99665
testament: add azure integration
...
(cherry picked from commit acebcd7899 )
2019-10-08 11:41:44 +02:00
Leorize
bae10d44fa
azure-pipelines: add pipelines for linux, mac and win
...
This is the equivalent to the current AppVeyor + Travis setup.
(cherry picked from commit 880df4de62 )
2019-10-08 11:41:38 +02:00
Andreas Rumpf
4632e8b26e
fixes #12323 [backport]
...
(cherry picked from commit a60f18d025 )
2019-10-07 18:40:07 +02:00
Andreas Rumpf
97e2e06b00
VM: no special casing for big endian machines; refs #9690 [backport] ( #12364 )
...
(cherry picked from commit 5be8e0b088 )
2019-10-07 18:40:07 +02:00
Miran
b827431499
[backport] bundle nimpretty on Windows ( #12358 )
...
(cherry picked from commit 2909e41370 )
2019-10-04 17:53:27 +02:00
Andrew Owen
99d448deeb
[backport] Fix typo in docs ( #12356 ) [ci skip]
...
(cherry picked from commit 64acc9dbfb )
2019-10-04 17:53:27 +02:00