Re: [fpc-pascal] GetTableNames in TSQLConnection / Postgresql

2012-12-18 Thread michael . vancanneyt
On Tue, 18 Dec 2012, John wrote: TSchemaOption = (soPrependSchemaName,soIncludeSystemObjects); TSchemaOptions = set of TSchemaOption; Procedure GetTableNames(List : TStrings; Options : TSchemaOptions = []); I am not interested in schema information, but I can imagine some people are (the o

Re: [fpc-pascal] Documentation

2012-12-18 Thread Graeme Geldenhuys
On 18/12/12 01:25, luciano de souza wrote: > But my question is: FPDoc can be used without > an IDE? Yes, fpdoc is a command line tool, just the fpc (The free pascal compiler). Some get confused between the fpdoc program, and the FPDoc Editor (add-on) included within Lazarus IDE. The latter is us

[fpc-pascal] Re: Documentation

2012-12-18 Thread Reinier Olislagers
On 18-12-2012 0:58, Graeme Geldenhuys wrote: > There are other issues with the FPDoc Editor dialog though. Off the top > of my head: As I think I said last year, there's also Laz DE/Lazarus Documentation Editor. As long as we're suggesting improvements, I'd like LazDE to 1. show a formatted view

[fpc-pascal] Re: Documentation

2012-12-18 Thread Reinier Olislagers
On 18-12-2012 11:19, Reinier Olislagers wrote: > Meanwhile I've updated the fpdoc code some with cosmetic changes/better > warning messages: > http://bugs.freepascal.org/view.php?id=23506 > ... so if anybody is interested ;) Thanks, Michael! ___ fpc-pasc

Re: [fpc-pascal] Re: Documentation

2012-12-18 Thread michael . vancanneyt
On Tue, 18 Dec 2012, Reinier Olislagers wrote: On 18-12-2012 0:58, Graeme Geldenhuys wrote: There are other issues with the FPDoc Editor dialog though. Off the top of my head: As I think I said last year, there's also Laz DE/Lazarus Documentation Editor. As long as we're suggesting improve

Re: [fpc-pascal] Re: Documentation

2012-12-18 Thread Reinier Olislagers
On 18-12-2012 12:15, michael.vancann...@wisa.be wrote: > On Tue, 18 Dec 2012, Reinier Olislagers wrote: >> However, fpdoc documentation writing is a huge chore for me compared to >> writing in the wiki so I've decided it's more productive to get my >> documentation done on the wiki. > > A wiki is

Re: [fpc-pascal] Re: Documentation

2012-12-18 Thread Marco van de Voort
In our previous episode, Reinier Olislagers said: > However, fpdoc documentation writing is a huge chore for me compared to > writing in the wiki so I've decided it's more productive to get my > documentation done on the wiki. Wiki is not versioned, not context sensitive etc. It is a perfect place

Re: [fpc-pascal] Re: Documentation

2012-12-18 Thread Graeme Geldenhuys
On 18/12/12 11:15, michael.vancann...@wisa.be wrote: > > I applied the patch, thank you ! While we are at it, here is another patch for fpdoc - lying around for a while. http://bugs.freepascal.org/view.php?id=23425 Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit usin

Re: [fpc-pascal] Re: Documentation

2012-12-18 Thread michael . vancanneyt
On Tue, 18 Dec 2012, Graeme Geldenhuys wrote: On 18/12/12 11:15, michael.vancann...@wisa.be wrote: I applied the patch, thank you ! While we are at it, here is another patch for fpdoc - lying around for a while. http://bugs.freepascal.org/view.php?id=23425 Yes, I had looked at it, but

Re: [fpc-pascal] Re: Documentation

2012-12-18 Thread Marco van de Voort
In our previous episode, Graeme Geldenhuys said: > > I applied the patch, thank you ! > > While we are at it, here is another patch for fpdoc - lying around for a > while. > > http://bugs.freepascal.org/view.php?id=23425 I also thought about that, but layouting the interface inheritance info i

Re: [fpc-pascal] GetTableNames in TSQLConnection / Postgresql

2012-12-18 Thread John
On 12/18/2012 07:35 PM, michael.vancann...@wisa.be wrote: MySQL, Firebird, MS-access, sqlite simply do not have schema as Oracle has. In PostGres or MS-SQL it's optional, to my knowledge (not an expert). For the record, in Postgres, it IS optional, in the sense that you can make all your

Re: [fpc-pascal] GetTableNames in TSQLConnection / Postgresql

2012-12-18 Thread Michael Van Canneyt
On Wed, 19 Dec 2012, John wrote: On 12/18/2012 07:35 PM, michael.vancann...@wisa.be wrote: MySQL, Firebird, MS-access, sqlite simply do not have schema as Oracle has. In PostGres or MS-SQL it's optional, to my knowledge (not an expert). For the record, in Postgres, it IS optional, in t

Re: [fpc-pascal] Re: Documentation

2012-12-18 Thread Graeme Geldenhuys
On 18/12/12 13:28, Marco van de Voort wrote: > > I also thought about that, but layouting the interface inheritance info is > harder. It works here for Interface inheritance too. But I didn't have much code to test it with. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolki

[fpc-pascal] Submitted paszlib/zipper documentation & fpdoc stripper questions

2012-12-18 Thread Reinier Olislagers
Hi all, Finally got my FPC zip/unzip unit documentation in shape and submitted it as 23508 [Patch] Zipper documentation A long time ago, I mistakenly generated an fpdoc skeleton with private members etc visible for that unit doc and started documenting. I wrote this program to get rid again of a

Re: [fpc-pascal] Class procedural type

2012-12-18 Thread Ewald
Once upon a time, on 12/18/2012 06:42 AM to be precise, Sven Barth said: > > Am 17.12.2012 22:27 schrieb "Ewald" >: > > > > It should not contain this hidden parameter? In that case the above > code (with the intermediate pointer cast) would prove correct? (of > cours

Re:[fpc-pascal] Bitpacked dynamic array support

2012-12-18 Thread denisgolovan
Hi Flávio > You can use sets or TBits. Unless you mean packed arrays of byte or > word, etc. In this case you just declare "myvar: packed array of > byte". > > -Flávio I meant bitpacked arrays of boolean. That's when boolean occupies only one bit in memory. Yes, I can use TBits, but unfortunate

[fpc-pascal] Codetools and C-style constructs

2012-12-18 Thread Howard Page-Clark
Looking through some of the codetools sources makes me wonder if the codetools overlooks some C-style FPC operators. KeywordFuncLists.pas, for instance, seems not to know about >>, <<, +=, -=, *=, /=. Or are these operators are catered for elsewhere in the codetools? Howard ___

Re: [fpc-pascal] Codetools and C-style constructs

2012-12-18 Thread Mattias Gaertner
On Tue, 18 Dec 2012 21:13:22 + Howard Page-Clark wrote: > Looking through some of the codetools sources makes me wonder if the > codetools overlooks some C-style FPC operators. > > KeywordFuncLists.pas, for instance, seems not to know about >>, <<, > +=, -=, *=, /=. I added the << and >>.

Re: [fpc-pascal] Codetools and C-style constructs

2012-12-18 Thread Howard Page-Clark
On 18/12/12 10:56, Mattias Gaertner wrote: Looking through some of the codetools sources makes me wonder if the codetools overlooks some C-style FPC operators. KeywordFuncLists.pas, for instance, seems not to know about >>, <<, +=, -=, *=, /=. I added the << and >>. The others are assignment