Clyybber
45977c2d70
Fix commentOffsetA for doc comments ( #15643 )
...
(cherry picked from commit f20e485827 )
2020-10-21 11:03:47 +02:00
n5m
1d63995896
fix #15631 ( #15632 )
...
* trigger valgrind failure on memory leak
* remove non-malloc tests
* remove ORC test
is redundant because we already have an ARC test
* only run valgrind tests on 64-bit Linux
* disable freebsd and openbsd
* Remove tleak_refc
As to not test implementation details (or bug)
* Fix test failures by removing redundant test
Since this tests/shoulfail/tvalgrind.nim was specified here to fail this test
itself fails since it will be skipped on non-linux CI
* Remove test, reason detailed in the previous commit
* Remove redundant disables
* Revert removing disables
* Add and use valgrind: leaks
* Fix
Co-authored-by: Clyybber <darkmine956@gmail.com >
Co-authored-by: n5m
(cherry picked from commit 436e1fa5b1 )
2020-10-21 11:03:17 +02:00
Clyybber
893dab429e
Fix #15639 ( #15640 )
...
(cherry picked from commit 0f4b1ed270 )
2020-10-21 11:02:27 +02:00
cooldome
1e9746aade
arc allocation method aligned ( #15588 )
...
* progress
* fix typo
(cherry picked from commit 833035bacd )
2020-10-21 11:02:10 +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
n5m
642807de18
add tests for #15584 ( #15619 )
...
* add test for #15584
* Rename userlocks.nim to trlocks.nim
* add bug comment
* improve cmd
* reference bugfix, not bug
* add test that runs rlocks
* disallow joining
joining with other test cases (e.g., a test case that invokes `RLock.initRLock()`) may cause this test to compile, when the goal is to test if these lines can be compiled in isolation
(cherry picked from commit 78cbb52fa0 )
2020-10-21 11:00:33 +02:00
Euan
8a9da2fa0d
Fix FreeBSD build failures ( #15613 )
...
The FreeBSD is/was failing, due to a conflict with installing Git.
Git is guaranteed to be in the base image, so this removes that package from the package list. It also reverts back to the built-in `packages` tag since it's officially supported.
Should the build fail in the future, the best place to go is the #sr.ht channel on freenode.
(cherry picked from commit ba2a477e64 )
2020-10-21 11:00:21 +02:00
n5m
a222aa14e1
document that Nim executable must be included ( #15611 )
...
(cherry picked from commit b16b2eb06f )
2020-10-21 10:59:20 +02:00
Clyybber
d86d7c9fe1
Fix #15599 ( #15601 )
...
* Fix #15599
* Add test
(cherry picked from commit 66cd9c2e57 )
2020-10-21 10:58:57 +02:00
Andreas Rumpf
b3c77bb982
fixes #15560 ( #15587 )
...
(cherry picked from commit a43202ea57 )
2020-10-21 10:58:01 +02:00
narimiran
1dffa67b6e
bump NimVersion to 1.4.1
2020-10-21 10:57:51 +02:00
narimiran
bdcd87afca
cosmetic fixes for the 1.4 changelog [ci skip]
...
(cherry picked from commit 6b8baab536 )
2020-10-16 13:19:32 +02:00
narimiran
018ae963ba
add bufixes for 1.4 in its changelog
...
(cherry picked from commit 091ec916fd )
v1.4.0
2020-10-16 08:14:05 +02:00
narimiran
cffbf5e778
create a changelog for 1.4.0
...
(cherry picked from commit 6349001879 )
2020-10-16 07:17:09 +02:00
narimiran
cac0e01725
bump NimVersion to 1.4.0
2020-10-15 16:10:08 +02:00
shirleyquirk
4ef255b69d
fix rlock compilation failure ( #15584 )
...
* change SysLockType_Reentrant
fix edge case where using SysLockType_Reentrant doesn't trigger an #include pthread.h
* syslocktype_reentrant now a var
* remove nodecl to remove empty system_syslocks.c
* let is better than var.
in reality SysLockType = enum, maybe that would be a better fix
2020-10-15 12:54:01 +02:00
Andreas Rumpf
da4aa2e1fb
renamed '=' to '=copy' [backport:1.2] ( #15585 )
...
* Assign hook name changed to `=copy`
* Adapt destructors.rst
* [nobackport] Duplicate tests for =copy hook
* Fix tests
* added a changelog entry
Co-authored-by: Clyybber <darkmine956@gmail.com >
2020-10-15 12:52:30 +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
Andreas Rumpf
fd9ab2ce6d
ORC: API extensions for 1.4 ( #15581 )
2020-10-15 11:51:40 +02:00
Andreas Rumpf
1bbc20010e
harden the ORC asyncleak3 test case ( #15580 )
...
* harden the ORC asyncleak3 test case
* add another ORC stress test
2020-10-15 09:42:43 +02:00
genotrance
a4c28394be
Bump nimble ( #15573 )
2020-10-14 22:26:44 +02:00
Andreas Rumpf
644eb4dd54
ORC: critical bugfix for the cycle analyser, introduce -d:nimStressOrc for easier stress testing ( #15572 )
2020-10-14 22:26:21 +02:00
alaviss
c2ba4ef979
suggest: try to find the implementation of a symbol when def is used ( #15555 )
...
* suggest: try to find the implementation of a symbol when def is used
* suggest: return all declarations of the symbol on `def`
2020-10-14 17:08:56 +02:00
Clyybber
977bccdbff
Make useVersion:1.0 disable the proc arg sym change ( #15570 )
...
* Make useVersion:1.0 disable the proc arg sym change
* Also do this for useVersion:1.2
2020-10-14 16:07:25 +02:00
Andreas Rumpf
8978112457
fixes a C code generator regression, no need to backport, only the 1.4 line is affected ( #15569 )
2020-10-14 13:58:36 +02:00
Timothee Cour
09cad44be9
ci docs: add config/nimdoc.cfg to paths ( #15566 )
2020-10-14 12:04:14 +02:00
Benjamin Lee
12c8ef5949
Update the list of GC options when raising an error ( closes #15547 ) ( #15553 )
2020-10-14 11:20:59 +02:00
Andreas Rumpf
c664fb2843
sigmatch: hotfix [backport] ( #15565 )
2020-10-14 09:55:47 +02:00
narimiran
fc90eb9f27
change case in nimdoc [ci skip]
2020-10-14 09:26:44 +02:00
Timothee Cour
0c0f86b2c5
reference fusion docs ( #15562 )
2020-10-14 09:25:28 +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
Timothee Cour
30b966bdf7
unbreak CI: fix logic for skipping ci ( #15556 )
2020-10-12 21:04:40 +02:00
cooldome
9668a1106d
Fix 15543 ( #15544 )
...
* fix #15543
* fix spacing
* fix test
* simplify test for freebsd platform
2020-10-12 10:12:32 +01:00
Andreas Rumpf
d66e274e1a
refactoring: moved setOutFile to where it belongs
2020-10-11 20:44:04 +02:00
Andreas Rumpf
3492178494
refactoring: removed cmdlinehelper.mainCommand callback
2020-10-11 20:44:04 +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
Andreas Rumpf
992952d868
nimpretty: do not produce 'line too long' messages ( #15541 )
2020-10-10 17:46:22 +02:00
Christian Ulrich
c7ccbfac39
close socket in getPrimaryIPAddr ( #15538 ) [backport]
2020-10-10 07:06:13 +02:00
Timothee Cour
8a5f550491
followup after #15529 and #15534 ( #15536 )
2020-10-10 07:05:27 +02:00
genotrance
442841037a
Fix #12027 ( #15519 )
2020-10-10 07:04:57 +02:00
genotrance
0a560144ce
Bump nimble ( #15539 )
2020-10-10 07:04:03 +02:00
Andreas Rumpf
d430216288
fixes #15532 ( #15534 )
2020-10-09 16:18:36 +02:00
Timothee Cour
16e8005031
fix gitignore for testament cruft ( #15530 )
...
* fix gitignore for testament cruft
* fix rendertree => renderTree
2020-10-09 11:28:21 +02:00
Timothee Cour
8fb57d7451
close #13081 ( #15529 )
...
* close #13081
* fixup
2020-10-09 08:56:09 +02:00
cooldome
91ce4515c8
fix gc:arc in nimscript ( #15525 )
2020-10-09 08:52:26 +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