Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added 'ansic' os support for minimal (embedded) targets (#13088) | Ico Doornekamp | 2020-01-15 | 4 | -68/+73 |
| | | | | | | | | * os:any implementation * os:asny: omit flock/funlock calls in echoBinSafe * Disabled default "unhandled expection" reporting for `--os:any` to reduce code size. Added unhandledExceptionHook instead which can be used to get a notification from Nim and handle it from the application. | ||||
* | VM FFI: write(stderr, msg) and fprintf(cstderr, msg) now work at CT (#13083) | Timothee Cour | 2020-01-12 | 2 | -5/+16 |
| | |||||
* | more arc features (#13098) | Andreas Rumpf | 2020-01-10 | 1 | -0/+170 |
| | | | | | * config update * ARC now supports 'repr' and 'new' with finalizers is supported | ||||
* | [backport] system/io.nim fix wrong documentation comment [ci skip] | narimiran | 2020-01-10 | 1 | -2/+2 |
| | |||||
* | typetraits: fixes #6454; genericParams; added lenTuple; added tuple type get ↵ | Timothee Cour | 2020-01-10 | 1 | -0/+2 |
| | | | | | | (#13064) | ||||
* | fixes #13070 | Araq | 2020-01-10 | 1 | -2/+2 |
| | |||||
* | take the one good idea from --os:standalone and enable it via ↵ | Andreas Rumpf | 2020-01-09 | 2 | -8/+8 |
| | | | | -d:StandaloneHeapSize (#13077) | ||||
* | reprjs: style changes | Araq | 2020-01-05 | 1 | -12/+12 |
| | |||||
* | fixes #13013, reverts previous changes to readLines() (#13036) [backport] | cooldome | 2020-01-05 | 1 | -3/+5 |
| | | | | | | | * Revert "remove default argument for readLines (#12807) [backport]" This reverts commit c949b81efdeb08b38224e1678ad140b7b7663b15. | ||||
* | fixes #13032 | Araq | 2020-01-04 | 2 | -6/+6 |
| | |||||
* | remove default argument for readLines (#12807) [backport] | cooldome | 2020-01-02 | 1 | -3/+3 |
| | |||||
* | --exception:goto switch for deterministic exception handling (#12977) | Andreas Rumpf | 2020-01-01 | 3 | -98/+120 |
| | | | | | This implements "deterministic" exception handling for Nim based on goto instead of setjmp. This means raising an exception is much cheaper than in C++'s table based implementations. Supports hard realtime systems. Default for --gc:arc and the C target because it's generally a good idea and arc is all about deterministic behavior. Note: This implies that fatal runtime traps are not catchable anymore! This needs to be documented. | ||||
* | fixes #12965 (#12991) | Andreas Rumpf | 2019-12-31 | 1 | -10/+11 |
| | |||||
* | c_fflush() the rawWrite() buffer (#12987) | Ștefan Talpalaru | 2019-12-30 | 1 | -0/+4 |
| | | | | | | Stack traces on an unbuffered stderr get out of sync with line-buffered stdout - usually on Windows terminals or CI logs. This fixes it by calling C's fflush() on the output buffer in the procedure used for printing stack traces. | ||||
* | generic stack trace overriding mechanism (#12922) | Ștefan Talpalaru | 2019-12-29 | 1 | -10/+33 |
| | | | | | | | | | | | | | | | | * libbacktrace support * switch to a generic stack trace overriding mechanism When "nimStackTraceOverride" is defined, once of the imported modules can register its own procedure to replace the default stack trace generation by calling `registerStackTraceOverride(myOwnProc)`. Tested with `./koch boot -d:release --debugger:native -d:nimStackTraceOverride --import:libbacktrace` for the compiler itself and `./bin/nim c -r -f --stacktrace:off --debugger:native -d:nimStackTraceOverride --import:libbacktrace foo.nim` for an external program. * make the StackTraceOverrideProc {.noinline.} | ||||
* | minor refactorings | Andreas Rumpf | 2019-12-27 | 1 | -9/+9 |
| | |||||
* | ARC: default to a shared heap with --threads:on | Araq | 2019-12-24 | 2 | -0/+10 |
| | |||||
* | ported channels to ARC | Araq | 2019-12-24 | 1 | -120/+142 |
| | |||||
* | fix error in assertions document (#12925) [backport] | flywind | 2019-12-18 | 1 | -1/+1 |
| | |||||
* | ARC: cycle detector (#12823) | Andreas Rumpf | 2019-12-17 | 7 | -2/+762 |
| | | | | | | | | | | | | | * first implementation of the =trace and =dispose hooks for the cycle collector * a cycle collector for ARC: progress * manual: the .acyclic pragma is a thing once again * gcbench: adaptations for --gc:arc * enable valgrind tests for the strutils tests * testament: better valgrind support * ARC refactoring: growable jumpstacks * ARC cycle detector: non-recursive algorithm * moved and renamed core/ files back to system/ * refactoring: --gc:arc vs --gc:orc since 'orc' is even more experimental and we want to ship --gc:arc soonish | ||||
* | NaN floatFormat with clang_cl (#12910) | cooldome | 2019-12-17 | 1 | -2/+2 |
| | | | | | | * clang_cl nan floatFormat * format | ||||
* | Better clang_cl support (#12896) | cooldome | 2019-12-13 | 1 | -5/+6 |
| | |||||
* | ARC related bugfixes and refactorings (#12781) | Andreas Rumpf | 2019-12-05 | 1 | -8/+56 |
| | |||||
* | more fixes for --cpu:avr [backport] (#12748) | Andreas Rumpf | 2019-11-27 | 4 | -5/+8 |
| | |||||
* | ARC: ported the GC tests over to --gc:arc | Araq | 2019-11-26 | 1 | -0/+9 |
| | |||||
* | csize_t changes: pinToCpu didn't compile (#12725) | Mamy Ratsimbazafy | 2019-11-25 | 1 | -1/+1 |
| | |||||
* | make tests green again | Andreas Rumpf | 2019-11-13 | 1 | -2/+2 |
| | |||||
* | gc:arc: support GC_ref/unref for ref T | Araq | 2019-11-13 | 1 | -2/+2 |
| | |||||
* | Fix #12135 and #12109 (#12137) | Euan | 2019-11-11 | 1 | -0/+7 |
| | | | | | | * Fix #12135 and fix #12109 - fix OpenBSD type defs * Fix Mode definition as in #12132 | ||||
* | Fix crash in terminate handler (#12572) [backport] | Volodymyr Lashko | 2019-11-07 | 1 | -0/+6 |
| | | | | | | | | | | | | | | | | * fix undefined behavior in terminate handler * fix failing unit test * Revert "fix failing unit test" This reverts commit 0e5e385fbf972d53909347e246a2e9b018fe9906. * Revert "fix undefined behavior in terminate handler" This reverts commit 2b582871f1981492838cc70d30e8c0e00ab8c9a9. * do not throw inside terminate handler with msvc < 1923 | ||||
* | fix #12597 (#12604) | Arne Döring | 2019-11-07 | 1 | -4/+4 |
| | |||||
* | added 'since' template for further stdlib additions | Andreas Rumpf | 2019-11-07 | 2 | -1/+5 |
| | |||||
* | [backport] fix #12395 (#12590) | Miran | 2019-11-04 | 1 | -3/+3 |
| | | | | | 'countBits32' is now fixed in the same way that 'countBits64' was already patched earlier (by adding 'u32 where needed). | ||||
* | introduce csize_t instead of fixing csize (#12497) | Arne Döring | 2019-10-31 | 6 | -30/+30 |
| | |||||
* | --gc:destructors now means Nim uses pure refcounting (#12557) | Andreas Rumpf | 2019-10-30 | 4 | -6/+6 |
| | |||||
* | Improve Math.Trunc code emit on JS, had weird whitespaces and indents (#12549) | Juan Carlos | 2019-10-30 | 1 | -10/+10 |
| | |||||
* | fix several typos in documentation and comments (#12553) | Nindaleth | 2019-10-30 | 3 | -5/+5 |
| | |||||
* | proof that refcounting can handle Nim's async (#12533) | Andreas Rumpf | 2019-10-28 | 1 | -1/+8 |
| | |||||
* | fix deprecation warnings related to Int128 (#12474) | Miran | 2019-10-28 | 1 | -1/+1 |
| | | | | | | | | * semfold: fix deprecation warnings related to Int128 * semmagic: fix deprecation warnings related to Int128 * system/io: remove unneeded conversion of TaintedString to itself | ||||
* | minor improvements | Andreas Rumpf | 2019-10-27 | 1 | -1/+2 |
| | |||||
* | Fix word wrapping | Jjp137 | 2019-10-22 | 1 | -4/+5 |
| | |||||
* | Fix many broken links | Jjp137 | 2019-10-22 | 2 | -4/+4 |
| | | | | | | Note that contrary to what docgen.rst currently says, the ids have to match exactly or else most web browsers will not jump to the intended symbol. | ||||
* | first implementation of the new --seqsv2 switch | Araq | 2019-10-20 | 4 | -5/+5 |
| | |||||
* | Revert "Fixes #12187 (#12321)" (#12447) | Andreas Rumpf | 2019-10-18 | 4 | -35/+11 |
| | | | This reverts commit 00c31e87660d9db813871f5aa23661bf6b9bbdcb. | ||||
* | Fixes #12286 - require explicit disabling of boehm interior pointer checking ↵ | genotrance | 2019-10-11 | 1 | -1/+3 |
| | | | | (#12406) [backport] | ||||
* | fix a few dead links and a missing sentence in documentation (#12387) | Nindaleth | 2019-10-08 | 1 | -3/+3 |
| | |||||
* | fixes #12315 [backport]; refs #12314 (#12385) | Andreas Rumpf | 2019-10-08 | 1 | -0/+6 |
| | |||||
* | Fixes #12187 (#12321) | Clyybber | 2019-10-08 | 4 | -11/+35 |
| | | | | | | * Fixes #12187 * Point to fork of compactdict Since the original repo is now archived / read-only | ||||
* | `system.writeFile` has been overloaded to also support `openarray[byte]` ↵ | zah | 2019-10-02 | 1 | -0/+12 |
| | | | | | | (#12313) | ||||
* | Fix spellings (#12277) [backport] | Federico Ceratto | 2019-09-27 | 3 | -3/+3 |
| |