Re: Implementing CFSTR() in corebase

2010-01-23 Thread Vincent Richomme
> Yes, it really sounds like we could share the effort. I am willing to > implement the missing functions in Corebase to provide a common base for > CFLite and GNUstep corebase that can be used to build Opal on. Of course > this is only worth the effort if you want to participate in Opal > developm

Re: GNUStep on Windows

2010-01-24 Thread Vincent Richomme
On Sun, 24 Jan 2010 12:43:36 +0100, Riccardo Mottola wrote: > Hi there, > > Vincent R. wrote: >> 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 alterna

Re: GNUStep on Windows

2010-01-28 Thread Vincent Richomme
On Sun, 24 Jan 2010 12:53:48 +0100, Vincent Richomme wrote: > On Sun, 24 Jan 2010 12:43:36 +0100, Riccardo Mottola > wrote: >> Hi there, >> >> Vincent R. wrote: >>> When will you switch to llvm on windows platform ? >>> I can see from website that for n

libobjc2

2010-02-16 Thread Vincent Richomme
Hi, I would like to compile libobjc2 on msys/mingw but I don't know anything to GNUstep build system. I have installed GNustep with installer provided on your website but now I would like to know how to instruct makefiles to use clang. Thanks ___ Gn

Re: libobjc2

2010-02-17 Thread Vincent Richomme
On Wed, 17 Feb 2010 10:48:38 +, David Chisnall wrote: > On 17 Feb 2010, at 06:45, Richard Frith-Macdonald wrote: > >> >> On 17 Feb 2010, at 00:12, Vincent Richomme wrote: >> >>> Hi, >>> >>> I would like to compile libobjc2 on msys/m

Updated windows installer gnustep-system-0.24.1

2010-02-23 Thread Vincent Richomme
Hi, I wanted to compile libobjc2 with clang and I had downloaded your custom msys/mingw installer but unfortunately clang couldn't be compiled for some unknown reasons(I suppose a tool were missing but didn't find which one). So I have updated msysCore with latest version from msys/mingw project a

Re: Updated windows installer gnustep-system-0.24.1

2010-02-23 Thread Vincent Richomme
On Tue, 23 Feb 2010 15:22:19 +0100, Vincent Richomme wrote: > Hi, > > I wanted to compile libobjc2 with clang and I had downloaded your custom > msys/mingw installer > but unfortunately clang couldn't be compiled for some unknown reasons(I > suppose > a tool were mis

Re: Updated windows installer gnustep-system-0.24.1

2010-02-24 Thread Vincent Richomme
On Wed, 24 Feb 2010 11:27:19 -0700, Adam Fedor wrote: > On Feb 23, 2010, at 2:50 PM, Vincent Richomme wrote: > >>> You can find the new package here : >>> http://www.smartmobili.com/Downloads/gnustep-system-0.24.1-setup.exe >>> and the nsis script here: >>

Re: sync.m

2010-03-05 Thread Vincent Richomme
On Fri, 5 Mar 2010 22:02:31 +0100, Markus Hitter wrote: > Am 03.03.2010 um 20:34 schrieb David Chisnall: > >> ARM gets a lot of attention from Apple at the moment (apparently >> they ship some things with ARM chips in them) > > It's no secret the iPhone as well as the iPad ship with ARM CPUs.

libobjc2 on windows

2010-03-06 Thread Vincent Richomme
Hi, So I have installed last versions of GNUstep installers on windows and compiled clang. I have also checkouted libobjc2 and I entered: CC=clang make Making all in toydispatch... Making all for library toydispatch... Compiling file toydispatch.c ... Linking library toydispatch ... Creating l

Re: libobjc2 on windows

2010-03-06 Thread Vincent Richomme
On Sat, 06 Mar 2010 14:29:14 +0100, Vincent Richomme wrote: > Hi, > > So I have installed last versions of GNUstep installers on windows and > compiled clang. > I have also checkouted libobjc2 and I entered: > > CC=clang make > > Making all in toydispatch.

Re: libobjc2 on windows

2010-03-06 Thread Vincent Richomme
On Sat, 06 Mar 2010 14:43:08 +0100, Vincent Richomme wrote: > On Sat, 06 Mar 2010 14:29:14 +0100, Vincent Richomme > wrote: >> Hi, >> >> So I have installed last versions of GNUstep installers on windows and >> compiled clang. >> I have also checkouted lib

Re: libobjc2 on windows

2010-03-06 Thread Vincent Richomme
On Sat, 6 Mar 2010 13:54:21 +, David Chisnall wrote: > On 6 Mar 2010, at 13:43, Vincent Richomme wrote: > >> On Sat, 06 Mar 2010 14:29:14 +0100, Vincent Richomme >> wrote: >>> cc1.exe: warnings being treated as errors >>> class.c:125: error: '_objc_l

Re: libobjc2 on windows

2010-03-06 Thread Vincent Richomme
> On 6 Mar 2010, at 13:57, Vincent Richomme wrote: > >> So how can I tell GNUmakefile to use clang ? I also tried the following >> line: >> >> $> CC=clang CXX=clang++ OBJC=clang make messages=yes but same problem. > > > This is GNU Make, not BSD Ma

Re: libobjc2 on windows

2010-03-15 Thread Vincent Richomme
>> On 6 Mar 2010, at 13:57, Vincent Richomme wrote: >> >>> So how can I tell GNUmakefile to use clang ? I also tried the following >>> line: >>> >>> $> CC=clang CXX=clang++ OBJC=clang make messages=yes but same problem. >> >

Re: libobjc2 on windows

2010-03-15 Thread Vincent Richomme
>>> On 6 Mar 2010, at 13:57, Vincent Richomme wrote: >>> > If you really want to be pedantic, why don't you cast result from strdup > into const char*(type > of ivar_name) > > ivar->ivar_name = (const char *)strdup(name); > > > Anyway it d

Re: libobjc2 on windows

2010-03-15 Thread Vincent Richomme
>>>> On 6 Mar 2010, at 13:57, Vincent Richomme wrote: >>>> >> If you really want to be pedantic, why don't you cast result from strdup >> into const char*(type >> of ivar_name) >> >> ivar->ivar_name = (const char *)strdup(name); &

Re: libobjc2 on windows

2010-03-15 Thread Vincent Richomme
> On 15 Mar 2010, at 15:07, Vincent Richomme wrote: > >> I am a bit tired, I am using clang and talking about gcc so of course >> ignore my last email. >> Now the question is : does clang support TLS on mingw and how enable it ? >> I will dig that. > > &g

Re: libobjc2 on windows

2010-03-15 Thread Vincent Richomme
> On 15 Mar 2010, at 15:16, Vincent Richomme wrote: > >> Ok fine so this time this error is bit harder to fix for me : >> >> clang libobjc_entry.c -c \ >> -MMD -MP -DDLL_EXPORT -D__OBJC_RUNTIME_INTERNAL__=1 >> -D_XOPEN_SOURCE=50

Re: libobjc2 on windows

2010-03-15 Thread Vincent Richomme
> > Ok so finally I get loads of linker errors : > > clang -shared -Wl,--enable-auto-image-base > -Wl,--out-implib,./obj/libobjc.dll.a -Wl,--enable-auto-import -g > -ltoydispatch -o ./obj/objc-4.dll obj/class.c.o obj/class_table.c.o > obj/encoding.c.o obj/hash_table.c.o obj/exception.c.o o

Re: libobjc2 on windows

2010-03-15 Thread Vincent Richomme
>> >> Ok so finally I get loads of linker errors : >> >> clang -shared -Wl,--enable-auto-image-base >> -Wl,--out-implib,./obj/libobjc.dll.a -Wl,--enable-auto-import -g >> -ltoydispatch -o ./obj/objc-4.dll obj/class.c.o obj/class_table.c.o >> obj/encoding.c.o obj/hash_table.c.o obj/exceptio

Re: libobjc2 on windows

2010-03-15 Thread Vincent Richomme
Ok so finally I have decided to dig in GNUstep and I am recompiling everything from scratch. I have compiled/installed gnustep-make and now I am fighting with gnustep-base: $ ./configure --enable-libffi --prefix=/GNUstep --with-default-config=/GNUstep/GNUstep.conf checking for _objc_unexpected_

Re: libobjc2 on windows

2010-03-15 Thread Vincent Richomme
On Mon, 15 Mar 2010 19:05:03 +0100, Vincent Richomme wrote: > Ok so finally I have decided to dig in GNUstep and I am recompiling > everything from scratch. > I have compiled/installed gnustep-make and now I am fighting with > gnustep-base: > > $ ./configure --enable-libffi

Re: libobjc2 on windows

2010-03-15 Thread Vincent Richomme
> On Mon, 15 Mar 2010 19:05:03 +0100, Vincent Richomme > wrote: >> Ok so finally I have decided to dig in GNUstep and I am recompiling >> everything from scratch. >> I have compiled/installed gnustep-make and now I am fighting with >> gnustep-base: >> >&

[Windows] : gnustep-base

2010-03-16 Thread Vincent Richomme
Hi, Here are some remarks about building gnustep-base on windows(mingw-w64): $>./configure --prefix=/GNUstep --enable-libffi --with-default-config=/GNUstep/GNUstep.conf ... checking for socklen_t... no ... That's not true since socklen_t is defined as int in header . Unfortunately I dont' know

Re: [Windows] : gnustep-base

2010-03-16 Thread Vincent Richomme
> Hi, > > Here are some remarks about building gnustep-base on windows(mingw-w64): > > $>./configure --prefix=/GNUstep --enable-libffi > --with-default-config=/GNUstep/GNUstep.conf > ... > checking for socklen_t... no > ... > > > That's not true since socklen_t is defined as int in header . > U

Re: [Windows] : gnustep-base

2010-03-16 Thread Vincent Richomme
>> And my final issue is about Install directory because everything is >> installed in /GNUstep/Local ... >> but I want it to be in /GNUstep/System. >> HOW CAN I CHANGE THAT ? > > You could use installation-domains.conf but it is currently broken on > Windows. I think I know > how to fix it but

Re: [Windows] : gnustep-base

2010-03-16 Thread Vincent Richomme
> See attachment Actually I have update my patch because some warning were still hidden in gdomap.c. Could someone check and apply it ? Thanks Index: Source/Additions/NSFileHandle+GNUstepBase.m === --- Source/Additions/NSFileHandle+GN

[Windows] : projectcenter

2010-03-16 Thread Vincent Richomme
ERROR is already defined in wingdi, please find attached a new patch. Index: Headers/ProjectCenter/PCLogController.h === --- Headers/ProjectCenter/PCLogController.h (revision 29983) +++ Headers/ProjectCenter/PCLogController.h (

My first app

2010-03-16 Thread Vincent Richomme
Ok so now I really would like to play with your GNUstep baby, I have compiled winlib and cairo backend : $ ./configure --prefix=/GNUstep --enable-server=win32 --enable-graphics=winlib --with-name=winlib $ make GNUSTEP_INSTALLATION_DOMAIN=SYSTEM install $ ./configure --prefix=/GNUstep --enable-ser

Re: My first app

2010-03-16 Thread Vincent Richomme
On Tue, 16 Mar 2010 15:40:36 -0600, Adam Fedor wrote: > On Mar 16, 2010, at 3:38 PM, Adam Fedor wrote: >> >> You have two different backends, with names that are different from the >> default backend name (--with-name), so you have to tell GNUstep which one >> to use. Try something like this: >>

Re: My first app

2010-03-17 Thread Vincent Richomme
Hourray! Finally I had an issue with my fontconfig package and once I had fixed it I could see Project center. So now I will try to write a shell script to simplify compilation of GNUstep on msys/mingw-NG. Next step: see if cairo backend can be used on windows. _

Re: My first app

2010-03-17 Thread Vincent Richomme
> On 17 Mar 2010, at 11:59, Vincent Richomme wrote: > >> Hourray! >> >> Finally I had an issue with my fontconfig package and once I had fixed it >> I could see Project center. >> So now I will try to write a shell script to simplify compilation >> of G

Re: My first app

2010-03-17 Thread Vincent Richomme
>> >>> Hourray! >>> >>> Finally I had an issue with my fontconfig package and once I had fixed > it >>> I could see Project center. >>> So now I will try to write a shell script to simplify compilation >>> of GNUstep on msys/mingw-NG. >>> Next step: see if cairo backend can be used on windows. >>

Re: My first app

2010-03-17 Thread Vincent Richomme
> The user defaults API is documented at > http://www.gnustep.org/resources/documentation/Developer/Base/Reference/index.html > > The actual storage mechanism for defaults is really supposed to be hidden > ... but if you have multiple GNUstep systems installed on a single machine, > you may want e

GNUstep on cygwin

2010-03-17 Thread Vincent Richomme
Unfortunately gdb debugger doesn't work very well with objective-C on mingw platform so I think it would be better if I first try cairo on cygwin. Here is the results of my investigations : http://cygwin.com/ml/cygwin/2010-03/msg00585.html http://cygwin.com/ml/cygwin/2010-03/msg00586.html As yo

Corrupted heap

2010-03-17 Thread Vincent Richomme
Hi, I wanted to debug ProjectCenter and I started with gdb: Reading symbols from C:\Developer\Mingw-NG\GNUstep\System\Applications\ProjectCenter.app/./ProjectCenter.exe...done. (gdb) r Starting program: C:\Developer\Mingw-NG\GNUstep\System\Applications\ProjectCenter.app/./ProjectCenter.exe [New T

Re: Corrupted heap

2010-03-17 Thread Vincent Richomme
> Hi, > > I wanted to debug ProjectCenter and I started with gdb: > > Reading symbols from > C:\Developer\Mingw-NG\GNUstep\System\Applications\ProjectCenter.app/./ProjectCenter.exe...done. > (gdb) r > Starting program: > C:\Developer\Mingw-NG\GNUstep\System\Applications\ProjectCenter.app/./Projec

Re: [Etoile-discuss] Best beginning ObjC book?

2010-03-17 Thread Vincent Richomme
> Hi Fred, > > On 15 Mar 2010, at 10:57, Fred Kiefer wrote: > >> I just started a loader for the XIB format. Seems to load the one test >> file I tried pretty well, but wont do anything useful with the loaded >> data :-) > > > What's the performance like for the XIB loader compared to loading >

Re: Corrupted heap

2010-03-17 Thread Vincent Richomme
On Wed, 17 Mar 2010 21:42:21 +0100, Fred Kiefer wrote: > Am 17.03.2010 20:26, schrieb Adam Fedor: >> >> On Mar 17, 2010, at 12:34 PM, Vincent Richomme wrote: >>> >>> >>> /* Return YES if this looks like a JPEG. */ >>> + (BOOL) _

Re: Corrupted heap

2010-03-18 Thread Vincent Richomme
On Thu, 18 Mar 2010 09:41:41 +0100, Fred Kiefer wrote: > I applied your patch, leaving out the GSTEP_PROGRESSIVE_CODEC bit of it. > I really would like to see platfrom specific code like this removed from > GNUstep gui, but doing so now could break applications on Cygwin that > rely on the current

Re: Corrupted heap

2010-03-18 Thread Vincent Richomme
On Thu, 18 Mar 2010 12:18:50 +, David Chisnall wrote: > On 18 Mar 2010, at 12:02, Vincent Richomme wrote: > >> When debugger returns from 004045C1 call eax, I get a nice popup >> with the error message : >> >> 7c97f749: The instruction at 0x7c97f749 reference

Re: Corrupted heap

2010-03-18 Thread Vincent Richomme
On Thu, 18 Mar 2010 13:19:57 +, Richard Frith-Macdonald wrote: > On 18 Mar 2010, at 12:36, David Chisnall wrote: > >> On 18 Mar 2010, at 12:33, Vincent Richomme wrote: >> >>> Sorry to ask this very stupid question but how do I remove the -O2 >>> flags >

Cocotron vs GNUstep

2010-03-18 Thread Vincent Richomme
What are the philosophies between these 2 projects and why dont' you share your efforts ? ___ Gnustep-dev mailing list Gnustep-dev@gnu.org http://lists.gnu.org/mailman/listinfo/gnustep-dev

Re: Corrupted heap

2010-03-19 Thread Vincent Richomme
On Fri, 19 Mar 2010 09:31:10 +, Richard Frith-Macdonald wrote: > On 18 Mar 2010, at 13:27, Vincent Richomme wrote: > > >> And apply the patch I have provided a few days ago to fix some cast >> issues >> and wrong data type(unsigned replaced by socklen_t) on ms

Re: Corrupted heap

2010-03-19 Thread Vincent Richomme
On Fri, 19 Mar 2010 11:50:41 +, Richard Frith-Macdonald wrote: > On 19 Mar 2010, at 11:26, Vincent Richomme wrote: > >> On Fri, 19 Mar 2010 09:31:10 +, Richard Frith-Macdonald >> wrote: >>> On 18 Mar 2010, at 13:27, Vincent Richomme wrote: >>>

Foundation based on CoreFoundationLite

2010-03-23 Thread Vincent Richomme
Hi, I wanted to know if it would be possible to write a Foundation based on CoreFoundationLite (open source from apple) ? Actually objective-c is not an ultimate goal for me and ideally I would like to be able to call objective-c methods only using c. It would imply that each NS type should have a

CoreFoundation, CoreGraphics and opal

2010-04-01 Thread Vincent Richomme
Hi, I have implemented some part of CoreGraphics using plain C and I wanted to see if I could also implement UIkit (iPhone API). For my purpose I have copied headers from apple(I know it's bad) and I have modified them to compile with gcc (I rewrote properties using old school getter/setter).

freequartz : open source implementation of CoreGraphics

2010-04-08 Thread Vincent Richomme
Hi, I have finally released the source code of my CoreGraphics implementation under a LGPL license and you can find it here : http://code.google.com/p/freequartz/ This implementation is VERY close to the apple original implementation and it's always interesting to see how things are done. I don't

Interesting discussion on gcc about objc

2010-09-13 Thread Vincent Richomme
Seach : Merging Apple's Objective-C 2.0 compiler changes http://gcc.gnu.org/ml/gcc/2010-09/threads.html#00151 ___ Gnustep-dev mailing list Gnustep-dev@gnu.org http://lists.gnu.org/mailman/listinfo/gnustep-dev

Re: Interesting discussion on gcc about objc

2010-09-13 Thread Vincent Richomme
On Mon, 13 Sep 2010 12:58:20 +0100, David Chisnall wrote: > On 13 Sep 2010, at 10:38, Vincent Richomme wrote: > >> Seach : Merging Apple's Objective-C 2.0 compiler changes >> http://gcc.gnu.org/ml/gcc/2010-09/threads.html#00151 > > I think you and I have differen