Re: sync.m

2010-02-28 Thread Richard Frith-Macdonald
On 28 Feb 2010, at 08:42, ici...@mail.cg.tuwien.ac.at wrote: Although this works, it is a really, really bad way of creating a singleton. I copied it from the apple developer pages... :-) I thought +initialize would be called on program startup for every class. I guess you are

Re: sync.m

2010-02-28 Thread Richard Frith-Macdonald
On 27 Feb 2010, at 18:39, David Chisnall wrote: I've now fixed this case in libobjc2. Unfortunately, someone decided to 'helpfully' reindent the version of ObjectiveC2.framework in GNUstep, which means that diffs from libobjc2 no longer cleanly apply in ObjectiveC2 (nor to diffs against

Re: sync.m

2010-02-28 Thread icicle
Hi! After porting David's fixes from libobjc2 to the Objective2 framework @synchronized(class) works fine. Thank you all for your quick responses. TOM Zitat von Richard Frith-Macdonald rich...@tiptree.demon.co.uk: On 28 Feb 2010, at 08:42, ici...@mail.cg.tuwien.ac.at wrote: Although

Re: sync.m

2010-02-28 Thread David Chisnall
On 28 Feb 2010, at 08:42, ici...@mail.cg.tuwien.ac.at wrote: Although this works, it is a really, really bad way of creating a singleton. I copied it from the apple developer pages... This is rarely a good idea, unfortunately. Apple's API documentation is very good, but their example code

Re: sync.m

2010-02-28 Thread Richard Frith-Macdonald
On 28 Feb 2010, at 15:06, Gregory Casamento wrote: Just one thing here... if conforming to the coding standards is going to be a point of contention, then I don't think we need to be very strict on them, at least not until after the code is completed and stabilized. GC On Sun, Feb 28,

Re: sync.m

2010-02-28 Thread Gregory Casamento
I think one thing we seriously need to examine is how critical support for compilers which do not support C99 really is. Do any of the embedded platforms require gcc 2.95.x? GC On Sun, Feb 28, 2010 at 11:44 AM, Richard Frith-Macdonald rich...@tiptree.demon.co.uk wrote: On 28 Feb 2010, at

Re: sync.m

2010-02-28 Thread Gregory Casamento
My apologies... I misunderstood the difficulty here. I'd forgotten that there is ObjectiveC2 and libobjc2. :) I'm not certain what the right solution here is beyond continuing to backport as best we can to ObjectiveC2. However, I think the question I asked in the previous email I sent is still

Re: sync.m

2010-02-28 Thread Richard Frith-Macdonald
On 28 Feb 2010, at 17:22, Gregory Casamento wrote: My apologies... I misunderstood the difficulty here. I'd forgotten that there is ObjectiveC2 and libobjc2. :) I'm not certain what the right solution here is beyond continuing to backport as best we can to ObjectiveC2. I don't think it's

Re: NSTabView

2010-02-28 Thread Fred Kiefer
I just tried to reproduce this behaviour and failed to. On which application are you seeing this and probably more important, which GNUstep backend are you using? Do you have a theme enable? Am 27.02.2010 18:54, schrieb ici...@mail.cg.tuwien.ac.at: Looks like NSTabView in trunk is currently

Re: sync.m

2010-02-28 Thread Riccardo Mottola
Hi, Actually, David's original comment is a bit wide of the mark anyway ... changes to the ObjectiveC2 code are rather more than just reindentation as it needed a bug fix or two and quite a few changes to fix c99isms which prevented it building on older systems (and the whole point of a

Re: sync.m

2010-02-28 Thread Richard Frith-Macdonald
On 1 Mar 2010, at 00:12, Riccardo Mottola wrote: It is not that I removed and changed stuff randomly, I just changed it where I needed it to get things to compile. Yes, I think we all understand that. So I'd like the compatibility library to continue to compile. I'm perfectly fine to