NSFileWrapper and initWithURL

2013-10-10 Thread Vincent R.
Hi, When I look at NSFileWrapper implementation here https://github.com/gnustep/gnustep-gui/blob/master/Headers/AppKit/NSFileWrapper.h I cannot see the method - (id)initWithURL:(NSURL *)url options:(NSFileWrapperReadingOptions)options error:(NSError **)outError. Is it defined somewhere else ?

Re: Clang extension for BOOL and nil

2013-08-24 Thread Vincent R.
Le 23.08.2013 12:32, David Chisnall a écrit : I've been meaning to make this change for a little while. It makes a few bits of static analysis easier. I don't have time to do this next week, but if you send a patch I'd be happy to commit it. Please find a small patch, tested with clang but

Re: Clang extension for BOOL and nil

2013-08-24 Thread Vincent R.
Le 24.08.2013 13:02, Vincent R. a écrit : Le 23.08.2013 12:32, David Chisnall a écrit : I've been meaning to make this change for a little while. It makes a few bits of static analysis easier. I don't have time to do this next week, but if you send a patch I'd be happy to commit

Clang extension for BOOL and nil

2013-08-23 Thread Vincent R.
Hi, Do you think it would be possible to use clang extension to define type like BOOL and nil ? Actually I am using clang to rewrite objc into another syntax and macros are not really helpful for this, I would need to get a specific type for BOOL/YES/NO and not just (unsigned

Re: Will gnustep support the new xib format of Xcode 5

2013-08-20 Thread Vincent R.
Le 19.08.2013 23:39, Gregory Casamento a écrit : Yes, I will be working on support for it. Right now GNUsteps libraries support XIB files, but Gorm itself doesnt.   I am working on XIB support for the current version of the format.  The XML you showed doesnt seem significantly different,

Will gnustep support the new xib format of Xcode 5

2013-08-19 Thread Vincent R.
Hi, It seems Xcode 5 introduces a new xib format (http://nilsou.com/blog/2013/08/07/xcode-5-finally-makes-interface-builder-a-viable-option-for-teams/), do you have any plan to support it inside Gorm ? Thanks ___ Gnustep-dev mailing list

Warnings when compiling with clang

2013-07-28 Thread Vincent R.
Hi, In my journey to compile gnustep with clang I have noticed some warnings in back, so it might me interesting to have a look : This is gnustep-make 2.6.5. Type 'make print-gnustep-make-help' for help. Making all in Source ... Making all in subprojects of bundle libgnustep-back-023...

Re: Crash with latest libobjc2 and base with clang 3.3

2013-07-25 Thread Vincent R.
Le 25.07.2013 03:40, Doug Warren a écrit : After Davids suggestion last week with property meta data being lost without the latest objc2 and clang, I rebuilt everything around -fobjc-runtime=gnustep-1.7 and clang3.3, but now I crash with invoking a +load: #0  0x4caf1880 in objc_msgSend_fpret

Re: Still getting the following failure...

2013-07-21 Thread Vincent R.
Actually the problem came from the alignment change inside libobjc2, I have tested to revert to older revision: $ svn update -r 36850 now make check for base works fine (it was not the case before): 7839 Passed tests 21 Dashed hopes All OK! and I was able to compile and run Gorm.

Re: Still getting the following failure...

2013-07-20 Thread Vincent R.
Le 20.07.2013 17:17, Eric Wasylishen a écrit : Hi Greg, Looks like InitialisePathUtilities is catching and re-throwing an exception on line 1180. Could you break on objc_exception_throw and re-run to see if you can get a stack trace from the initial exception? We know it'll be an

Re: Still getting the following failure...

2013-07-19 Thread Vincent R.
Le 18.07.2013 17:06, Vincent R. a écrit : Le 18.07.2013 17:00, Vincent R. a écrit : Le 18.07.2013 04:51, Gregory Casamento a écrit :  Creating Gorm.app/Resources/Info-gnustep.plist... plmerge: Uncaught exception (null), reason: -initWithBytes:lenth:encoding given nul bytes I have reported

Re: Still getting the following failure...

2013-07-19 Thread Vincent R.
Le 19.07.2013 19:36, Vincent R. a écrit : Le 18.07.2013 17:06, Vincent R. a écrit : Le 18.07.2013 17:00, Vincent R. a écrit : Le 18.07.2013 04:51, Gregory Casamento a écrit :  Creating Gorm.app/Resources/Info-gnustep.plist... plmerge: Uncaught exception (null), reason

Re: Still getting the following failure...

2013-07-18 Thread Vincent R.
Le 18.07.2013 04:51, Gregory Casamento a écrit :  Creating Gorm.app/Resources/Info-gnustep.plist... plmerge: Uncaught exception (null), reason: -initWithBytes:lenth:encoding given nul bytes I have reported it in a previous message but nobody cares ...

Re: Still getting the following failure...

2013-07-18 Thread Vincent R.
Le 18.07.2013 17:00, Vincent R. a écrit : Le 18.07.2013 04:51, Gregory Casamento a écrit :  Creating Gorm.app/Resources/Info-gnustep.plist... plmerge: Uncaught exception (null), reason: -initWithBytes:lenth:encoding given nul bytes I have reported it in a previous message but nobody cares

Re: Compiling GNUstep with clang

2013-07-13 Thread Vincent R.
Ok so now I am using the following steps (in my previous attempt I wasn't compiling libc++) but at the end I get a crash inside plmerge : mkdir objc2cs cd objc2cs mkdir clang cd clang svn co http://llvm.org/svn/llvm-project/llvm/branches/release_33 llvm cd llvm/tools svn co

Compiling GNUstep with clang

2013-07-10 Thread Vincent R.
Hi, I am following these steps on Linux mint to compile gnustep : # Compile clang svn co http://llvm.org/svn/llvm-project/llvm/branches/release_33 llvm cd llvm/tools svn co http://llvm.org/svn/llvm-project/cfe/branches/release_33 clang cd ../../llvm/projects svn co

NSButtonImageSource weird code

2013-07-10 Thread Vincent R.
Hi, the following method of NSButtonImageSource looks weird : NSMutableDictionary *sources = nil; + (id) buttonImageSourceWithName: (NSString*)name { NSButtonImageSource *source; source = [sources objectForKey: name]; if (source == nil) { source = [self alloc];

Insisting on a bug

2013-07-05 Thread Vincent R.
Hi, I have reported what I consider as a bug in a previous mail entitled Gorm : Xib loading doesn't respect size. I had provided a description and a screenshot of the problem under the 3 differents platforms unix, mac and windows and I provided a kind of patch for the windows case. Personaly

Re: NSClassSwapper leaving dangling pointers?

2013-07-01 Thread Vincent R.
Le 01.07.2013 10:57, Luboš Doležel a écrit : On Wed, 26 Jun 2013 01:35:17 -0400, Gregory Casamento wrote: 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

Re: NSClassSwapper leaving dangling pointers?

2013-07-01 Thread Vincent R.
Le 01.07.2013 16:37, Gregory Casamento a écrit : V ​incent, THats part of the point.  Custom class B is not a class which is linked into IB via a palette or anything else so it is one which is defined in source code..  NSClassSwappers job is to swap out the class which is linked in (i.e. one

GNUStep on Windows

2010-01-22 Thread Vincent R.
Hi, When will you switch to llvm on windows platform ? I can see from website that for now you are releasing a solution based on msys/mingw-4.4 and could it be possible to use a msys/llvm alternative ? Would it work ? ___ Gnustep-dev mailing list

Re: GNUStep on Windows

2010-01-22 Thread Vincent R.
On Fri, 22 Jan 2010 16:12:18 +, David Chisnall thera...@sucs.org wrote: On 22 Jan 2010, at 16:07, Vincent R. wrote: Hi, When will you switch to llvm on windows platform ? I can see from website that for now you are releasing a solution based on msys/mingw-4.4 and could it be possible

Re: Implementing CFSTR() in corebase

2010-01-22 Thread Vincent R.
On Fri, 22 Jan 2010 13:26:00 -0700, Eric Wasylishen ewasylis...@gmail.com wrote: On 2010-01-22, at 9:53 AM, David Chisnall wrote: Hi Stef, I had this discussion with Eric yesterday, so good timing... On OS X, CSTR() calls one of two functions. Hi, On a related note, regarding

Re: cross compiling gnustep on embedded device (wince)

2009-09-28 Thread Vincent R.
Hi, I am trying to cross-compile gnustep-make and gnustep-base and I would have some questions and remarks/feedback in this area. My goal is to be able to do an hello world using objective C on window mobile device. My current issue is the fact makefiles are adding a reference to /usr/include

cross compiling gnustep on embedded device (wince)

2009-09-25 Thread Vincent R.
Hi, I wanted to try to cross-compile core foundation to be able to play with objective C on my smartphone running windows CE. I am using cegcc as a cross compiler and I have downloaded : gnustep-make-2.2.0 gnustep-base-1.19.1 What would be the necessary steps to cross-compile and/or add

Re: cross compiling gnustep on embedded device (wince)

2009-09-25 Thread Vincent R.
On Fri, 25 Sep 2009 15:04:21 +0200, Vincent R. foru...@smartmobili.com wrote: Hi, I wanted to try to cross-compile core foundation to be able to play with objective C on my smartphone running windows CE. I am using cegcc as a cross compiler and I have downloaded : gnustep-make-2.2.0

Re: cross compiling gnustep on embedded device (wince)

2009-09-25 Thread Vincent R.
OK I am progressing now I start to understand how makefiles works and now I have another error : Making all for subproject unix... Compiling file GSRunLoopCtxt.m ... GSRunLoopCtxt.m: In function '-[GSRunLoopCtxt dealloc]': GSRunLoopCtxt.m:84: error: '_efdMap' undeclared (first use in this

Re: cross compiling gnustep on embedded device (wince)

2009-09-25 Thread Vincent R.
On Fri, 25 Sep 2009 16:59:41 +0100, David Chisnall thera...@sucs.org wrote: On 25 Sep 2009, at 16:57, Vincent R. wrote: Why is it compiling subproject unix ? This will have been set by the configure script. Did you set target triple when you ran ./configure? David I found why I