Re: [SOLVED] Re: Further problems trying to build GNUstep with blocks/properties support

2010-06-22 Thread Thomas Davie
On 21 Jun 2010, at 22:37, David Chisnall wrote: On 21 Jun 2010, at 19:37, Thomas Davie wrote: On 21 Jun 2010, at 18:21, David Chisnall wrote: Hi David and everyone, Just to let you all know, I figured out something that works: 1) install compiler-rt 2) add -lBlocksRuntime to the

Re: [SOLVED] Re: Further problems trying to build GNUstep with blocks/properties support

2010-06-22 Thread David Chisnall
On 22 Jun 2010, at 07:17, Thomas Davie wrote: Ah bum, thanks for the heads up. :( Any idea how I get a runtime that does support Objective-C blocks? Yes, the one in GNUstep works, as does the one in libobjc2. I fixed the header include issue yesterday afternoon, about five minutes after

Re: [SOLVED] Re: Further problems trying to build GNUstep with blocks/properties support

2010-06-22 Thread Thomas Davie
On 22 Jun 2010, at 09:10, David Chisnall wrote: On 22 Jun 2010, at 07:17, Thomas Davie wrote: Ah bum, thanks for the heads up. :( Any idea how I get a runtime that does support Objective-C blocks? Yes, the one in GNUstep works, as does the one in libobjc2. I fixed the header include

Re: [SOLVED] Re: Further problems trying to build GNUstep with blocks/properties support

2010-06-22 Thread David Chisnall
On 22 Jun 2010, at 10:51, Thomas Davie wrote: The only problem I have remaining is that it appears that nowhere in Foundation.h is blocks_runtime.h ever imported. The result is that in my code, Block_copy and friends are inaccessible. I don't know where the appropriate place to include

Re: [SOLVED] Re: Further problems trying to build GNUstep with blocks/properties support

2010-06-22 Thread David Chisnall
On 22 Jun 2010, at 11:06, Thomas Davie wrote: Some further testing (manually including blocks_runtime.h) reveals that there's still some problems, inserting a block into a collection appears to cause a segfault: Ah, it seems that the code required to make this work is in EtoileFoundation.

Re: [SOLVED] Re: Further problems trying to build GNUstep with blocks/properties support

2010-06-22 Thread Thomas Davie
On 22 Jun 2010, at 10:56, David Chisnall wrote: On 22 Jun 2010, at 10:51, Thomas Davie wrote: The only problem I have remaining is that it appears that nowhere in Foundation.h is blocks_runtime.h ever imported. The result is that in my code, Block_copy and friends are inaccessible. I

GS_ATTRIB_DEPRECATED breaks code

2010-06-22 Thread David Wetzel
Hi, I was thinking the use of GS_ATTRIB_DEPRECATED is save, but it breaks my code on Ubuntu 10.04 and NetBSD 5.0.1 (gcc (GCC) 4.1.3 20080704 prerelease (NetBSD nb2 20081120)) Making all for framework WebObjects... Compiling file GSWConstants.m ... In file included from GSWeb.h:173,

Re: [SOLVED] Re: Further problems trying to build GNUstep with blocks/properties support

2010-06-22 Thread Thomas Davie
On 22 Jun 2010, at 11:19, Richard Frith-Macdonald wrote: On 22 Jun 2010, at 10:56, David Chisnall wrote: On 22 Jun 2010, at 10:51, Thomas Davie wrote: The only problem I have remaining is that it appears that nowhere in Foundation.h is blocks_runtime.h ever imported. The result is

Re: [SOLVED] Re: Further problems trying to build GNUstep with blocks/properties support

2010-06-22 Thread Thomas Davie
On 22 Jun 2010, at 11:42, Richard Frith-Macdonald wrote: On 22 Jun 2010, at 11:28, Thomas Davie wrote: On 22 Jun 2010, at 11:19, Richard Frith-Macdonald wrote: There's a slight problem with this approach – previously, it was possible to compile gnustep-base with gcc, and expect

Re: [SOLVED] Re: Further problems trying to build GNUstep with blocks/properties support

2010-06-22 Thread Richard Frith-Macdonald
On 22 Jun 2010, at 11:28, Thomas Davie wrote: On 22 Jun 2010, at 11:19, Richard Frith-Macdonald wrote: On 22 Jun 2010, at 10:56, David Chisnall wrote: On 22 Jun 2010, at 10:51, Thomas Davie wrote: The only problem I have remaining is that it appears that nowhere in Foundation.h

Submitting patches

2010-06-22 Thread Thomas Davie
Hi again, First off, many thanks to David and Richard for your help getting me up and running. Secondly, I have a couple of patches that I'm not certain if they're bugs in GNUstep, but they're certainly points at which GNUstep disagrees with apple's implementation. What's the best way for me

Re: Submitting patches

2010-06-22 Thread David Chisnall
On 22 Jun 2010, at 16:31, Thomas Davie wrote: Hi again, First off, many thanks to David and Richard for your help getting me up and running. Secondly, I have a couple of patches that I'm not certain if they're bugs in GNUstep, but they're certainly points at which GNUstep disagrees

NSKeyedArchiver/Unarchiver don't implement encode/decodeIntegerForKey:

2010-06-22 Thread Thomas Davie
I've just submitted a bug for this, complete with patch attached. https://savannah.gnu.org/bugs/index.php?30217 Thanks Tom Davie ___ Gnustep-dev mailing list Gnustep-dev@gnu.org http://lists.gnu.org/mailman/listinfo/gnustep-dev

NSURL's initWithCoder doesn't account for the relative string being nil.

2010-06-22 Thread Thomas Davie
I've just created a bug for this and attached a patch. https://savannah.gnu.org/bugs/index.php?30218 Thanks Tom Davie ___ Gnustep-dev mailing list Gnustep-dev@gnu.org http://lists.gnu.org/mailman/listinfo/gnustep-dev

Re: Submitting patches

2010-06-22 Thread David Chisnall
On 22 Jun 2010, at 16:35, David Chisnall wrote: c) attach a patch svn diff, and post to the list. And one thing I forgot to mention: If you plan on contributing nontrivial things, the GNU project requires that you sign a copyright assignment form. Poke Gregory to get one of these sent to

Re: Submitting patches

2010-06-22 Thread Gregory Casamento
Hey Thomas, On Tue, Jun 22, 2010 at 11:31 AM, Thomas Davie tom.da...@gmail.com wrote: Hi again, First off, many thanks to David and Richard for your help getting me up and running. Secondly, I have a couple of patches that I'm not certain if they're bugs in GNUstep, but they're certainly

NSURL initWithString: does not match apple's behaviour

2010-06-22 Thread Thomas Davie
Just created a bug for this one, but unfortunately no patch, didn't want to dig into it until a decision is made on the required behaviour. Apple's behaviour seems to disagree with the documented one here, file paths don't conform to the URL schemes described in the documentation. What's the

Re: NSURL initWithString: does not match apple's behaviour

2010-06-22 Thread David Chisnall
On 22 Jun 2010, at 17:16, Thomas Davie wrote: Just created a bug for this one, but unfortunately no patch, didn't want to dig into it until a decision is made on the required behaviour. Apple's behaviour seems to disagree with the documented one here, file paths don't conform to the URL

GWorkspace's daemons not dying correctly

2010-06-22 Thread Riccardo Mottola
Originally, GWorkspace's daemons were autostarted, but never closed. This can be annoying in some situation (like running GNustep off a removable disk...) A while ago I implemented a way similar to gdnc: if autostarted, when the last connection drops the apps closes itself. It used to work

Re: Testing for drawing fixes r30523

2010-06-22 Thread Quentin Mathé
Le 7 juin 2010 à 19:02, Riccardo Mottola a écrit : Hi, Did you have a chance to try this on Windows yet? We are stuck on moving forward with any new updates in gui or back until this is resolved, which is not good. I haven't yet, I was away for the week-end. I'm currently finishing