[fpc-devel] missing GetPropList overloaded mehod

2005-12-07 Thread Graeme Geldenhuys

Hi

I am using the following FPC version:
Free Pascal Compiler version 2.0.1 [2005/10/02] for i386 on Windows 2000

In the file:
\rtl\objpas\typinfo.pp

there is a missing GetPropList overloaded method compared to Delphi. I 
noticed this while porting a Delphi app to FPC.



--  CUT  
function GetPropList(AObject: TObject; out PropList: PPropList): Integer;
begin
  Result := GetPropList(PTypeInfo(AObject.ClassInfo), PropList);
end;
--  END  


Attached is the diff/patch file for the changes.

Regards,
  - Graeme -

***
*** 198,201 
--- 196,203 
  Procedure GetPropInfos(TypeInfo : PTypeInfo;PropList : PPropList);
  Function  GetPropList(TypeInfo : PTypeInfo;TypeKinds : TTypeKinds; PropList : 
PPropList;Sorted : boolean = true):longint;
  Function GetPropList(TypeInfo: PTypeInfo; out PropList: PPropList): SizeInt;
+ function GetPropList(AObject: TObject; out PropList: PPropList): Integer;
+ 
  
  
  // Property information routines.
***
*** 694,697 
--- 695,704 
end;
end;
  
+ function GetPropList(AObject: TObject; out PropList: PPropList): Integer;
+ begin
+   Result := GetPropList(PTypeInfo(AObject.ClassInfo), PropList);
+ end;
  
  
  { -
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] Internal error 200310221 with SVN 1885

2005-12-07 Thread Jonas Maebe


On 6 dec 2005, at 22:23, Mark de Wever wrote:


Please enter it in the bug reporting system on the website so it
won't be forgotten.


I wanted to do that, but I can only enter one source :-(


You can enter both source files with a marker in between noting that  
the second file starts. We have to manually copy/paste from there  
anyway.



Jonas
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] x64 resources

2005-12-07 Thread rstar

Andrew Haines wrote:


Hi,

Is support for resources {$R someresource.res} planned for ppcx64?

Thanks,

Andrew
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel



It is planned in CrossFPC. I don't know the FPC status.
But I think both platforms will share the same compiler in the future...


___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


[fpc-devel] Test, please ignore

2005-12-07 Thread Florian Klaempfl
Sorry again, mailman makes trouble.
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] x64 resources

2005-12-07 Thread Michael Van Canneyt



On Wed, 7 Dec 2005, [EMAIL PROTECTED] wrote:


Andrew Haines wrote:


Hi,

Is support for resources {$R someresource.res} planned for ppcx64?

Thanks,

Andrew
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel



It is planned in CrossFPC. I don't know the FPC status.
But I think both platforms will share the same compiler in the future...


They already share the same compiler now.
In principle, 32-bit resources should already work, but it's untested.

Michael.
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


[fpc-devel] PR: What sites to spam for 2.0.2 release?

2005-12-07 Thread Daniël Mantione
Hi guys,

Speaking of PR, we have a 2.0.2 to announce within a very short time and 
we better do it well. We won't be able to do a Slashdot or OSnews 
announcement, nevertheless we should take these opportunities to promote 
FPC.

So, any ideas what sites we should spam? I'm looking for developer focused 
sites. Pascal/Delphi related sites are welcome, but remember we are 
already quite famous in that world. We need generic open source related 
sites.

Daniël___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] Coding Questions

2005-12-07 Thread VisionForce

ok, thanks

- Original Message - 
From: "Jonas Maebe" <[EMAIL PROTECTED]>

To: "FPC developers' list" 
Sent: Saturday, December 03, 2005 1:03 PM
Subject: Re: [fpc-devel] Coding Questions




On 03 Dec 2005, at 19:44, VisionForce wrote:

the readkey() function freezes the whole app until you press a key;  
this is async.


No, that's synchronous. Asynchronous means that you ask for something  
to be performed and that control is immediately returned to you,  
while "something" is performed in the asynchronously with the rest of  
the flow of your program (instead of that the flow of your program is  
synchronised with the completion of that operation).


That said, there's always the keypressed function if you want to  
check first whether a key has been pressed before calling readkey.



Jonas
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel



___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel