Re: [fpc-pascal] Patch/Test BlobSegmentSize was: IBConnection blobsegmentsize irrelevant performance

2011-11-20 Thread Reinier Olislagers
On 19-11-2011 23:36, Michael Van Canneyt wrote: On Sat, 19 Nov 2011, Reinier Olislagers wrote: On 19-11-2011 13:28, Reinier Olislagers wrote: I wonder whether/what changes are required for reading blobs... The following function needs adapting: function

Graeme: FBLIB blob segment size was: [fpc-pascal] Patch/Test BlobSegmentSize

2011-11-20 Thread Reinier Olislagers
On 19-11-2011 23:36, Michael Van Canneyt wrote: On Sat, 19 Nov 2011, Reinier Olislagers wrote: On 19-11-2011 13:28, Reinier Olislagers wrote: Hi list, The Firebird/Interbase ibconnection.pp code has this code in its SetParameters procedure to upload blobs in segments (BlobSegmentSize

Re: [fpc-pascal] using functions from units main programme

2011-11-20 Thread Sven Barth
On 19.11.2011 17:19, John Lee wrote: Surprised this capability hasn't come up before because doesn't sound technically difficult to do. Free Pascal is a static language, as Bernd already wrote and as such the compiler is geared towards this fact. So what you suggest would mean to rewrite

Re: [fpc-pascal] IBConnection blobsegmentsize irrelevant performance

2011-11-20 Thread Graeme Geldenhuys
On 20/11/2011, Michael Van Canneyt michael@... wrote: Well, if Ann Harrison herself says it's irrelevant, then yes. I suspect it would indeed give a serious performance boost :) Showing my ignorance by not knowing who Ann Harrison was, I Google'd her. I found this post on the Firebird website.

Re: Graeme: FBLIB blob segment size was: [fpc-pascal] Patch/Test BlobSegmentSize

2011-11-20 Thread Graeme Geldenhuys
On 20/11/2011, Reinier Olislagers reinierolislagers@ wrote: Had a look at tiOPF FBLib FBLDsql.pas. It defines BLOB_SEGMENT_LEN = 4095; used in both reading writing blob data. ... might/could/should that be enlarged to 65535? Based on the new information, it should be changed. I'll

Re: Graeme: FBLIB blob segment size was: [fpc-pascal] Patch/Test BlobSegmentSize

2011-11-20 Thread Reinier Olislagers
On 20-11-2011 13:06, Graeme Geldenhuys wrote: On 20/11/2011, Reinier Olislagers reinierolislagers@ wrote: Had a look at tiOPF FBLib FBLDsql.pas. It defines BLOB_SEGMENT_LEN = 4095; used in both reading writing blob data. ... might/could/should that be enlarged to 65535? Based on the

[fpc-pascal] Advantages of THTMLPageProducer

2011-11-20 Thread leledumbo
What are the advantages of using THTMLPageProducer compared to directly generate HTML output (or via THTMLWriter)? -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Advantages-of-THTMLPageProducer-tp5008206p5008206.html Sent from the Free Pascal - General mailing

[fpc-pascal] Indy example returns Runtime Error (211)

2011-11-20 Thread Frank Church
I am trying to use an Indy example from stackoverflow - http://stackoverflow.com/questions/576538/delphi-how-to-get-all-local-ipsand I always get Runtime Error (211). It is more of a language issue than a network related question, which is why I am reposting it here. Is it due to some difference

[fpc-pascal] Compilation error in crosscompiling lNet to arm-linux

2011-11-20 Thread Torsten Bonde Christiansen
Hi List. I get the following error when crosscompiling lNet to arm-linux. $ fpc -MObjFPC -Sgim -CX -O2 -Parm -gs -gl -vew -l -Fi../lib/sys -Fu../lib -Fu. -FUlib/arm-linux/ -dLNET_BASE -fPIC lnetbase.pas Free Pascal Compiler version 2.4.4 [2011/11/14] for arm Copyright (c) 1993-2010 by Florian

Re: [fpc-pascal] Compilation error in crosscompiling lNet to arm-linux

2011-11-20 Thread Jonas Maebe
On 20 Nov 2011, at 21:30, Torsten Bonde Christiansen wrote: I get the following error when crosscompiling lNet to arm-linux. $ fpc -MObjFPC -Sgim -CX -O2 -Parm -gs -gl -vew -l -Fi../lib/sys -Fu../lib -Fu. -FUlib/arm-linux/ -dLNET_BASE -fPIC lnetbase.pas Free Pascal Compiler version 2.4.4

Re: [fpc-pascal] Compilation error in crosscompiling lNet to arm-linux

2011-11-20 Thread Torsten Bonde Christiansen
On 2011-11-20 21:36, Jonas Maebe wrote: On 20 Nov 2011, at 21:30, Torsten Bonde Christiansen wrote: I get the following error when crosscompiling lNet to arm-linux. $ fpc -MObjFPC -Sgim -CX -O2 -Parm -gs -gl -vew -l -Fi../lib/sys -Fu../lib -Fu. -FUlib/arm-linux/ -dLNET_BASE -fPIC

Re: [fpc-pascal] Compilation error in crosscompiling lNet to arm-linux

2011-11-20 Thread Jonas Maebe
On 20 Nov 2011, at 21:41, Torsten Bonde Christiansen wrote: On 2011-11-20 21:36, Jonas Maebe wrote: It's a missing feature. The problem is that you are trying to generate PIC ARM code, which is not yet implemented/supported. Is it going to be in 2.6. Perhaps in trunk? It's not

[fpc-pascal] Is there a bug in TStrings.Delimiter handling?

2011-11-20 Thread Frank Church
adapterVals: TStringList adapterVals.Delimiter := ';'; adapterVals.DelimitedText := '192.168.1.2,00:0E:08:E0:7C:ED,Word Space'; adapterVals[0] = '192.168.1.2' adapterVals[1] = '00:0E:08:E0:7C:ED' adapterVals[2] = 'Word' - this should be 'Word Space' Is this a bug or the expected output? If the