Re: [Lazarus] Why is SAX so slow?

2016-12-26 Thread Werner Pamler via Lazarus
Sorry to not answer your question, but, fpspreadsheet looks very intereresting and first time I really looked.. So it is a spreadsheet without using any MS COM or activex to utilize ms excel? A native spreadsheet for lazarus? Cool! Something I'll probably need some time. Any crashes or major is

Re: [Lazarus] Why is SAX so slow?

2016-12-26 Thread Michael Van Canneyt via Lazarus
On Sun, 25 Dec 2016, Lars via Lazarus wrote: On Sun, December 25, 2016 4:47 am, Werner Pamler via Lazarus wrote: Motivated by a user comment on excessive memory consumption of fpspreadsheet Sorry to not answer your question, but, fpspreadsheet looks very intereresting and first time I real

Re: [Lazarus] MariaDB, SQLConnection - Suse vs Debian

2016-12-26 Thread leledumbo via Lazarus
> But when I attempt to access the databases from my project the MySQL 5.6 connector throws an error: "Cannot work with installed MySQL Client version; got 5.5.0 expected 5.6" > > Using TMySQL55Connection doesn't work either: there is a more general > error message, basically "unable to connect".

Re: [Lazarus] Why is SAX so slow?

2016-12-26 Thread Marco van de Voort via Lazarus
On Sun, Dec 25, 2016 at 12:47:15PM +0100, Werner Pamler via Lazarus wrote: > Motivated by a user comment on excessive memory consumption of > fpspreadsheet during reading of large xlsx files > (http://forum.lazarus.freepascal.org/index.php/topic,33292.msg231598.html#msg231598) > > I began to in

[Lazarus] TForm.GetFormImage is broken?

2016-12-26 Thread Fabio Luis Girardi via Lazarus
Hi! Currently I'm trying to use TForm.GetFormImage method to make a minimap (something similar to Sublime Text editor) of a big form (the parent of this big form is a TScrollbox on this application). But, using Qt or GTK2, Lazarus 1.6.3 or trunk, I got the same black bitmap. So, I created a empt

Re: [Lazarus] TForm.GetFormImage is broken?

2016-12-26 Thread Balázs Székely via Lazarus
Hi, Am I using the method GetFormImage right? > Yes, Should I fill a bug report for this issue? > No. Please try this: var bmp: TBitmap; begin bmp:=Form1.GetFormImage; try *bmp.Canvas.Changed;* bmp.SaveToFile(ExtractFilePath(Application.ExeName)+'form.bmp'); finally FreeAndN

Re: [Lazarus] TForm.GetFormImage is broken?

2016-12-26 Thread Fabio Luis Girardi via Lazarus
It worked. Thanks! Why is necessary to call the TCanvas.Changed after TForm1.GetFormImage? 2016-12-26 17:58 GMT-02:00 Balázs Székely : > Hi, > > Am I using the method GetFormImage right? >> > Yes, > > > Should I fill a bug report for this issue? >> > No. > > Please try this: > var > bmp: TBitm

Re: [Lazarus] TForm.GetFormImage is broken?

2016-12-26 Thread Werner Pamler via Lazarus
Please try this: var bmp: TBitmap; begin bmp:=Form1.GetFormImage; try *bmp.Canvas.Changed;* bmp.SaveToFile(ExtractFilePath(Application.ExeName)+'form.bmp'); finally FreeAndNil(bmp); end; end; But Delphi does not require the bmp.Canvas.Changed. Shouldn't it be added to the GetFormI

Re: [Lazarus] MariaDB, SQLConnection - Suse vs Debian

2016-12-26 Thread Gordon Findlay via Lazarus
​​ Thanks - that is the problem. In case anyone else encounters this, the issue is that Debian 8.0 (Jessie) installs Maria 10.0.28, which is MySQL 5.6 compatible, but version 5.5 of libmysqlclient18.so Version 5.6 is available in the jessie-backports repository (see https://packages.debian.org/je