cooldome
12d2b980e8
Fixes #12883 ( #12894 )
...
* fixes #12883
* fix comment
* add normalize
* fix
2019-12-13 13:30:27 +00:00
cooldome
1e1fd73530
fixes #12882 ( #12889 )
...
* fixes #12882
2019-12-13 11:24:05 +00:00
Andreas Rumpf
3524944e21
ARC: fixes cycle detection and move the .cursor attribute into closures ( #12872 )
2019-12-11 06:57:00 +01:00
Andreas Rumpf
b8152b29e8
ARC: yet another bugfix ( #12871 )
2019-12-10 16:44:54 +01:00
cooldome
13d232ec56
fixes #12827 ( #12829 ) [backport]
2019-12-10 07:08:46 +01:00
cooldome
5929c3da21
fixes #12820 ( #12828 )
2019-12-09 20:03:23 +01:00
cooldome
7213969901
fixes #12821 ( #12822 )
2019-12-06 09:56:54 +01:00
Andreas Rumpf
3fbb3bfd3f
ARC related bugfixes and refactorings ( #12781 )
2019-12-05 16:59:06 +01:00
Araq
7e6e399d10
fixes #12669
2019-11-29 19:46:21 +01:00
Araq
b688250202
fixes #12766
2019-11-29 19:46:21 +01:00
Araq
72237e2bcf
ARC: ported the GC tests over to --gc:arc
2019-11-26 16:04:28 +01:00
narimiran
015bec6254
Revert "ARC: another critical bugfix; temporary tuples we introduce for tuple unpackaging are not owning the data"
...
This reverts commit 8b2f8f5430 .
2019-11-24 09:50:52 +01:00
Araq
8b2f8f5430
ARC: another critical bugfix; temporary tuples we introduce for tuple unpackaging are not owning the data
2019-11-22 21:41:45 +01:00
Araq
c85e266d1d
ARC: yet another silly bugfix
2019-11-22 17:18:11 +01:00
Andreas Rumpf
85ffcd80c0
more arc improvements ( #12690 )
...
* ARC: bugfix for =destroy for inherited objects
* added code useful for debugging
2019-11-20 14:34:05 +01:00
Andreas Rumpf
5278cf80eb
ARC: closure bugfixes ( #12677 )
...
* ARC: closure bugfixes
* progress
* ARC closures: create =hooks for captured parameters
* ARC: always destroy constructions like tuples, arrays properly, even in edge cases
* fixes a regression
2019-11-18 12:33:44 +01:00
Andreas Rumpf
76179cbec2
ARC: fixes leaking new() statement ( #12665 )
2019-11-15 12:38:11 +01:00
Andreas Rumpf
a14abc5708
ARC: solves phase ordering problems ( #12654 )
2019-11-14 23:19:18 +01:00
Araq
f22d3c75aa
ARC: closure inside object constructor now works
2019-11-13 23:29:21 +01:00
Andreas Rumpf
dfb020b174
.cursor implementation ( #12637 )
...
* cursors: first implementation
* added currently failing test
* .cursor works for doubly linked lists
* make -d:useMalloc work again
* added code to nil out refs in a destructor
* it's now called --gc:arc
* renderer.nim: render nkBreakState properly
* make simple closure iterators work without leaking
2019-11-12 15:05:36 +01:00
Andreas Rumpf
3ba3307d61
remove deprecated procs ( #12535 )
2019-11-05 11:05:46 +01:00
Miran
ffa9a7405f
fix #8242 , fix #12586 : fix 'formatFloat' with 'precision = 0' ( #12592 )
...
* 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
2019-11-05 10:31:23 +01:00
Andreas Rumpf
7192b13609
some progress on bug #12443
2019-10-27 17:50:30 +01:00
Araq
cf99c9bfb5
fixes #12051
2019-09-10 09:43:37 +02:00
Andrii Riabushenko
ba18c12005
sink as lvalue
2019-09-02 10:11:51 +01:00
Andrii Riabushenko
a055f628f4
fixes #12092
2019-08-31 09:49:47 +01:00
Clyybber
029dcc6259
fix #12037 ( #12089 )
2019-08-30 06:41:26 +02:00
cooldome
c9f49cbc0a
lift destructor for openarray ( #12073 )
...
* destroy for sink openarray
2019-08-28 12:07:46 +02:00
Andreas Rumpf
ce7f29e8e6
fixes #11833 ( #12018 )
2019-08-24 06:25:47 +02:00
Andreas Rumpf
433613e267
fixes #11844 ( #11935 )
2019-08-13 06:37:37 +02:00
Araq
322ce1872f
fixes #10689
2019-08-12 14:06:48 +02:00
Araq
289b5e9ef9
fixes #11254
2019-08-12 13:58:35 +02:00
Andreas Rumpf
212ae2f125
fixes #11891
2019-08-10 15:41:24 +02:00
Andreas Rumpf
c0d240b8cd
fixes #11807 ( #11900 )
...
* fixes #11807
* make tests green again
2019-08-07 22:40:58 +02:00
Araq
67a6effb7b
fixes #11745
2019-07-19 22:38:35 +02:00
Timothee Cour
b80d70b0f3
fix tests
2019-07-08 15:24:20 -07:00
Araq
085a21ebf4
fixes #11350
2019-07-07 17:17:14 +02:00
Araq
c0db1705dc
fixes #11510
2019-07-03 12:54:11 +02:00
Araq
413dff03a0
fixes #11614
2019-07-01 12:29:03 +02:00
Araq
7ddb31262e
fixes #11611
2019-06-28 21:04:49 +02:00
Andreas Rumpf
e083a1533b
fixes #11098
2019-06-26 19:34:05 +02:00
Araq
0a81b038fd
fixes #11577
2019-06-26 15:33:51 +02:00
Andreas Rumpf
0f868b587b
fixes #11563 ( #11594 )
2019-06-26 06:55:43 +02:00
Andreas Rumpf
79c721d418
[bugfix] fixes #11524
2019-06-22 01:52:49 +02:00
Andreas Rumpf
0db3c670ac
closes #11533
2019-06-21 20:45:00 +02:00
Andreas Rumpf
bc9fb4885b
[bugfix] system.nim: make pop work with --newruntime
2019-06-20 19:38:25 +02:00
Araq
678beb8ef9
[other] newruntime: add a simple closure iterator test
2019-06-20 11:31:21 +02:00
Andreas Rumpf
0adb1c6223
newruntime: added yet another test
2019-06-20 08:38:29 +02:00
Andreas Rumpf
c65a5d754b
[bugfix] owned closures ( #11544 )
2019-06-20 07:40:45 +02:00
Araq
ab36ffbeb1
[bugfix] fixes #11517
2019-06-19 17:39:52 +02:00