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
narimiran
7134d57cd4
[backport] system/io.nim fix wrong documentation comment [ci skip]
...
(cherry picked from commit e9e114058c )
2020-01-14 06:26:56 +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
cooldome
4028514eeb
fixes #13013 , reverts previous changes to readLines() ( #13036 ) [backport]
...
* Revert "remove default argument for readLines (#12807 ) [backport]"
This reverts commit c949b81efd .
(cherry picked from commit a3df1b55f3 )
2020-01-05 10:40:13 +01:00
cooldome
78f9933b8f
remove default argument for readLines ( #12807 ) [backport]
...
(cherry picked from commit c949b81efd )
2020-01-05 10:39:55 +01:00
flywind
9167eb6c89
fix error in assertions document ( #12925 ) [backport]
...
(cherry picked from commit cb0a20b9b4 )
2019-12-26 15:41:48 +01:00
cooldome
261592de18
Better clang_cl support ( #12896 )
...
(cherry picked from commit 777c9ad0ef )
2019-12-16 09:28:26 +01:00
Kevin
65aa564c54
added cstrutils ( #12858 ) [backport]
...
fixed for 'csuCmpIgnoreStyle' error on hotcodereloading
(cherry picked from commit a02d043b58 )
2019-12-10 16:14:32 +01:00
itsumura-h
340c9248f1
fix db_mysql getRow() when column is null error raised ( #12806 ) [backport]
...
* fix db_mysql getRow()
* added if y == nil [backport]
(cherry picked from commit 208b018f6b )
2019-12-10 16:09:19 +01:00
Araq
9ec09bfa55
fixes #12798 [backport]
...
(cherry picked from commit de1a283383 )
2019-12-10 16:09:08 +01:00
Jasper Jenkins
5129a1e88d
make addQuoted work on nimscript ( #12717 ) [backport]
...
(cherry picked from commit 9ea55eccbb )
2019-12-10 16:08:42 +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
Brian Wignall
10935a71ed
[backport] Fix spelling typos ( #12755 )
...
(cherry picked from commit a7aeabb9d2 )
2019-12-10 15:55:19 +01:00
Andreas Rumpf
d0e8ad17b5
more fixes for --cpu:avr [backport] ( #12748 )
...
(cherry picked from commit fd85a5ae05 )
2019-12-10 15:49:11 +01:00
narimiran
60100a9a64
bump version to 1.0.5
2019-12-10 15:44:36 +01:00
narimiran
97e0ce3c75
bump version to 1.0.4
2019-11-25 17:46:16 +01:00
Andreas Rumpf
d6f52f3cef
added 'since' template for further stdlib additions
...
(cherry picked from commit 372b01711e )
2019-11-25 17:25:41 +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
Volodymyr Lashko
7ea60f78b5
Fix crash in terminate handler ( #12572 ) [backport]
...
* fix undefined behavior in terminate handler
* fix failing unit test
* Revert "fix failing unit test"
This reverts commit 0e5e385fbf .
* Revert "fix undefined behavior in terminate handler"
This reverts commit 2b582871f1 .
* do not throw inside terminate handler with msvc < 1923
(cherry picked from commit 4e841ab156 )
2019-11-08 15:08:08 +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
Miran
8fddc8e8a1
[backport] fix #12395 ( #12590 )
...
'countBits32' is now fixed in the same way that
'countBits64' was already patched earlier (by adding 'u32
where needed).
(cherry picked from commit ae32d637f7 )
2019-11-05 16:20:25 +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
zah
29c099ccd1
Fix newLit for objects having string fields ( #12542 ) [backport]
...
(cherry picked from commit de5f6a07c2 )
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
c1fd463834
Prefer relative links for Nim documentation
...
This is more friendly to those browsing the documentation without
a network connection. The nim-doc package in Debian allows this,
for example.
Also, the domain name being used was not consistent. It could have
been either nim-lang.org or nim-lang.github.io, and those reading
the stable docs could have found themselves suddenly reading the
devel docs instead.
(cherry picked from commit 72147c9ba4 )
2019-10-24 14:12:12 +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
Oscar Nihlgård
89738fd95d
Fix JS bug in std/monotimes ( #12499 ) [backport]
...
(cherry picked from commit 3d0c756a3c )
2019-10-24 13:45:43 +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
narimiran
6fc9327ebf
nightly version is 1.0.3
2019-10-24 13:44:46 +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
genotrance
8f1dea614e
Fixes #12286 - require explicit disabling of boehm interior pointer checking ( #12406 ) [backport]
...
(cherry picked from commit 9e62876647 )
2019-10-12 08:00:44 +02:00
Andreas Rumpf
a09379f5fd
fixes #12366 [backport] ( #12393 )
...
(cherry picked from commit f728614ef8 )
2019-10-12 08:00:43 +02:00
narimiran
e9f7455bd6
bump version to 1.0.2
2019-10-09 06:42:54 +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