From b6f1dcb71bfd4aad4da1cfd82e381a0d200d44d2 Mon Sep 17 00:00:00 2001 From: CaS Date: Fri, 1 Jul 2005 06:43:25 +0000 Subject: [PATCH] Fix for behavior dependent on bug in base library exception raising. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21388 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 7 +++++++ Headers/AppKit/NSRulerView.h | 2 +- Source/NSApplication.m | 1 + 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 2efe7dfc8..ba298b611 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2005-07-01 Richard Frith-Macdonald + + * Source/NSApplication.m: (_NSAppKitUncaughtExceptionHandler) + Call [NSApp run] to re-enter runloop if we are told to ignore + the exception. Not sure this is right though ... probably + the option to ign ore should be removed. + 2005-06-28 Richard Frith-Macdonald * Source/NSScrollView.m: ([-initWithFrame:) create a hidden horizontal diff --git a/Headers/AppKit/NSRulerView.h b/Headers/AppKit/NSRulerView.h index a131a686f..ae5f45258 100644 --- a/Headers/AppKit/NSRulerView.h +++ b/Headers/AppKit/NSRulerView.h @@ -54,7 +54,7 @@ typedef enum { { GSRulerUnit *_unit; NSScrollView *_scrollView; - NSView *_clientView; + NSView *_clientView; // Not retained NSView *_accessoryView; float _originOffset; NSMutableArray *_markers; diff --git a/Source/NSApplication.m b/Source/NSApplication.m index a0c731f5f..bf2196625 100644 --- a/Source/NSApplication.m +++ b/Source/NSApplication.m @@ -136,6 +136,7 @@ _NSAppKitUncaughtExceptionHandler (NSException *exception) /* The user said to go on - more fun I guess - turn the AppKit exception handler on again */ NSSetUncaughtExceptionHandler (_NSAppKitUncaughtExceptionHandler); + [NSApp run]; /* try entering the run loop again */ } /* This is the bundle from where we load localization of messages. */