Re: GNUstep WebServices in iOS app?

2013-06-25 Thread Riccardo Mottola
Hi, On 06/24/13 20:25, Gregory Casamento wrote: GNUstep has NSXMLNode and friends. Please check the latest release. On Monday, June 24, 2013, Niels Grewe wrote: Am 24.06.2013 um 18:32 schrieb Riccardo Mottola >: > And how about XML support? is it enough on iOS? Pretty minim

Re: GNUstep WebServices in iOS app?

2013-06-25 Thread Niels Grewe
Am 25.06.2013 um 11:30 schrieb Riccardo Mottola mailto:riccardo.mott...@libero.it>>: My question was if the iOS foundation was enough to run GSWS. The only problems with GSWS on iOS are the absence of the NSMapTable/NSHashTable function interface and NSCalendarDate, but that can be hacked aro

Re: GNUstep WebServices in iOS app?

2013-06-25 Thread Stanislav Yaglo
Hi. NSMapTable and NSMapTable are included in iOS since 6.0. But there is no NSCalendarDate, though, and it is deprecated in OS X. 25.06.2013, в 14:19, Niels Grewe написал(а): > > Am 25.06.2013 um 11:30 schrieb Riccardo Mottola : > >> My question was if the iOS foundation was enough to run GS

Re: GNUstep WebServices in iOS app?

2013-06-25 Thread Graham Lee
Hi Stanislav, Niels is correct. The NSMapTable/HashTable _classes_ are present in iOS, but not the OpenStep _function_ interfaces (NSMapInsert, NSMapRemove and so on). Cheers,Graham. Stanislav Yaglo , 6/25/2013 11:26 AM: Hi. NSMapTable and NSMapTable are included in iOS since 6.0. But there is n

Re: GNUstep WebServices in iOS app?

2013-06-25 Thread David Wetzel
Hi Guys, I think we should add a static link exception to the license to enable people use GNUstep code on iOS. This push more momentum to the project. As long as developers still publish their changes to the GNUstep code, I don't see a problem with it. Thanks! David

Re: NSClassSwapper leaving dangling pointers?

2013-06-25 Thread Luboš Doležel
Hi, I've contacted the author and it seems it doesn't serve any purpose at all, as is. "Sounds like one of the character encoding popups. The actual contents of the menu are built dynamically at runtime." Which sounds logical, given that the item's description is "dummy" (and the replacement cla

Re: GNUstep WebServices in iOS app?

2013-06-25 Thread Gregory Casamento
Any such exception would need to be clearly defined and run past the FSF. Also there's no guarantee that apple would accept it anyway with such am exception. Also, playing devils advocate, such am exception could be perceived as pulling the teeth of the LGPL. Apple is not loved by the FSF so it m

Re: GNUstep WebServices in iOS app?

2013-06-25 Thread Gregory Casamento
Sorry for the misspellings. I'm one phone On Tuesday, June 25, 2013, Gregory Casamento wrote: > Any such exception would need to be clearly defined and run past the FSF. > Also there's no guarantee that apple would accept it anyway with such am > exception. Also, playing devils advocate, such

NSClassSwapper leaving dangling pointers?

2013-06-25 Thread Gregory Casamento
Wow, I really need to look into this immediately. NSClassSwapper does what its name suggests. It determines the custom class for a given object and instantiates it. It shouldn't create an object then destroy it immediately. On Tue, Jun 25, 2013 at 2:57 PM, Luboš Doležel > wrote: > Hi, > > I'

NSAppKitDefined events not sent by XGServerWindow

2013-06-25 Thread Germán Arias
The problem I'm facing with menus in window, is caused by events sent by NSApp (NSAppKitDefined events). But since only XGServerWindow can draw/move/resize a window, I think NSWindow should respond only to events sent by XGServerWindow. Events sent from other objects, don't have sense. And sets wro

Re: NSAppKitDefined events not sent by XGServerWindow

2013-06-25 Thread Germán Arias
On 2013-06-25 19:30:18 -0600 Germán Arias wrote: > The problem I'm facing with menus in window, is caused by events sent by > NSApp (NSAppKitDefined events). But since only XGServerWindow can > draw/move/resize a window, I think NSWindow should respond only to events > sent by XGServerWindow. Eve

Re: NSAppKitDefined events not sent by XGServerWindow

2013-06-25 Thread Germán Arias
Well, this change gives me problems with panels. But no idea why. On 2013-06-25 22:30:29 -0600 Germán Arias wrote: > On 2013-06-25 19:30:18 -0600 Germán Arias wrote: > > Only the subtypes GSAppKitWindowMoved and GSAppKitWindowResized need > be discarded. Attached patch solves the problem. Obje

Re: NSClassSwapper leaving dangling pointers?

2013-06-25 Thread Gregory Casamento
Lubos, I'm not sure why you're saying it should only be used for looking up the name. What leads you to the conclusion that this is all it's used for. When I wrote it I did many backtraces to determine how it worked. If you have known object A and custom class B. "Known" classes are classes wh

Re: NSAppKitDefined events not sent by XGServerWindow

2013-06-25 Thread Germán Arias
Now I see that NSApp receives the events when the user move a window. But still, this sometimes send events that not occurs. On 2013-06-25 23:01:03 -0600 Germán Arias wrote: > Well, this change gives me problems with panels. But no idea why. > > On 2013-06-25 22:30:29 -0600 Germán Arias wrote:

Re: NSClassSwapper leaving dangling pointers?

2013-06-25 Thread Gregory Casamento
Upon further examination, I'm not sure that Fred's concern is valid. The reason the cell contents are not copied is because they don't have to be: result = [[newCellClass alloc] initWithCoder: coder]; The above line in the method -(id)unarchiver:didDecodeObject: unarchives the proper a

Re: MAC_OS_X_VERSION macros

2013-06-25 Thread Eric Wasylishen
Hi Frank, Thanks for bringing this up - it's indeed a nasty problem (although hopefully pretty easy to fix :) A year or two ago I was working on updating macports patches for building GNUstep on OS X 10.6/10.7, and ran in to an instance of this here: https://github.com/ericwa/gnustep-macports-fi

NSUUID patch

2013-06-25 Thread Eric Wasylishen
Here's a patch I'm working on that implements NSUUID using libuuid. I'm having trouble figuring out what to put in the autoconf.ac. Does anyone know of a template I should look at? I'm sure what I'm doing now isn't correct… : + HAVE_UUID=1 + UUID_CFLAGS=`pkg-config --cflags uuid` +