summary refs log tree commit diff stats
path: root/tests/destructor/tnewruntime_strutils.nim
Commit message (Collapse)AuthorAgeFilesLines
* fixes #16365 [backport] (#16381)Andreas Rumpf2020-12-171-1/+31
|
* fixes #14054 [backport:1.2] (#14061)Andreas Rumpf2020-04-301-1/+1
| | | | | | | | | * fixes #14054 * make tests green again * more tests are green * maybe now
* contributing docs: symbols need package prefix; changed allocStats to ↵Timothee Cour2020-01-251-1/+1
| | | | nimAllocStats (#13247)
* Removed lib/system/allocators.nim. seqs_v2 and strs_v2 now uses ↵Ico Doornekamp2020-01-231-7/+2
| | | | | | | | | | | | | | | | | | | | | | | | | allocShared0. (#13190) * Cleanup, remove lib/system/allocators.nim. seqs_v2 and strs_v2 now use allocShared0 by default. * Fixed -d:useMalloc allocShared / reallocShared / deallocShared. These now use the alloc/dealloc/realloc implementation that also takes care of zeroing memory at realloc. * Removed debug printfs * Removed unpairedEnvAllocs() from tests/destructor/tnewruntime_misc * More mmdisp cleanups. The shared allocators do not need to zero memory or throw since the regular ones already do that * Introduced realloc0 and reallocShared0, these procs are now used by strs_v2 and seqs_v2. This also allowed the -d:useMalloc allocator to drop the extra header with allocation length. * Moved strs_v2/seqs_v2 'allocated' flag into 'cap' field * Added 'getAllocStats()' to get low level alloc/dealloc counters. Enable with -d:allocStats * *allocShared implementations for boehm and go allocators now depend on the proper *allocImpl procs
* fixes #12965 (#12991)Andreas Rumpf2019-12-311-0/+4
|
* fixes #12899 (#12921)Andreas Rumpf2019-12-181-1/+25
| | | | | | * fixes #12899 * fixes regression: destroy global variables in reverse declaration order, closureleak test relies on it
* ARC: cycle detector (#12823)Andreas Rumpf2019-12-171-2/+3
| | | | | | | | | | | | | * first implementation of the =trace and =dispose hooks for the cycle collector * a cycle collector for ARC: progress * manual: the .acyclic pragma is a thing once again * gcbench: adaptations for --gc:arc * enable valgrind tests for the strutils tests * testament: better valgrind support * ARC refactoring: growable jumpstacks * ARC cycle detector: non-recursive algorithm * moved and renamed core/ files back to system/ * refactoring: --gc:arc vs --gc:orc since 'orc' is even more experimental and we want to ship --gc:arc soonish
* remove deprecated procs (#12535)Andreas Rumpf2019-11-051-4/+4
|
* fix #8242, fix #12586: fix 'formatFloat' with 'precision = 0' (#12592)Miran2019-11-051-2/+1
| | | | | | | | | | | | | | * fix #8242, fix #12586: fix 'formatFloat' with 'precision = 0' 'formatFloat' with 'precision = 0' now gives the same result (a number without a decimal point) in all backends. This is compatible with Python's formatters, too. * fix failing tests * add changelog entry * add version switch
* [bugfix] fixes #11524Andreas Rumpf2019-06-221-2/+1
|
* fixes #11004Araq2019-04-121-0/+7
|
* enable more testsAraq2019-04-101-23/+22
|
* enable most tnewruntime_strutils testsAraq2019-04-101-38/+28
|
* newruntime: fixes another bugAraq2019-04-101-0/+195