| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* fix #15704 #15597 wrong VM register was freed
* same treatment for nkCheckedFieldExpr
* note concerning HighRegisterPressure
* bump NimPatch
* Update lib/system.nim
Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
|
| |
|
|
|
| |
This reverts commit 3f00a738dbc8319b4dd2b86bf5529c096f2dd243.
|
| |
|
|
|
|
|
|
|
| |
* fix #15662
* alternative fix
* fix spacing
|
|
|
|
|
| |
* Fix #12410, big thanks to @pmetras for this fix
* Add testcase
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* expect valgrind test failure on memory leak
* alloc 1 instead of 0
|
|
|
|
|
| |
* $(uint|uint64) now works with nimscript
* fixup
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
| |
* Fix #15599
* Add test
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
| |
* harden the ORC asyncleak3 test case
* add another ORC stress test
|
|
|
|
| |
is affected (#15569)
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
* fix #15543
* fix spacing
* fix test
* simplify test for freebsd platform
|
|
|
|
|
| |
* os: add overload copyFile*(source, dest: string, isDir = false)
* renamed to copyFileToDir
|
| |
|
| |
|
|
|
|
|
| |
* close #13081
* fixup
|
| |
|
|
|
|
|
|
|
| |
* docgen: improve alignment of comments (still not perfect)
* fix error message text in `tunknown_named_parameter`
Co-authored-by: narimiran <narimiran@disroot.org>
|
| |
|
|
|
|
|
| |
* implements https://github.com/nim-lang/RFCs/issues/260
* added a test case
|
|
|
|
|
| |
swap() will never call any procs passed to it, and so it can be safely
excluded from the "assume indirect calls are taken" effects tracking
rule.
|
|
|
|
|
|
|
| |
* New hint for unused exceptions in .raises
* Fix effects test
* Further adapt teffects1.nim
|
|
|
|
|
|
|
|
|
| |
* implements https://github.com/nim-lang/RFCs/issues/258
* don't be too strict with custom pragma blocks
* cast pragmas: documentation
* added most missing inference query procs to effecttraits.nim
|
|
|
|
| |
https://github.com/nim-lang/Nim/issues/15428 (#15488)
|
| |
|
|
|
| |
TLS emulation was already disabled for FreeBSD due to the same issue.
|
|
|
|
|
|
|
|
| |
On 32-bit system the mask would have a size of 32-bit, which is smaller
than the BiggestInt (usually 64-bit) it was masked against.
For some reason this only affect 32-bit Windows but not 32-bit Linux.
Might just be a difference in how gcc handle out of bound shifts for
Windows and Linux.
|
| |
|
|
|
|
| |
* fixes #15243 [backport:1.2]
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add first draft of new osproc.readLines
* Add test for new osproc.readLines
* Rename test to start w/t to run; Also add newline to output
* Suppress hint messages.
* Output should match this time.
* Shoulda picked a program with simpler syntax than ..lol
* Address https://github.com/nim-lang/Nim/pull/15429#issuecomment-701890898
and https://github.com/nim-lang/Nim/pull/15429#issuecomment-701985976 by
factoring `readLines` into `iterator lines` and a wrapper `proc`.
* Address https://github.com/nim-lang/Nim/pull/15429#issuecomment-702127289
and also add a `ReadIOEffect` tag to the iterator (called by the wrapper..
so it should need no separate tag, if I understand correctly).
|
|
|
|
|
|
|
| |
* fix #15405
* fix tests
* deepcopy for ARC has to be enabled via --deepcopy:on
Co-authored-by: Araq <rumpf_a@web.de>
|
|
|
|
|
|
|
| |
* views: yet another bugfix
* views: extended the spec
* views: take into account potential hidden mutations via proc calls
|
| |
|
| |
|
|
|
|
|
| |
* you can put borrows into tables
* enforces mutating views only mutate mutable data
|
|
|
|
|
|
|
|
|
|
|
| |
* spec for view types
* spec additions
* refactoring; there are two different kinds of views
* refactorings and spec additions
* enforce that view types are initialized
* enforce borrowing from the first formal parameter
* enforce lifetimes for borrowing of locals
* typo in the manual
* clarify in the implementation what a borrow operation really is
|
|
|
|
|
| |
* .noalias annotation; frontend support
* added .noalias support to Nim; implements https://github.com/nim-lang/RFCs/issues/204
|
|
|
|
|
| |
* produce runtime type information for reified openArrays
* added a test case
|
|
|
|
|
|
| |
* moved view tests to tests/views
* refactoring
* more refactorings
* better support for system.toOpenArray for first class view types
|