Bung
a9bd78d579
fix #12122 ( #21096 )
2022-12-16 08:01:15 +01:00
ringabout
d5cc2085ea
ref #20694 ; quit value gets saturated to ranges ( #20753 )
...
* quit value gets saturated to ranges
* add documentation
* minimal changes
* refactor
* small fix
* add documentation
* fixes
* Update lib/system.nim
Co-authored-by: Juan Carlos <juancarlospaco@gmail.com>
Co-authored-by: Juan Carlos <juancarlospaco@gmail.com>
2022-11-05 10:58:57 +01:00
Timothee Cour
f561afae41
followup #17225 : simplify code after removing gc2, generational ( #17242 )
2021-03-03 13:37:42 +01:00
Arne Döring
4005f0d0e4
forward type alignment information to seqs ( #12430 )
2020-04-19 07:52:01 +02:00
Federico Ceratto
39290cf88c
Fix spellings ( #12277 ) [backport]
2019-09-27 07:02:54 +02:00
Araq
c94647aeca
styleCheck: make the compiler and large parts of the stdlib compatible with --styleCheck:error
2019-07-10 12:42:41 +02:00
Andreas Rumpf
79b1eafa59
gc: removed dead code
2019-03-14 07:59:44 +01:00
Andreas Rumpf
721bf7188b
code cleanup: there is no tyOptRef
2019-02-22 19:42:11 +01:00
Jacek Sieka
87568830ab
Remove dead code ( #9777 )
...
* gc/gc2: remove unused ref counting stuff
* also removes some false threading support - hasSharedHeap is always
false in gc/gc2
* gc: remove some threading cruft
* remove asgnRefNoCycle
* compiler: remove TLoc.dup (unused)
2018-11-26 09:47:39 +01:00
Andreas Rumpf
7adf3bf476
Mark&Sweep GC: introduce nimTracing define for debugging
2018-01-19 18:11:46 +01:00
Araq
f1089db175
GC: enable precise global/thread local storage tracing
2018-01-15 17:41:05 +01:00
Araq
f71f9f83c2
GC improvements; distinguish between thread local and globals in the marking step
2018-01-14 17:34:27 +01:00
Yuriy Glukhov
d1e10f9aa3
Fixed mutex usage in SharedList and SharedTable. Closes #6988 ( #6990 )
2017-12-31 09:28:51 +01:00
Lynn C. Rees
0ab373115c
Trim remaining expr/stmt from stdlib ( #6742 )
2017-11-15 17:34:48 +01:00
Andreas Rumpf
6a3288a60e
more replacements for the deprecated '<'
2017-10-29 08:55:30 +01:00
Andreas Rumpf
7349d12e96
GC v2 works sometimes
2017-09-28 21:48:43 +02:00
Andreas Rumpf
f7f3a25be8
first steps of making 'opt' a first class type for Nim
2017-09-25 13:19:36 +02:00
Andreas Rumpf
07531b41b9
make gc:v2 compile again
2017-09-22 11:12:14 +02:00
Rokas Kupstys
9f8863169a
Cleanup of gc code
...
Cleanups
2017-02-20 17:24:19 +02:00
Yuriy Glukhov
1bfcea5d5c
Make gc v2 compile with --threads:on
2016-10-05 20:36:22 +03:00
Jacek Sieka
b3846124e6
clean up a few stray c_stdout's in gc debug code
2016-07-31 08:34:42 +08:00
Andreas Rumpf
9b609b26ca
GC v2 compiles again
2016-05-23 12:53:17 +02:00
Ruslan Mustakov
0dc35b7841
Replaced ignoreStackAndRegisters with stackSize in GC_step
2016-05-11 20:02:12 +06:00
Ruslan Mustakov
f288eb7543
Added ignoreStackAndRegisters parameter to GC_step
2016-05-10 21:52:44 +06:00
Andreas Rumpf
8ec5c01cae
further progress on --gc:v2
2016-02-17 14:52:02 +01:00
Andreas Rumpf
19677a11b0
some progress on GC v2
2016-02-03 17:42:10 +01:00
Araq
760242b870
removes 'x is iterator' special casing in the language
2015-12-03 01:08:03 +01:00
Araq
af29ea1ea2
proper color flipping
2015-12-01 00:53:30 +01:00
Araq
10530add48
next steps for the GC
2015-12-01 00:53:30 +01:00
Araq
9ed635d5c0
only mark roots when marking
2015-12-01 00:53:30 +01:00
Araq
070403ca5e
first compiling version of the new GC
2015-12-01 00:53:30 +01:00
Araq
a1739455d3
first version of the new hard realtime GC
2015-12-01 00:53:30 +01:00
Adam Strzelecki
43bddf62dd
lib: Trim .nim files trailing whitespace
...
via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
2015-09-04 23:03:56 +02:00
pdw
2ca90a20a1
lib/system/g-w - Dropped 'T' from types
2015-06-04 13:18:37 +02:00
def
573fa9b891
Clean up GCs a bit
2015-03-10 15:31:55 +01:00
def
f5968c7946
Only zero strings when necessary.
...
This removes the zeroing when the string is subsequently overwritten by
a memcpy anyway.
2015-03-04 01:48:09 +01:00
Andreas Rumpf
13c2d9b8e2
Merge pull request #2150 from def-/gc2-compiling
...
Make gc2 compile again and fix some deprecation warnings
2015-02-16 20:33:25 +01:00
def
b9abeff617
Clean up some more deprecation warnings
2015-02-16 19:13:49 +01:00
def
a5d22a9534
Make gc2 compile again
2015-02-16 19:12:09 +01:00
Federico Ceratto
657dca5c3b
Fix typos
2015-02-15 16:20:32 +00:00
def
2399f3b03d
Some GC renames to get rid of deprecation warnings
2015-01-06 01:28:43 +01:00
Araq
dbf9117c56
the big renamefest: first steps
2014-08-22 23:54:26 +02:00
Araq
dd806cafa0
distinguish between 'defined' and 'declared'
2014-08-11 20:38:28 +02:00
Zahary Karadjov
31dd66acbf
support for multiple test variables and var qualifiers in user-defined type classes
2013-11-13 02:24:08 +02:00
Grzegorz Adam Hankiewicz
72a3e21f28
Removes executable bit for text files.
2013-03-16 23:53:07 +01:00
Araq
65fdd641a9
revert to old GC; use --gc:v2 to activate the new GC
2013-01-31 17:24:55 +01:00