Re: [fpc-pascal] PasCocoa design

2009-02-13 Thread Felipe Monteiro de Carvalho
On Fri, Feb 13, 2009 at 3:46 PM, Travis Siegel wrote: > I've actually downloaded the pascocoa code, but I have no idea what to do > with it. You should start by compiling one of the example projects to check if everything is ok, and also use them as a start point to your projects. I compile them

Re: [fpc-pascal] PasCocoa design

2009-02-13 Thread Travis Siegel
I've actually downloaded the pascocoa code, but I have no idea what to do with it. How do I integrate it into the Xtools so I can compile a pascocoa program? Just dumping the headers into the fpc incoudes didn't seem to work for me Did I do something wrong? Where are these source pieces supp

Re: [fpc-pascal] REQ: official FPC's FCGI framework

2009-02-13 Thread Jonas Maebe
On 13 Feb 2009, at 14:41, Bee wrote: Yes, but it's fixed in 2.2.2 ExtPascal author claimed that it's still reproducable in FPC 2.2.2 and 2.3.1. It is not. Just try the test programs in the test suite. There is however a related bug which has been fixed in 2.3.1 recently: http://bugs.fre

Re: [fpc-pascal] REQ: official FPC's FCGI framework

2009-02-13 Thread Bee
Our discussion brought us to: http://bugs.freepascal.org/view.php?id=9016 http://bugs.freepascal.org/view.php?id=10815 Also: http://bugs.freepascal.org/view.php?id=11490 http://bugs.freepascal.org/view.php?id=11896 -Bee- ___ fpc-pascal maillist - fp

Re: [fpc-pascal] REQ: official FPC's FCGI framework

2009-02-13 Thread Bee
Yes, but it's fixed in 2.2.2 ExtPascal author claimed that it's still reproducable in FPC 2.2.2 and 2.3.1. Perhaps it's fixed but ExtPascal's multithreading mechanism is wrong somehow, or perhaps the other way around. I'm not sure. -Bee- ___ fpc-pa

Re: [fpc-pascal] REQ: official FPC's FCGI framework

2009-02-13 Thread Jonas Maebe
On 13 Feb 2009, at 14:32, Bee wrote: http://bugs.freepascal.org/view.php?id=9016 What about those bugs? Both are fixed/closed. You said by yourself, it's an FPC bug. Yes, but it's fixed in 2.2.2 Jonas ___ fpc-pascal maillist - fpc-pascal@list

Re: [fpc-pascal] REQ: official FPC's FCGI framework

2009-02-13 Thread Bee
http://bugs.freepascal.org/view.php?id=9016 What about those bugs? Both are fixed/closed. You said by yourself, it's an FPC bug. -Bee- ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pasca

Re: [fpc-pascal] REQ: official FPC's FCGI framework

2009-02-13 Thread Jonas Maebe
On 13 Feb 2009, at 14:09, Bee wrote: Our discussion brought us to: http://bugs.freepascal.org/view.php?id=9016 http://bugs.freepascal.org/view.php?id=10815 What about those bugs? Both are fixed/closed. Jonas ___ fpc-pascal maillist - fpc-pascal@

Re: [fpc-pascal] Re: Problems linking C library on Linux (*.so & *.a files)

2009-02-13 Thread Jonas Maebe
On 13 Feb 2009, at 13:44, Guillermo Martínez Jiménez wrote: From: Jonas Maebe Maybe the problem is that the default FPC config file enables symbol stripping. So even though the routines from the library are in your program, dynamically loaded libraries won't be able to find them since the s

Re: [fpc-pascal] REQ: official FPC's FCGI framework

2009-02-13 Thread Michael Van Canneyt
On Fri, 13 Feb 2009, Bee wrote: > > I'll have a look during the weekend. > > Thank you very much, Michael. :) > > > Nope. I had to buy Morfik too. luckily they lowered their prices > > significantly. > > Does purchasing include Developer Assist support? No, you have to pay extra, but at leas

Re: [fpc-pascal] REQ: official FPC's FCGI framework

2009-02-13 Thread Bee
I'll have a look during the weekend. Thank you very much, Michael. :) Nope. I had to buy Morfik too. luckily they lowered their prices significantly. Does purchasing include Developer Assist support? -Bee- ___ fpc-pascal maillist - fpc-pascal@li

Re: [fpc-pascal] REQ: official FPC's FCGI framework

2009-02-13 Thread Michael Van Canneyt
On Fri, 13 Feb 2009, Bee wrote: > > If you send me the relevant units, I'll have a look. > > You could get the FCGIApp.pas from > http://code.google.com/p/extpascal/source/browse/#svn/trunk > > Our discussion brought us to: > http://bugs.freepascal.org/view.php?id=9016 > http://bugs.freepascal

Re: [fpc-pascal] REQ: official FPC's FCGI framework

2009-02-13 Thread Bee
If you send me the relevant units, I'll have a look. You could get the FCGIApp.pas from http://code.google.com/p/extpascal/source/browse/#svn/trunk Our discussion brought us to: http://bugs.freepascal.org/view.php?id=9016 http://bugs.freepascal.org/view.php?id=10815 Feel free to request it

Re: [fpc-pascal] PasCocoa design

2009-02-13 Thread dmitry boyarintsev
> This would also allow to avoid great number of $IFDEFs. as well as increasing application's portability. For example, if Apple releases next version of OSX without objc1.0 support it would be not necessary to recompile the application for the new os and objc2.0. __

Re: [fpc-pascal] REQ: official FPC's FCGI framework

2009-02-13 Thread Michael Van Canneyt
On Fri, 13 Feb 2009, Bee wrote: > > You indicated that some kind of fastcgi thing already exists for > > (free) pascal. > > So far, I only knew ExtPascal's FCGI. Just now, I knew that lNet had it too, > though I still didn't know yet the details. > > > Hereby I *officially* request that YOU co

Re: [fpc-pascal] PasCocoa design

2009-02-13 Thread dmitry boyarintsev
> Why? Copyright reasons? nope. no problems with license. the problem might be with PasCocoa design. currently objc2.0 is a stand-alone unit, that can (and should!) be used without objc. The unit links objc2.0 routines, so application compiled with objc20 would never run with objc 1.0 (so Tiger i

[fpc-pascal] Re: Problems linking C library on Linux (*.so & *.a files)

2009-02-13 Thread Guillermo Martínez Jiménez
> From: Jonas Maebe > > Maybe the problem is that the default FPC config file enables symbol > stripping. So even though the routines from the library are in your > program, dynamically loaded libraries won't be able to find them since > the symbol names are gone. Try compiling the program with -Xs

Re: [fpc-pascal] PasCocoa design

2009-02-13 Thread Vincent Snijders
dmitry boyarintsev schreef: How about adding it to PasCocoa? um.. no, it's a bad idea for now. sorry! Why? Copyright reasons? Vincent ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pasca

Re: [fpc-pascal] PasCocoa design

2009-02-13 Thread dmitry boyarintsev
> How about adding it to PasCocoa? um.. no, it's a bad idea for now. sorry! ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] REQ: official FPC's FCGI framework

2009-02-13 Thread Bee
You indicated that some kind of fastcgi thing already exists for (free) pascal. So far, I only knew ExtPascal's FCGI. Just now, I knew that lNet had it too, though I still didn't know yet the details. Hereby I *officially* request that YOU coordinate efforts to get it integrated in FPC. Al

Re: [fpc-pascal] PasCocoa design

2009-02-13 Thread Felipe Monteiro de Carvalho
On Fri, Feb 13, 2009 at 12:53 PM, dmitry boyarintsev wrote: > i've found that ObjCRuntime unit is introduced with FPC package > (objc1.0). So now, there're 2 versions of objc runtimes available for > FPC. And I have also converted objc2.0 version, but have not published > it yet (just want to mak

Re: [fpc-pascal] PasCocoa design

2009-02-13 Thread dmitry boyarintsev
Felipe, i've found that ObjCRuntime unit is introduced with FPC package (objc1.0). So now, there're 2 versions of objc runtimes available for FPC. And I have also converted objc2.0 version, but have not published it yet (just want to make it more cross-pascal). What do you think, if PasCocoa sho

Re: [fpc-pascal] PasCocoa design

2009-02-13 Thread Felipe Monteiro de Carvalho
On Thu, Feb 12, 2009 at 2:06 PM, OCTAGRAM wrote: > Where are discussions about it occuring? I'd like to follow your progress. > Maybe we could share some thoughts. My only Mac computer has a 10.4 operating system. Garbage collector was introduced in ObjC 2.0 in 10.5, so I simply ignore the subjec

Re: [fpc-pascal] Re: Problems linking C library on Linux (*.so & *.a files)

2009-02-13 Thread Jonas Maebe
On 12 Feb 2009, at 20:42, Guillermo Martínez Jiménez wrote: Link time error, I guess. But according to your original message, the name of the library is liballeg_unshareable.a. So you would have to use -k liballeg_unshareable.a, not "-klalleg_unshareable.a". The linker only prepends "lib" if

[fpc-pascal] Re: Problems linking C library on Linux (*.so & *.a files)

2009-02-13 Thread Guillermo Martínez Jiménez
> Perhaps I missed it, but are you sure you declared the > functions/procedure in the library you are using cdecl? > That would explain a runtime error instead of linker error. I'm sure I've used "cdecl" to declare the procedure I'm using to test it. By the way, Allegro's developers confirm me th

Re: [fpc-pascal] REQ: official FPC's FCGI framework

2009-02-13 Thread Michael Van Canneyt
On Fri, 13 Feb 2009, Bee wrote: > > lNet has fastcgi support. Maybe it's interesting for you. It can connect to > > some server or spawn some itself. Implemented in lib/lfastcgi.pp. > > I didn't know about this. I'll take a look at it. Anyway, what I need is > *official* FCGI package from FPC a

Re: [fpc-pascal] REQ: official FPC's FCGI framework

2009-02-13 Thread Bee
lNet has fastcgi support. Maybe it's interesting for you. It can connect to some server or spawn some itself. Implemented in lib/lfastcgi.pp. I didn't know about this. I'll take a look at it. Anyway, what I need is *official* FCGI package from FPC as CGI and Apache module. -Bee- _