Clyybber
301e5838ec
Finer analysis for array access ( #16787 )
...
* Refine the analysis for array access
* Cleanup
* Add comments
2021-01-24 21:01:41 +01:00
Clyybber
57d5c1465a
Part-to-whole optimization ( #16775 )
2021-01-21 15:25:00 +01:00
Clyybber
ccb11a63fb
Reboot of #16195 ( #16746 )
...
* fix #16185
* fix test
* fix comment
* fix comment
* better approach
* Add more tests and move sameLocation to injectdestructors
* Better and more strict sameLocation
* Small cleanup and preliminary spec clarification
* Fix
* Fix doc
* Expand test
Co-authored-by: Andrey R (cooldome) <ariabushenko@gmail.com >
2021-01-20 11:05:56 +01:00
Juan Carlos
78a99587a4
Deprecate TaintedString ( #15423 )
...
Co-authored-by: Timothee Cour <timothee.cour2@gmail.com >
Co-authored-by: Dominik Picheta <dominikpicheta@googlemail.com >
2021-01-15 18:56:38 -08:00
cooldome
fc9cf2088d
Fix 16722 ( #16730 )
...
* fix #16722
* fix spacing
* spacing
2021-01-15 18:16:24 +00:00
flywind
6d442a40a6
use doAssert in tests ( #16486 )
2020-12-28 14:13:21 +01:00
cooldome
fbc8a40c7a
fix #15043 ( #16441 ) [backport:1.4]
...
* fix #15043
* Trigger build
2020-12-27 20:05:33 +01:00
Timothee Cour
7e1ae35195
testament: error instead of silently ignore invalid targets; remove pointless alias target vs targets; document matrix; DRY ( #16343 )
...
* testament: error instead of silently ignore invalid targets
* s/target/targets/
* fix test; refs #16344
* address comments
* Update testament/specs.nim
Co-authored-by: Andreas Rumpf <rumpf_a@web.de >
2020-12-14 10:58:29 +01:00
Andreas Rumpf
af7f7726fe
ORC: make the adaptive strategy the default in order to fight memory consumption ( #16250 )
...
* ORC: make the adaptive strategy the default in order to fight memory consumption
* added missing test case
2020-12-05 23:15:17 +01:00
Andreas Rumpf
2e4b6b94e6
Revert "fix #16185 ( #16195 )" ( #16197 )
...
This reverts commit bb4b27a2ca .
2020-11-30 23:36:38 +01:00
cooldome
bb4b27a2ca
fix #16185 ( #16195 )
...
* fix #16185
* fix test
* fix comment
* fix comment
* better approach
2020-11-30 18:45:37 +01:00
Timothee Cour
b809562c7c
make megatest consistent with unjoined tests wrt newlines, honor newlines in output spec ( #16151 )
...
* fix megatest newlines
* still allow missing trailing newline for now but in a more strict way than before
2020-11-28 09:09:31 +01:00
cooldome
8c12d3e29d
fix #16120 ( #16145 )
2020-11-26 14:37:34 +01:00
Andreas Rumpf
da753c6a2e
fixes #15076 ( #16143 )
...
* fixes #15076
* heapqueue: optimized for ARC
* added another test case [backport:1.4]
* code cleanup
2020-11-26 10:24:52 +01:00
Andreas Rumpf
d306a04466
fixes #16069 ; [backport:1.2] [backport:1.4] ( #16115 )
...
* fixes #16069 ; refs https://github.com/nim-lang/RFCs/issues/257 [backport:1.2] [backport:1.4]
* make tests green again
2020-11-24 16:09:00 +01:00
Timothee Cour
b3c3557c33
fix #16025 repr now consistent: does not insert trailing newline ( #16034 )
2020-11-19 12:12:51 -08:00
Timothee Cour
557dcfd87d
fix #16033 nim js --gc:arc works and ignores --gc:arc ( #16036 )
2020-11-18 23:28:52 +01:00
Andreas Rumpf
b9eb91cbb5
ORC: prepare for another patent-pending optimization ( #15996 )
...
* ORC: prepare for another patent-pending optimization
* bugfix
* '=copy' for refs can take a cyclic parameter for more ORC optimizations
* ORC: exploit the common 'it = it.next' pattern
* can't hurt to check for nil
* use an algorithm that is not obviously broken
* restore the test case
* final cleanups for --gc:orc
2020-11-18 22:31:06 +01:00
cooldome
a4d02f591c
fix #15910 ( #15984 )
...
* fix #15910
* produce op of op is nil
* Trigger build
2020-11-16 11:39:28 +00:00
Andreas Rumpf
7eb34d170a
fixes #15753 [backport:1.4] ( #15971 )
2020-11-15 15:47:42 +01:00
Fanael Linithien
7d4f70280e
Fix #15909 ( #15914 )
2020-11-12 09:28:32 +01:00
cooldome
69fe707025
Fix 15629 ( #15888 )
...
* fix #15858
* fix space
* fix #15629
* Revert "fix space"
* Revert "fix #15858 "
2020-11-09 12:26:12 +01:00
cooldome
7b19217798
fix #15707 ( #15870 )
2020-11-09 11:47:29 +01:00
cooldome
fa5f225efc
fix #15609 ( #15856 )
...
* fix #15609
* fix test
2020-11-05 23:29:05 +01:00
cooldome
0956a99537
ARC now capable of custom extra alignment. Ref, closure and seq support. ( #15697 )
2020-10-28 14:00:49 +01:00
Clyybber
d4022ebe53
Revert "fixes #15280 [backport:1.2] ( #15281 )" ( #15700 )
...
This reverts commit 3f00a738db .
2020-10-24 11:45:18 +02:00
n5m
436e1fa5b1
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
2020-10-19 22:25:43 +02:00
Clyybber
66cd9c2e57
Fix #15599 ( #15601 )
...
* Fix #15599
* Add test
2020-10-16 18:03: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
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
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
d430216288
fixes #15532 ( #15534 )
2020-10-09 16:18:36 +02:00
cooldome
531ed2dc36
fix #15405 . deepcopy arc ( #15410 )
...
* fix #15405
* fix tests
* deepcopy for ARC has to be enabled via --deepcopy:on
Co-authored-by: Araq <rumpf_a@web.de >
2020-10-01 17:39:48 +02:00
Andreas Rumpf
e6616115e6
cursor inference: makes combparser work; refactorings ( #15411 )
...
* cursor inference: makes combparser work; refactorings
2020-09-26 13:11:35 +02:00
cooldome
68ec7a018b
Revert "fix #15035 ( #15236 )" ( #15408 )
...
This reverts commit f8c48fc186 .
2020-09-24 22:21:14 +02:00
Andreas Rumpf
4ec5cbac0d
fixes #15361 ( #15401 )
...
* fixes #15361 ; better cursor inference
2020-09-24 15:41:45 +02:00
Andreas Rumpf
4d75059e8b
added a basic ORC test I still had lying around ( #15376 )
2020-09-20 22:47:48 +02:00
Araq
cdac67376c
arc: added tmarshal.nim test case
2020-09-20 10:43:57 +02:00
Araq
33be7c6f5e
arc: =deepcopy fixes
2020-09-20 10:43:57 +02:00
Andreas Rumpf
d19316bbb9
more ORC bugfixes ( #15355 )
...
* introduced --define:nimArcIds
* ORC: bugfixes
2020-09-18 11:55:58 +02:00
Andreas Rumpf
bc9967f05a
Revert "Introduce explicit copy ( #15330 )" ( #15346 )
...
This reverts commit a3e9cc5234 .
2020-09-16 23:24:17 +02:00
cooldome
a3e9cc5234
Introduce explicit copy ( #15330 )
2020-09-16 17:26:45 +02:00
Andreas Rumpf
ae4ede6b00
fixes #15325 ( #15340 )
2020-09-16 17:26:13 +02:00
Andreas Rumpf
bc179ccc3f
fixes #15076 ( #15329 )
2020-09-15 12:40:23 +02:00
Andreas Rumpf
c38487aa22
fixes a critical ORC bug, refs #15076 ( #15323 )
2020-09-14 12:50:23 +02:00
Andreas Rumpf
1df5cfba52
fixes #15147 ( #15315 )
2020-09-12 23:11:38 +02:00
Andreas Rumpf
0c41ac792b
fixes #15122 ( #15301 )
2020-09-11 01:50:42 +02:00
cooldome
61c85e034d
Fix #15286 ( #15292 )
...
* fix #15286
* fix spacing
2020-09-10 12:40:39 +02:00
Andreas Rumpf
3f00a738db
fixes #15280 [backport:1.2] ( #15281 )
...
* fixes #15280 [backport:1.2]
* make tests green again
* adapt tests
2020-09-09 14:20:10 +02:00
cooldome
77df02313d
fix #15238 ( #15262 )
...
* fix_15238
* fix test
2020-09-04 10:26:14 +02:00