[fpc-pascal] Re: Visitor pattern

2011-01-28 Thread Graeme Geldenhuys
Op 2011-01-24 12:35, Juha Manninen het geskryf: Is this visitor pattern something that I should care about? I have programmed quite much and never needed it. The Visitor pattern is extremely handy. tiOPF use in for so much, from find objects, changing properties over many objects, processing

[fpc-pascal] Re: Weird interface behavior

2011-01-28 Thread leledumbo
Hmm... maybe Delphi compatibility has higher priority -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Weird-interface-behavior-tp3353651p3361059.html Sent from the Free Pascal - General mailing list archive at Nabble.com.

[fpc-pascal] Re: Weird interface behavior

2011-01-28 Thread Graeme Geldenhuys
Op 2011-01-28 10:00, leledumbo het geskryf: Hmm... maybe Delphi compatibility has higher priority Dictatorship was never a good thing... ;-) Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/

Re: [fpc-pascal] Issue 0012528: TFPList exception with no excpetion stack printed

2011-01-28 Thread michael . vancanneyt
On Fri, 28 Jan 2011, cobines wrote: Hello, Can someone comment on this issue? It still exists in current FPC trunk. It seems the patch posted there fixes the issue. Is the patch not good? The patch is good, but I suspect a more general patch is needed. Why is raise ... at needed instead

Re: [fpc-pascal] Re: Permuted index (KWIC) of function descriptions

2011-01-28 Thread michael . vancanneyt
On Fri, 28 Jan 2011, Graeme Geldenhuys wrote: Op 2011-01-26 14:06, michael.vancann...@wisa.be het geskryf: That said, I am still looking for a good search engine *written in Object pascal* for the FPC html docs. Any hints/tips are appreciated. What exactly do you want to use it for? Or

Re: [fpc-pascal] fpcmake and 64-bit Ubuntu

2011-01-28 Thread Jonas Maebe
On 28 Jan 2011, at 04:17, Timothy Groves wrote: Any attempt to invoke fpcmake results in the following error: Processing Makefile.fpc Error: Target linux, package rtl not found fpcmake requires the FPC sources to be installed, and the environment variable FPCDIR to be set so it points to

Re: [fpc-pascal] Re: Permuted index (KWIC) of function descriptions

2011-01-28 Thread Marco van de Voort
In our previous episode, Graeme Geldenhuys said: As far as I remember the chm search only indexes whole words. So searching for space would not return LotsOfSpace I'm not sure if it would find SpaceFoo since it starts with space. That's the problem with CHM viewers, they are all in

[fpc-pascal] Re: Permuted index (KWIC) of function descriptions

2011-01-28 Thread Graeme Geldenhuys
Op 2011-01-28 11:18, michael.vancann...@wisa.be het geskryf: What exactly do you want to use it for? Or How? Doesn't Google index the online HTML already? Probably, but I don't want to rely on Google. In that case, there is always Bing too. ;-) For those wanting to use Google, here is the

Re: [fpc-pascal] Re: Permuted index (KWIC) of function descriptions

2011-01-28 Thread michael . vancanneyt
On Fri, 28 Jan 2011, Graeme Geldenhuys wrote: Op 2011-01-28 11:18, michael.vancann...@wisa.be het geskryf: What exactly do you want to use it for? Or How? Doesn't Google index the online HTML already? Probably, but I don't want to rely on Google. In that case, there is always Bing too.

Re[2]: [fpc-pascal] Re: Permuted index (KWIC) of function descriptions

2011-01-28 Thread José Mejuto
Hello FPC-Pascal, Friday, January 28, 2011, 10:18:06 AM, you wrote: Isn't DocView's (INF help) searching or some CHM viewer (your mileage may vary depending which viewer and platform you use) good enough for searching the help? mvwb Not if I want to have it as a CGI on the server. Do you

[fpc-pascal] FPC + Haiku

2011-01-28 Thread Ben
Hi, Anybody here using FPC on Haiku? If so, how well does it work compared to under Windows or Linux? -- Ben. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Re: Weird interface behavior

2011-01-28 Thread Sven Barth
Am 28.01.2011 09:00, schrieb leledumbo: Hmm... maybe Delphi compatibility has higher priority It could be done mode dependant: mode Delphi: COM interfaces mode ObjFPC: CORBA interfaces (I don't know how that interferes with backwards compatibility in RTL, FCL and LCL though) Regards, Sven

Re: [fpc-pascal] FPC + Haiku

2011-01-28 Thread Matt Emson
On 28/01/2011 11:08, Ben wrote: Hi, Anybody here using FPC on Haiku? If so, how well does it work compared to under Windows or Linux? It used to work well enough under BeOS R5, but there was always an issue with the C++ nature of the Be API. Haiku seems to have a Qt port, so you might get

Re: [fpc-pascal] FPC + Haiku

2011-01-28 Thread Marco van de Voort
In our previous episode, Matt Emson said: Anybody here using FPC on Haiku? If so, how well does it work compared to under Windows or Linux? It used to work well enough under BeOS R5, but there was always an issue with the C++ nature of the Be API. Haiku seems to have a Qt port, so you

RE: [fpc-pascal] Internal error 2006012201 while cross compiling

2011-01-28 Thread Julien Devillers
no here's the end of the -va log : [0.609] procedure/function Unassigned:UnicodeString; [0.609] ENDIF FPCOLEVARIANT found [0.625] Internal error 2006012201 [0.625] Searching file .\src\MyKit.lib\u_MyKit.pas... found [0.641] Compilation aborted Error: d:\pp\bin\x86_64-win64\ppcx64.exe

Re: [fpc-pascal] Internal error 2006012201 while cross compiling

2011-01-28 Thread Jonas Maebe
On 28 Jan 2011, at 14:33, Julien Devillers wrote: no here's the end of the -va log : [0.609] procedure/function Unassigned:UnicodeString; [0.609] ENDIF FPCOLEVARIANT found [0.625] Internal error 2006012201 The problem with -va is that the time stamps (the numbers between the square

Re: [fpc-pascal] Converting .doc and/or .html to .pdf

2011-01-28 Thread Marcos Douglas
On Sun, Jan 16, 2011 at 11:44 AM, Marcos Douglas m...@delfire.net wrote: On Sat, Jan 15, 2011 at 7:39 PM, Andreas Schneider ak...@gmx.de wrote: On Saturday, January 15, 2011 22:18 Marcos Douglas wrote: Hi, There are libs, in Pascal,  to convert .doc and/or .html files to .pdf? I   don't  

Re: [fpc-pascal] Converting .doc and/or .html to .pdf

2011-01-28 Thread Felipe Monteiro de Carvalho
Another solution is that you could start a generic library for handling formatted text documents. It will certainly be harder, and take more time, but the end result will be much better and it won't require having OpenOffice installed (a rather huge thing to have as a dependency). We already have

Re: [fpc-pascal] Converting .doc and/or .html to .pdf

2011-01-28 Thread Marcos Douglas
On Fri, Jan 28, 2011 at 12:38 PM, Felipe Monteiro de Carvalho felipemonteiro.carva...@gmail.com wrote: Another solution is that you could start a generic library for handling formatted text documents. It will certainly be harder, and take more time, but the end result will be much better and it

Re: [fpc-pascal] Re: Permuted index (KWIC) of function descriptions

2011-01-28 Thread Tomas Hajny
On Fri, January 28, 2011 10:29, Marco van de Voort wrote: In our previous episode, Graeme Geldenhuys said: As far as I remember the chm search only indexes whole words. So searching for space would not return LotsOfSpace I'm not sure if it would find SpaceFoo since it starts with space.

[fpc-pascal] Compiler directive: Shared Library

2011-01-28 Thread dibo20
Hi, I'm looking at: http://www.freepascal.org/docs-html/prog/progch1.html ... and can't find any directive which tell me when I'm compiling a shared library. For example: unit1 {$IFDEF shared_lib} Foo: Integer; {$ELSE} Foo: Byte; {$ENDIF} I always must remember to add own flag in

Re: [fpc-pascal] Re: Permuted index (KWIC) of function descriptions

2011-01-28 Thread Ben Smith
2011/1/28 Tomas Hajny existence of good CHM viewers for Linux, No such viewers exist. :-) time at least ;-) ) or support of this or that format in our textmode IDE. Is there actually somebody that still uses a text mode IDE for day to day development? I couldn't justify spending any time on

Re: [fpc-pascal] Issue 0012528: TFPList exception with no excpetion stack printed

2011-01-28 Thread cobines
2011/1/28 michael.vancann...@wisa.be: On Fri, 28 Jan 2011, cobines wrote: Hello, Can someone comment on this issue? It still exists in current FPC trunk. It seems the patch posted there fixes the issue. Is the patch not good? The patch is good, but I suspect a more general patch is

[fpc-pascal] SNMP and MIBs

2011-01-28 Thread Mark Morgan Lloyd
Noted previous mention of TSNMPSend etc., but has anybody ever looked at compiling an MIB into an FPC object for use with RTTI? -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]

Re: [fpc-pascal] Compiler directive: Shared Library

2011-01-28 Thread Jonas Maebe
On 28 Jan 2011, at 20:49, dib...@wp.pl wrote: I'm looking at: http://www.freepascal.org/docs-html/prog/progch1.html ... and can't find any directive which tell me when I'm compiling a shared library. For example: unit1 {$IFDEF shared_lib} Foo: Integer; {$ELSE} Foo: Byte;

Re: [fpc-pascal] Converting .doc and/or .html to .pdf

2011-01-28 Thread Andreas Schneider
On Friday, January 28, 2011 15:52 Marcos Douglas wrote: You're right. The command line is more simple. Thanks for the tip, I will try this. I have not found Since you also mentioned that you need to access it from ASP, I guess that one might offer you the most flexibility:

Re: [fpc-pascal] Converting .doc and/or .html to .pdf

2011-01-28 Thread Marcos Douglas
On Fri, Jan 28, 2011 at 6:27 PM, Andreas Schneider ak...@gmx.de wrote: On Friday, January 28, 2011 15:52 Marcos Douglas wrote: You're right. The command line is more simple. Thanks for the tip, I will try this. I have not found Since  you also mentioned that you need to access it from ASP,