Re: [fpc-devel] Local procedures as procedural parameter

2005-03-18 Thread DrDiettrich
[EMAIL PROTECTED] wrote: Let me add some more thoughts about procedural types: - I like the ability to declare procedural types, the ISO convention looks like one of the many incredible C hacks to me :-( But it is standard pascal. And we need to support those zillion lines of code

Re: [fpc-devel] Friend classes?

2005-03-18 Thread Michael Van Canneyt
On Wed, 16 Mar 2005, DrDiettrich wrote: Michael Van Canneyt wrote: type TFriendClass = class(TNotMyClass); This is a simple descendent. Yes and no. The only purpose of this declaration is to get access to the protected members of the class, not to extend the class in any way. Yes. This is OK, no

Re: [fpc-devel] Changing transaction properties specific to IB when using IBConnection

2005-03-18 Thread Michael Van Canneyt
On Fri, 18 Mar 2005, Michalis Kamburelis wrote: Hi I played with Sqldb and IBConnection units, and now I see the real benefit of them: there's only one dataset and one transaction class for all Firebird, PostgreSQL and MySQL bindings. Each specific database binding must only introduce new

Re: [fpc-devel] Friend classes?

2005-03-18 Thread Ales Katona
Michael Van Canneyt wrote / napĂ­sal (a): On Wed, 16 Mar 2005, DrDiettrich wrote: Michael Van Canneyt wrote: type TFriendClass = class(TNotMyClass); This is a simple descendent. Yes and no. The only purpose of this declaration is to get access to the protected members of the class, not to

[fpc-devel] netdb, sockets, endianess

2005-03-18 Thread Marco van de Voort
Since I'm working on networking support again, I cleaned up the FCL socket units (ssockets, fpsock, netdb, resolve) a bit. Mostly I did some order (endinaness) fixes, and removed the multitude of conversion routines (some of which quite faulty). I would like to call upon all users to

[fpc-devel] Remember bug 3221

2005-03-18 Thread Martin Schreiber
Please remember bug 3221 (memory leak by dynamic string as out parameter), the problem still exists on fpc 1.9.9. Martin ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel

Re: [fpc-devel] Create installer for MacOSX

2005-03-18 Thread Vincent Snijders
Jonas Maebe wrote: On 14 Mar 2005, at 22:40, Vincent Snijders wrote: I want to create a lazarus installer package for darwin (MacOSX). What tool should I use to create such a package? What tool does fpc use for packaging the compiler for MacOSX? I saw on sourceforge the MacOSX package is a .dmg

Re: [fpc-devel] Create installer for MacOSX

2005-03-18 Thread Jonas Maebe
On 18 Mar 2005, at 15:10, Vincent Snijders wrote: Can you add the PackageMaker (script) file to cvs, just like is done forfpc.ist and fpc.spec? Not now, cvs.freepascal.org has been compromised. Note that you can use that (binary) file only with PackageMaker afaik, not with any command line

[fpc-devel] Fix to IBConnection field names

2005-03-18 Thread Michalis Kamburelis
Hi (This is completely unrelated to my previous patches to sqldb and ibconnection.) A simple correction that fixes a problem in IBConnection with field names: in TIBConnection.LoadField you look for field names using SQLDA^.SQLVar[x].AliasName, but in TIBConnection.AddFieldDefs you create fields

Re: [fpc-devel] Changing transaction properties specific to IB when using IBConnection

2005-03-18 Thread Michalis Kamburelis
Michael Van Canneyt wrote: ... I would propose to introduce a enumerated TSQLTransactionStyle =(tsConcurrent,tsReadCommit, etc.); Then add a TransactionStyle to TSQLTransaction; This must be mapped by the TSQLConnection when creating the handle. ... Indeed, this would be more elegant than my