Commit Graph

16250 Commits

Author SHA1 Message Date
Jasper Jenkins
8994e8f2e2 fix rtti sizeof for varargs in global scope (#13125) [backport]
(cherry picked from commit bf2e052e6d)
2020-01-14 06:31:57 +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
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
BinHong Lee
6d2884be9c Allow -o option for buildIndex (#13037) [backport]
Addressing #12771

This is also included in the docgen documentation [here](https://nim-lang.org/docs/docgen.html) but its not respected as reported in the issue.

(cherry picked from commit 2cfa8d8385)
2020-01-14 06:26:14 +01:00
Andy Davidoff
e636b47429 fix crash due to errant symbols in nim.cfg (#13073) [backport]
(cherry picked from commit 56fb909676)
2020-01-14 06:25:45 +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
Siegfried Ehret
8b956dba09 Fix typo (#13015) [backport]
(cherry picked from commit a577a88c36)
2020-01-05 10:40:02 +01:00
cooldome
78f9933b8f remove default argument for readLines (#12807) [backport]
(cherry picked from commit c949b81efd)
2020-01-05 10:39:55 +01:00
Andy Davidoff
46be787fb2 fixes disruptek/nimph#102 multi-level nim.cfg use (#13001) [backport]
(cherry picked from commit 8a63caca07)
2020-01-05 10:39:48 +01:00
Timothee Cour
7afe6b1f4b [ci skip] docfix .. < => ..< (#12981) [backport]
(cherry picked from commit 8c19372690)
2019-12-30 12:25:39 +01:00
King Eca
f9d30dc1e5 Fixes stackoverflow links in readme (#12963) [backport]
(cherry picked from commit b67dea7a33)
2019-12-30 12:25:21 +01:00
genotrance
89b244a2f5 Path substitution for --out and --outdir (#12796)
* Enable pathSubs for --out and --outDir
* Cleanup

(cherry picked from commit eed328856f)
2019-12-30 12:24:39 +01:00
Araq
4c120c1978 fixes a bug that kept sugar.collect from working with for loop macros [backport]
(cherry picked from commit a7b4b2ed54)
2019-12-26 15:42:31 +01:00
Timothee Cour
bc601a62a2 fix cmdline bugs affecting nimBetterRun correctness (#12933) [backport]
(cherry picked from commit 206a4cee77)
2019-12-26 15:42:07 +01:00
flywind
9167eb6c89 fix error in assertions document (#12925) [backport]
(cherry picked from commit cb0a20b9b4)
2019-12-26 15:41:48 +01:00
Andreas Rumpf
7c4bc63b00 fixes #12885 [backport] (#12895)
(cherry picked from commit 347a04606b)
2019-12-16 09:28:31 +01:00
cooldome
261592de18 Better clang_cl support (#12896)
(cherry picked from commit 777c9ad0ef)
2019-12-16 09:28:26 +01:00
Andreas Rumpf
f52395f2d8 fixes #12148 [backport] (#12888)
(cherry picked from commit 22b2684608)
2019-12-16 09:28:07 +01:00
cooldome
d807c4b7c0 fixes #12827 (#12829) [backport]
(cherry picked from commit 13d232ec56)
2019-12-10 16:14:38 +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
Neelesh Chandola
0f05a0dd5b Fixes #12832 (#12842) [backport]
(cherry picked from commit ff5ef95414)
2019-12-10 16:14:22 +01:00
Mark
512727d75e Manual update: custom exceptions (#12847) [backport]
Said that you can have custom exceptions and showed how to create and raise them.

(cherry picked from commit 73dd348ddd)
2019-12-10 16:10:51 +01:00
Elliot Waite
00408a4554 Removing the mention of using discard for block comments (#12837) [backport]
* Remove mention of using `discard` for block comments

* Add a 32x32 alternate favicon

(cherry picked from commit 5da27a891c)
2019-12-10 16:10:40 +01:00
Mark
09be379b91 deviated -> derived (#12846) [backport]
(cherry picked from commit 0ebc709037)
2019-12-10 16:10:33 +01:00
Mark
6f520fb6d9 deviated -> derived (#12845) [backport]
(cherry picked from commit 46144a31ab)
2019-12-10 16:09:51 +01:00
Neelesh Chandola
789a984c1e Fixed objects being erroneously zeroed out before object construction (#12814) [backport]
(cherry picked from commit 1db21721ec)
2019-12-10 16:09:43 +01:00
cooldome
1edb81b66c fixes #12783 [backport] (#12810)
* fixes #12783

* Trigger build

(cherry picked from commit 9b0e874687)
2019-12-10 16:09:30 +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
a13f623f16 [backport] always set fileInfoIdx.isKnownFile (#12773)
(cherry picked from commit b6b8d540e3)
2019-12-10 16:08:54 +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
Araq
3f6a08d5b0 fixes #11727 [backport]
(cherry picked from commit 0996eb174f)
2019-12-10 16:00:29 +01:00
Araq
299f1e99cd fixes #12488 [backport]
(cherry picked from commit 87f0d534d6)
2019-12-10 16:00:20 +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
c8998c498f clean up the changelog v1.0.4 2019-11-27 09:33:51 +01:00
narimiran
97e0ce3c75 bump version to 1.0.4 2019-11-25 17:46:16 +01:00
narimiran
aa7b0c8581 create a changelog for v1.0.4 2019-11-25 17:45:58 +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
Timothee Cour
fa15083cc9 fixes #12663 staticRead now creates a dependency for rebuilds (#12731) [backport]
* fix #12663 staticRead
* address comments

(cherry picked from commit dfe5d115fb)
2019-11-25 17:05:26 +01:00
tauplus
c868f1ef67 Fix wrong section hierarchy in the manual (#12724) [backport]
(cherry picked from commit bfad0056ab)
2019-11-25 17:05:26 +01:00
Andy Davidoff
8f0b891e68 export nim.cfg parser (#12602)
(cherry picked from commit 61889c604a)
2019-11-25 09:46:51 +01:00
Andreas Rumpf
4084ef19a3 conversions to unsigned numbers are not checked anymore (#12688) [backport]
* conversions to unsigned numbers are not checked anymore; implements / fixes https://github.com/nim-lang/RFCs/issues/175

* change the spec yet again to be less consistent but to make more sense; updated the changelog

(cherry picked from commit c98e0e22ad)
2019-11-21 17:31:35 +01:00
Andreas Rumpf
7d444ff04c fixes #12670 [backport] (#12693)
(cherry picked from commit 78e02d174d)
2019-11-21 17:27:50 +01:00
Andy Davidoff
aaf06dba1b restore --define🔑val in nim.cfg and fix #12367 (#12611)
(cherry picked from commit 5544a13236)
2019-11-20 10:23:02 +01:00