Re: [fpc-pascal] what happened to the "contributed units" listing?

2013-02-06 Thread Michalis Kamburelis
Michal Wallace wrote: The database of contributed pascal code seems to have disappeared: http://www.freepascal.org/contrib/db.php3 Anyone know where it went, or how to get it back? :) It's on http://www.freepascal.org/contrib/contribs.html now. But some pages may still contain old links, se

[fpc-pascal] what happened to the "contributed units" listing?

2013-02-06 Thread Michal Wallace
The database of contributed pascal code seems to have disappeared: http://www.freepascal.org/contrib/db.php3 Anyone know where it went, or how to get it back? :) ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org

[fpc-pascal] Re: Feature announcement: Type helpers

2013-02-06 Thread leledumbo
Mmm... love it -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Feature-announcement-Type-helpers-tp5712735p5712742.html Sent from the Free Pascal - General mailing list archive at Nabble.com. ___ fpc-pascal maillist

Re: [fpc-pascal] Lazarus 1.0.6 Release

2013-02-06 Thread Giuliano Colla
Il 04/02/2013 15:39, Mattias Gaertner ha scritto: The Lazarus team is glad to announce the release of Lazarus 1.0.6. Whoever is interested may download a more broadly compatible version of the rpm's from: http://www.bononiadocta.it/Lazarus/ They're repackaged in order to be compatible with RH

Re: [fpc-pascal] x86 asm bswap

2013-02-06 Thread Mark Morgan Lloyd
Juha Manninen wrote: On Wed, Feb 6, 2013 at 10:40 AM, Jeppe Græsdal Johansen wrote: function TPNGProcessor.SwapLong( const aValue: Cardinal ): Cardinal; begin result := BeToN(aValue); end; Thanks, it works! There are so many functions in FPC libraries which I don't know anything about. Thi

Re: [fpc-pascal] x86 asm bswap

2013-02-06 Thread Sven Barth
Am 06.02.2013 11:01, schrieb Juha Manninen: On Wed, Feb 6, 2013 at 10:40 AM, Jeppe Græsdal Johansen wrote: function TPNGProcessor.SwapLong( const aValue: Cardinal ): Cardinal; begin result := BeToN(aValue); end; Thanks, it works! There are so many functions in FPC libraries which I don't k

[fpc-pascal] Re: [fpc-devel] Feature announcement: Type helpers

2013-02-06 Thread Michael Van Canneyt
On Wed, 6 Feb 2013, Sven Barth wrote: Hello Free Pascal community! I'm pleased to announce the addition of type helpers which extend the existing helper concept with the ability to extend primitive types. Haha, finally after 7 years of waiting we catch up with Morfik... Thank you very muc

Re: [fpc-pascal] x86 asm bswap

2013-02-06 Thread Juha Manninen
On Wed, Feb 6, 2013 at 10:40 AM, Jeppe Græsdal Johansen wrote: > function TPNGProcessor.SwapLong( const aValue: Cardinal ): Cardinal; > begin >result := BeToN(aValue); > end; Thanks, it works! There are so many functions in FPC libraries which I don't know anything about. This was one of them

Re: [fpc-pascal] x86 asm bswap

2013-02-06 Thread Juha Manninen
On Wed, Feb 6, 2013 at 10:40 AM, Vincent Snijders wrote: > 2013/2/6 Juha Manninen : >> I read that bswap is used for converting big-endian (Intel) format to >> little-endian (Motorolla etc.) format. >> However this a an old Delphi app, Win32 only. > > I am confused. Intel i386 is little endian. Mo

[fpc-pascal] Feature announcement: Type helpers

2013-02-06 Thread Sven Barth
Hello Free Pascal community! I'm pleased to announce the addition of type helpers which extend the existing helper concept with the ability to extend primitive types. Motivation: With class and record helpers the possibility was created to extend classes and records with types without subcla

Re: [fpc-pascal] Can property setters be procedures only?

2013-02-06 Thread Michael Van Canneyt
On Wed, 6 Feb 2013, Frank Church wrote: On 6 February 2013 09:07, Michael Van Canneyt wrote: On Wed, 6 Feb 2013, Frank Church wrote: When I try to set a property using a function I get the error: form001.pas(28,64) Error: Illegal symbol for property access form001.pas(34,1) Fatal: There

Re: [fpc-pascal] Can property setters be procedures only?

2013-02-06 Thread Frank Church
On 6 February 2013 09:07, Michael Van Canneyt wrote: > > > On Wed, 6 Feb 2013, Frank Church wrote: > >> When I try to set a property using a function I get the error: >> >> form001.pas(28,64) Error: Illegal symbol for property access >> form001.pas(34,1) Fatal: There were 1 errors compiling module

Re: [fpc-pascal] Can property setters be procedures only?

2013-02-06 Thread Michael Van Canneyt
On Wed, 6 Feb 2013, Frank Church wrote: When I try to set a property using a function I get the error: form001.pas(28,64) Error: Illegal symbol for property access form001.pas(34,1) Fatal: There were 1 errors compiling module, stopping Is there something about properties that prevent them fr

[fpc-pascal] Can property setters be procedures only?

2013-02-06 Thread Frank Church
When I try to set a property using a function I get the error: form001.pas(28,64) Error: Illegal symbol for property access form001.pas(34,1) Fatal: There were 1 errors compiling module, stopping Is there something about properties that prevent them from being set by a function? I can call a fun

Re: [fpc-pascal] x86 asm bswap

2013-02-06 Thread Jeppe Græsdal Johansen
function TPNGProcessor.SwapLong( const aValue: Cardinal ): Cardinal; begin result := BeToN(aValue); end; Den 06-02-2013 09:25, Juha Manninen skrev: A Delphi project "DeleD 3-D" which I try to convert, has unit_PNGSupport with method: function TPNGProcessor.SwapLong( const aValue: Cardinal )

Re: [fpc-pascal] x86 asm bswap

2013-02-06 Thread Vincent Snijders
2013/2/6 Juha Manninen : > I read that bswap is used for converting big-endian (Intel) format to > little-endian (Motorolla etc.) format. > However this a an old Delphi app, Win32 only. I am confused. Intel i386 is little endian. Motorola Powerpc is big endian. Vincent ___