[fpc-pascal] FPC on GSoC

2008-03-12 Thread Musan Antal
Could you please tell me more about this issue: Musan Antal schreef: > Was you ever considering to get involved in the Google Summer of Code? > There are lot of Open-Source projects in it, I think it would also be in > the benefit of FPC to get some developers. > > But what do you think about this

[fpc-pascal] GSoC

2008-03-12 Thread Musan Antal
Hello Felipe, I think it would be really important to make a new submission to the GSoC. I also have some ideas on what else to include, in order to make the application more convincing. Please let me know if you want, or other, to administer the application, or if I should make it. I can also co

Re: [fpc-pascal] Layout of class method

2008-03-12 Thread Jonas Maebe
On 12 Mar 2008, at 01:41, Felipe Monteiro de Carvalho wrote: I'd just like to confirm. Considering the following class method: {$mode delphi} interface type TMyController = class(NSObject) public class function applicationShouldTerminateAfterLastWindowClosed(param1: objc.id; param2

Re: [fpc-pascal] problem with interface (OOP not widget)

2008-03-12 Thread Jonas Maebe
On 12 Mar 2008, at 05:41, Bee wrote: http://bugs.freepascal.org/view.php?id=10684 Hints? TIA. I'm currently using a not too elegant workaround to solve this problem. With some IFDEFs because the workaround is for FPC only. There is no support for passing nil as a constant to a "procedur

Re: [fpc-pascal] Hmm 64 bit instructions for visual studio 2008 slower than doubles too ?

2008-03-12 Thread Vinzent Hoefler
On Monday 10 March 2008 21:02, Skybuck Flying wrote: > Also when I set it to release, something strange happens and it only > take 7 ticks or so... while normally it takes 5 million ticks ? It's called "optimizing". Obviously it calculates the final result at compile time already. Vinzent. ___

Re: [fpc-pascal] problem with interface (OOP not widget)

2008-03-12 Thread Jonas Maebe
On 12 Mar 2008, at 11:02, Jonas Maebe wrote: On 12 Mar 2008, at 05:41, Bee wrote: http://bugs.freepascal.org/view.php?id=10684 Hints? TIA. I'm currently using a not too elegant workaround to solve this problem. With some IFDEFs because the workaround is for FPC only. There is no suppo

Re: [fpc-pascal] Vandalism

2008-03-12 Thread Flávio Etrusco
Stopbadware.org (actaully Firefox 3 "phishing protection") reports the links as from an "attack site". Maybe the pages should be taken offline until they're fixed? Best regards, Flávio On Tue, Mar 11, 2008 at 8:11 PM, C Western <[EMAIL PROTECTED]> wrote: > There seems to be some vandalism on the

Re: [fpc-pascal] Layout of class method

2008-03-12 Thread Felipe Monteiro de Carvalho
On Wed, Mar 12, 2008 at 6:10 AM, Jonas Maebe <[EMAIL PROTECTED]> wrote: > To be able to interface > Objective-C code in an OOP way in FPC, support for some kind of > Objective Pascal dialect has to be added to the compiler. Everything > will probably break at one time or another. Ummm ... I'd

Re: [fpc-pascal] Layout of class method

2008-03-12 Thread Jonas Maebe
On 12 Mar 2008, at 18:44, Felipe Monteiro de Carvalho wrote: On Wed, Mar 12, 2008 at 6:10 AM, Jonas Maebe <[EMAIL PROTECTED] > wrote: To be able to interface Objective-C code in an OOP way in FPC, support for some kind of Objective Pascal dialect has to be added to the compiler. Everything wil

Re: [fpc-pascal] Layout of class method

2008-03-12 Thread Jonas Maebe
On 12 Mar 2008, at 18:44, Felipe Monteiro de Carvalho wrote: Ummm ... I'd like to keep compiler and sintax changes to absolute minimal. Ideally zero like now =P and I'm very close of having a fully object-oriented interface to objective-c. Aren't you going to have problems with memory leaks w

Re: [fpc-pascal] Layout of class method

2008-03-12 Thread Felipe Monteiro de Carvalho
On Wed, Mar 12, 2008 at 3:56 PM, Jonas Maebe <[EMAIL PROTECTED]> wrote: > Aren't you going to have problems with memory leaks with these wrapper > instances? Suppose you create an instance in Pascal code, then pass > the (wrapped) Objective-C class instance to an Objective-C method > which rele

Re: [fpc-pascal] Layout of class method

2008-03-12 Thread Felipe Monteiro de Carvalho
On Wed, Mar 12, 2008 at 3:43 PM, Jonas Maebe <[EMAIL PROTECTED]> wrote: > In theory, declaring a class method as static should do that (as > mentioned before either here or on fpc-devel), but it doesn't at this > time. Feel free to file a bug. What is the syntax of a class method on FPC? I did

Re: [fpc-pascal] Layout of class method

2008-03-12 Thread Michael Van Canneyt
On Wed, 12 Mar 2008, Felipe Monteiro de Carvalho wrote: > On Wed, Mar 12, 2008 at 3:43 PM, Jonas Maebe <[EMAIL PROTECTED]> wrote: > > In theory, declaring a class method as static should do that (as > > mentioned before either here or on fpc-devel), but it doesn't at this > > time. Feel free

Re: [fpc-pascal] Layout of class method

2008-03-12 Thread Felipe Monteiro de Carvalho
On Wed, Mar 12, 2008 at 7:01 PM, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > No. What is the syntax of a static class method then? > You must not specify the static. Where did you get that from ? The first link here: http://www.google.com/search?hl=en&safe=active&client=firefox-a&rls=org

Re: [fpc-pascal] Layout of class method

2008-03-12 Thread Jonas Maebe
On 12 Mar 2008, at 22:56, Felipe Monteiro de Carvalho wrote: On Wed, Mar 12, 2008 at 3:43 PM, Jonas Maebe <[EMAIL PROTECTED] > wrote: In theory, declaring a class method as static should do that (as mentioned before either here or on fpc-devel), but it doesn't at this time. Feel free to file a

Re: [fpc-pascal] Layout of class method

2008-03-12 Thread Jonas Maebe
On 12 Mar 2008, at 23:08, Michael Van Canneyt wrote: On Wed, 12 Mar 2008, Felipe Monteiro de Carvalho wrote: On Wed, Mar 12, 2008 at 7:01 PM, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: No. What is the syntax of a static class method then? What is a 'static' class method ? D7 does not

Re: [fpc-pascal] Layout of class method

2008-03-12 Thread Felipe Monteiro de Carvalho
On Wed, Mar 12, 2008 at 7:08 PM, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > What is a 'static' class method ? D7 does not know them. I think it was introduced after D7. C# also seams to have this concept, so I think it's somehow related to .NET on the delphi implementation, but it's also av

Re: [fpc-pascal] Layout of class method

2008-03-12 Thread Michael Van Canneyt
On Wed, 12 Mar 2008, Felipe Monteiro de Carvalho wrote: > On Wed, Mar 12, 2008 at 7:01 PM, Michael Van Canneyt > <[EMAIL PROTECTED]> wrote: > > No. > > What is the syntax of a static class method then? What is a 'static' class method ? D7 does not know them. Michael.

[fpc-pascal] FPC and Profiling software

2008-03-12 Thread Graeme Geldenhuys
Hi, Does anybody know of any profiling software I can use with FPC? I'm mainly developing under Linux, but have a virtual Win2000 session as well, so Windows or Linux software will do. I'm trying to detect where bottlenecks occur in my code. Regards, - Graeme - __