Re: A question about categories

2006-05-08 Thread Marc Brünink
Hi Is there any way to call the original method within the implementation of my override, in this case the original [NSBitmapImageRep-destroy] ? No. Or not simply anyway. What you can do is put your new implementation in a loadable bundle, then get the method implementation before loading

Re: A question about categories

2006-05-08 Thread Chris B. Vetter
On 5/5/06, Vaisburd, Haim [EMAIL PROTECTED] wrote: I would like to override a method of an existing class. One way is to create a category and define a method with the same name, e.g. @interface NSBitmapImageRep (MyCategory) - destroy; @end Is there any way to call the original method within

SHIFT keys on X11

2006-05-08 Thread Stéphane Goujet
Hello, I was about to post the solution of my problem with [NSEvent isARepeat], but now I have a problem with the SHIFT modifier key. In a NSView, I have : -(void) flagsChanged:(NSEvent *) event { if(([event

Re: SHIFT keys on X11

2006-05-08 Thread Fred Kiefer
Hi Stephane, most of what you write makes sense to me, but what do you need this static variable shiftPressed for? My impression is that this will get you into trouble. If the shift key gets pressed or released while another application has the focus, your counter will get out of step. Why cann't

NSPredicate?

2006-05-08 Thread Fred Kiefer
Where is this class, NSPredicate, currently situated in GNUstep. I searched the old mailing list entries and found that Helge claimed it belongs into Core Data, while others did see it in Foundation. What I tried to do was compile the GSCoreData (http://gscoredata.nongnu.org) implementation by

Re: SHIFT keys on X11

2006-05-08 Thread Stéphane Goujet
Fred Kiefer a écrit : most of what you write makes sense to me, but what do you need this static variable shiftPressed for? My impression is that this will get you into trouble. If the shift key gets pressed or released while another application has the focus, your counter will get out of step.

Re: SHIFT keys on X11

2006-05-08 Thread Stéphane Goujet
Stéphane Goujet a écrit : most of what you write makes sense to me, but what do you need this static variable shiftPressed for? My impression is that this will get you into trouble. If the shift key gets pressed or released while another application has the focus, your counter will get out of

Re: Stack trace information

2006-05-08 Thread Richard Frith-Macdonald
On 5 May 2006, at 05:05, Lloyd Dupont wrote: Here you go, tested in GNUstep for GNUstep (hopefully to become part of GNUstep distribution). I've integrated the code for experimentation, all in NSException.m You need to build that file with the STACKTRACE preprocessor constant defined ..

RE: A question about categories

2006-05-08 Thread Vaisburd, Haim
Marc Brünink wrote: Is there any way to call the original method within the implementation of my override, in this case the original [NSBitmapImageRep-destroy] ? Or not simply anyway. What you can do is put your new implementation in a loadable bundle, then get the method implementation

Re: A question about categories

2006-05-08 Thread Chris Vetter
Hmm, I think my original mail never got through, so here's a re-sent: On 2006-05-05 20:53:53 +0200 Vaisburd, Haim [EMAIL PROTECTED] wrote: Is there any way to call the original method within the implementation of my override, in this case the original [NSBitmapImageRep-destroy] ? Try

Re: NSPredicate?

2006-05-08 Thread Helge Hess
On 8. Mai 2006, at 15:33 Uhr, Fred Kiefer wrote: Where is this class, NSPredicate, currently situated in GNUstep. I searched the old mailing list entries and found that Helge claimed it belongs into Core Data, while others did see it in Foundation. Thats not entirely correct :-) The header