Re: [fpc-devel] [FPC] SQLdb: bug added with a bugfix port (FPC 2.2.0 + fixes)

2007-11-21 Thread Alvise Nicoletti
Joost van der Sluis ha scritto: Op vrijdag 16-11-2007 om 10:14 uur [tijdzone +0100], schreef Alvise Nicoletti: However: no problem to downgrade a little, but didn't you said me once that to use sqldb on linux 64 bit I have to use at least 2.2 ? The last time I was with an older version of

[fpc-devel] fpmkunit patch

2007-11-21 Thread Darius Blaszijk
Here's a patch for fpmkunit. - implements Defaults.NoFPCCfg in TBuildEngine.GetCompilerCommand - added ttCleanOnlyUnit in TTarget.GetCleanFiles - fixes a dirty little bug in TBuildEngine.GetCompilerCommand (compile filename) To come back to the last item; When fpmake is called from a deeper

Re: [fpc-devel] .NET Reflection vs RTTI

2007-11-21 Thread Vincent Snijders
Micha Nelissen schreef: Thorsten Engler wrote: Take a look here to get some idea about the uses for attributes in just the core framework: http://msdn2.microsoft.com/en-us/library/2e39z096.aspx What? Most sounds like poor hacks to get around compiler/linker limitations. snip Perhaps

Re: [fpc-devel] .NET Reflection vs RTTI

2007-11-21 Thread Michael Van Canneyt
On Wed, 21 Nov 2007, Vincent Snijders wrote: Micha Nelissen schreef: Thorsten Engler wrote: Take a look here to get some idea about the uses for attributes in just the core framework: http://msdn2.microsoft.com/en-us/library/2e39z096.aspx What? Most sounds like poor hacks to

Re: [fpc-devel] .NET Reflection vs RTTI

2007-11-21 Thread Vincent Snijders
Michael Van Canneyt schreef: The current fpc solution is that you need to register classes with test methods. This is an extra action. You must type the 'TestFixture' attribute also, so no extras here. Really... I know what is easier to write: textfixture at the class declaration or some

[fpc-devel] NullAsStringValue definition

2007-11-21 Thread Graeme Geldenhuys
Hi, Does FPC have the 'NullAsStringValue' variable defined anywhere? I'm porting code from Delphi, which uses it. I had a look in my Kylix 3 help and it's mentioned there as well. Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI

Re: [fpc-devel] .NET Reflection vs RTTI

2007-11-21 Thread Vincent Snijders
Michael Van Canneyt schreef: On Wed, 21 Nov 2007, Vincent Snijders wrote: Michael Van Canneyt schreef: The current fpc solution is that you need to register classes with test methods. This is an extra action. You must type the 'TestFixture' attribute also, so no extras here. Really... I

Re: [fpc-devel] .NET Reflection vs RTTI

2007-11-21 Thread Michael Van Canneyt
On Wed, 21 Nov 2007, Vincent Snijders wrote: Michael Van Canneyt schreef: The current fpc solution is that you need to register classes with test methods. This is an extra action. You must type the 'TestFixture' attribute also, so no extras here. Really... I know what is easier

Re: [fpc-devel] NullAsStringValue definition

2007-11-21 Thread Michael Van Canneyt
On Wed, 21 Nov 2007, Graeme Geldenhuys wrote: Hi, Does FPC have the 'NullAsStringValue' variable defined anywhere? I'm porting code from Delphi, which uses it. I had a look in my Kylix 3 help and it's mentioned there as well. Never heard of this. Where is it supposed to be and what is

Re: [fpc-devel] NullAsStringValue definition

2007-11-21 Thread Graeme Geldenhuys
On 21/11/2007, Michael Van Canneyt [EMAIL PROTECTED] wrote: Never heard of this. Where is it supposed to be and what is it supposed to do ? I never heard of it before either, until today. :-) In the Kylix 3 help is mentions something like this The value stored in the NullAsStringValue

Re: [fpc-devel] NullAsStringValue definition

2007-11-21 Thread Graeme Geldenhuys
On 21/11/2007, Michael Van Canneyt [EMAIL PROTECTED] wrote: Never heard of this. Where is it supposed to be and what is it supposed to do ? Ah, I found Kylix 3 help in home pc. It is defined in Variants unit. This is the help text. -- Specifies string

[fpc-devel] TSQLTimeStamp definition

2007-11-21 Thread Graeme Geldenhuys
Hi, I'm using FPC 2.2.0 so ain't sure if it exists in a FPC trunk version. Does FPC have a TSQLTimeStamp record structure? Again, I'm porting a Delphi project which uses it. I also searched the Kylix help which also mentions it. I'm not sure it which unit it's defined, but will can check

Re: [fpc-devel] .NET Reflection vs RTTI

2007-11-21 Thread Michael Van Canneyt
On Wed, 21 Nov 2007, Vincent Snijders wrote: Michael Van Canneyt schreef: On Wed, 21 Nov 2007, Vincent Snijders wrote: Michael Van Canneyt schreef: The current fpc solution is that you need to register classes with test methods. This is an extra action. You must

Re: [fpc-devel] NullAsStringValue definition

2007-11-21 Thread Michael Van Canneyt
On Wed, 21 Nov 2007, Graeme Geldenhuys wrote: On 21/11/2007, Michael Van Canneyt [EMAIL PROTECTED] wrote: Never heard of this. Where is it supposed to be and what is it supposed to do ? Ah, I found Kylix 3 help in home pc. It is defined in Variants unit. This is the help text.

Re: [fpc-devel] TSQLTimeStamp definition

2007-11-21 Thread Michael Van Canneyt
On Wed, 21 Nov 2007, Graeme Geldenhuys wrote: Hi, I'm using FPC 2.2.0 so ain't sure if it exists in a FPC trunk version. Does FPC have a TSQLTimeStamp record structure? Again, I'm porting a Delphi project which uses it. I also searched the Kylix help which also mentions it. I'm not

Re: [fpc-devel] NullAsStringValue definition

2007-11-21 Thread Graeme Geldenhuys
On 21/11/2007, Michael Van Canneyt [EMAIL PROTECTED] wrote: Ok. I'll see about having it added. Can you file a bugreport so it won't be forgotten? (you can assign it to me) I'm rather busy with the copyright issue, so better play it safe :/ Thanks Michael. I'll create a bug report. In the

Re: [fpc-devel] .NET Reflection vs RTTI

2007-11-21 Thread Bram Kuijvenhoven
Thorsten Engler wrote: Apart from the custom attributes and the Invoke, I don't see what there is extra ? No usable RTTI for records No usable RTTI for arrays No RTTI for private, protected and public(!) members (only published) No usable RTTI for published methods (param and return types are

Re: [fpc-devel] fpmkunit patch

2007-11-21 Thread Peter Vreman
At 15:08 21-11-2007, you wrote: Here's a patch for fpmkunit. - implements Defaults.NoFPCCfg in TBuildEngine.GetCompilerCommand - added ttCleanOnlyUnit in TTarget.GetCleanFiles - fixes a dirty little bug in TBuildEngine.GetCompilerCommand (compile filename) To come back to the last item;