Commit Graph

3780 Commits

Author SHA1 Message Date
Miran
a62685372f json: add '\v' support, fixes #10541 (#10987)
(cherry picked from commit 2608bc369e)
2019-05-07 17:35:55 +02:00
Andreas Rumpf
897b63e5cd stats.nim: bugfix: use min in '+' [backport]
(cherry picked from commit 1332f649b2)
2019-03-24 19:07:33 +01:00
Araq
aa2dfd1cef fixes a critical strutils bug [backport]
(cherry picked from commit 68ce92d4eb)
2019-02-20 19:47:02 +01:00
Andreas Rumpf
99fc4029e0 fixes #10584 [backport]
(cherry picked from commit 65f3e390e8)
2019-02-20 19:25:33 +01:00
Arne Döring
c9441c6f79 Vm bitops fixes (#10520) 2019-02-05 15:51:08 +01:00
Miran
74275112a5 fixes #2796 (#10500) [backport]
(cherry picked from commit 9ac0cbdd51)
2019-01-31 08:29:40 +01:00
Christian Lyder Jacobsen
2853aeda8e Use hexadecimal in json escaping (#10437) [backport]
(cherry picked from commit 8313e5f24e)
2019-01-25 10:02:03 +01:00
Araq
81fd1147db fixes #8294 [backport]
(cherry picked from commit 27e366eaec)
2019-01-25 09:56:34 +01:00
LemonBoy
1932da018f Restore the docstring during the .async. transform (#10404) [backport]
Fixes #9816

(cherry picked from commit 792dbed57e)
2019-01-22 09:42:07 +01:00
narimiran
e8aaec0153 [backport] fix documentation leak to os.nim[ci skip]
(cherry picked from commit 29e0a792ff)
2019-01-14 09:34:22 +01:00
Ico Doornekamp
187cc9f6bd Added examples to strtabs module (#10160)
(cherry picked from commit be9d1280ae)
2019-01-09 11:04:27 +01:00
alaviss
1134f85faa os.walkDir: correctly evaluate paths when relative = true [0.19] (#10173) 2019-01-03 16:35:14 +01:00
Araq
32d7fa35a9 fixes #9728
(cherry picked from commit 4929f74023)
2019-01-03 13:36:31 +01:00
narimiran
7beea1642d Revert "os.walkDir: correctly evaluate paths when relative = true"
This reverts commit 123c568236.
2018-12-31 11:20:10 +01:00
alaviss
123c568236 os.walkDir: correctly evaluate paths when relative = true 2018-12-29 10:51:43 +01:00
pgkos
a8b20e8129 fixes #9800 (#9804) [backport]
* fixes #9800
* add tests for #9800

(cherry picked from commit 518c72e57a)
2018-11-28 17:49:33 +01:00
Yuriy Glukhov
219942658b Fixes 9716 [backport] 2018-11-24 17:35:24 +01:00
Arne Döring
ae26351a0e changelog entry
(cherry picked from commit 80843373ba)
2018-11-01 18:08:38 +01:00
Arne Döring
899ce95420 fix typo
(cherry picked from commit 84db658eb4)
2018-11-01 18:08:25 +01:00
Arne Döring
758c20dc84 fixes #9557
(cherry picked from commit e653121633)
2018-11-01 18:06:42 +01:00
Araq
5d3756ed3f fixes #7667; underlying issue is that dot calls in generics have no concept of 'friend' symbols, will be addressed later
(cherry picked from commit e44df5dca6)
2018-11-01 18:03:28 +01:00
narimiran
939ffc3615 more examples for mod and div, plus corrections [ci skip]
(cherry picked from commit 80b78b50d0)
2018-11-01 18:03:16 +01:00
Neelesh Chandola
c756983795 Fixes #9525 (#9526)
(cherry picked from commit 95cc1abdc7)
2018-11-01 18:02:56 +01:00
xzfc
c8786ad197 Fix strscans.scanp (#9518)
* strscans: fix typo

* strscans: fix #9240

* strscans: add tests

(cherry picked from commit 95a60dc780)
2018-11-01 18:02:33 +01:00
citycide
171721bf49 docs: clarify asyncCheck vs waitFor
(cherry picked from commit 4362ba7293)
2018-11-01 18:00:26 +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
d6124ccbad parsutils: minor doc improvements
(cherry picked from commit 9331f06c0b)
2018-11-01 17:57:15 +01:00
Oscar Nihlgård
b864c89479 Fix times 32-bit issue
(cherry picked from commit 81f5427ed4)
2018-11-01 17:54:28 +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
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
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
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
Oscar Nihlgård
291d7499a4 Fix OrderedSet.excl (#9287)
(cherry picked from commit eade49d7a7)
2018-11-01 17:31:56 +01:00
eqperes
65c2f19cff Documentation improved for math module 2018-11-01 17:30:51 +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
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
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
Juan Carlos
4e9686d1a9 HTMLGen Update, Add runnableExamples, Add HTML Tags center, details, dialog, marquee, picture, slot, summary (#9252)
(cherry picked from commit bc557e4c6a)
2018-11-01 17:24:04 +01:00
Dominik Picheta
269b957e29 Merges #8451 manually. Fixes #8099. 2018-10-03 21:25:11 -07:00
LemonBoy
2c0bfb34fd Fix regression w/ templates defined in async proc 2018-10-03 18:25:25 +02:00
Steve Kellock
91c13a0163 [docs/json]: expands existing examples + shows {} operator in action (#9157)
* [docs/json]: expands existing examples + shows {} operator in action

* adds import stmt and fixes butchered syntax in json examples
2018-10-02 20:47:21 -07:00
Andreas Rumpf
e867c8e5c3 Merge branch 'devel' into fix_issues_9126 2018-10-01 14:15:35 +02:00
Araq
5298c509a7 fixes #9126 2018-10-01 12:51:44 +02:00
Yasuhiro Horimoto
aa8249d177 Fix #9126: use splitPath instead of substr 2018-09-30 23:20:14 +09:00