Re: [fpc-devel] TfpHttpClient events

2011-07-12 Thread michael . vancanneyt
On Tue, 12 Jul 2011, Leonardo M. Ramé wrote: I'm using TFpHttpClient for retrieving data from an http server. I'm wondering if anyone is planning to add events to it, such as OnProgress or similar.  It is not planned, but if you provide a patch, I will certainly look at it. Michael.

[fpc-devel] TfpHttpClient events

2011-07-12 Thread Leonardo M . Ramé
I'm using TFpHttpClient for retrieving data from an http server. I'm wondering if anyone is planning to add events to it, such as OnProgress or similar.  Thanks in advance, Leonardo M. Ramé http://leonardorame.blogspot.com___ fpc-devel maillist - fpc-

Re: RE : RE : RE : RE : [fpc-devel] MySQL 5.1 and Double (trouble)

2011-07-12 Thread Marco van de Voort
In our previous episode, Michael Van Canneyt said: > > that is sent to the db and TConnectionName.PrepareStatement doesn't send > > anything to the db. > > The Oracle component fe. uses bindings. > > So does Firebird, and I think postgres, but I'm not sure about the latter. As far as I can see, p

Re: RE : RE : RE : [fpc-devel] MySQL 5.1 and Double (trouble)

2011-07-12 Thread Marco van de Voort
In our previous episode, Ludo Brands said: > But that won't solve the writing of truncated data as long as doubles are > passed as a string to mysql. Moreover, it is x86(_64) only. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.fr

RE : RE : RE : RE : [fpc-devel] Getting fpc to work on Solaris (11)

2011-07-12 Thread Ludo Brands
> > Yes, but you can also do e.g. > > $ ./configure --prefix=/usr/local/mipsel-linux mipsel-linux-gnu > > and what I was wondering was whether the final portion of the > parameter > could, in some cases, "leak" into the binaries e.g. into ld's > embedded > script, resulting in the sort of pr

Re: RE : RE : RE : [fpc-devel] Getting fpc to work on Solaris (11)

2011-07-12 Thread Mark Morgan Lloyd
Ludo Brands wrote: One thing I don't understand is whether there's any scope for the computer type that's optionally fed to binutils's ./configure to appear in the final programs (ld for Solaris etc.). I definitely see references to sol2 as the final part of this parameter in config.sub which

Re: RE : RE : RE : [fpc-devel] MySQL 5.1 and Double (trouble)

2011-07-12 Thread Hans-Peter Diettrich
Ludo Brands schrieb: But that won't solve the writing of truncated data as long as doubles are passed as a string to mysql. Right. When the actual DB interface doesn't allow to transfer floating point values as binary numbers, you should fall back to storing such numbers as text, with the re

RE : RE : RE : [fpc-devel] MySQL 5.1 and Double (trouble)

2011-07-12 Thread Ludo Brands
May be, that this can be fixed in sqldb.pp in function TSQLConnection.GetAsSQLText(Param: TParam) : string; ... -ftFloat: Result := FloatToStr(Param.AsFloat, FSQLFormatSettings); +ftFloat: Result := FloatToStrF(extended(Param.AsFloat), ffGeneral, 16, 0, FSQLFormatSettings); ..

RE : RE : RE : [fpc-devel] Getting fpc to work on Solaris (11)

2011-07-12 Thread Ludo Brands
> One thing I don't understand is whether there's any scope for the > computer type that's optionally fed to binutils's ./configure > to appear > in the final programs (ld for Solaris etc.). I definitely see > references > to sol2 as the final part of this parameter in config.sub which I > be

Re: RE : RE : [fpc-devel] MySQL 5.1 and Double (trouble)

2011-07-12 Thread LacaK
May be, that this can be fixed in sqldb.pp in function TSQLConnection.GetAsSQLText(Param: TParam) : string; ... -ftFloat: Result := FloatToStr(Param.AsFloat, FSQLFormatSettings); +ftFloat: Result := FloatToStrF(extended(Param.AsFloat), ffGeneral, 16, 0, FSQLFormatSettings); ...

Re: RE : RE : [fpc-devel] Getting fpc to work on Solaris (11)

2011-07-12 Thread Mark Morgan Lloyd
Ludo Brands wrote: Can't find any reference to a -sol2 suffix even looking at (SPARC) Solaris 8. For that matter I can't find it in the FPC sources, except very obtusely referring to a version of gcc. Has install put something suspect in fpc.cfg? This is pure ld. Nothing to do with fpc.