Re: Crash with new-style exceptions on FreeBSD amd64

2007-03-19 Thread Andrew Pinski
On 3/19/07, Michael Gardner [EMAIL PROTECTED] wrote: Also, regarding the problem configuring gnustep-make with --enable-native-objc-exceptions: I emailed the port's maintainer, and he mentioned that he got the same result on his FreeBSD system. It looks like a gcc bug to me, but can anyone

Re: Crash with new-style exceptions on FreeBSD amd64

2007-03-19 Thread Nicola Pero
That's brilliant ... I added --shared-libgcc (on all platforms) to the linking stage when native ObjC exceptions are enabled. :-) Hopefully that fixes it ... Michael, any chances you could try it out with gnustep-make from trunk to see if it's fixed now ? :-) That might be difficult since

Re: Crash with new-style exceptions on FreeBSD amd64

2007-03-19 Thread Michael Gardner
Thanks for the tips. I just installed GNUstep from trunk, and can confirm that the problem is fixed. :) -Michael On 3/19/07, Nicola Pero [EMAIL PROTECTED] wrote: That's brilliant ... I added --shared-libgcc (on all platforms) to the linking stage when native ObjC exceptions are enabled. :-)

NSMutableDictionary requires NSCopying?

2007-03-19 Thread Michael Gardner
To use a custom key type with NSMutableDictionary, I defined -hash and -isEqual: but not -copyWithZone:, since the NSDictionary docs say that keys are retained rather than copied. But when I try to insert a key of that type, I get an NSInvalidArgumentException saying that my class does not

Re: NSMutableDictionary requires NSCopying?

2007-03-19 Thread Richard Frith-Macdonald
On 19 Mar 2007, at 10:24, Michael Gardner wrote: To use a custom key type with NSMutableDictionary, I defined -hash and -isEqual: but not -copyWithZone:, since the NSDictionary docs say that keys are retained rather than copied. But when I try to insert a key of that type, I get an

Re: Changes to graphic context handling

2007-03-19 Thread Fred Kiefer
Mark Tracy wrote: The change you made has broken one of my programs. I am printing from a windowless custom view because I want to lay out the report for paper not the screen. Maybe not a wise strategy, but certainly not an illegal one. This works fine for Cocoa and for previous editions of

Re: NSMutableDictionary requires NSCopying?

2007-03-19 Thread Matt Rice
On 2007-03-19 02:43:36 -0800 Richard Frith-Macdonald [EMAIL PROTECTED] wrote: On 19 Mar 2007, at 10:24, Michael Gardner wrote: To use a custom key type with NSMutableDictionary, I defined -hash and -isEqual: but not -copyWithZone:, since the NSDictionary docs say that keys are retained

RE: Problem building gnustep-base tools with MinGW

2007-03-19 Thread Nicola Pero
Mine is: gcc -Wl,--enable-auto-import -fgnu-runtime -o obj/autogsdoc.exe ./obj/autogsdoc.o ./obj/AGSParser.o ./obj/AGSOutput.o ./obj/AGSIndex.o ./obj/AGSHtml.o -L../Source/./obj -L/home/Nico/GNUstep/Library/Libraries -L/usr/local/lib -L/usr/local/lib

Re: Please digg this, we want GNUstep's Summer of Code participation's place in the limelight!

2007-03-19 Thread Stefan Bidigaray
It seems like the votes have stagnated! I'd like to see this go to the front page, yet we only have 39 diggs so far, I can't believe there are only 39 people that read these mailing lists who are interested in GNUstep. I'm not sure how many diggs we need to get to the front page, but I think

Re: FILE* interface to NSString or NSData?

2007-03-19 Thread Fred Kiefer
The class you are asking for is NSStream plus its subclasses NSInputStream and NSOutputStream. Michael Hopkins wrote: Hi all We want to convert a C library that reads from and writes to binary FILE* descriptors using fread() fwrite() to do the same thing but accessing e.g. NSString or

Re: Byte swapping for doubles

2007-03-19 Thread Adam Fedor
This has been hanging around in my Inbox for a while. I found this about how the ARM ABI deals with doubles: VFP is a newer floating point architecture for ARM. With respect to endianess, the word endianess of doubles is always the same as the byte endianess of words. This contrast with

Re: Please digg this, we want GNUstep's Summer of Code participation's place in the limelight!

2007-03-19 Thread Yen-Ju Chen
On 3/19/07, Stefan Bidigaray [EMAIL PROTECTED] wrote: It seems like the votes have stagnated! I'd like to see this go to the front page, yet we only have 39 diggs so far, I can't believe there are only 39 people that read these mailing lists who are interested in GNUstep. I'm not sure how many

Re: Please digg this, we want GNUstep's Summer of Code participation's place in the limelight!

2007-03-19 Thread Lars Sonchocky-Helldorf
Am 19.03.2007 um 20:18 schrieb Stefan Bidigaray: It seems like the votes have stagnated! I'd like to see this go to the front page, yet we only have 39 diggs so far, I can't believe there are only 39 people that read these mailing lists who are interested in GNUstep. I'm not sure how

Re: Please digg this, we want GNUstep's Summer of Code participation's place in the limelight!

2007-03-19 Thread Stefan Bidigaray
On 3/19/07, Yen-Ju Chen [EMAIL PROTECTED] wrote: dzone.com may be more focus on developers. Let me see whether I can put it on the blog. That's a good idea! I have no idea how digg works, it seems like some articles make it to the front page with 40 diggs, yet when we got 40 it didn't do

-draggedImageLocation giving incorrect results?

2007-03-19 Thread Michael Gardner
I've got some code in an NSImageView subclass that looks like this: -(void) mouseDown: (NSEvent*)event { ... [self dragImage: [self image] at: NSZeroPoint offset: NSZeroSize event: event pasteboard: pboard source: self slideBack: YES]; ... } and in the dragging destination,