Re: NSSound Reimplementation

2009-06-28 Thread Wolfgang Lux
I had a look at the code you posted yesterday and I've found two dubious points in NSSound_test.m: and here is a third, minor point: In the -dealloc method of NSSound you check whether self is still an element of the dictionary nameDict. This is completely unnecessary since the dictionary

Re: NSSound Reimplementation

2009-06-28 Thread Stefan Bidigaray
Thanks Wolfgang, this stuff really helps. On Sat, Jun 27, 2009 at 4:32 PM, Wolfgang Lux wrote: > I had a look at the code you posted yesterday and I've found two dubious > points in NSSound_test.m: > > First, there is a retain/release error in NSSound's > -initWithContentsOfFile:byRef: method. Th

Re: NSSound Reimplementation

2009-06-28 Thread Stefan Bidigaray
As promised, here's the latest code. Feel free to poke as many holes in it as possible. I'm going to use this, almost completely unchanged, for NSSound.m. The bundle/plug-in stuff will go in 100% unchanged. To build this, you'll need to go into the bundles/ directory to build and install the 2

Re: NSSound Reimplementation

2009-06-28 Thread Wolfgang Lux
Stefan Bidigaray wrote: I tried setting waitUntilDone to YES, still no luck! The - _finished method still doesn't get called when calling - performSelectorOnMainThread:..., for now I've just made that a - performSelector:withObject:, which works, but is not what I want done. I guess my nex

Checking out modules/core

2009-06-28 Thread Stefan Bidigaray
I'm getting this error when checking out from svn: stefan-test:/usr/src# svn co svn://svn.gna.org/svn/gnustep/modules/core Fetching external item into 'core/gui' svn: OPTIONS of 'http://svn.gna.org/svn/gnustep/libs/gui/trunk': could not connect to server (http://svn.gna.org) Shouldn't that be "s

Re: Checking out modules/core

2009-06-28 Thread Adam Fedor
On Jun 28, 2009, at 3:50 PM, Stefan Bidigaray wrote: I'm getting this error when checking out from svn: stefan-test:/usr/src# svn co svn://svn.gna.org/svn/gnustep/modules/ core You should probable use: svn co http://svn.gna.org/svn/gnustep/modules/core for a read-only repository, and s

Re: Checking out modules/core

2009-06-28 Thread Stefan Bidigaray
Thing is if I use http://svn.gna.org/svn/gnustep/modules/core I get a similar error about not being able to connect to http://svn.gna.org. On Sun, Jun 28, 2009 at 5:11 PM, Adam Fedor wrote: > > On Jun 28, 2009, at 3:50 PM, Stefan Bidigaray wrote: > > I'm getting this error when checking out from

Re: Checking out modules/core

2009-06-28 Thread Adam Fedor
I don't get that problem, so it might be something with your connectivity, or perhaps it is being blocked somehow. On Jun 28, 2009, at 4:51 PM, Stefan Bidigaray wrote: Thing is if I use http://svn.gna.org/svn/gnustep/modules/core I get a similar error about not being able to connect to http

Re: Checking out modules/core

2009-06-28 Thread David Chisnall
On 29 Jun 2009, at 00:20, Adam Fedor wrote: I don't get that problem, so it might be something with your connectivity, or perhaps it is being blocked somehow. You don't get this error because you have an ssh key registered with GNA. The links in the svn tree refer to external resources wit

Re: Checking out modules/core

2009-06-28 Thread Adam Fedor
On Jun 28, 2009, at 5:26 PM, David Chisnall wrote: On 29 Jun 2009, at 00:20, Adam Fedor wrote: I don't get that problem, so it might be something with your connectivity, or perhaps it is being blocked somehow. You don't get this error because you have an ssh key registered with GNA. The

Re: Checking out modules/core

2009-06-28 Thread Stefan Bidigaray
On Sun, Jun 28, 2009 at 8:10 PM, Adam Fedor wrote: > You don't need that for the http:// URL. Stefan was saying that that > didn't work for him either. I just figured there was something changed, it was working up till maybe 1 or 2 months ago. As far as I can tell nothing is different on my e

Re: NSSound Reimplementation

2009-06-28 Thread Richard Frith-Macdonald
On 28 Jun 2009, at 21:46, Wolfgang Lux wrote: Stefan Bidigaray wrote: I tried setting waitUntilDone to YES, still no luck! The - _finished method still doesn't get called when calling - performSelectorOnMainThread:..., for now I've just made that a - performSelector:withObject:, which work