Re: [Lazarus] lazbuild: package not found

2019-06-24 Thread Valdas Jankūnas via lazarus
2019-06-24 17:19, Mattias Gaertner via lazarus rašė: On Mon, 24 Jun 2019 16:39:16 +0300 Valdas Jankūnas via lazarus wrote: I tried (using lazbuild v2.1.0 from SVN trunk): :~/Svn/lazarus$ lazbuild --build-ide= --add-package tachartlazaruspkg Error: (lazbuild) package not found

[Lazarus] lazbuild: package not found

2019-06-24 Thread Valdas Jankūnas via lazarus
Hello, I tried (using lazbuild v2.1.0 from SVN trunk): :~/Svn/lazarus$ lazbuild --build-ide= --add-package tachartlazaruspkg Error: (lazbuild) package not found: tachartlazaruspkg Before update from SVN this command worked without problems. Also tried: ~/Svn/lazarus$ lazbuild --verbose-pkgsea

Re: [Lazarus] Unexpected TAChart's axis scaling

2019-01-06 Thread Valdas Jankūnas via lazarus
2019-01-06 19:56, Werner Pamler via lazarus rašė: Am 06.01.2019 um 18:00 schrieb Valdas Jankūnas via lazarus: This is hard to tell from the description alone, there are so many possibilities... You should create a litte project which shows the issue and attach it (please include only source

[Lazarus] Unexpected TAChart's axis scaling

2019-01-06 Thread Valdas Jankūnas via lazarus
Hello, in Test Project I have a Chart with several LineSeries and one AreaSeries. AutoScaleAxisTransform in each Axis is used. I noticed some unexplainable behavior: - in fig_A you can see Chart in "all is OK" state, - if I do Chart1LineSeries1.Active:=FALSE (this series is tied to Axis #0)

[Lazarus] AdjustClientRect is not public

2018-12-19 Thread Valdas Jankūnas via lazarus
Hello, in Wiki (http://wiki.freepascal.org/Autosize_/_Layout#Common_mistake:_Width_instead_of_ClientWidth.2C_AdjustClientRect) code is shown: procedure TForm1.Panel1Resize(Sender: TObject); var r: TRect; begin r := Panel1.ClientRect; Panel1.AdjustClientRect(r); // <<<

Re: [Lazarus] Can't compile Lazarus on Raspberry Pi3 using fpc 3.3.1 and Larzarus r>57100

2018-11-01 Thread Valdas Jankūnas via Lazarus
2018-11-01 23:47, Maxim Ganetsky via Lazarus rašė: 02.11.2018 0:42, Valdas Jankūnas via Lazarus пишет: gtk2proc.inc(4631,15) Fatal: Internal error 200108231 This line indicates FPC bug. Reported: https://bugs.freepascal.org/view.php?id=34495 -- Valdas Jankūnas

[Lazarus] Can't compile Lazarus on Raspberry Pi3 using fpc 3.3.1 and Larzarus r>57100

2018-11-01 Thread Valdas Jankūnas via Lazarus
Hello, I have Raspberry Pi3 B with fresh Raspbian Stretch (image 2018-10-09) on it. I need FPC trunk because a Bug (https://bugs.freepascal.org/view.php?id=32005) so I followed these instructions and successfully compiled FPC from trunk r40152 (using 'OPT="-dFPC_ARMHF"'): https://bigdanzblog.

Re: [Lazarus] Runtime error: INCLOCKED (BUG)

2018-05-18 Thread Valdas Jankūnas via Lazarus
2018-05-11 12:36, Santiago A. via Lazarus rašė: Yes, but I think that it should be considered a FPC bug   TList = array of TElement;   Plist = ^TList;   TSetting = record   list: Plist;   end; const   _List: array [0..1] of TElement = (   (strr: 'a'),   (strr: 'b'));   _S

[Lazarus] Runtime error: INCLOCKED

2018-04-29 Thread Valdas Jankūnas via Lazarus
Hello, I'm stuck. I always getting weird error when executing this code (stripped down to minimum): program project1; type TElement = record strr: String; end; TList = array of TElement; Plist = ^TList; TSetting = record list: Plist; end; const _List: array [0..1] o

[Lazarus] Translation becomes "fuzzy". Why?

2017-07-14 Thread Valdas Jankūnas via Lazarus
Hello, In file "languages/lazaruside.lt.po" resides string: #: lazarusidestrconsts.lischangedscoordofsfromdtodinsides msgid "Changed %s coord of %s from \"%d\" to \"%d\" inside %s." I translate it to: msgstr "„%4:s“ viduje „%1:s“ koordinatė „%0:s“ pakeista iš „%2:d“ į „%3:d“." After revision

Re: [Lazarus] Strange Font.Height

2017-07-09 Thread Valdas Jankūnas via Lazarus
I created simple GUI project and OnCreate added previously mentioned code. Is this a bug in Lazarus? 2017-07-09 18:41 GMT+03:00 Ondrej Pokorny via Lazarus < lazarus@lists.lazarus-ide.org>: > On 09.07.2017 17:14, Valdas Jankūnas via Lazarus wrote: > > PPI of Font differs from re

Re: [Lazarus] Strange Font.Height

2017-07-09 Thread Valdas Jankūnas via Lazarus
2017-07-05 1:39 GMT+03:00 Valdas Jankūnas : > 2017.07.05 00:19, Ondrej Pokorny via Lazarus rašė: > >> Can you test Lazarus 1.6.x, please? >> >> Ondrej >> > > attaching test project. Results: > > Kubuntu 17.04 (in virtualbox); Lazarus 1.6.4; FPC 3.0.2; WS Gtk2: > 18 > 24 > 33 > 45 > 61 > 83 > > Kub

[Lazarus] Strange Font.Height

2017-07-04 Thread Valdas Jankūnas via Lazarus
Hello, code (WS: GTK2): i := Canvas.TextHeight('I'); writeln(i); Canvas.Font.Height := i; i:= Canvas.TextHeight('I'); writeln(i); Canvas.Font.Height := i; i:= Canvas.TextHeight('I'); writeln(i); I get: 24 33 45 I think that "Canvas.Font.Height" and "Canvas.TextHeight('a')" shou

Re: [Lazarus] Alpha blending in GTK2 under Linux

2017-04-14 Thread Valdas Jankūnas via Lazarus
2017.04.14 22:02, Marc Weustink via Lazarus rašė: Why GTK2 "screen" not supports alpha? It is strange because if I load PNG with transparency (image with gradient) into TImage then I clearly can see alpha blending effect on GTK2 when image is diplayed. Iirc (its long ago when i implemented it

[Lazarus] Alpha blending in GTK2 under Linux

2017-04-14 Thread Valdas Jankūnas via Lazarus
Hello, I working with alpha blending. On QT it works fine. On GTK2 I get "Depth: 24" when executing "GetDescriptionFromDevice(0)" (on QT -> 32). Why GTK2 "screen" not supports alpha? It is strange because if I load PNG with transparency (image with gradient) into TImage then I clearly can see

[Lazarus] DockManager: how to truly close form

2017-02-06 Thread Valdas Jankūnas via Lazarus
Hello, I decided to use DockManager in my project. I fount that closing secondary form by pressing a X button in window of that form it becomes hidden not destroyed. How to actually close (destroy and free) a secondary from when DockManager is used? "CloseAction:= caFree" not helped. I tried