| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
* 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
|
|
|
|
| |
* cursor inference: makes combparser work; refactorings
|
|
|
|
|
|
|
|
|
| |
* fixes #14983
* allow bootstrapping with 0.20
* added a test case for the new system.add with a sink parameter
* make npeg green again
|
|
|
| |
This reverts commit f8c48fc1863a243718acf86b699baed1a5c1512e.
|
|
|
| |
* fixes #15361; better cursor inference
|
| |
|
|
|
|
|
|
|
|
|
| |
* allow result symbol reuse
* try different approach
* Revert "try different approach"
This reverts commit abcfb6b75983c2f798cc887342ff1a9ff10c0324.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix forward declarations in shadow scope contexts
* Add testcase for #15385
* Less empty lines
* Fix tests
* Inline isShadowScope
* Add original testcase (with reduced amount of iterations)
* Add testcase without forward decl
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* nimStackTraceOverride: enable stack traces in exceptions
This is a two-step stack trace collection scheme, because re-raised
exceptions will collect multiple stack traces but use them rarely, when
printing info about an uncaught exception, so it makes sense to only do
the cheap stack unwinding all the time and the relatively expensive
debugging information collection on-demand.
`asyncfutures` implements its own `$` proc for printing
`seq[StackTraceEntry]`, so we have to add the debugging info there, just
like we do for the private `$` proc in `system/excpt`.
* cleaned up PR #15284
Co-authored-by: Ștefan Talpalaru <stefantalpalaru@yahoo.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add strutils.indentation and make unindent use it
* Code style
* Fix bootstrapping
* Improve wording
* Fix test
* Introduce without breaking change
* Fix
* Reduce diff
* Fix docs link
* Add since annotation
* Update changelog
|
|
|
|
|
|
|
| |
* add testcase for #6060
* Remove overspecific testament spec
Co-authored-by: Clyybber <darkmine956@gmail.com>
|