SVN Trunk

2010-02-27 Thread icicle
Hi! Panic! I can compile current GNUstep trunk, but every application or tool of mine aborts at startup time with the following message: : Uncaught exception NSInvalidArgumentException, reason: hiddenlockClass0(instance) does not recognize alloc. gdb is of no help, it tells me no stack.

Re: sync.m

2010-02-27 Thread Richard Frith-Macdonald
On 27 Feb 2010, at 17:15, David Chisnall wrote: Thanks for the report, I'll take a look. I don't think I'd tested @synchronized() with a class as an argument - it seems like a very strange thing to do when there are safe ways of achieving the same result with much less overhead. Good

Re: sync.m

2010-02-27 Thread David Chisnall
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 the original version in Étoilé svn), so whoever did

Re: Google Summer of Code 2010

2010-02-27 Thread Gregory Casamento
Markus, On Thu, Feb 25, 2010 at 3:28 AM, Markus Hitter m...@jump-ing.de wrote: Am 24.02.2010 um 10:42 schrieb Fred Kiefer: They did not select us last year and we failed to attract suitable students in the years before that. Is it possible to learn something from this experience? I mean,

Re: sync.m

2010-02-27 Thread icicle
Hi! I put together a testcase, this used to work before the switch ObjectiveC2 framework. Lin 62 is the one causing the crash. Thanks TOM Zitat von ici...@mail.cg.tuwien.ac.at: Hi! looks like it is not fixed :( Richard ported the code over to the ObjectiveC2 framework immediately, but it

Re: sync.m

2010-02-27 Thread David Chisnall
Thanks - I forgot to set a couple of flags in the new metaclass, which was confusing things later. This is now working with libobjc2, so thanks for the report. A few observations about the code in your sample: Although this works, it is a really, really bad way of creating a singleton. I