narimiran
29b6dd6196
Correctly remove a key from CountTable when it is set to zero.
...
(fixes #12813 and #13079 )
(cherry picked from commit e40dee6162a1ca364da1da2ecab546e0a28778f0)
2020-01-14 07:46:24 +01:00
perter lee
3e76777de8
fix the ftp store function read the local file bug ( #13108 ) [backport]
...
* Update asyncftpclient.nim
When use newStringOfCap function not have assign memory for the string data,so if use this address the fault is rasise.
* complelete the bugfix
(cherry picked from commit 1f27a2f8ab )
2020-01-14 06:27:34 +01:00
Andreas Rumpf
d237b73e6e
fixes an asyncftpclient bug; refs #13096 [backport]
...
(cherry picked from commit 3a39ab83ac )
2020-01-14 06:27:24 +01:00
Tomohiro
17ddc7e894
Fix error check code in osproc ( #13090 ) [backport]
...
(cherry picked from commit a33b72af49 )
2020-01-14 06:26:30 +01:00
Teashrock
26331a9005
Deleted misplaced separator ( #13085 ) [backport]
...
Misplaced separator, which was constantly breaking compilation on Haiku OS, was deleted.
(cherry picked from commit 27fee4d8b4 )
2020-01-14 06:26:22 +01:00
Araq
9ec09bfa55
fixes #12798 [backport]
...
(cherry picked from commit de1a283383 )
2019-12-10 16:09:08 +01:00
3n-k1
a02a4d8fc5
[backport] Fix style issues in lib/, tools/, and testament/. Fixes #12687 . ( #12754 )
...
(cherry picked from commit 0944b0f441 )
2019-12-10 16:00:07 +01:00
Juan Carlos
e8578c926e
Fix htmlgen html lang ( #12668 ) [backport]
...
(cherry picked from commit 9c46526cfa )
2019-11-18 12:28:18 +01:00
Dominik Picheta
5937c40928
Fixes ambiguity errors when evaluating Nimble files. ( #12674 ) [backport]
...
When trying to evaluate a Nimble file which imports a Nim module
I was getting the following errors for some reason:
```
/Users/dom/projects/nim/lib/pure/parseopt.nim(229, 46) Error: ambiguous call; both system.paramCount() [declared in /Users/dom/projects/nim/lib/system/nimscript.nim(65, 6)] and os.paramCount() [declared in /Users/dom/projects/nim/lib/pure/os.nim(2613, 8)] match for: ()
```
(cherry picked from commit bab5351d43 )
2019-11-18 12:24:33 +01:00
David Krause
39122ecd93
fix documentation of $*(dt: DateTime) ( #12660 )
2019-11-14 20:41:04 +01:00
narimiran
e5f968da0c
revert the most of #12532
...
The reason for this revert is that 'runnableExamples' keep
mysteriously failing on 32-bit OS-es on version 1.0.x
(devel version is fine, as are 64-bit OS-es).
2019-11-08 15:07:49 +01:00
narimiran
cb2f8d4d39
[backport] print more information for the previous commit
...
(cherry picked from commit 717da9f158 )
2019-11-06 16:14:53 +01:00
narimiran
e2aa1d6d84
[backport] rewrite flaky runnable example
...
(cherry picked from commit 5381c810a8 )
2019-11-06 15:54:39 +01:00
Kaushal Modi
274f94c84a
[backport] Add docs to better distinguish among getProjectPath, getCurrentDir and currentSourcePath ( #12565 )
...
Fixes https://github.com/nim-lang/Nim/issues/10477 .
(cherry picked from commit d914e9a65f )
2019-11-05 16:15:44 +01:00
jiro
1ff3494dab
Add or detectOs(Manjaro) ( #12587 ) [backport]
...
Using `pacman` command in Manjaro Linux
2019-11-04 12:20:23 +01:00
Nindaleth
1d43c8620e
fix several typos in documentation and comments ( #12553 )
...
(cherry picked from commit 34dbc5699e )
2019-10-30 10:38:25 +01:00
Andreas Rumpf
6887d6de80
[backport] fix #12528 , fix #12525 : incorrect generic type resolution for default values ( #12538 )
...
(cherry picked from commit e58c2d261c )
2019-10-30 10:38:25 +01:00
Jjp137
d6ae4e00f4
colors: fix 'mix' template and make most examples runnable ( #12532 ) [backport]
...
* colors: fix the 'mix' template
* colors: make most examples runnable
(cherry picked from commit ee119f7984 )
2019-10-30 10:38:25 +01:00
Jjp137
476d677c6f
Remove sentences referring to the graphics module ( #12522 )
...
(cherry picked from commit 3a62cf29d8 )
2019-10-30 10:38:25 +01:00
Jjp137
ee0c1482d7
sequtils: replace deprecated 'random' call within example ( #12515 ) [backport]
...
(cherry picked from commit 1d42108fda )
2019-10-30 10:30:47 +01:00
Jjp137
d1d8cd1000
Fix word wrapping
...
(cherry picked from commit 3ad48069d3 )
2019-10-24 14:12:23 +02:00
Jjp137
f042acc535
asyncstreams: replace unintended link with emphasis
...
(cherry picked from commit e6d5379b3b )
2019-10-24 14:12:23 +02:00
Jjp137
dedff71ca0
Fix many broken links
...
Note that contrary to what docgen.rst currently says, the ids have
to match exactly or else most web browsers will not jump to the
intended symbol.
(cherry picked from commit 93461aee34 )
2019-10-24 14:10:46 +02:00
Juan Carlos
313b2f0d71
[backport] Documentation Math module ( #12460 )
...
(cherry picked from commit 8f8916413f )
2019-10-24 14:08:46 +02:00
Artem V L
ab2a8344b3
Docstring refined for the getSectionValue() ( #12478 ) [backport]
...
(cherry picked from commit 049032432c )
2019-10-24 13:45:42 +02:00
ducdetronquito
1526ae8791
Namespace unittest enums to avoid name conflicts ( #12468 ) [backport]
...
* [backport] Fixes : #12465 - Unittest - Namespace the usage of TestStatus enum to avoid name conflicts.
(cherry picked from commit df4c339cfc )
2019-10-21 07:32:38 +02:00
Miran
7b500cbfad
[backport] fix type's case in random.nim ( #12445 )
...
(cherry picked from commit a5ab502f08 )
2019-10-17 22:25:51 +02:00
Miran
b0e595b3cf
[backport] fix #12418 , fix random.randomize on JS backend ( #12432 )
...
(cherry picked from commit 5f5ac8ce16 )
2019-10-17 22:25:51 +02:00
Andreas Rumpf
a09379f5fd
fixes #12366 [backport] ( #12393 )
...
(cherry picked from commit f728614ef8 )
2019-10-12 08:00:43 +02:00
Andrew Smith
e03b1b79ae
Updated the code example in the os module to use better grammar. ( #12328 )
...
(cherry picked from commit 0d94ee15c0 )
2019-10-09 06:39:41 +02:00
Nindaleth
8a0012de42
fix a few dead links and a missing sentence in documentation ( #12387 )
...
(cherry picked from commit 84c956d9da )
2019-10-09 06:36:39 +02:00
Tomohiro
5785444520
Fix how relativePath handle case sensitiviy ( #12312 ) [backport]
...
(cherry picked from commit 64d5e25821 )
2019-10-03 09:32:46 +02:00
narimiran
cd3d4b5e05
[backport] run nimpretty on the remaining files
...
(cherry picked from commit 5732bb41ef )
2019-09-30 18:43:36 +02:00
narimiran
ac2181c5b9
[backport] run nimpretty on os-related stuff
...
(cherry picked from commit 34d0be2ec1 )
2019-09-30 18:43:36 +02:00
narimiran
4675aae90b
[backport] run nimpretty on string stuff
...
(cherry picked from commit dcf3181bd1 )
2019-09-30 18:43:36 +02:00
narimiran
a0402b2012
[backport] run nimpretty on web stuff
...
(cherry picked from commit 0ca9cc7419 )
2019-09-30 18:43:36 +02:00
narimiran
cbdc48ec66
[backport] run nimpretty on hashes
...
(cherry picked from commit 15895ebc3f )
2019-09-30 18:43:36 +02:00
narimiran
f19edae1b8
[backport] run nimpretty on parsers
...
(cherry picked from commit b17ed2ca9c )
2019-09-30 18:43:36 +02:00
narimiran
c5b9a44894
[backport] run nimpretty on numbers stuff
...
(cherry picked from commit 6c994b2498 )
2019-09-30 18:43:36 +02:00
narimiran
3009eafc89
[backport] run nimpretty on async
...
(cherry picked from commit aa513d78e7 )
2019-09-30 18:43:35 +02:00
Federico Ceratto
fa7f5742d3
Fix spellings ( #12277 ) [backport]
...
(cherry picked from commit 39290cf88c )
2019-09-30 18:43:35 +02:00
Jjp137
52ea15cc24
threadpool: fix link in docs [ci skip] ( #12258 ) [backport]
...
[backport]
(cherry picked from commit e065e51245 )
2019-09-30 18:40:00 +02:00
narimiran
f7a8fc46c0
Revert "improvements for httpcore ( #12228 )"
...
This reverts commit b865c2a54b .
2019-09-23 19:06:55 +02:00
Andreas Rumpf
b865c2a54b
improvements for httpcore ( #12228 )
...
* improvements for httpcore
* further improvements, now stable API but needs extensions later on
2019-09-23 12:38:35 +02:00
Ray Imber
6e681b546f
fixes #9026 adds a readLineImpl to streams so that FileStreams can be fast ( #12234 )
2019-09-23 08:25:26 +02:00
PMunch
2565d3d102
Fix issue with long wait for passed timer [bugfix] ( #12221 )
...
* Fix issue with long wait for passed timer [bugfix]
This fixes a small issue where a timer that had been completed while
code executed would still wait for more events before being considered
completed. This would in some scenarios incur a 500ms delay to the
completion of a timer.
* Refactor logic into
* Add test case based on original issue
* Use longer timeouts to be more lenient in checking
* Revert to short timeouts, but widen the accepted range
* Widen accepted range further, it is meant to check for a 500ms delay after all
* Increase poll timeout to make it easier to detect mistakes
2019-09-22 07:24:14 +02:00
Andreas Rumpf
c2fced129f
makes tests green again
2019-09-21 06:43:37 +02:00
Araq
5abe880469
last stdlib cleanups
2019-09-21 06:43:37 +02:00
Araq
9776f926a2
htmlgen update; don't use deprecated callsite feature
2019-09-21 06:43:37 +02:00
Araq
908b553215
asyndispatch: removed deprecated setEvent proc
2019-09-21 06:43:37 +02:00