summary refs log tree commit diff stats
path: root/lib/system/excpt.nim
Commit message (Collapse)AuthorAgeFilesLines
* Move cpp exception handler from system to excpt next to the signal handler ↵cooldome2019-02-131-0/+18
| | | | | | (#9435)
* Merge branch 'devel' into araq-quirky-exceptionsAndreas Rumpf2019-02-081-47/+42
|\
| * further system.nim cleanupsAndreas Rumpf2019-02-061-2/+2
| |
| * system refactorings (#10559)Andreas Rumpf2019-02-061-3/+3
| | | | | | | | | | | | | | | | * 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
| * gc: destructors is beginning to work (#10483)Andreas Rumpf2019-01-291-9/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * kochdocs.nim: code cleanup * docgen: nicer indentation * parser.nim: code cleanup * fixes #10458 * make tests green again * make =destroy mixins * gc:destructors: produced C code is almost working * --gc:destructors simple program compiles (but leaks memory) * gc:destructors make examples compile in C++ mode * destructors: string implementation bugfixes * strs.nim: minor code cleanup * destructors: builtin seqs are beginning to work * remove debugging helpers
| * excpt.nim: code cleanup, don't produce nimFrame in -d:release modeAraq2019-01-231-21/+15
| |
| * OutOfMemError is never raised so there is no need to check for it (produce ↵Araq2019-01-231-13/+6
| | | | | | | | less code)
| * make --define:noSignalHandler compile againAraq2019-01-221-1/+1
| |
| * add unsetControlCHook to remove a Ctrl-C hook after it was set (#7267)Vindaar2019-01-101-0/+5
| | | | | | | | | | | | | | | | | | * add unsetControlCHook to remove a Ctrl-C hook after it was set Adds the inverse proc to setControlCHook in order to lift a Ctrl-C hook after it has been set. * remove check for noSignalHandler in system/excpt.nim
* | --define:nimQuirky exception handling for Nim; in preparation of a blog postAndreas Rumpf2019-01-031-0/+2
|/
* cleanup of excpt.nimAndreas Rumpf2018-12-111-1/+4
|
* replace misleading "stack overflow" message on call depth limitȘtefan Talpalaru2018-12-101-3/+5
| | | | | | | The new error message looks like this: "Error: call depth limit reached in a debug build (2000 function calls). You can change it with -d:nimCallDepthLimit=<int> or switch to a release build with -d:release."
* don't raise exception in the default handler (#9783)alaviss2018-11-221-1/+8
| | | fixes #9657
* change system.nim to adhere to the style guideAraq2018-10-301-8/+8
|
* Implements #9434. Minimal Stacktrace for Exceptions in release mode (#9480)cooldome2018-10-281-1/+9
| | | * Fixes #9434
* system/excpt: nil is no longer vaild for seqs (#8825)alaviss2018-08-311-1/+1
|
* even more strict isNil handling for strings/seqs in order to detect bugsAraq2018-08-221-6/+6
|
* fixes merge conflictAndreas Rumpf2018-08-191-1/+5
|\
| * Genode fixes (#8501)Emery Hemingway2018-08-161-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | * Genode fixes - wrap strings in "Genode::Cstring" when logging - define SIGABRT for Genode - disable GCC -fstack-protector - use log RPC for fatal messages - add --os:genode build to appveyor - define paramStr and paramCount * Select fixups for Genode POSIX
* | WIP: nothing worksAndreas Rumpf2018-08-051-4/+5
|/
* Yield in tryYuriy Glukhov2018-05-091-0/+4
|
* make 'not nil' experimentalAndreas Rumpf2018-05-021-4/+4
|
* Cpp codegen: handling of imported exceptions. Fixes #3571 (#7360)cooldome2018-04-101-6/+27
|
* genTryCpp to catch by Nim type, ready for first review (#7196)cooldome2018-02-121-1/+1
| | | | | | | | | | | | | | | | * Rewrite genTryCpp * correction * Implement polymorphic raise in cpp * revert backticks in emit * Cleanp a comment * revert test changes * better handling of <new> header
* make C++ tests green againAndreas Rumpf2018-01-221-2/+2
|
* writeStackTrace now officially has no IO effect anymore for more convenient ↵Andreas Rumpf2018-01-211-2/+2
| | | | debugging
* first steps in adding template/macro calls to stack tracesAraq2017-12-211-0/+12
|
* added system.getStackTraceEntriesAndreas Rumpf2017-11-161-21/+64
|
* Fix missing stacktraces when using -d:useNimRtl (#6716)Erwan Ameil2017-11-101-1/+1
|
* Merge branch 'devel' into araqAndreas Rumpf2017-11-021-2/+6
|\
| * breaking change: arrays of char do not convert to cstring; ptr to array of ↵Andreas Rumpf2017-10-101-2/+6
| | | | | | | | char does
* | Merge branch 'devel' into araqAndreas Rumpf2017-09-151-3/+4
|\|
| * Remove expr/stmt (#5857)Arne Döring2017-07-251-3/+4
| |
| * fixes #5871Andreas Rumpf2017-07-201-3/+2
| |
* | Merge branch 'devel' into araqAndreas Rumpf2017-07-131-6/+20
|\ \
| * | fixes #5871Andreas Rumpf2017-07-131-3/+2
| |/
| * fixes system.onUnhandledException featureAndreas Rumpf2017-07-121-1/+1
| |
| * add system.onUnhandledException featureAndreas Rumpf2017-07-121-3/+18
| |
* | Merge branch 'devel' into araqAndreas Rumpf2017-05-161-2/+7
|\|
| * better stack trace handlingAndreas Rumpf2017-05-161-2/+7
| |
* | precise stack scanning for Nim's GCs; work in progressAndreas Rumpf2017-04-191-2/+19
|/
* fixes #5628Araq2017-03-301-2/+3
|
* Added support for exceptions in coroutines and added exception testRokas Kupstys2017-02-201-0/+11
| | | | Fix bug where first coroutine ending would terminate main loop
* system.nim: don't use deprecated symbols/constructsAraq2017-02-081-1/+1
|
* new segfaults.nim stdlib module works on WindowsAraq2017-01-201-1/+6
|
* first version of the new memory tracking featureAndreas Rumpf2016-11-211-0/+2
|
* attempt to fix #4640Andreas Rumpf2016-09-131-2/+3
|
* prepare Nim codebase for upcoming parser changesAndreas Rumpf2016-07-151-5/+5
|
* remove system/ansi_c include from osJacek Sieka2016-06-051-1/+1
|
* added 'sig' feature; removed tfShared support in the compilerAndreas Rumpf2016-02-281-4/+4
|