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) Co
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
https://lists.laza
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 mailin
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
"Maximized&qu
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 10.4
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
--
_
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}
//Cod
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
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
https://lists.lazarus-ide
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
--
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,
RDB$GET_C
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 wi
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
https://lists.lazarus-ide.org
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 se
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 if
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 realiz
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
Window
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
"--primary-config-pa
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 isc
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
2018. 02. 18. 13:51 keltezéssel, José Mejuto via Lazarus írta:
I was talking about LCL-fpGUI with reation to other LCL based platforms.
As I do not have a Delphi to verify I'm trying to mimic the win32
platform (easy for me).
Anyway I'm not fixing event orders now, there are a lot fo things to
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 also?
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 giv
2018. 02. 10. 10:42 keltezéssel, Ondrej Pokorny via Lazarus írta:
Disable Application.Scaled - fpGUI doesn't support it yet.
Works now! Thank you!
Gabor
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/
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 bran
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
https://bugs.
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
https://lists.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 "unacceptable&qu
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 a
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 lookup
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 i
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
--
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@lists.laz
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
--
___
Lazaru
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 compr
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 s
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 these
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
http:/
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
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"
e:\L
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
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 in
2017. 06. 06. 20:58 keltezéssel, Michael W. Vogel via Lazarus írta:
Please try added example. It is nearly the same as in the bugtracker but
with aligned scrollbox and a scrollbar to switch the height of Panel3.
Is it so as you want?
No. Attached (I hope ) a better example. The user can resize
2017. 06. 06. 19:54 keltezéssel, Michael W. Vogel via Lazarus írta:
Simple remove anchored bottom of Panel2 and the loop is gone.
Yes, but Panel2 not follow the size of form/scrollbox.
As you wrote in bug report: "Thank you for the example but do not do
what I want.", please explain better, w
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
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
Lazarus@lists.lazarus-ide.or
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
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
http://lists.lazarus-ide.org/listinfo/lazaru
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
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 Laza
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
http://lists.lazarus-ide.org/listin
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 i
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
--
___
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
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 in
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. And
Hi All,
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. And TCustomDBGrid.ColRowMoved(IsColumn: Boolean;
FromIndex, ToInd
2016. 11. 05. 15:06 keltezéssel, zeljko írta:
Fixed.
Confirmed. Thank you very much Zeljko!
Gabor
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/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
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
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
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
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
--
___
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 wh
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
2016. 10. 21. 12:38 keltezéssel, Juha Manninen via Lazarus írta:
I do not want to think of where Length, Copy, Delete is good and where UTF8*
needed.
Well, you must think when coding. There is no shortcut. :)
BTW, if you are worried about Delphi compatibility there is now unit
LazUnicode avail
2016. 10. 21. 10:25 keltezéssel, Juha Manninen via Lazarus írta:
* Please read the wiki page ...
I read, I read but if contains buggy example... ;-)
I need a quick and a rock solid solution. Is it good solution if replace
all Length, Copy, Delete with UTF8Length, UTF8Copy, UTF8Delete and read
2016. 10. 21. 10:24 keltezéssel, Juha Manninen via Lazarus írta:
A "character" in Unicode is an ambiguous term.
Often the good old byte (codeunit) access is very useful.
See:
http://wiki.freepascal.org/UTF8_strings_and_characters
I started with the wiki pages, but 2 about UTF8 in english is to
Hi All,
In the past I used Length, Pos, Delete, for i:=1 to Length(s) do s[i]...
and realized yesterday these practices are wrong. But I do not know what
the right practice.
Found UTF8* on "LCL Unicode Support" wiki page, later {$Codepage UTF8}
on "Better Unicode Support in Lazarus".
The re
69 matches
Mail list logo