Araq
a2c51867f2
fixes the doc rendering
...
(cherry picked from commit 02f8b11a71 )
2020-11-16 07:19:56 +01:00
Araq
0848a816b2
ported to FreeRTOS
...
(cherry picked from commit 9f566881f1 )
2020-11-16 07:19:49 +01:00
Araq
4095cae94c
fixes 'nim doc'
...
(cherry picked from commit 19d52033f8 )
2020-11-16 07:19:31 +01:00
Araq
3e9df7da45
better documentation
...
(cherry picked from commit cb19dc53ca )
2020-11-16 07:19:23 +01:00
Araq
abe178b602
attempt to make asynchttpserver better; fixes #15925 ; [backport:1.0]
...
(cherry picked from commit 8778d4a6f3 )
2020-11-16 07:19:17 +01:00
wilypomegranate
efaa55d429
Don't use os for Standalone ( #15944 )
...
(cherry picked from commit 1fdfa234d7 )
2020-11-16 07:07:25 +01:00
flywind
9b51f9b7e1
fix #15941 ( #15948 )
...
* fix #15941
* add testcase
* update
(cherry picked from commit 492e9afa4c )
2020-11-16 07:06:15 +01:00
flywind
37229707ed
change some code-blocks to runnableExamples and correct some errors in docs ( #15900 )
...
* original docs are wrong
* fix pathnorm
* Update lib/pure/pathnorm.nim
Co-authored-by: Juan Carlos <juancarlospaco@gmail.com >
(cherry picked from commit ef2677f5f3 )
2020-11-16 07:00:48 +01:00
Christopher Dunn
9fb713cf23
Fix a problem for long symlinks in conda ( #15908 ) [backport]
...
* d8c80ea69d (diff-e1d8e552330911f9f779f85b6f2c00a15e790dcc3fbb3b28f5da1d660a30c5b8)
(cherry picked from commit c6ceefea6d )
2020-11-16 06:58:21 +01:00
Bung
04254fe9d6
fix #12726 Cannot take the compile-time sizeof Atomic types ( #15928 )
...
* fix #12726 Cannot take the compile-time sizeof Atomic types
* fix for arch 32
(cherry picked from commit 826e62953f )
2020-11-16 06:56:33 +01:00
ee7
916c4bb484
Docs(strutils): Fix broken links ( #15912 )
...
The `dedent` and `unindent` links were introduced by commit d67c5cb751
(#15264 ).
(cherry picked from commit 42c434fa3d )
2020-11-16 06:55:00 +01:00
Miran
04f810c2ec
Correct all eggs ( #15906 )
...
* "eg" is a misspelled "egg", "e.g." is "exempli gratia"
* Also, "ie" is "i.e.".
(cherry picked from commit bbe49a14ae )
2020-11-16 06:54:45 +01:00
flywind
127d63b343
fix #12471 ( #15901 )
...
* fix #12471
* add testcase
* fix
* test nimdoc is tricky
* Delete t12471.nim
(cherry picked from commit b38f0403fd )
2020-11-16 06:54:25 +01:00
flywind
839ec1395d
follow #11707(add pragmas examples for =>) ( #15863 )
...
(cherry picked from commit 9fd67958b9 )
2020-11-09 16:21:57 +01:00
flywind
ac32cf129b
fix #15851 ( #15852 )
...
* fix #15851
* {.cast(noSideEffect).}
(cherry picked from commit 218ff27b70 )
2020-11-09 16:21:16 +01:00
Clyybber
554a9ad156
Tiny unittest doc fix
...
(cherry picked from commit d1bea1f71f )
2020-11-09 16:20:51 +01:00
flywind
ac25f63f82
document #15618 ( #15810 )
...
* document #15618
* Update lib/pure/unittest.nim
* Update lib/pure/unittest.nim
Co-authored-by: Juan Carlos <juancarlospaco@gmail.com >
* Update lib/pure/unittest.nim
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
Co-authored-by: Juan Carlos <juancarlospaco@gmail.com >
(cherry picked from commit adde5ba6b0 )
2020-11-09 16:19:14 +01:00
flywind
e5a04f8914
fix adding empty sequence to HTTP headers ( #15783 )
...
* fix adding empty sequence to HTTP headers
* add tests
(cherry picked from commit c4cc907433 )
2020-11-09 16:19:05 +01:00
flywind
5da17acfce
change non-working example to runnableExamples ( #15841 )
...
(cherry picked from commit cae92f670a )
2020-11-09 16:15:49 +01:00
flywind
3565d14cc4
fix #15835 ( #15838 )
...
* fix #15835
* add tests
(cherry picked from commit 7d640e0943 )
2020-11-05 09:19:27 +01:00
Andreas Rumpf
bb3cdcad99
fixes #15804 ( #15820 )
...
* fixes #15804
* fix the existing test
* add the testcase for #15804
Co-authored-by: narimiran <narimiran@disroot.org >
(cherry picked from commit dfd8a83f35 )
2020-11-05 09:17:29 +01:00
flywind
9954b7f046
fixes #15594 ( #15819 )
...
(cherry picked from commit eb429988cd )
2020-11-05 09:17:12 +01:00
flywind
dd36bfffa1
more clear ( #15812 )
...
(cherry picked from commit 4fe56b56ce )
2020-11-05 09:16:24 +01:00
Thomas Tay
b238c077a1
Update tables documentation ( #15807 )
...
Added a case where a user might use mgetOrPut and create an accidental
copy of a seq.
(cherry picked from commit 5298366f86 )
2020-11-05 09:13:52 +01:00
flywind
2e35621af0
fix #15815 ( #15817 )
...
(cherry picked from commit 919593395c )
2020-11-05 09:13:05 +01:00
flywind
975a5b64ad
support par expression as checkpoint ( #15802 )
...
(cherry picked from commit 8115b655e7 )
2020-11-05 09:12:04 +01:00
Clyybber
208ed6e816
Grammar fixes
...
(cherry picked from commit 7364794fed )
2020-11-05 09:11:23 +01:00
Miran
df069c8ddb
promote collect macro as a map+filter replacement ( #15788 )
...
* promote `collect` macro as a map+filter replacement
* Update lib/pure/collections/sequtils.nim
(cherry picked from commit ec059240b0 )
2020-11-05 09:10:05 +01:00
Timothee Cour
e524df8746
simplify toHex ( #15821 )
...
(cherry picked from commit 235e4930ab )
2020-11-05 09:09:55 +01:00
Miran
81a302b197
fix toHex - make it work with int literals ( #15770 )
...
(cherry picked from commit c0fdc8b215 )
2020-11-05 09:09:46 +01:00
Andreas Rumpf
645200aa3d
fixes #15413 ( #15768 )
...
* fixes #15413
* better hide it properly
* see if this makes our list of important packages happy
(cherry picked from commit 87a60c1b28 )
2020-11-05 09:07:36 +01:00
narimiran
96bd6426c2
fix #15750
...
(cherry picked from commit b13fb9ddb8 )
2020-11-05 09:05:46 +01:00
shirleyquirk
5c48058c86
fixes #10456,#12928 issues when chaining templates to sortedByIt ( #15734 )
...
* update c_malloc's to csize_t
fix for broken --os:ios
* I'm an idiot sorry
* Create talgorithm.nim
* workaround for #10456
I don't understand the intricacies of how lambdalifting and template expansions interact with lent, so i don't know how to fix the real problem, but this sidesteps whatever issue that is.
* working test, use typeof rather than auto
(cherry picked from commit 218acfe367 )
2020-11-05 09:05:21 +01:00
rockcavera
796785abf6
fix #15698 ( #15699 )
...
* fix in the net.`$` to print zeros that are not in the compressed group
* Update lib/pure/net.nim
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
* Update net.nim
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
(cherry picked from commit 7252a50fef )
2020-10-27 08:57:18 +01:00
Clyybber
7a9db0e5c5
Fix #12410 ( #15685 )
...
* Fix #12410 , big thanks to @pmetras for this fix
* Add testcase
(cherry picked from commit 01a62320f0 )
2020-10-24 17:14:49 +02:00
cooldome
35f5a3e48f
Tables, use sink val arguments more actively ( #15625 )
...
(cherry picked from commit 04f8fcfbd0 )
2020-10-21 11:01:50 +02:00
Igor Ribeiro de Assis
42c180c665
Fix crash in parsexml ( #15582 ) ( #15583 )
...
Co-authored-by: Igor Ribeiro de Assis <igor.ribeiro_de_assis@zeiss.com >
2020-10-15 12:45:55 +02:00
alaviss
d1af9587b8
terminal: fix fgColor/bgColor commands [backport] ( #15554 )
...
Since #8296 , fgSetColor is no longer a global. These commands were
probably left out from the change as an oversight, so some tests have
been added to make sure this won't happen again.
2020-10-13 17:39:32 +01:00
Timothee Cour
0134e34e03
dup docs: add an example with addQuoted ( #15548 )
...
* dup docs: add addQuoted example
* fixup
2020-10-13 08:24:30 +02:00
Christopher Dunn
f1d81dc6e6
Fix doc for CountTable ( #15561 ) [backport]
2020-10-13 06:33:53 +02:00
Christian Ulrich
1f51a33998
close socket in getPrimaryIPAddr even if exception occurs ( #15558 )
2020-10-12 22:02:17 +02:00
flywind
c2c7f60259
docs minor ( #15550 )
2020-10-11 20:43:44 +02:00
Timothee Cour
3eac9b2344
os: add overload copyFile*(source, dest: string, isDir = false) ( #15537 )
...
* os: add overload copyFile*(source, dest: string, isDir = false)
* renamed to copyFileToDir
2020-10-11 20:43:01 +02:00
Christian Ulrich
c7ccbfac39
close socket in getPrimaryIPAddr ( #15538 ) [backport]
2020-10-10 07:06:13 +02:00
lihaifeng
3eaacac230
Update parsecfg.nim ( #15513 )
...
* Update parsecfg.nim
Returns the specified default value if the specified key value does not exist.
* Update lib/pure/parsecfg.nim
Co-authored-by: flywind <43030857+xflywind@users.noreply.github.com >
* Update lib/pure/parsecfg.nim
Co-authored-by: flywind <43030857+xflywind@users.noreply.github.com >
* Update lib/pure/parsecfg.nim
Co-authored-by: flywind <43030857+xflywind@users.noreply.github.com >
Co-authored-by: flywind <43030857+xflywind@users.noreply.github.com >
2020-10-08 17:17:00 +02:00
Serban Constantin
dd86228548
update unittest docs with correct exit code info ( #15502 )
2020-10-06 18:05:57 +02:00
Juan Carlos
695f955f70
inline tiny proc ( #15498 )
2020-10-06 16:52:12 +02:00
Benjamin Lee
acd71dd6bb
Iterate over smaller set when computing intersection ( #15497 )
...
Closes #15496
2020-10-06 10:29:45 +02:00
Araq
37758826ff
typo
2020-10-06 06:33:43 +02:00
Juan Carlos
1e28cea0d1
inline tiny func on httpcore ( #15480 )
2020-10-05 17:08:50 +02:00