Nim/lib/system
metagn 2cca38d33c
pragma for sfCallsite instead of name check + better semantics, test (#20464)
* pragma for sfCallsite instead of name check at every template definition

Not documented because it seems to be for internal use?

Should also make it possible to make comparisons and setops imports, but this doesn't have to be done.

I can reuse a name like `cursor` for the pragma as well, added a new name just to be safe.

* make sfCallsite recursive, add tests
2022-10-03 06:07:55 +02:00
..
mm Add Zephyr Support (#19003) 2021-10-24 11:51:57 +02:00
alloc.nim Freeing critical sections via atexit in system/alloc and system/io (#19062) 2021-10-29 13:42:44 +02:00
ansi_c.nim moderate system cleanup & refactor (#20355) 2022-09-28 15:28:45 -04:00
arc.nim update the docs of arc following up #19749 (#19752) 2022-08-08 16:56:37 +08:00
arithm.nim use lowercase --define switches (#17283) 2021-03-07 12:08:41 +01:00
arithmetics.nim moderate system cleanup & refactor (#20355) 2022-09-28 15:28:45 -04:00
assign.nim cString => cSourceString; tyCString => tyCstring so that error msgs show cstring, not cString (#17744) 2021-04-17 11:14:09 +02:00
atomics.nim Atomic inc/dec should use ATOMIC_SEQ_CST (#19212) 2021-12-08 08:40:35 +01:00
avltree.nim make AVL tree node part of the memory regions; fixes hard to reproduce channel crashes 2017-01-31 13:08:47 +01:00
basic_types.nim moderate system cleanup & refactor (#20355) 2022-09-28 15:28:45 -04:00
bitmasks.nim Enable customizing PageShift to set PageSize for embedded targets (#19129) 2021-11-16 20:30:07 +01:00
cellseqs_v1.nim more checking for --gc:arc, no need for valgrind (#14467) 2020-05-29 12:08:17 +02:00
cellseqs_v2.nim ORC: use =destroy instead of =dispose (#18440) 2021-07-07 09:39:01 +02:00
cellsets.nim cleaned up the internal documentation (#17524) 2021-03-26 16:27:55 +01:00
cgprocs.nim Initial version of the hot-code reloading support for native targets (#10729) 2019-02-26 15:48:55 +01:00
channels_builtin.nim fix code-block which causes missing docs 2021-09-11 09:25:48 +08:00
chcks.nim moderate system cleanup & refactor (#20355) 2022-09-28 15:28:45 -04:00
comparisons.nim pragma for sfCallsite instead of name check + better semantics, test (#20464) 2022-10-03 06:07:55 +02:00
compilation.nim moderate system cleanup & refactor (#20355) 2022-09-28 15:28:45 -04:00
coro_detection.nim system.nim cleanup some exported constants which should never have be… (#17909) 2021-05-01 11:10:40 +02:00
countbits_impl.nim typetraits: add toSigned, toUnsigned (#18445) 2022-04-07 17:38:01 -04:00
ctypes.nim moderate system cleanup & refactor (#20355) 2022-09-28 15:28:45 -04:00
cyclebreaker.nim ORC: use =destroy instead of =dispose (#18440) 2021-07-07 09:39:01 +02:00
deepcopy.nim ARC now capable of custom extra alignment. Ref, closure and seq support. (#15697) 2020-10-28 14:00:49 +01:00
dollars.nim move formatfloat out of system (#20195) 2022-08-24 13:38:30 +02:00
dyncalls.nim Add Zephyr Support (#19003) 2021-10-24 11:51:57 +02:00
embedded.nim ensure the avr example keeps compiling (#17663) 2021-04-07 13:40:57 +02:00
exceptions.nim moderate system cleanup & refactor (#20355) 2022-09-28 15:28:45 -04:00
excpt.nim fixes another effect inference bug [backport:1.6] (#19100) 2021-11-07 16:38:02 +01:00
fatal.nim fix #16499 (#16514) 2021-01-04 18:27:58 +01:00
formatfloat.nim move formatfloat out of system (#20195) 2022-08-24 13:38:30 +02:00
gc.nim turn nimIncrSeqV3 into deadcode (#20388) 2022-09-20 14:59:50 +02:00
gc2.nim followup #17225: simplify code after removing gc2, generational (#17242) 2021-03-03 13:37:42 +01:00
gc_common.nim fixes #17647 (#17667) 2021-04-07 23:26:53 +02:00
gc_hooks.nim gc:destructors progress 2019-09-16 23:54:31 +02:00
gc_interface.nim fixes #13881 2020-05-12 15:46:24 +02:00
gc_ms.nim Removes deprecated {.injectStmt.}. Fixes #18666 (#18984) 2021-10-13 11:09:45 +02:00
gc_regions.nim styleCheck: Fix some inconsistent identifiers (#16177) 2020-12-21 09:41:56 -08:00
hti.nim cString => cSourceString; tyCString => tyCstring so that error msgs show cstring, not cString (#17744) 2021-04-17 11:14:09 +02:00
inclrtl.nim don't use {.rtl.} for generics, otherwise -d:useNimRtl gives ambiguous identifier nimrtl error (#18406) 2021-07-01 11:14:01 +02:00
indexerrors.nim properly fix #10053 ; FieldDefect msg now shows discriminant value + lineinfo, in all backends (c,vm,js) (#11955) 2021-08-13 09:35:48 +02:00
indices.nim koch boot compiler with orc (#20467) 2022-09-30 12:38:25 +02:00
integerops.nim fixes #14209 [backport:1.2] (#14213) 2020-05-05 00:48:13 +02:00
iterators.nim moderate system cleanup & refactor (#20355) 2022-09-28 15:28:45 -04:00
iterators_1.nim Change stdlib imports to use std prefix in most examples (#17202) 2021-02-28 13:17:19 -08:00
jssys.nim [js] add testcase for array indexDefect and remove todo (#19838) 2022-06-10 20:33:44 +02:00
memalloc.nim fixes #19000 (#19032) 2021-10-30 10:14:23 +02:00
memory.nim remove all uses of condsyms symbols defined prior to bootstrap nim 0.20.0 (#16918) 2021-02-17 09:32:36 +01:00
memtracker.nim addQuitProc => addExitProc (#16765) 2021-01-22 19:51:11 +01:00
mmdisp.nim fix #16458; make useNimRtl compile for --gc:orc (#19512) 2022-02-11 11:16:27 +01:00
nimscript.nim Update nimscript withDir doc example (#19776) 2022-05-08 11:54:25 +02:00
orc.nim replace the broken link for ORC implementation with a working one (#20105) 2022-07-31 20:01:36 -04:00
osalloc.nim Switch maintanance (#18668) 2021-08-11 08:54:49 +02:00
platforms.nim Add support for LoongArch (#19223) 2021-12-09 14:00:33 +01:00
profiler.nim Give better error message when profiler and memProfiler used at same time (#9948) 2018-12-19 10:02:20 +01:00
repr.nim properly fix #10053 ; FieldDefect msg now shows discriminant value + lineinfo, in all backends (c,vm,js) (#11955) 2021-08-13 09:35:48 +02:00
repr_impl.nim properly fix #10053 ; FieldDefect msg now shows discriminant value + lineinfo, in all backends (c,vm,js) (#11955) 2021-08-13 09:35:48 +02:00
repr_v2.nim Revert "fixes #20155; repr range with distinct types is broken with ORC" (#20334) 2022-09-11 16:56:11 -04:00
reprjs.nim make more standard libraries work with nimPreviewSlimSystem (#20343) 2022-09-27 20:06:23 +02:00
seqs_v2.nim RFC-460 implemented (#19771) 2022-09-21 10:37:13 +02:00
seqs_v2_reimpl.nim arc allocation method aligned (#15588) 2020-10-19 14:50:06 +02:00
setops.nim pragma for sfCallsite instead of name check + better semantics, test (#20464) 2022-10-03 06:07:55 +02:00
sets.nim close #11330 sets uses optimized countSetBits (#17334) 2021-03-22 00:36:48 +01:00
stacktraces.nim Replace double backticks with single backticks - Part 2 out of ~6 (#17206) 2021-02-28 23:15:26 -08:00
strmantle.nim support cstring in case (#20130) 2022-09-01 18:10:00 +02:00
strs_v2.nim RFC-460 implemented (#19771) 2022-09-21 10:37:13 +02:00
syslocks.nim Revert "fix #14873 properly by skipping abi field in importc type (#17944)" (#17992) 2021-05-15 06:50:39 +02:00
sysstr.nim turn nimIncrSeqV3 into deadcode (#20388) 2022-09-20 14:59:50 +02:00
threadids.nim refactoring: orc can use getThreadId() (#19123) 2021-11-11 19:07:08 +01:00
threadlocalstorage.nim fixes Thread initializer for ARC/ORC on Macos (#20368) 2022-09-16 16:35:53 -04:00
threads.nim bootstrap the compiler with nimPreviewSlimSystem (#20176) 2022-08-09 16:32:29 +08:00
timers.nim miscellaneous bug fixes (#13291) 2020-01-30 10:54:50 +01:00