Exception handling with NSURL

2007-12-06 Thread Philippe Roussel
Hi all, I'm trying to verify a string is a valid URL with the following : - (void)controlTextDidChange:(NSNotification *)notification { NS_DURING { NSURL *storeUrl = [NSURL URLWithString:[url stringValue]]; [ok setEnabled:(storeUrl != nil)]; } NS_HANDLER {

Re: Exception handling with NSURL

2007-12-06 Thread Richard Frith-Macdonald
On 2007-12-06 08:51:29 + Philippe Roussel [EMAIL PROTECTED] wrote: Hi all, I'm trying to verify a string is a valid URL with the following : - (void)controlTextDidChange:(NSNotification *)notification { NS_DURING { NSURL *storeUrl = [NSURL URLWithString:[url stringValue]];

Re: Exception handling with NSURL

2007-12-06 Thread Philippe Roussel
Le jeudi 06 décembre 2007 à 09:32 +, Richard Frith-Macdonald a écrit : My guess is that you are misinterpreting what's happening. Probably the reason the NSLog() in the exception handler is not called is because the handler is not called because the exception is not ocurring in this

Re: [patch #6286] NSBezierPath encode/decode improperly implemented

2007-12-06 Thread David Ayers
Fred Kiefer schrieb: A few days ago I replied to a patch send in by Christopher Wojno: Fred Kiefer wrote: Update of patch #6286 (project gnustep): In your error message I can see that an NSKeyedArchiver gets used. As far as I can see, your patch doesn't implement the missing keyed archiving

Re: Exception handling with NSURL

2007-12-06 Thread Richard Frith-Macdonald
On 2007-12-06 09:51:35 + Philippe Roussel [EMAIL PROTECTED] wrote: Le jeudi 06 décembre 2007 à 09:32 +, Richard Frith-Macdonald a écrit : My guess is that you are misinterpreting what's happening. Probably the reason the NSLog() in the exception handler is not called is because

Re: Exception handling with NSURL

2007-12-06 Thread Philippe Roussel
Le jeudi 06 décembre 2007 à 10:59 +, Richard Frith-Macdonald a écrit : On 2007-12-06 09:51:35 + Philippe Roussel [EMAIL PROTECTED] wrote: Well, I have to disagree : see NSURL.m line 837. I want to type http://philou:[EMAIL PROTECTED]/ but when parsing philou: NSURL thinks it's a

Re: Exception handling with NSURL

2007-12-06 Thread Richard Frith-Macdonald
On 2007-12-06 12:30:54 + Philippe Roussel [EMAIL PROTECTED] wrote: Le jeudi 06 décembre 2007 à 10:59 +, Richard Frith-Macdonald a écrit : On 2007-12-06 09:51:35 + Philippe Roussel [EMAIL PROTECTED] wrote: Well, I have to disagree : see NSURL.m line 837. I want to type

Re: Exception handling with NSURL

2007-12-06 Thread Philippe Roussel
Le jeudi 06 décembre 2007 à 12:43 +, Richard Frith-Macdonald a écrit : Well it does ... unless the program crashes first :-) :) Thanks ...looks like it's crashing while trying to find the callstack return addresses. 1. Could you please let me know what signal is causing the crash ...

Re: RFC: en/decodeBase64 relocation

2007-12-06 Thread Richard Frith-Macdonald
On 2007-12-02 21:32:17 + David Ayers [EMAIL PROTECTED] wrote: Hello everyone, Even though base64 encoding is primarily used with MIME processing, its usage does spring up here in related and unrelated scenarios. It also seems more natural as an NSData category to me. I'm wondering

Re: GNUstep Testfarm Results

2007-12-06 Thread Yong-Jhen Hong
Hi GNUstep developers, David Ayers wrote: Adam Fedor schrieb: Test results for GNUstep as of Mon Dec 3 06:34:10 EST 2007 If a particular system failed compilation, the logs for that system will be placed at ftp://ftp.gnustep.org/pub/testfarm If you would like to be a part of this

Re: RFC: en/decodeBase64 relocation

2007-12-06 Thread David Ayers
Richard Frith-Macdonald schrieb: On 2007-12-02 21:32:17 + David Ayers [EMAIL PROTECTED] wrote: Hello everyone, Even though base64 encoding is primarily used with MIME processing, its usage does spring up here in related and unrelated scenarios. It also seems more natural as an NSData

Re: RFC: en/decodeBase64 relocation

2007-12-06 Thread Richard Frith-Macdonald
On 2007-12-06 15:12:30 + David Ayers [EMAIL PROTECTED] wrote: Richard Frith-Macdonald schrieb: On 2007-12-02 21:32:17 + David Ayers [EMAIL PROTECTED] wrote: Hello everyone, Even though base64 encoding is primarily used with MIME processing, its usage does spring up here in related