Commit graph

107 commits

Author SHA1 Message Date
Yuriy Glukhov
ce63490928 Yield in try 2018-05-09 22:25:28 +03:00
Andreas Rumpf
599b5d6dcb make 'not nil' experimental 2018-05-02 13:34:53 +02:00
cooldome
16c1a90857 Cpp codegen: handling of imported exceptions. Fixes #3571 (#7360) 2018-04-10 12:14:59 +02:00
cooldome
d24b6667c6 genTryCpp to catch by Nim type, ready for first review (#7196)
* Rewrite genTryCpp

* correction

* Implement polymorphic raise in cpp

* revert backticks in emit

* Cleanp a comment

* revert test changes

* better handling of <new> header
2018-02-12 21:23:34 +01:00
Andreas Rumpf
0dd1811344 make C++ tests green again 2018-01-22 14:06:53 +01:00
Andreas Rumpf
6266c68ab6 writeStackTrace now officially has no IO effect anymore for more convenient debugging 2018-01-21 21:08:51 +01:00
Araq
ee67a67ac4 first steps in adding template/macro calls to stack traces 2017-12-21 10:03:33 +01:00
Andreas Rumpf
661ce8b8cb added system.getStackTraceEntries 2017-11-16 22:57:27 +01:00
Erwan Ameil
6a6a2b7d76 Fix missing stacktraces when using -d:useNimRtl (#6716) 2017-11-10 05:39:11 +01:00
Andreas Rumpf
1eaeccc15d Merge branch 'devel' into araq 2017-11-02 10:46:30 +01:00
Andreas Rumpf
3308d26581 breaking change: arrays of char do not convert to cstring; ptr to array of char does 2017-10-10 00:17:20 +02:00
Andreas Rumpf
39f0195ebf Merge branch 'devel' into araq 2017-09-15 09:27:51 +02:00
Arne Döring
000b8afd26 Remove expr/stmt (#5857) 2017-07-25 09:28:23 +02:00
Andreas Rumpf
ebba9f06ae fixes #5871 2017-07-20 18:42:08 +02:00
Andreas Rumpf
2b862b74e0 Merge branch 'devel' into araq 2017-07-13 04:48:22 +02:00
Andreas Rumpf
0c271f5420 fixes #5871 2017-07-13 04:43:53 +02:00
Andreas Rumpf
03e0aa37e3 fixes system.onUnhandledException feature 2017-07-12 15:39:12 +02:00
Andreas Rumpf
57ed077c1e add system.onUnhandledException feature 2017-07-12 15:37:49 +02:00
Andreas Rumpf
c3c37dbb15 Merge branch 'devel' into araq 2017-05-16 15:43:09 +02:00
Andreas Rumpf
113857c7f1 better stack trace handling 2017-05-16 14:03:33 +02:00
Andreas Rumpf
02bbfa1164 precise stack scanning for Nim's GCs; work in progress 2017-04-19 08:33:19 +02:00
Araq
30c99a8440 fixes #5628 2017-03-30 12:53:32 +02:00
Rokas Kupstys
9a754156d7 Added support for exceptions in coroutines and added exception test
Fix bug where first coroutine ending would terminate main loop
2017-02-20 17:24:19 +02:00
Araq
346ea6d171 system.nim: don't use deprecated symbols/constructs 2017-02-08 14:55:30 +01:00
Araq
cdebcf23d9 new segfaults.nim stdlib module works on Windows 2017-01-20 17:08:11 +01:00
Andreas Rumpf
02a2180a6a first version of the new memory tracking feature 2016-11-21 12:10:44 +01:00
Andreas Rumpf
03768e7da0 attempt to fix #4640 2016-09-13 16:33:43 +02:00
Andreas Rumpf
0834cd63d9 prepare Nim codebase for upcoming parser changes 2016-07-15 12:56:03 +02:00
Jacek Sieka
fe2b39f007 remove system/ansi_c include from os 2016-06-05 20:16:26 +08:00
Andreas Rumpf
38dee2095c added 'sig' feature; removed tfShared support in the compiler 2016-02-28 19:56:41 +01:00
Ruslan Mustakov
378c904131 Added --noCppExceptions switch 2016-02-18 23:01:43 +06:00
rku
43bfda057b Coroutine support for i386/amd64 platforms unix/windows OSes markAndSweep/refCounting GCs. 2015-07-31 17:59:50 +03:00
Araq
63c537b233 fixes #3014 2015-06-29 02:48:34 +02:00
pdw
ff5b446dfc lib/system/a-e - Dropped 'T' from types 2015-06-04 13:18:37 +02:00
Araq
c6398d408d fixes #1888 2015-04-27 23:11:59 +02:00
Simon Hafner
fc5700619b report how to create a compiler stacktrace #1280 2015-02-01 23:39:10 -06:00
Varriount
478da0194b Fix #1546 2015-01-22 18:46:00 -05:00
Araq
d37ff0ab42 don't advice people to use debug options for the GC and core 2015-01-11 02:13:24 +01:00
Guillaume Gelin
3119fe087d Happy new year! 2015-01-06 15:26:33 +01:00
Araq
03afbe00b9 minor improvements 2014-12-28 00:52:10 +01:00
Araq
a639824e5e introduced 'benign' pragma 2014-10-25 22:01:23 +02:00
Araq
2d1b9d1f9d ENDB compiles again 2014-08-31 11:40:25 +02:00
Araq
fc0fda14ae system files use new identifiers 2014-08-23 00:58:04 +02:00
Araq
dbf9117c56 the big renamefest: first steps 2014-08-22 23:54:26 +02:00
Araq
4d863ebb5e fix failed tests due to gcsafe 2014-08-12 10:11:58 +02:00
Araq
dd806cafa0 distinguish between 'defined' and 'declared' 2014-08-11 20:38:28 +02:00
Araq
ed226eba6d added stack overflow prevention 2014-07-16 22:32:09 +02:00
Simon Hafner
9428bedcc8 Fixes #1168 2014-05-03 15:59:04 -05:00
Varriount
c0338eacb6 Merge pull request #1118 from gradha/pr_show_boot_options
Version switch displays options used during `koch boot`
2014-04-21 15:41:03 -04:00
Araq
5e839d50b4 fixes DLL generation 2014-04-21 03:44:48 +02:00