Re: [Lazarus] Grey windows in Lazarus IDE with GTK2 in Mint 17 + KDE

2014-08-23 Thread Petr Hlozek
I'm not sure that it's KWin problem. This problem have only apps written in Lazarus and Lazarus itself. My app has the same problem :(. Petr > Ok, here it is gtk 2.24.23. > Any known workarounds? I tried changing the GTK theme in KDE but no > effect. > > > Probably a Kwin problem. > A workaround

Re: [Lazarus] App crash at TScreen.GetCustomFormsZOrdered

2014-06-27 Thread Petr Hlozek
>> I added to all autocreated and used form into OnDestroy what you've >> writen to me, in Project -> Option -> Debugging checked the -gh >> option, Run -> Ru parameters in Environment tab added HEAPTRC >> variable. >> >> After the crash, the callstack window shows >> >> #0 HEAPTRC_TRACEFREEMEMSIZ

Re: [Lazarus] App crash at TScreen.GetCustomFormsZOrdered

2014-06-27 Thread Petr Hlozek
0005DDD29 The same like before :( Petr 2014-06-27 11:55 GMT+02:00 Mattias Gaertner : > On Fri, 27 Jun 2014 11:33:53 +0200 > Petr Hlozek wrote: > >> Hi, >> >> I have an Linux app, it has over 76k lines of code, 78 Forms and uses >> threads. >> After

[Lazarus] App crash at TScreen.GetCustomFormsZOrdered

2014-06-27 Thread Petr Hlozek
Hi, I have an Linux app, it has over 76k lines of code, 78 Forms and uses threads. After I close the app, it always crashes in function TScreen.GetCustomFormsZOrdered(Index: Integer): TCustomForm; begin Result := TCustomForm(FCustomFormsZOrdered[Index]); end; The index variable value is someth

[Lazarus] Lazarus project and git workflow

2014-06-26 Thread Petr Hlozek
Hi, if two or more developers work on a project, they sometimes edit the same form. Git can't solve the changes and you have to do it by hand. Even it's better to use the form the other developer and add the changes again by hand. It's impossible to solve the conflict. What do you do when you hav

Re: [Lazarus] Packages of Lazarus 1.2 and FPC 2.6.4 for Ubuntu 14.04

2014-05-02 Thread Petr Hlozek
Yes, you are right. Could you send me link to a patch, please? I'll add it to debian build process. Thank you! Petr 2014-05-02 14:45 GMT+02:00 Marco van de Voort : > On Fri, May 02, 2014 at 11:30:06AM +0200, Petr Hlozek wrote: >> Because I have to work with version that is in Deb

Re: [Lazarus] Packages of Lazarus 1.2 and FPC 2.6.4 for Ubuntu 14.04

2014-05-02 Thread Petr Hlozek
Because I have to work with version that is in Debian. My app is builded on Launchpad and Debian build system. After Lazarus 1.2.2 appears in Debian, I'll build packages for Ubuntu 14.04 as well. Petr 2014-05-02 8:31 GMT+02:00 leledumbo : >> https://launchpad.net/~ok2cqr/+archive/lazarus > > Why

[Lazarus] Packages of Lazarus 1.2 and FPC 2.6.4 for Ubuntu 14.04

2014-04-30 Thread Petr Hlozek
Hi, I've created packages for Ubuntu 14.04. https://launchpad.net/~ok2cqr/+archive/lazarus I'll try to keep version the same like in Sid. Petr -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mail

Re: [Lazarus] SQLTransaction won't start

2014-03-16 Thread Petr Hlozek
Thank you Michael! It there any way how to find out where was the problem? I'd like to backport the fix to the version I use. Petr 2014-03-16 12:36 GMT+01:00 Michael Van Canneyt : > > > On Sat, 15 Mar 2014, Petr Hlozek wrote: > >> Unfortunately this problem is only when

Re: [Lazarus] SQLTransaction won't start

2014-03-15 Thread Petr Hlozek
Marc Santhoff : > On Sa, 2014-03-15 at 07:23 +0100, Petr Hlozek wrote: >> I wanted to find out where is the problem and started with breakpoint >> on db := TMySQL55Connection.Create. It went fine until it reached >> db.Open line. After I hit F8 on this line, it hangs. Nex

Re: [Lazarus] SQLTransaction won't start

2014-03-14 Thread Petr Hlozek
" did not return any result. Very sad :(. It seems I have to try it in virtual machine with latest FPC and Lazarus. It will be interesting but I can't use it. It won't be part of Ubuntu 12.04, it's not in Debian, yet :(. Petr 2014-03-15 7:13 GMT+01:00 silvioprog : > 20

Re: [Lazarus] SQLTransaction won't start

2014-03-14 Thread Petr Hlozek
:(. Petr 2014-03-14 19:46 GMT+01:00 silvioprog : > 2014-03-14 11:55 GMT-03:00 Petr Hlozek : > >> Yes, I did. It's in uses like mysql55conn. >> >> Petr > > > Hm... Try to set a SQL in your query, after, use the q.Open (the > starttransaction will automaticaly

Re: [Lazarus] SQLTransaction won't start

2014-03-14 Thread Petr Hlozek
It won't start even when I execute a query. After q.open the transaction is still not active. I think, it should start after StartTransaction is called, not after first query. Petr 2014-03-14 19:39 GMT+01:00 Marc Santhoff : > On Fr, 2014-03-14 at 18:37 +0100, Petr Hlozek wrote: >>

Re: [Lazarus] SQLTransaction won't start

2014-03-14 Thread Petr Hlozek
It's the name of database. My testing database is called "test". I posted the table create command to infom about db engine I use for it. Petr 2014-03-14 17:25 GMT+01:00 Marc Santhoff : > On Fr, 2014-03-14 at 12:20 +0100, Petr Hlozek wrote: >> Hi, >> >> I use

Re: [Lazarus] SQLTransaction won't start

2014-03-14 Thread Petr Hlozek
Yes, I did. It's in uses like mysql55conn. Petr 2014-03-14 15:34 GMT+01:00 silvioprog : > 2014-03-14 8:20 GMT-03:00 Petr Hlozek : > >> Hi, >> >> I use TMySQL55Connection, TSQLTransaction and TSQLQuery. I always get >> Transaction is NOT active. >> &g

[Lazarus] SQLTransaction won't start

2014-03-14 Thread Petr Hlozek
Hi, I use TMySQL55Connection, TSQLTransaction and TSQLQuery. I always get Transaction is NOT active. here is the code: procedure TForm1.Button1Click(Sender: TObject); var db : TMySQL55Connection; q : TSQLQuery; tr : TSQLTransaction; begin db := TMySQL55Connection.Create(nil); q := TS

Re: [Lazarus] Compile works, building DEB package fails

2014-01-15 Thread Petr Hlozek
It works! I added fp-units-math to package dependencies and it works! That's great, I can release new version. Thank you for your help! Petr 2014/1/15 Marco van de Voort : > On Wed, Jan 15, 2014 at 10:30:58AM +0100, Petr Hlozek wrote: > >> 800 179.416/188.992 Kb Used >>

Re: [Lazarus] Compile works, building DEB package fails

2014-01-15 Thread Petr Hlozek
2014/1/15 Mattias Gaertner : > > >> Petr Hlozek hat am 15. Januar 2014 um 10:30 geschrieben: >> [...] >> I'm developing my app in Lazarus for Linux. Now using version 0.9.30 >> because it's part of Ubuntu 12.04 repositories. > > Hint: The Lazarus

Re: [Lazarus] Compile works, building DEB package fails

2014-01-15 Thread Petr Hlozek
2014/1/15 Marco van de Voort : > On Wed, Jan 15, 2014 at 10:30:58AM +0100, Petr Hlozek wrote: > >> 800 179.416/188.992 Kb Used >> 900 179.852/188.992 Kb Used >> gline2.pas(896,6) Note: Local variable "z" not used >> Fatal: Can't find unit typ used by

[Lazarus] Compile works, building DEB package fails

2014-01-15 Thread Petr Hlozek
Hello, I'm developing my app in Lazarus for Linux. Now using version 0.9.30 because it's part of Ubuntu 12.04 repositories. I've created makefile for the project (https://github.com/ok2cqr/cqrlog/blob/master/Makefile) and it has been working for long time without any problem. Unfortunately, recen

Re: [Lazarus] Ubuntu 14.04 LTS - Any plans to include 1.0.x on it?

2014-01-14 Thread Petr Hlozek
Petr 2014/1/3 Lukasz Sokol : > On 02/01/14 21:42, Juha Manninen wrote: >> On Thu, Jan 2, 2014 at 11:03 PM, Petr Hlozek wrote: >>> It would be great to have latest 1.0.x, or even 1.2 in Ubuntu 14.04 >>> repository. >> >> You must tell that to Ubuntu ma

Re: [Lazarus] Ubuntu 14.04 LTS - Any plans to include 1.0.x on it?

2014-01-02 Thread Petr Hlozek
It would be great to have latest 1.0.x, or even 1.2 in Ubuntu 14.04 repository. Yes, I know I can compile my own version but there is another big problem. My app is distributed as source package and Launchpad builds binary version. If the 14.04 won't include latest version, I can't use it :(. I jus

Re: [Lazarus] RE : blank window

2012-01-26 Thread Petr Hlozek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I have the same problem and bugreport is here: http://bugs.freepascal.org/view.php?id=21129 Every app using threads hangs when starts. Even app with simple thread and one button. If I compile the app under Ubuntu 11.10 and try to run it in 12

[Lazarus] How to get UTC time

2011-07-24 Thread Petr Hlozek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I need to get UTC time from my system. Using Ubuntu 10.04 with fpc 2.4.0. Trying this function: function utc_now : TDateTime; var timeval: TTimeVal; timezone: PTimeZone; a: Double; begin TimeZone := nil; fpGetTimeOfDay (@TimeVal, Ti

[Lazarus] TIpHtmlPanel error when showing html table

2011-06-18 Thread Petr Hlozek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I'm using TIpHtmlPanel to show simple html table. But always it writes this error into terminal: ERROR: [TGtk2WidgetSet.GetSysColor] Bad Value: 32. Valid Range between 0 and 31 $007C0A1D line 5137 of gtk2winapi.inc $006BA7C

Re: [Lazarus] Testing 0.9.29

2011-02-17 Thread Petr Hlozek
Great work Vincent! I just added repo to my xubuntu installion and it is working very well. My project with over 80k lines of code and 67 forms compiled without problem and program is running as expected. Thank you for great work. I thing this release will be the best ever. Petr Dne 16.2.2011

Re: [Lazarus] Status of GDB and Lazarus/FPC debugging threaded apps

2011-01-11 Thread Petr Hlozek
I had the same problem and solved it by using DebugLn from lclproc unit. It is uncomfortable but is is working. Or just using a few Writeln and run program from console to see what is happening. Petr Dne 10.1.2011 15:41, Andrew Brunner napsal(a): Debugging under Linux (Ubuntu) is the largest

Re: [Lazarus] Call for testing: Lazarus 0.9.31 debian packages

2011-01-01 Thread Petr Hlozek
Dne 31.12.2010 16:08, Petr Hlozek napsal(a): Dne 31.12.2010 15:44, Vincent Snijders napsal(a): P.S. let's get back on the topic of this thread, did anybody test the debs created by me? Hello Vincent, I just installed then same packages but for 32bit and it seems that your packages do

Re: [Lazarus] Call for testing: Lazarus 0.9.31 debian packages

2010-12-31 Thread Petr Hlozek
Dne 31.12.2010 15:44, Vincent Snijders napsal(a): P.S. let's get back on the topic of this thread, did anybody test the debs created by me? VIncent Hello Vincent, I just installed these debs from your link: lazarus-src-0.9.31_0.9.31-0-20101231_all.deb lazarus-doc-0.9.31_0.9.31-0-20101231_all