Andreas Rumpf
6844d679fc
nimpretty: fixes #9499
...
(cherry picked from commit 5fd2827ab6 )
2018-11-01 17:58:17 +01:00
Andreas Rumpf
4b06f19b71
stdlib: documenation updates, the exception names have been changed
...
(cherry picked from commit 223e92b83a )
2018-11-01 17:58:07 +01:00
Andreas Rumpf
f8c341e31f
make tests green again
...
(cherry picked from commit f5a2c6e19d )
2018-11-01 17:57:30 +01:00
Andreas Rumpf
d6124ccbad
parsutils: minor doc improvements
...
(cherry picked from commit 9331f06c0b )
2018-11-01 17:57:15 +01:00
Araq
522896f488
nimpretty: closes #9484
...
(cherry picked from commit e7e75224a2 )
2018-11-01 17:57:03 +01:00
Araq
427aa63a66
nimpretty: test for idempotence; fixes #9483
...
(cherry picked from commit 06a6433db7 )
2018-11-01 17:56:53 +01:00
genotrance
01b36cce1e
Make Windows cross-compilation simpler ( #9485 )
...
(cherry picked from commit 8500076651 )
2018-11-01 17:56:42 +01:00
Araq
db68353848
nimpretty: fixes #8078
...
(cherry picked from commit 3ee53a7c8e )
2018-11-01 17:56:34 +01:00
Araq
8196fd6f73
nimpretty: fixes #9398
...
(cherry picked from commit e3a0415650 )
2018-11-01 17:56:04 +01:00
Araq
5f1280194e
closes #9400
...
(cherry picked from commit 72370c8dfa )
2018-11-01 17:55:54 +01:00
Araq
1b2c8317e0
nimpretty: minor bug fix
...
(cherry picked from commit 695074214b )
2018-11-01 17:55:43 +01:00
loongw
80a9ac1400
\#include "windows.h" instead of "Windows.h" ( #9475 )
...
This fixes #9474
(cherry picked from commit 4841fc5356 )
2018-11-01 17:55:31 +01:00
recloser
fdce2e0188
Fix printing and comparing uninitialized strings
...
(cherry picked from commit 2b03bed2db )
2018-11-01 17:55:20 +01:00
Vindaar
5e48d4050e
add test case
...
(cherry picked from commit 557fa85e02 )
2018-11-01 17:55:12 +01:00
Vindaar
a482e5735d
fixes #9456 by only calling c_fclose if non nil
...
(cherry picked from commit e190f485ae )
2018-11-01 17:54:44 +01:00
Oscar Nihlgård
b864c89479
Fix times 32-bit issue
...
(cherry picked from commit 81f5427ed4 )
2018-11-01 17:54:28 +01:00
Timothee Cour
8f5a127e5c
[doc] add tips to doc/contributing.rst: git, code review, CI ( #9429 )
2018-11-01 17:53:51 +01:00
Miran
614059d6de
Update issue templates
...
Create `bug report` and `feature request` templates.
(cherry picked from commit fc625091e0 )
2018-11-01 17:52:41 +01:00
Arne Döring
6a6b77190c
Create issue_template.md
...
(cherry picked from commit d26beedfb1 )
2018-11-01 17:52:33 +01:00
Miran
38b391ff62
merge stdlib tests ( #9439 )
...
(cherry picked from commit 9fb212cfdf )
2018-11-01 17:52:04 +01:00
jcosborn
42056874d1
added test for #4674 ( #9438 )
...
(cherry picked from commit 3b1ade0350 )
2018-11-01 17:51:51 +01:00
Timothee Cour
4424fe0acc
fixes #9376 : old changelogs should be kept instead of erased ( #9428 )
...
(cherry picked from commit 162e7ee5b5 )
2018-11-01 17:51:41 +01:00
Timothee Cour
6515810a2e
[doc] start of best practices section in contributing.rst ( #9415 )
...
(cherry picked from commit 15dbd973de )
2018-11-01 17:51:33 +01:00
Araq
c1a6ebf40d
closes #6220
...
(cherry picked from commit c64391e30b )
2018-11-01 17:51:16 +01:00
Araq
8f8f3ba12f
closes #5321
...
(cherry picked from commit 4644484fb7 )
2018-11-01 17:50:53 +01:00
Vindaar
58726f9b81
fix #9394 by replacing fmt with strutils.% ( #9417 )
...
* fix #9394 by replacing `fmt` with normal string append
Until issue #7632 is fixed, use string append.
* use `strutils.%` instead of normal string add
(cherry picked from commit 82a1576263 )
2018-11-01 17:50:38 +01:00
LemonBoy
8a356fafb7
Make the swap procs safe for unaligned input ptrs ( #9210 )
...
* Make the swap procs safe for unaligned input ptrs
The copy to a temporary local variable is often elided by a sufficiently
smart compiler when it can prove the input pointer is aligned.
Refs #9206
* Explain why copyMem is used
(cherry picked from commit 1fe949b9d5 )
2018-11-01 17:50:28 +01:00
Timothee Cour
624d05c73f
[nimscript] document currentSourcePath in thisDir ( #9402 )
...
(cherry picked from commit 7d8e281239 )
2018-11-01 17:50:03 +01:00
Araq
b65b360ac2
tests: disable flaky tests for now; closes #9421
...
(cherry picked from commit 381498b0db )
2018-11-01 17:49:55 +01:00
Araq
0d5355b5fd
intern.rst: minor formating improvements
...
(cherry picked from commit 03a05ca456 )
2018-11-01 17:49:38 +01:00
Bo Lingen
8637ca6983
docs(lib): update Nimble notes since package list is not inline anymore ( #9397 )
...
(cherry picked from commit 458aab0b10 )
2018-11-01 17:49:17 +01:00
Miran
a65ac85e4a
make some tests faster ( #9413 )
...
* remove duplicated slow test
* smaller `convex hull`
* smaller sleep
* faster `trtree`
* smaller sleep in `tfuturestream`
(cherry picked from commit 95504caa31 )
2018-11-01 17:48:56 +01:00
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