ee7
87e634aab3
rationals.nim: Use func everywhere ( #16302 )
2020-12-09 16:17:50 +01:00
ee7
6f57ebae34
sequtils.nim: Use func ( #16293 )
...
* sequtils.nim: proc -> func
* sequtils.nim: proc -> func in links
* sequtils.nim: proc -> func in non-link doc comments
* test: add `sequtils` to strictFuncs test
2020-12-09 12:11:16 +01:00
ee7
140ebe6019
complex.nim: Use func everywhere ( #16294 )
2020-12-09 10:57:12 +01:00
flywind
a32acc351e
Revert "use generics in random ( #16283 )" ( #16291 )
...
This reverts commit 71e2a9e569 .
2020-12-09 09:36:46 +08:00
ee7
2297b96238
math.nim: Use func everywhere ( #16285 )
...
* math.nim: procs with {.noSideEffect} -> funcs
* math.nim: procs without {.noSideEffect.} -> funcs
* math.nim: proc -> func in links
* math.nim: proc -> func in doc comments
* test: add `math` to strictFuncs test
2020-12-07 23:26:14 +01:00
ee7
84fea7c144
strutils.nim: Use func everywhere ( #16281 )
...
* strutils.nim: procs with {.noSideEffect.} -> func
* strutils.nim: procs without {.noSideEffect.} -> func
* strutils.nim: proc -> func for links
* strutils.nim: proc -> func in doc comments
* test: add strutils to strictFuncs test
* test: proc -> func in errmsg test
2020-12-07 17:07:12 +01:00
flywind
71e2a9e569
use generics in random ( #16283 )
...
* use generics in random
* fix
2020-12-07 16:38:13 +01:00
flywind
baf37b5cc7
use funcs and fix links in strutils ( #16277 )
...
* use funcs and inline in strutils
* use funcs
2020-12-07 10:41:25 +01:00
Pietro Peterlongo
57d2c293d3
fix parseChar see #16240 ( #16245 )
...
* fix parseChar
* do not introduce new double backticks
2020-12-06 10:14:55 +01:00
flywind
1e320bc8c5
[docs minor]space for code-block ( #16266 )
...
* [docs minor]space for code-block
* correct more errors
* to runnableExamples
* add newline
2020-12-06 09:54:32 +01:00
flywind
48d7c40553
fix #16206 ( #16207 )
...
* better docs and tests
* a bit better only clean trailing whitespace
2020-12-06 09:50:46 +01:00
flywind
1aaa67fc18
[docs minor] remove unicode in docs comments ( #16267 )
2020-12-06 05:51:29 +01:00
Antonis Geralis
808ab7eae2
add collect with infered init, refs #16078 fixes #14332 ( #16089 )
...
* changelog
* add testcase, fixes #14332
2020-12-03 20:32:18 +01:00
Miran
2220aaeaef
add support for parsing chars in scanf macro ( #16240 )
2020-12-03 17:34:30 +01:00
Andrey Makarov
e223a05123
minor fix to Posix part of walkDir ( #16234 )
...
* change break->continue and rewrite one-yield-style
* use case statement for clarity
* Tiny nit
Co-authored-by: Clyybber <darkmine956@gmail.com >
2020-12-03 17:09:54 +01:00
flywind
139075e965
move decode_helpers to std/private ( #16209 )
2020-12-02 10:30:55 -08:00
ihlec
5c23ba7545
fixed article duplication typos ( #16216 )
2020-12-02 09:15:29 +01:00
flywind
9fa5826d62
minor typo ( #16225 )
2020-12-02 10:23:38 +08:00
treeform
cabfc7ec5c
Don't add content-length header on GET request when there is no body. ( #16196 )
...
* Don't add content-length header on GET request when there is no body.
* Add space between the not and the (.
* Take Dom's suggestion.
2020-12-01 23:29:15 +01:00
flywind
62eb1312a0
minor improve the docs of parsecfg ( #16208 )
2020-12-01 21:06:37 +01:00
hlaaftana
1d1b3f79fd
fix broken => for typed procs with pragmas ( #16190 )
...
* fix broken => for typed procs with pragmas
* add more sugar tests
* add ending quote
2020-12-01 12:01:36 +01:00
Bung
5a43a20f53
toXXAscii use xor op, saving 30%~50% time ( #16193 )
...
* toXXAscii use xor op, saving 30%~50% time
* Update lib/pure/strutils.nim
Co-authored-by: hlaaftana <10591326+hlaaftana@users.noreply.github.com >
* Update lib/pure/strutils.nim
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
Co-authored-by: hlaaftana <10591326+hlaaftana@users.noreply.github.com >
2020-11-30 18:24:12 +01:00
flywind
735c06d7f1
small runnableExamples changes ( #16181 )
2020-11-30 10:18:47 +01:00
flywind
bc1db0d6f1
move rest of tests to testament ( #16140 )
...
* move rest of tests to testament
* Update tests/stdlib/tsums.nim
2020-11-27 20:47:49 +01:00
Andreas Rumpf
c9a10bb9e4
fixes #16154 ; underlying system.add for seq is the real cause; will be addressed in a follow-up PR ( #16161 )
2020-11-27 15:26:57 +01:00
Andreas Rumpf
da753c6a2e
fixes #15076 ( #16143 )
...
* fixes #15076
* heapqueue: optimized for ARC
* added another test case [backport:1.4]
* code cleanup
2020-11-26 10:24:52 +01:00
Antonis Geralis
e220f756e7
fix for comparing infinities ( #16122 )
2020-11-25 10:15:34 +01:00
flywind
b7809cc992
improve the documentation of ropes ( #16111 )
2020-11-25 07:42:25 +01:00
flywind
d2c6ac4750
add simple runnableExamples for atomics ( #16116 )
2020-11-24 19:19:03 +01:00
flywind
cbc793b30b
move tests to testament ( #16101 )
...
* move tests to testament
* minor
* fix random
* disable test random
2020-11-24 19:06:41 +01:00
flywind
afb8b69c0a
improve document for heapqueue ( #16107 )
2020-11-24 14:29:34 +01:00
kemifl
a764a5b9bc
fix #14056 ( #16071 )
...
fix #14056 , incorporate review comments
2020-11-23 19:53:57 +01:00
flywind
0c6c4be0e7
fix ropes format errors ( #16106 ) [backport:1.0]
...
* fix rope index
* add testcase
* fix ropes format
2020-11-23 19:23:52 +01:00
flywind
7fc0c3dfbf
ref #5617 add lineinfo to complete ( #16102 )
2020-11-23 17:49:40 +01:00
flywind
79ec1bdcbb
correct errors in xmltree docs ( #16104 )
2020-11-23 10:36:05 +00:00
flywind
ab2c082cb3
fix rope index ( #16100 )
...
* fix rope index
* add testcase
2020-11-23 10:27:09 +00:00
flywind
6f1a72069a
fix #9695 asyncmacro: tfuturevar fails when activated [backport: 1.0] ( #16090 )
...
* fix asyncmacro
* Apply suggestions from code review
* Update lib/pure/asyncmacro.nim
2020-11-22 17:16:42 +01:00
flywind
f1764aaa9e
sets minor improvement ( #16087 )
2020-11-21 12:50:23 -08:00
flywind
c9371ef59d
deques minor improvement ( #16084 )
2020-11-21 12:30:04 -08:00
flywind
3040f05505
xmltree minor improvement ( #16085 )
2020-11-21 12:26:51 -08:00
flywind
dd57d46f2f
complex minor improvement ( #16086 )
2020-11-21 12:20:33 -08:00
flywind
f3887dea2c
heapqueue minor improvement ( #16088 )
2020-11-21 12:16:35 -08:00
satoru
81a03238ed
colors: Reuse the HexDigits constant in strutils ( #16065 )
...
Co-authored-by: Xuecong Liao <xliao@flexport.com >
2020-11-20 10:55:14 +01:00
Andreas Rumpf
743f2f5faa
makes parsesql .gcsafe [backport:1.0] ( #16039 )
2020-11-19 08:30:23 +01:00
Timothee Cour
33d79b9e64
fix https://github.com/nim-lang/RFCs/issues/286 : add FileInfo.blockSize ( #16023 )
2020-11-18 12:01:43 +01:00
Juan Carlos
a8858eb93e
htmlgen: Add lazy loading ( #15986 )
2020-11-16 10:15:05 -08:00
Andreas Rumpf
122f22d163
asynchttpserver cleanups [backport:1.0] ( #15966 )
...
* asynchttpserver cleanups [backport:1.0]
2020-11-15 07:27:13 +01:00
Andreas Rumpf
562c6275b8
attempt to make asynchttpserver better; fixes #15925 ; [backport:1.0] ( #15957 )
...
* attempt to make asynchttpserver better; fixes #15925 ; [backport:1.0]
* better documentation
* fixes 'nim doc'
* makes test green again
* ported to FreeRTOS
* fixes the doc rendering
2020-11-13 20:57:43 +01:00
Araq
02f8b11a71
fixes the doc rendering
2020-11-13 17:16:00 +01:00
Araq
9f566881f1
ported to FreeRTOS
2020-11-13 17:03:07 +01:00