[Lazarus] What is the estimated creation time of fixes_1_8 branch?

2017-02-01 Thread Gabor Boros via Lazarus
Hi All, I want to switch from fixes_1_6 to ... Is the fixes_1_8 branch will be created in the near future? I want to skip switch to trunk if possible. Gabor -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org

Re: [Lazarus] DBLookupComboBox vs Qt

2016-11-05 Thread Gabor Boros via Lazarus
2016. 11. 05. 13:05 keltezéssel, zeljko írta: Ok, just create example project with TComboBox which reproduces problem so I'll sit with it and try to fix it somehow. Done. You can find as an attachment in the bugtracker. Gabor -- ___ Lazarus mailing

[Lazarus] DBLookupComboBox vs Qt

2016-11-05 Thread Gabor Boros via Lazarus
Hi All, Created an issue in the past but got no answer. Now attached a better example project. Please try and comment. Is it a Qt bug or this is the expected behaviour? http://bugs.freepascal.org/view.php?id=28597 Gabor -- ___ Lazarus mailing list

Re: [Lazarus] DBLookupComboBox vs Qt

2016-11-05 Thread Gabor Boros via Lazarus
2016. 11. 05. 10:47 keltezéssel, zeljko írta: On 11/05/2016 10:30 AM, Gabor Boros via Lazarus wrote: Hi All, Created an issue in the past but got no answer. Now attached a better example project. Please try and comment. Is it a Qt bug or this is the expected behaviour? http

Re: [Lazarus] DBLookupComboBox vs Qt

2016-11-05 Thread Gabor Boros via Lazarus
2016. 11. 05. 10:47 keltezéssel, zeljko írta: On 11/05/2016 10:30 AM, Gabor Boros via Lazarus wrote: Hi All, Created an issue in the past but got no answer. Now attached a better example project. Please try and comment. Is it a Qt bug or this is the expected behaviour? http

Re: [Lazarus] How to use strings properly with fixes_1_6 and FPC 3.0.0?

2016-10-21 Thread Gabor Boros via Lazarus
2016. 10. 21. 12:38 keltezéssel, Juha Manninen via Lazarus írta: for i:=1 to UTF8Length(s) do Write(UTF8Copy(s,i,1)) No, it not a good solution! I predict that most your code can still use byte indexing. At some point you will get a Heureka-moment like "hey, I don't need the codepoint index

Re: [Lazarus] How to use strings properly with fixes_1_6 and FPC 3.0.0?

2016-10-21 Thread Gabor Boros via Lazarus
2016. 10. 21. 12:48 keltezéssel, Jürgen Hestermann via Lazarus írta: If you realy need the character position/length, then you have to use UTF8Length/UTF8Copy/etc. But as said: It is only needed in special circumstances. Still you have to know when to use what. I will know if somebody describe

Re: [Lazarus] Memo.Lines.Add seems to be slow with Lazarus 1.6

2016-11-04 Thread Gabor Boros via Lazarus
2016. 11. 04. 8:35 keltezéssel, Ondrej Pokorny via Lazarus írta: The TextHint implementation should be completely rewritten. It shouldn't use the text property but paint the TextHint onto the control by itself. It's good to hear! The new implementation will be included in 1.8? Gabor --

[Lazarus] DBGrid - Patch review request

2016-12-14 Thread Gabor Boros via Lazarus
Hi All, I do not want to disturb the developers but don't know which is the best practice. Wait or not wait. For example issue 28597. Wait more than a year then wrote to the list about it and Zeljko fixed on same day (on Saturday!). So, I created a patch for help record reordering feature

Re: [Lazarus] DBGrid - Patch review request

2016-12-14 Thread Gabor Boros via Lazarus
2016. 12. 14. 19:41 keltezéssel, Jesus Reyes A. via Lazarus írta: On Wed, 14 Dec 2016 06:27:18 -0600, Gabor Boros via Lazarus So, I created a patch for help record reordering feature in my application with DBGrid and an example project for demonstration. Please review, comment (good, bad

Re: [Lazarus] How to utilize goRowMoving with TDBGird?

2016-12-02 Thread Gabor Boros via Lazarus
2016. 11. 15. 15:11 keltezéssel, Gabor Boros via Lazarus írta: I need a record reordering feature with TDBGrid, worked out a half-solution with drag and drop and later found TStringGrid have a goRowMoving option. Just want the effect of it and the FromIndex and ToIndex row numbers

Re: [Lazarus] Qt5 - Size and permissions of the compiled bindings

2017-01-02 Thread Gabor Boros via Lazarus
2017. 01. 02. 17:10 keltezéssel, zeljko írta: Bindings are not yet finished. See .pro file in lcl/interfaces/qt5/cbindings and change there from debug to release mode. Modified from CONFIG -= release CONFIG += debug to CONFIG += release CONFIG -= debug and the size of the compiled so file

[Lazarus] Qt5 - Size and permissions of the compiled bindings

2017-01-02 Thread Gabor Boros via Lazarus
Hi All, I tried to compile the bindings with Debian Stretch. Success. But the size of libQt5Pas.so.1.2.6 is very big (86222128 bytes). I compiled a debug build? The permissions of the file is 755 (libQt4Pas have 644). The execute permission(s) just a mistake? Gabor --

Re: [Lazarus] fpDebug error "Debug information not available"

2017-03-31 Thread Gabor Boros via Lazarus
2017. 03. 28. 20:14 keltezéssel, Ondrej Pokorny via Lazarus írta: Hello, I want to test the fpDebug debugger. I followed http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Need-testers-for-the-a-new-debugger-td4037911.html When I run a LCL application, I get the following error within

Re: [Lazarus] Fw: just look at that!

2017-04-07 Thread Gabor Boros via Lazarus
Hi All, This is not the first spam with my name. "Nice!" I see this in the source of the message: Cc: Gabor Boros Gabor -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/listinfo/lazarus

[Lazarus] Reporting engine - What it's state?

2017-07-24 Thread Gabor Boros via Lazarus
Hi All, 2015. 07. 09. 21:45 keltezéssel, Michael Van Canneyt írta: Just an opinion: I am working with Graeme Geldenhuys to create a reporting engine from scratch. I think Lazreport's design contains some fundamental flaws, which can only be remedied by re-implementing a reporting engine from

[Lazarus] TForm.OnChangeBounds - Windows vs Linux-Qt

2017-06-29 Thread Gabor Boros via Lazarus
Hi All, Form's OnChangeBounds event fired in different time and number on these platforms. Attached a simple example. On Windows the event firing meanwhile form moving and with Linux-Qt just when the moving ended. At a form maximize or restore with Linux-Qt the event fired twice. Where

[Lazarus] fixes_1_8 - What happened with default height of DBGrid's rows?

2017-05-16 Thread Gabor Boros via Lazarus
Hi All, I switched from revision 54808 to 54920 and got different row heights. What happened? Is this a regression? Gabor -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] fixes_1_8 - What happened with default height of DBGrid's rows?

2017-05-16 Thread Gabor Boros via Lazarus
2017. 05. 16. 18:13 keltezéssel, Ondrej Pokorny via Lazarus írta: Probably yes and problably I am responsible. Please report to Mantis. Done: https://bugs.freepascal.org/view.php?id=31824 Gabor -- ___ Lazarus mailing list

Re: [Lazarus] Anchoring problem with ScrollBox and Panels

2017-06-06 Thread Gabor Boros via Lazarus
2017. 06. 06. 19:54 keltezéssel, Michael W. Vogel via Lazarus írta: I can tell you here the same as in the related bug report https://bugs.freepascal.org/view.php?id=30617, this isn't a bug it is not happy design. You want that the scrollbox height is increased, but then the Panel2 height is

Re: [Lazarus] Anchoring problem with ScrollBox and Panels

2017-06-07 Thread Gabor Boros via Lazarus
2017. 06. 07. 8:37 keltezéssel, Michael W. Vogel via Lazarus írta: You will see, the resizing problem comes from Panel2. I see. But don't understand. :D To demonstrate what happen take the added example or create a new app, put a panel on it and anchor Left, Top, Right to the form sides and

[Lazarus] Trunk is broken

2017-06-07 Thread Gabor Boros via Lazarus
Hi All, I tried to compile trunk(55263) with FPC 3.0.2 on Win32 but got this: e:\Lazarus\trunk\ide\sourcefilemanager.pas(6452,29) Error: (5038) identifier idents no member "DesignPPI" e:\Lazarus\trunk\ide\sourcefilemanager.pas(6454,71) Error: (5038) identifier idents no member "DesignPPI"

Re: [Lazarus] Trunk is broken

2017-06-07 Thread Gabor Boros via Lazarus
2017. 06. 07. 13:15 keltezéssel, Ondrej Pokorny via Lazarus írta: On 07.06.2017 10:38, Gabor Boros via Lazarus wrote: I tried to compile trunk(55263) with FPC 3.0.2 on Win32 but got this: Are you sure you use FPC 3.0.2? IMO you use an old revision of fixes_3_0 or trunk branch which you have

[Lazarus] fixes_1_8 - What happened with default width of DBGrid's columns?

2017-06-15 Thread Gabor Boros via Lazarus
Hi All, I switched from revision 54808 to 55332 and got different default column widths. Reported as bug. I hope Ondrej fix it ASAP. https://bugs.freepascal.org/view.php?id=32021 Gabor -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org

[Lazarus] ✈Re: amazing news!

2017-05-06 Thread Gabor Boros via Lazarus
Yo! This news is going to amaze you, I'm telling you! Just check it out http://frame.williamtara.com Gabor Boros Sent from Mail for Windows 10-- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org

[Lazarus] Anchoring problem with ScrollBox and Panels

2017-06-06 Thread Gabor Boros via Lazarus
Hi All, The attached example contains a form with a ScrollBox on it with three Panels in it. Height of Panel1 is static, height of Panel2 depend on the size of Form/ScrollBox, height of Panel3 can be modifiable by the user. In the example a simple OnClick emulate the variable height feature of

[Lazarus] LazReport - Where the width of the designer page come from?

2017-09-17 Thread Gabor Boros via Lazarus
Hi All, LazReport's designer page with in pixels is strange for me. LazReport - 752 FreeReport - 750 FastReport - 790 FPReport - 794 Width of A4 is 210mm. 210/25.4*96=793.7. Where the 752 come from? Gabor -- ___ Lazarus mailing list

[Lazarus] Strange anchoring with a ScrollBox, Panel, Label combination

2017-09-07 Thread Gabor Boros via Lazarus
Hi All, See the attached example project. If a Label wider than the owner Panel's width its (the owner Panel) resized to Label's width and the horizontal scrollbar appears in the ScrollBox. From my POV this is a bug. I am wrong? Gabor ScrollBox_Panel_Label.tar.gz Description: GNU Zip

[Lazarus] LazReport - Issues 26971 and 30466

2017-09-13 Thread Gabor Boros via Lazarus
Hi All, https://bugs.freepascal.org/view.php?id=26971 ~3 years later. Any idea? https://bugs.freepascal.org/view.php?id=30466 The KeepChild feature is very important from my POV. Please review the patch. (I have not tried yet.) Gabor -- ___

[Lazarus] How to use two different versions of FPC

2018-05-07 Thread Gabor Boros via Lazarus
Hi All, My main development toolset is FPC 3.0.4 and Lazarus fixes_1_8. Sometimes I try some things with Lazarus trunk also. It is easy. But now build up a new development machine from scratch with RHEL 7.5 on it and try to utilize FPC trunk too (with Lazarus trunk). I use

[Lazarus] Control's default Height and AutoSize

2018-05-14 Thread Gabor Boros via Lazarus
Hi All, I have three machines. One physical with Windows 10 (1703) and two virtual, one with Ubuntu Server 14.04.1 + KDE4 and Qt4 and one with RHEL 7.5 + KDE4 and Qt4. Start a new project with trunk (57932), drop a TEdit on Form1 and change it's font to Droid Sans Mono Regular 10. With

Re: [Lazarus] Control's default Height and AutoSize

2018-05-14 Thread Gabor Boros via Lazarus
2018. 05. 14. 14:33 keltezéssel, zeljko írta: Default TEdit height (autosize=true) depends on Qt4 theme. Some themes, eg KDE breeze from fedora 26 gives 28 px which is taken from the current desktop environment, but eg -style windows it's size is 23. Thank you! After read your answer I

[Lazarus] LazReport - Build variable or field names in script

2018-05-15 Thread Gabor Boros via Lazarus
Hi All, I can build variable TEXT := '[PAGE_LNG_' + [LNG_ID] + ']: [PAGE#]'; and field TEXT := '[BDS.PAGE_LNG_' + [LNG_ID] + ']: [PAGE#]'; names in this way. LNG_ID is a report variable with a numeric value and the showed captions or used field names depends on it. I try to eliminate the

Re: [Lazarus] lazreport to fpReport converter

2018-05-22 Thread Gabor Boros via Lazarus
2018. 05. 06. 12:47 keltezéssel, Graeme Geldenhuys via Lazarus írta: Kudos to Christian. The last push to finally say goodbye to LazReport. Also well done to all that took the original fpReport and ran with it - improving and fixing it further than the time I had available. The absolute joy of

Re: [Lazarus] fixes_1_8 - DBLookupComboBox broken

2018-01-11 Thread Gabor Boros via Lazarus
2018. 01. 11. 12:22 keltezéssel, Werner Pamler via Lazarus írta: Am 11.01.2018 um 10:14 schrieb Gabor Boros via Lazarus: From my POV, unacceptable if a fix broke a feature in a fixes_* branch after x.y.0 version released from it. Sorry for the inconvenience. Call it "unaccep

Re: [Lazarus] fixes_1_8 - DBLookupComboBox broken

2018-01-11 Thread Gabor Boros via Lazarus
2018. 01. 10. 21:57 keltezéssel, Werner Pamler via Lazarus írta: You did not assign a Datasource to the DBLookupCombo. This is where the value picked from the combo is stored to. Without a Datasource I consider the present hehavior to be correct. I use the DBLookupComboBox without DataSource

Re: [Lazarus] fixes_1_8 - DBLookupComboBox broken

2018-01-10 Thread Gabor Boros via Lazarus
2018. 01. 10. 18:50 keltezéssel, Juha Manninen via Lazarus írta: Is it related to this? https://bugs.freepascal.org/view.php?id=32943 I don't know. Attached a simple example. With it I can reproduce the problem on Windows too. So the problem is not Qt specific. Rev 56987 in 1_8_fixes

Re: [Lazarus] fixes_1_8 - DBLookupComboBox broken

2018-01-10 Thread Gabor Boros via Lazarus
2018. 01. 10. 20:06 keltezéssel, Werner Pamler via Lazarus írta: Could you check out the attached demo? It works for me with Laz trunk and fixes (both r57032) on Windows and Linux GTK2/QT (trunk tested only). The left grid shows the main dataset, the right grid is the lookup dataset. The

[Lazarus] fixes_1_8 - DBLookupComboBox broken

2018-01-10 Thread Gabor Boros via Lazarus
Hi All, I have a Linux-Qt application and if compile with fixes_1_8 rev 56990 or later the DBLookupComboBox not working as before. Can drop down it and select from the items with the mouse but the selection not showed. The problem not appears with rev 56987. Gabor --

[Lazarus] Lazreport - Issues 32481, 32505, 32543

2018-01-16 Thread Gabor Boros via Lazarus
Hi All, I need some help/opinion about these issues. I solved (or half solved) all for myself, but don't know my solutions/modifications are good enough to include into the main source. https://bugs.freepascal.org/view.php?id=32481 https://bugs.freepascal.org/view.php?id=32505

Re: [Lazarus] fixes_1_8 - DBLookupComboBox broken

2018-01-12 Thread Gabor Boros via Lazarus
2018. 01. 12. 15:04 keltezéssel, Werner Pamler via Lazarus írta: I committed the fix to trunk (r57060) and requested backporting to fixes. Thank you very much! :-) Gabor -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org

[Lazarus] LCL-fpGUI - SIGSEGV

2018-02-10 Thread Gabor Boros via Lazarus
Hi All, I want to try LCL-fpGUI. Followed the instructions from the below wiki page, a new project compiled successfully but got error at application start. If start from the IDE got SIGSEGV, if start from command line got "Access violation". I used Lazarus trunk (57276) and fpGUI's maint

Re: [Lazarus] Form events firing order and count

2018-02-17 Thread Gabor Boros via Lazarus
2018. 02. 17. 17:26 keltezéssel, Graeme Geldenhuys via Lazarus írta: At the time (circa 2006) our application relied heavily on specific event orders and LCL was a nightmare - to the point that we moved to a completely different solution/toolkit. Is that nightmare exists with LCL-fpGUI

[Lazarus] Form events firing order and count

2018-02-16 Thread Gabor Boros via Lazarus
Hi All, I want to know when a form maximized, restored or moved. But completely lost between form's events. See below what I got with the attached example project. For example 1 WindowPosChanged at application start with Linux-Qt and 3 with Windows, with Linux-Qt form maximize and restore

[Lazarus] How to catch an unhandled exception?

2018-03-09 Thread Gabor Boros via Lazarus
Hi All, The result of the attached example (which use MWA's Firebird Pascal API) for me is an exception: Gstat execution time Fri Mar 9 09:29:18 2018 Database header page information: Flags 0 Generation 173 System Change Number0

Re: [Lazarus] How to catch an unhandled exception? [FIXED - but there is an FPC bug here]

2018-03-09 Thread Gabor Boros via Lazarus
2018. 03. 09. 12:09 keltezéssel, Tony Whyman via Lazarus írta: Finally, knowing all this, I go back to Gabor's program and add the line (again shown in context):    repeat   SQR:=SM.Query(nil,SRB);   for i:=0 to SQR.GetCount-1 do    begin case SQR[i].getItemType of

[Lazarus] FPDebug - Which Dwarf?

2018-12-14 Thread Gabor Boros via lazarus
Hi All, I use Lazarus fixes_2_0 and FPC fixes_3_2 (OS_TARGET=win64 CPU_TARGET=x86_64). Which is the best Dwarf selection for this combination and FPDebug? Gabor -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org

[Lazarus] SynEdit - Why a new line added at the end of the text?

2019-07-22 Thread Gabor Boros via lazarus
Hi All, procedure TForm1.Button1Click(Sender: TObject); var SE:TSynEdit; begin SE:=TSynEdit.Create(Self); SE.Text:='abc'; ShowMessage('*'+SE.Text+'*'); For me the above code show the next message: *abc * Any idea why a new line added? With TMemo the result: *abc* I use fixes_2_0

[Lazarus] SynEdit - SQL highlighter with $ in keywords

2019-11-10 Thread Gabor Boros via lazarus
Hi All, I try to extend TSynSQLSyn with keyword lists of Firebird 2.5, 3.0 and 4.0. Every keyword included in one list/version and used as tKey (e.g. sqlFirebird30: EnumerateKeywords(Ord(tkKey), Firebird30KW, IdentChars, @DoAddKeyword);). Some keywords contains a $ sign (RDB$DB_KEY,

Re: [Lazarus] SynEdit - SQL highlighter with $ in keywords

2019-11-12 Thread Gabor Boros via lazarus
2019. 11. 10. 19:51 keltezéssel, Gerd Sager via lazarus írta: Hi Gabor, have a look at the implementation of TSynSQLSyn.GetIdentChars(). You could add somthing like if fDialect = sqlFirebird30 then Include(Result, '$'); Gerd Works like a charm. Thank you very much Gerd! Gabor --

[Lazarus] Install LazDebuggerFp with trunk

2020-01-12 Thread Gabor Boros via lazarus
Hi All, If I try to install LazDebuggerFp package with trunk(62522) got the attached error. Any idea why? (I can install other packages e.g. Printer4Lazarus.) Gabor -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org

[Lazarus] SVN checkout error

2020-04-29 Thread Gabor Boros via lazarus
Hi All, I have problem with SVN checkout of fixes_2_0 branch (https://svn.freepascal.org/svn/lazarus/branches/fixes_2_0). Tried with TortoiseSVN on Windows (with two different PCs at two different locations(cities) with two different ISPs) and got "ra_serf: The server sent a truncated HTTP

Re: [Lazarus] Where to define conditionals for FPC

2020-05-08 Thread Gabor Boros via lazarus
2020. 05. 08. 14:07 keltezéssel, Bo Berglund via lazarus írta: I know that you can define "custom options" in Lazarus Project/Options/CompilerOptions/CustomOptions/Defines These can then be used in constructs like this example: {$IFDEF USE_LAZSERIAL} //Code pertaining to LazSerial {$ELSE}

[Lazarus] How to break a popup menu into multiple columns on Windows?

2020-07-29 Thread Gabor Boros via lazarus
Hi All, I need a multi-column popup menu on Windows. I found a solution on the forum (see below) but it not working for me. The popup menu created at run-time. Any idea? https://forum.lazarus.freepascal.org/index.php/topic,29912.msg189835.html#msg189835 Gabor --

Re: [Lazarus] Start application maximized with a shortcut

2021-09-08 Thread Gabor Boros via lazarus
2021.09.06. 22:25 keltezéssel, Bart via lazarus írta: On Sun, Sep 5, 2021 at 10:42 AM Gabor Boros via lazarus wrote: Create a new "Application", compile it. Send a shortcut from project1.exe to the desktop. At shortcut's properties change "Run" to "Maximize

[Lazarus] Start application maximized with a shortcut

2021-09-05 Thread Gabor Boros via lazarus
Hi All, FPC 3.2.2, Lazarus fixes_2_2, Windows 10 64bit. Create a new "Application", compile it. Send a shortcut from project1.exe to the desktop. At shortcut's properties change "Run" to "Maximized". Start the application with the shortcut, its not maximized. Do the same with Delphi 7 or

[Lazarus] FpDebug with aarch64-linux

2021-12-06 Thread Gabor Boros via lazarus
Hi All, FPC 3.3.1, Lazarus fixes_2_2, LazDebuggerFp installed and configured in Tools/Options. If start the project got "Error starting process in debugger". With gdb works as expected. Is FpDebug not supported on aarch64? Gabor -- ___ lazarus

[Lazarus] Codetools - "Error: identifier not found: Boolean8"

2021-12-22 Thread Gabor Boros via lazarus
Hi All, FPC main and Lazarus fixes_2_2 or main. If double click on the new project's main form got "identifier not found: Boolean8". Is this a Lazarus or FPC problem? Gabor -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org

[Lazarus] Build error with fixes_3_0 and FPC current main (3.3.1)

2023-08-20 Thread Gabor Boros via lazarus
Hi All, Free Pascal Compiler version 3.3.1 [2023/08/20] for x86_64 Copyright (c) 1993-2023 by Florian Klaempfl and others (1002) Target OS: Win64 for x64 (3104) Compiling lazarus.pp e:\Lazarus\fixes_3_0\ide\lazarus.pp(121,20) Warning: (5044) Symbol "MainFormOnTaskBar" is not portable (9022)