Araq
13a8765afc
make thavlak and tmarkerproc_regression tests take fewer iterations in order to speedup the CIs
...
(cherry picked from commit 81e33b9d87 )
2018-11-01 17:48:32 +01:00
Araq
64f5c96685
nimpretty: fixes #9384
...
(cherry picked from commit bd9d5787f0 )
2018-11-01 17:48:17 +01:00
technicallyagd
aac04585ea
Elaborate on source code filter usage in the documentation. ( #9407 )
...
* Elaborate on source code filter usage.
Also gives it an abbreviation, SCF.
* Fix the code block formatting
* Trim off the unintended usage with import.
(cherry picked from commit 88adf77569 )
2018-11-01 17:48:06 +01:00
Yuriy Glukhov
7cf698442a
No setjump in GC for emscripten/wasm ( #9386 )
...
(cherry picked from commit dc72cf7564 )
2018-11-01 17:47:57 +01:00
PMunch
b70b633e8e
Fixes #9364 and add moduleDescription to jsondoc ( #9396 )
...
This fixes `jsondoc0` so that it has comments in the output as described
by the documentation. It also fixes `jsondoc`/`jsondoc2` as it stored
it's output in a file with an html extension. Along with this it also
adds a new field `moduleDescription` to `jsondoc`/`jsondoc2` which
contains the module description.
(cherry picked from commit db95fad6fa )
2018-11-01 17:47:27 +01:00
Miran
3ed61da6c1
improve error message, closes #2361 ( #9387 )
...
* improve error message
* use single % operation
(cherry picked from commit e8cf289bee )
2018-11-01 17:47:20 +01:00
Federico Ceratto
25ce980fe1
Update example ( #9395 )
...
(cherry picked from commit afc453beff )
2018-11-01 17:47:10 +01:00
Kaushal Modi
7e1d411279
Update config.nims search path in docs ( #9388 )
...
Related: https://github.com/nim-lang/Nim/pull/8682
Also mention the "nim help" command to list all available tasks.
(cherry picked from commit 3e9f506923 )
2018-11-01 17:47:02 +01:00
Andreas Rumpf
90d18b75c2
fixes #9244
...
(cherry picked from commit b340f677eb )
2018-11-01 17:46:31 +01:00
eqperes
2e2a2754a4
Some documentation added to strutils ( #9379 )
...
* wip documentation strutils
* some runnableExamples in strutils
* assert -> doAssert
* corrected doc for abbrev; some more runnable examples
* runnableExamples for join
* fix c&p error
* corrections
(cherry picked from commit afd9d8dd8d )
2018-11-01 17:46:22 +01:00
Andreas Rumpf
6ad4022b5e
nimpretty: added an new simple test
...
(cherry picked from commit 480d228603 )
2018-11-01 17:46:12 +01:00
Andreas Rumpf
e0eda28a99
nimpretty: fixes #9144
...
(cherry picked from commit 778e4d1775 )
2018-11-01 17:44:54 +01:00
Andreas Rumpf
06b1d17134
nimpretty: add #!nimpretty on/off directives
...
(cherry picked from commit f3c0703b7d )
2018-11-01 17:44:48 +01:00
Andreas Rumpf
754e11de3e
nimpretty: fixes #8626
...
(cherry picked from commit ed38079b9b )
2018-11-01 17:44:23 +01:00
Andreas Rumpf
3340e46310
nimpretty: render r-strings properly, fixes #9236
...
(cherry picked from commit 89ba0f8592 )
2018-11-01 17:44:09 +01:00
Araq
4f432688a3
system.nim: fixes typo
...
(cherry picked from commit fe091997aa )
2018-11-01 17:43:46 +01:00
Miran
ee18699609
merge macros tests ( #9367 )
2018-11-01 17:43:26 +01:00
Andreas Rumpf
ae80f763b3
unicode: added strip, align, alignLeft, repeat procs; refs #6301
...
(cherry picked from commit 8960efa340 )
2018-11-01 17:40:29 +01:00
Andreas Rumpf
48d3b26c21
unicode: add split procs; refs #6301
2018-11-01 17:39:58 +01:00
Andreas Rumpf
2818661ffe
struils: don't use the deprecated accumulateResult
...
(cherry picked from commit 152c7d99c3 )
2018-11-01 17:38:05 +01:00
Miran
325ca8cae6
Merge tests into a larger file (part 3 of ∞: generics) ( #9347 )
...
* merge generics issues tests
* merge tgeneric
* merge test with local imports
* merge tcan tests
* merge matcher tests
* more issue tests merged
* one more tcan test
* merge various small tests into one file
* add a test for #3717
(cherry picked from commit 9f8b93641e )
2018-11-01 17:37:48 +01:00
Vindaar
ed4a7b7f66
add issue #5707 as test case ( #9361 )
...
(cherry picked from commit afd5abdfc2 )
2018-11-01 17:37:33 +01:00
Josh Goebel
5b3b091cd1
Fix type in docs ( #9362 )
...
(cherry picked from commit 38454c6951 )
2018-11-01 17:37:20 +01:00
Federico Ceratto
64da338a8b
Update makefile and buildsh templates for riscv64 ( #9351 )
...
(cherry picked from commit e435dbd35e )
2018-11-01 17:36:25 +01:00
Miran
e718dc75c5
Merge tests into a larger file (part 2 of ∞) ( #9335 )
...
* merge controlflow tests
* merge distinct tests
* merge enum tests
* merge fields tests
* merge implicit tests
* merge iter issues tests
(cherry picked from commit 3c9fcc4c30 )
2018-11-01 17:36:14 +01:00
Tomohiro
495585bc1e
manual: Fix links to Parallel & Spawn ( #9342 )
...
(cherry picked from commit eb4272ba1c )
2018-11-01 17:36:02 +01:00
eqperes
7de3bcfb8e
Proposed solution for issue #8919 ( #9280 )
...
* Proposed solution for issue #8919
* count sub/subs must be non-empty
(cherry picked from commit 14925ee8b6 )
2018-11-01 17:35:29 +01:00
Jacek Sieka
7cf3944c38
Testament pre parallel ( #9137 )
...
* testament: move to root dir (it's not a test)
* osproc: fix process index passed to afterRunEvent for parallel runs
it was passing the index of the process, not index of all commands
* testament: complete file move
(cherry picked from commit 97738a4f28 )
2018-11-01 17:35:08 +01:00
Miran
44f5c7e90f
Merge tests into a larger file (part 1 of ∞) ( #9318 )
...
* merge actiontable tests
* merge arithm tests
* merge array tests
* merge assign tests
* merge bind tests
* merge casestmt tests
* merge closure tests
* merge cnt seq tests
* merge collections tests
* merge concept issues tests
* merge concept tests
* fix failing tests
* smaller outputs
Use `doAssert` where possible.
* fix wrong output
* split `tcomputedgoto`
* revert merging concepts
* fix failing test
(cherry picked from commit 7f18d7cbc1 )
2018-11-01 17:34:33 +01:00
Tomohiro
faa9e7a582
manual: Remove stmt or expr template related text from manual ( #9321 )
...
(cherry picked from commit d2b04a8bc7 )
2018-11-01 17:33:17 +01:00
Araq
596524d2ec
fixes #9306
...
(cherry picked from commit 8ab6fa1be2 )
2018-11-01 17:32:41 +01:00
Andrea Ferretti
fde803745e
Clarify that term rewriting macros are applied recursively ( #9305 )
...
Fixes https://github.com/nim-lang/Nim/issues/9288 fixes https://github.com/nim-lang/Nim/issues/8376 and fixes https://github.com/nim-lang/Nim/issues/2901
(cherry picked from commit 160f8599c6 )
2018-11-01 17:32:32 +01:00
eqperes
8a9680e3a2
compile date and compile time tz written in doc ( #9283 )
...
(cherry picked from commit 00c4aba828 )
2018-11-01 17:32:21 +01:00
Oscar Nihlgård
291d7499a4
Fix OrderedSet.excl ( #9287 )
...
(cherry picked from commit eade49d7a7 )
2018-11-01 17:31:56 +01:00
Timothee Cour
b5bb48dbd2
fix #9295 ( #9299 )
...
(cherry picked from commit 0aac5c9725 )
2018-11-01 17:31:36 +01:00
xzfc
73a7d1456c
Fix tests on NixOS ( #9209 ) ( #9285 )
...
* Replace `/bin/sleep` with just `sleep`, i.e. use environment variable
`$PATH` to locate binary.
* Replace `/usr/share/zoneinfo` with `$TZDIR` when it is defined,
fallback to hardcoded path otherwise. This is the same behavior that
Glibc2 normally have, see man 3 tzset.
(cherry picked from commit 8ed3dac1dc )
2018-11-01 17:31:25 +01:00
eqperes
65c2f19cff
Documentation improved for math module
2018-11-01 17:30:51 +01:00
manterolat
a5aad7ff59
Fixes #9154 ( #9193 )
...
(cherry picked from commit 16a941a642 )
2018-11-01 17:29:20 +01:00
Miran
0714de4f3b
Iter test: closes #3819 ( #9272 )
...
(cherry picked from commit 462bff48b2 )
2018-11-01 17:29:10 +01:00
Timothee Cour
41e2f6b7bc
fix #9264 regression ( #9265 )
...
(cherry picked from commit 77f836b403 )
2018-11-01 17:28:57 +01:00
Miran
46f0c7c554
better docs for tables module ( #9221 )
...
* better docs for `tables` module
* lower case for the first sentence in docs
(cherry picked from commit 98a8868cb4 )
2018-11-01 17:28:42 +01:00
Timothee Cour
b0618ffe17
fix tests/generics/t8694.nim: runnableExamples were not run because of #9216 ( #9262 )
...
(cherry picked from commit 63c00d7be9 )
2018-11-01 17:28:26 +01:00
Kaushal Modi
d1114d0995
Do not encode the anchors in docs (id attr in a tags) ( #9261 )
...
Update the tests too.
Fixes https://github.com/nim-lang/Nim/issues/9232 .
(cherry picked from commit c6dfbfc2cf )
2018-11-01 17:28:15 +01:00
hlaaf
8120d8bede
Separate high/low/len docs for each overload ( #8816 )
...
(cherry picked from commit c68ea019f9 )
2018-11-01 17:27:53 +01:00
Dominik Picheta
7ff17aff5f
Fixes #8994 . FutureStream read procedure data loss no longer occurs. ( #9183 )
...
* Fixes #8994 . FutureStream read procedure data loss no longer occurs.
* Optimises the fix for #8994 .
(cherry picked from commit 21ecf64d24 )
2018-11-01 17:27:35 +01:00
Yasuhiro Horimoto
f2a44aa8cf
Fixes #8841 ( #9101 )
...
Modify comments for readChar and peekChar to the same as the comment for them in the source code.
(cherry picked from commit fe19670c52 )
2018-11-01 17:27:28 +01:00
technicallyagd
1e1a43dd23
Fixes some minor typos in nimsuggest.rst ( #9223 )
...
* Fix Minor typo in nimsuggest.rst
* Fixes two more typo in nimsuggest.rst
(cherry picked from commit 85187d4ba3 )
2018-11-01 17:27:10 +01:00
LemonBoy
0f080fdce3
Fix range type construction in the VM ( #9205 )
...
The `range[X,Y]` representation is wrong, we use `range[X .. Y]`
instead.
Fixes #9194
(cherry picked from commit 8a1055adce )
2018-11-01 17:26:50 +01:00
cooldome
221c67b880
fixes #9222 ( #9224 )
...
(cherry picked from commit 036c52f0b6 )
2018-11-01 17:26:15 +01:00
Timothee Cour
2923eb08ab
[os] clarify docs for existsDir ( #9212 )
...
* Update os.nim
* Update os.nim
(cherry picked from commit 73e6b229aa )
2018-11-01 17:26:06 +01:00