Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Unexport even more symbols (#13214) | alaviss | 2020-01-23 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * system/gc: don't export markStackAndRegisters * compiler/cgen: unexport internal symbols As these functions are Nim-specific walkaround against C's optimization schemes, they don't serve any purpose being exported. * compiler/cgen: don't export global var unless marked * compiler/ccgthreadvars: don't export threadvar unless marked * tests/dll/visibility: also check for exports This ensure that these changes don't break manual exports. * compiler/cgen: hide all variables created for constants * compiler/ccgtypes: don't export RTTI variables * compiler/ccgexprs: make all complex const static * nimbase.h: fix export for windows * compiler/cgen, ccgthreadvars: export variables correctly For C/C++ variables, `extern` means that the variable is defined in an another unit. Added a new N_LIB_EXPORT_VAR to correctly export variables. | ||||
* | proof that refcounting can handle Nim's async (#12533) | Andreas Rumpf | 2019-10-28 | 1 | -1/+8 |
| | |||||
* | minor improvements | Andreas Rumpf | 2019-10-27 | 1 | -1/+2 |
| | |||||
* | Fix spellings (#12277) [backport] | Federico Ceratto | 2019-09-27 | 1 | -1/+1 |
| | |||||
* | Fix -d:logGC compile cerror: 'stdout not defined' (#12237) | treeform | 2019-09-24 | 1 | -5/+5 |
| | |||||
* | styleCheck: make the compiler and large parts of the stdlib compatible with ↵ | Araq | 2019-07-10 | 1 | -6/+6 |
| | | | | --styleCheck:error | ||||
* | right shift is now by default sign preserving (#11322) | Arne Döring | 2019-05-29 | 1 | -1/+1 |
| | | | | | | | | | | | * right shift is now by default sign preserving * fix hashString and semfold * enable arithmetic shift right globally for CI * fix typo * remove xxx * use oldShiftRight as flag * apply feedback * add changelog entry | ||||
* | code cleanup: there is no tyOptRef | Andreas Rumpf | 2019-02-22 | 1 | -6/+6 |
| | |||||
* | system refactorings (#10559) | Andreas Rumpf | 2019-02-06 | 1 | -2/+4 |
| | | | | | | | | * move IO subsystem into its own module; refs #10385 * make standalone test compile again * make C++ examples compile again * make more tests green * make sysAssert and gcAssert work again | ||||
* | fix #10488 GC memory leak regression (#10498) | Timothee Cour | 2019-01-30 | 1 | -1/+4 |
| | | | | | | * fix #10488 GC memory leak regression * re-enable gch.stack.bottom.repr but only inside when defined(logGC) | ||||
* | Increase verbosity of logGC (#10449) | Matt Haggard | 2019-01-26 | 1 | -9/+16 |
| | | | | | | * Increase verbosity of logGC * Remove & c.repr to avoid re-entering the GC | ||||
* | GC: avoid pathological behaviour; fixes #10040 [backport] (#10052) | Andreas Rumpf | 2018-12-20 | 1 | -9/+9 |
| | |||||
* | Remove dead code (#9777) | Jacek Sieka | 2018-11-26 | 1 | -80/+12 |
| | | | | | | | | | * 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) | ||||
* | fixes #7833; still to-do: fix setLen | Araq | 2018-07-30 | 1 | -1/+4 |
| | |||||
* | warn about inconsistent spacing around binary operators; fixes #7582 | Andreas Rumpf | 2018-05-05 | 1 | -1/+1 |
| | |||||
* | GC: enable precise global/thread local storage tracing | Araq | 2018-01-15 | 1 | -19/+14 |
| | |||||
* | GC improvements; distinguish between thread local and globals in the marking ↵ | Araq | 2018-01-14 | 1 | -72/+49 |
| | | | | step | ||||
* | gc.nim: Add a gcAssert to enforce the no heap sharing restrictions | Araq | 2018-01-12 | 1 | -0/+1 |
| | |||||
* | Fixed mutex usage in SharedList and SharedTable. Closes #6988 (#6990) | Yuriy Glukhov | 2017-12-31 | 1 | -1/+1 |
| | |||||
* | more replacements for the deprecated '<' | Andreas Rumpf | 2017-10-29 | 1 | -3/+3 |
| | |||||
* | fixes #3558 | Araq | 2017-10-16 | 1 | -8/+9 |
| | |||||
* | GCs: use add instead of & | Andreas Rumpf | 2017-09-29 | 1 | -3/+3 |
| | |||||
* | first steps of making 'opt' a first class type for Nim | Andreas Rumpf | 2017-09-25 | 1 | -6/+6 |
| | |||||
* | fixes #6234 | Andreas Rumpf | 2017-08-11 | 1 | -0/+3 |
| | |||||
* | added system.deallocHeap feature for Nim's native GCs | Andreas Rumpf | 2017-07-22 | 1 | -15/+0 |
| | |||||
* | make the GCs more robust | Andreas Rumpf | 2017-07-20 | 1 | -9/+9 |
| | |||||
* | decTypeSize on growObj (#5465) | Yuriy Glukhov | 2017-03-15 | 1 | -0/+1 |
| | |||||
* | adding support for using llvm ASAN (#5536) | Samantha Marshall | 2017-03-14 | 1 | -1/+7 |
| | |||||
* | Use constant nimCoroutines instead of defined(nimCoroutines) | Rokas Kupstys | 2017-02-20 | 1 | -5/+5 |
| | | | | Variable | ||||
* | Cleanup of gc code | Rokas Kupstys | 2017-02-20 | 1 | -87/+27 |
| | | | | Cleanups | ||||
* | Coroutines realtime support | Rokas Kupstys | 2017-02-20 | 1 | -13/+36 |
| | |||||
* | Reworked gc support for coroutines. Nim now bootstraps with -d:nimCoroutines | Rokas Kupstys | 2017-02-20 | 1 | -15/+57 |
| | | | | | Added gc test to coro.nim Lots of misc improvements and comments in coro.nim | ||||
* | Delete fiber context when it exits (memleak fix) | Rokas Kupstys | 2017-02-20 | 1 | -2/+5 |
| | | | | Few correctness changes to gc stack management. | ||||
* | Coroutine rework. | Rokas Kupstys | 2017-02-20 | 1 | -3/+0 |
| | | | | | | | | | | | | | | | * ucontext backend (default on unix) * setjmp backend * fibers backend (default and required on windows) * Fixed coroutine loop timing issues * Fixed saving of xmm registers on x64 windows * Fixed alignment issues * Updated coroutine sample with cooperative fibonacci calculation. * Disable glibc security features only when platform jump functions are used * Removed dependency on fasm. * Using fiber api on windows. * Other platforms and compilers will use built in assembler and .S files or API provided by platform libc. * Replaced stack switching procs with `coroExecWithStack()` which never returns. This makes compiler always generate proper code. | ||||
* | system.nim: don't use deprecated symbols/constructs | Araq | 2017-02-08 | 1 | -7/+7 |
| | |||||
* | added test case; threadex example crashes now | Araq | 2017-01-30 | 1 | -1/+1 |
| | |||||
* | M&S GC gets the heap dump feature | Andreas Rumpf | 2017-01-15 | 1 | -55/+35 |
| | |||||
* | default GC can do a sort of heap dump via -d:nimTypeNames and ↵ | Andreas Rumpf | 2017-01-14 | 1 | -2/+27 |
| | | | | dumpNumberOfInstances() | ||||
* | Merge branch 'devel' into sighashes | Andreas Rumpf | 2016-12-06 | 1 | -5/+11 |
|\ | |||||
| * | Show cell type name in writeCell | Yuriy Glukhov | 2016-12-06 | 1 | -5/+11 |
| | | |||||
* | | more fixes | Araq | 2016-12-02 | 1 | -1/+1 |
| | | |||||
* | | further progress; more tests are green | Araq | 2016-11-28 | 1 | -0/+1 |
|/ | |||||
* | Merge pull request #4878 from yglukhov/gc-frameinfo | Andreas Rumpf | 2016-11-28 | 1 | -14/+11 |
|\ | | | | | Cosmetics | ||||
| * | DRY frame info setting out to a template. | Yuriy Glukhov | 2016-11-03 | 1 | -14/+11 |
| | | |||||
* | | further memtracking improvements | Andreas Rumpf | 2016-11-24 | 1 | -0/+7 |
|/ | |||||
* | fixes #4764, fixes #4731, fixes #4724 | Araq | 2016-09-14 | 1 | -0/+2 |
| | |||||
* | clean up a few stray c_stdout's in gc debug code | Jacek Sieka | 2016-07-31 | 1 | -3/+4 |
| | |||||
* | Fixed crash with leakDetector and threads enabled. | Yuriy Glukhov | 2016-07-11 | 1 | -8/+14 |
| | |||||
* | fix types of ansi_c/sysio to more closely match C ABI | Jacek Sieka | 2016-06-05 | 1 | -2/+2 |
| | | | | | also fixes some instances of using C library functions when there are nim alternatives available | ||||
* | new GC listens to GC_ref/GC_unref | Andreas Rumpf | 2016-05-23 | 1 | -2/+21 |
| |