From 3286f2ca94da081bca5ddeffdfcc6ec92adf237c Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Fri, 6 Feb 2015 06:22:51 -0800 Subject: * unwind.c (unhandled_hook_s): New static variable. (uw_throw): In the unhandled case, check if *unhandled-hook* variable has a function, and use it instead of the default logic. If it's not a function, abort with an error message. Clear it so that if the hook function re-enters this code, it will not be used. Always exit now on unhandled exceptions; do not abort. (uw_late_init): New function. * unwind.h (uw_late_init): Declared. * lib.c (init): Call uw_late_init. * txr.1: Documented *unhandled-hook*. * genvim.txr: Scan the unwind.c file, since it has a reg_var now. * tl.vim, txr.vim: Updated. --- ChangeLog | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 5d1384ae..805dfc30 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,23 @@ +2015-02-06 Kaz Kylheku + + * unwind.c (unhandled_hook_s): New static variable. + (uw_throw): In the unhandled case, check if *unhandled-hook* variable + has a function, and use it instead of the default logic. If it's not a + function, abort with an error message. Clear it so that if the hook + function re-enters this code, it will not be used. Always exit now on + unhandled exceptions; do not abort. + (uw_late_init): New function. + + * unwind.h (uw_late_init): Declared. + + * lib.c (init): Call uw_late_init. + + * txr.1: Documented *unhandled-hook*. + + * genvim.txr: Scan the unwind.c file, since it has a reg_var now. + + * tl.vim, txr.vim: Updated. + 2015-02-05 Kaz Kylheku * win/env.nsh: Before the potentially length SendMessage, -- cgit v1.2.3