Re: [Gnustep-cvs] r27706 - in /libs/gui/trunk: ChangeLog Source/GSNibLoading.m Source/NSDrawer.m

2009-01-28 Thread Fred Kiefer
Gregory Casamento wrote: Author: gcasa Date: Tue Jan 27 21:33:17 2009 New Revision: 27706 URL: http://svn.gna.org/viewcvs/gnustep?rev=27706view=rev Log: This is a temporary change. Commenting out RELEASE(_connections) will be reverted ASAP. Modified: libs/gui/trunk/ChangeLog

Fast enumeration

2009-01-28 Thread David Chisnall
Since we're likely to get a compiler that knows about fast enumeration soon, I thought I'd start implementing the library support it needs. This patch defines the protocol and implements it for NSEnumerator. The collection classes will each need this implementing too. I'll do this in

Re: Fast enumeration

2009-01-28 Thread Richard Frith-Macdonald
On 28 Jan 2009, at 11:45, David Chisnall wrote: Since we're likely to get a compiler that knows about fast enumeration soon, I thought I'd start implementing the library support it needs. This patch defines the protocol and implements it for NSEnumerator. The collection classes will

Re: Fast enumeration

2009-01-28 Thread David Chisnall
On 28 Jan 2009, at 12:08, Richard Frith-Macdonald wrote: and remove the spurious change to NSProcessInfo.m which was also in the patch. Ah, I forgot that was in there. It's not entirely spurious - GNUStep- base doesn't build on FreeBSD without it. David

Re: Fast enumeration

2009-01-28 Thread David Chisnall
On 28 Jan 2009, at 12:08, Richard Frith-Macdonald wrote: Your patch contains an additional line saying '#include sys/ sysctl.h' which looks like it should not be needed as a few lines below we have the same include inside an '#ifdef HAVE_SYS_SYSCTL_H' Did you need to add the include

Re: Fast enumeration

2009-01-28 Thread Richard Frith-Macdonald
On 28 Jan 2009, at 12:16, David Chisnall wrote: On 28 Jan 2009, at 12:08, Richard Frith-Macdonald wrote: and remove the spurious change to NSProcessInfo.m which was also in the patch. Ah, I forgot that was in there. It's not entirely spurious - GNUStep-base doesn't build on FreeBSD

More fast enumeration

2009-01-28 Thread David Chisnall
This patch fixes a bug in the last one (I forgot to set the items pointer) and adds enumeration support to GSArray and GSMutableArray. GSArray just returns a pointer to its contents directly. GSMutableArray has a _version ivar added. This is incremented every time the collection is

Re: More fast enumeration

2009-01-28 Thread Richard Frith-Macdonald
On 28 Jan 2009, at 13:13, David Chisnall wrote: This patch fixes a bug in the last one (I forgot to set the items pointer) and adds enumeration support to GSArray and GSMutableArray. GSArray just returns a pointer to its contents directly. GSMutableArray has a _version ivar added. This

Re: [Gnustep-cvs] r27706 - in /libs/gui/trunk: ChangeLog Source/GSNibLoading.m Source/NSDrawer.m

2009-01-28 Thread Gregory John Casamento
Fred, The NSDrawer change: * I think that setFrame:display:animate: didn't exist when I originally wrote the code for NSDrawer. The issue is that on Windows systems and on some slower systems the code that was there (in NSDrawer) was very slow and was causing the drawer to open very very

plmerge crash in latest trunk

2009-01-28 Thread David Chisnall
Since my last svn update I got errors complaining that an NSZone- related symbol was missing (what is the reason for this? Breaking the ABI is not considered friendly.). As a result I've had to recompile everything. This wouldn't be a major problem, except that plmerge keeps crashing.

Re: plmerge crash in latest trunk

2009-01-28 Thread Riccardo Mottola
Hey, - Original Message - From: David Chisnall csda...@swansea.ac.uk To: Developer GNUstep gnustep-dev@gnu.org Sent: Wednesday, January 28, 2009 10:33 PM Subject: plmerge crash in latest trunk Since my last svn update I got errors complaining that an NSZone- related symbol was

Re: plmerge crash in latest trunk

2009-01-28 Thread Fred Kiefer
David Chisnall wrote: Since my last svn update I got errors complaining that an NSZone-related symbol was missing (what is the reason for this? Breaking the ABI is not considered friendly.). As a result I've had to recompile everything. This wouldn't be a major problem, except that plmerge

Re: plmerge crash in latest trunk

2009-01-28 Thread Richard Frith-Macdonald
On 28 Jan 2009, at 21:33, David Chisnall wrote: Since my last svn update I got errors complaining that an NSZone- related symbol was missing (what is the reason for this? Breaking the ABI is not considered friendly.). As a result I've had to recompile everything. This wouldn't be a