Re: [fpc-pascal] Converting from seconds to TTime: easiest way?

2012-06-21 Thread Reinier Olislagers
On 20-6-2012 19:59, Sven Barth wrote: Am 20.06.2012 12:16, schrieb Reinier Olislagers: On 20-6-2012 11:53, dhkblas...@zeelandnet.nl wrote: MyTTime := HugeNumberOfSecondsInteger / (3600 * 24); Bedankt, Darius. That's indeed shorter and fairly clear... but the advantage of the other way is

Re: [fpc-pascal] Adding method dynamically to a class

2012-06-21 Thread ik
On Wed, Jun 20, 2012 at 2:15 PM, Inoussa OUEDRAOGO inouss...@gmail.comwrote: Think of a plug-able system. I have an engine, and code to execute. Instead of compile everything to an ELF/PE, I place code on dynamic shard library, and load it on run time when needed. The idea is that the

Re: [fpc-pascal] Creating video files

2012-06-21 Thread Gerhard Scholz
VirtualDub(Mod) accepts as input a series of BMP (name000.bmp,name001.bmp,name002.bmp,...) You can give it a script file for execution. The best is to do it by hand once and save the script, then you know what your program must generate. - Original Message - From: Krzysztof

[fpc-pascal] Win64 SEH patch fixes some Firebird embedded bugs

2012-06-21 Thread Reinier Olislagers
Just compiled FPC with -dTEST_WIN64_SEH and noticed that fixes bugs 17360 Firebird database exceptions don't generate EIBDatabaseError but a general exception on 64 bit windows 21581: Firebird embedded x64 Windows: CreateDB fails with an exception It may well also remove the need for the nasty

Re: [fpc-pascal] Creating video files

2012-06-21 Thread Bernd
2012/6/20 Krzysztof dib...@wp.pl: Ffmpeg looks similar like Mencoder project. So I have some solutions for output encoding, but there is a problem how to send frames to this encoders. Mencoder can encode video from series of PNG files, but can't find similar option in ffmpeg. ffmpeg can read

[fpc-pascal] OAuthv1/Twitter library/application ready; was: EncodeURLElement, underscore and RFC3986?

2012-06-21 Thread Reinier Olislagers
(Cross-posted to Synapse and FPC mailing lists) On 11-6-2012 16:38, Lukas Gebauer wrote: BTW: OAuth library will be interesting, feel free to inform here about it. I've finished a basic Twitter application and OAuth v1 library under an MIT license (happy to relicense under the Synapse

Re: [fpc-pascal] Win64 SEH patch fixes some Firebird embedded bugs

2012-06-21 Thread Toru Takubo
(2012/06/21 18:33), Reinier Olislagers wrote: It may well also remove the need for the nasty workaround applied in bug 19116: RunError(32) when reading BLOB with IBConnection on Win64 ... which might also be interesting given Marco's remark: * While reading up on the previous issue I saw

Re: [fpc-pascal] OAuthv1/Twitter library/application ready; was: EncodeURLElement, underscore and RFC3986?

2012-06-21 Thread Marcos Douglas
On Thu, Jun 21, 2012 at 10:33 AM, Reinier Olislagers reinierolislag...@gmail.com wrote: (Cross-posted to Synapse and FPC mailing lists) On 11-6-2012 16:38, Lukas Gebauer wrote: BTW: OAuth library will be interesting, feel free to inform here about it. I've finished a basic Twitter

Re: [fpc-pascal] OAuthv1/Twitter library/application ready; was: EncodeURLElement, underscore and RFC3986?

2012-06-21 Thread Graeme Geldenhuys
On Thursday, 21 June 2012, Marcos Douglas wrote: I can't clone the sources: $ git clone https://bitbucket.org/reiniero/fpctwit Cloning into fpctwit... fatal: https://bitbucket.org/reiniero/fpctwit/info/refs not found: did you run git update-server-info on the server? He did say he was

Re: [fpc-pascal] OAuthv1/Twitter library/application ready; was: EncodeURLElement, underscore and RFC3986?

2012-06-21 Thread Marcos Douglas
On Thu, Jun 21, 2012 at 11:14 AM, Graeme Geldenhuys graemeg.li...@gmail.com wrote: On Thursday, 21 June 2012, Marcos Douglas wrote: I can't clone the sources: $ git clone https://bitbucket.org/reiniero/fpctwit Cloning into fpctwit... fatal: https://bitbucket.org/reiniero/fpctwit/info/refs

Re: [fpc-pascal] DOM and namespaces with prefix

2012-06-21 Thread Daniel Gaspary
On Tue, Jun 19, 2012 at 10:11 AM, Torsten Bonde Christiansen t...@epidata.info wrote: How can i get the xmlns:a=ddi:archive:3_0 without the additional attribute AND maintain the namespace + prefix in later elements? Hi. It's hard to test without a (small please) comlete XML example because the

[fpc-pascal] Postgresql Concurrent Transactions

2012-06-21 Thread Andrew Brunner
Hi there, I'm seeking help to address an issue I presently have with a Server application that uses TPostgres components. Each manager thread has its own Connection, Transaction, and TQuery. Each manager can handle potentially thousands of sockets Each server instance (1 process) can have up to

Re: [fpc-pascal] DOM and namespaces with prefix

2012-06-21 Thread Daniel Gaspary
I have created a bug report[1] with an example of malformed file. [1] http://bugs.freepascal.org/view.php?id=22299 On Thu, Jun 21, 2012 at 3:51 PM, Daniel Gaspary dgasp...@gmail.com wrote: On Tue, Jun 19, 2012 at 10:11 AM, Torsten Bonde Christiansen t...@epidata.info wrote: How can i get the