Re: [Lazarus] Changes to TProcess

2024-01-03 Thread zeljko via lazarus
On 03. 01. 2024. 14:28, Michael Van Canneyt via lazarus wrote: Hello, I merged a significant evolution of the TProcess component to FPC trunk. Until recently, there were 2 options for TProcess when starting a new process: - use the parent process standard input/output/error - use pipes to

Re: [Lazarus] GTK 3 Widget Set Status?

2023-09-26 Thread zeljko via lazarus
On 26. 09. 2023. 19:18, John Landmesser via lazarus wrote: Am 26.09.23 um 16:40 schrieb Anthony Walter via lazarus: Would someone be so kind to tell me if the GTK 3 widget set is working yet? Does the IDE work when built using GTK 3 and can I write most normal desktop applications using GTK 3

Re: [Lazarus] Lazarus Release Candidate 1 of 3.0

2023-07-10 Thread zeljko via lazarus
On 03. 07. 2023. 13:33, Mattias Gaertner via lazarus wrote: The Lazarus team is glad to announce the first release candidate of Lazarus 3.0. This release was built with FPC 3.2.2. Here is the list of changes for Lazarus and Free Pascal:

Re: [Lazarus] Qt5 IDE fails to build on Linux

2023-06-12 Thread zeljko via lazarus
On 12. 06. 2023. 13:35, Giuliano Colla via lazarus wrote: Attempting to build latest Lazarus trunk on Linux CentOs7 with Qt5 fails with error: /home/colla/Applicazioni/lazarus_main/lcl/interfaces//qt5/qtobject.inc:44: undefined reference to

Re: [Lazarus] runcommand doesn't work?

2023-03-10 Thread zeljko via lazarus
On 10. 03. 2023. 02:28, john Ward via lazarus wrote: *I have a program, segment included below, that partially works.  The first 'runcommand' example works, but the 2nd doesn't?* *If I type the lp command line, it prints perfectly..*  if RunCommand('unix2dos', ['-n', '-f',

Re: [Lazarus] small issue

2023-03-02 Thread zeljko via lazarus
On 02. 03. 2023. 16:22, John Landmesser via lazarus wrote: if i try to compile an application with qt5 LCLwidgetType i get an error messages and thats ok: Error: /home/john1/lazarus/lcl/interfaces//qt5/qtobject.inc:43: undefined reference to

Re: [Lazarus] strange focus behaviour on source editor window

2023-02-27 Thread zeljko via lazarus
On 27. 02. 2023. 18:51, Mgr. Janusz Chmiel via lazarus wrote: Dear Lazarus developers,    I have found out very interesting and strange focus behaviour in Lazarus IDE. When I edit The source code in The source editor Editable field. And when I switch window to desktop and when I

Re: [Lazarus] Minor annoyance in IDE

2023-01-15 Thread zeljko via lazarus
On 15. 01. 2023. 04:03, Don Ziesig via lazarus wrote: Hi All! It's been years (unfortunately much ill health/hospitalization) but I'm back. I upgraded to Lazarus 2.2.4 before getting back to work and my memory of the annoyance from earlier versions may be erroneous (I don't remember it

Re: [Lazarus] ***SPAM*** Re: ***SPAM*** Re: Install of Qt5 widgetset fails on Mac Ventura

2022-11-27 Thread zeljko via lazarus
On 27. 11. 2022. 23:47, Giuliano Colla wrote: Il 26/11/22 09:20, zeljko ha scritto: On 25. 11. 2022. 23:01, Giuliano Colla wrote: Il 25/11/2022 21:58, zeljko ha scritto: On 25. 11. 2022. 19:29, Giuliano Colla via lazarus wrote: I tried to install QT5 version 5.6.2 on my Mac, following

Re: [Lazarus] ***SPAM*** Re: Install of Qt5 widgetset fails on Mac Ventura

2022-11-26 Thread zeljko via lazarus
On 25. 11. 2022. 23:01, Giuliano Colla wrote: Il 25/11/2022 21:58, zeljko ha scritto: On 25. 11. 2022. 19:29, Giuliano Colla via lazarus wrote: I tried to install QT5 version 5.6.2 on my Mac, following the wiki instructions but installation fails. qmake executes properly and generates a

Re: [Lazarus] Install of Qt5 widgetset fails on Mac Ventura

2022-11-25 Thread zeljko via lazarus
On 25. 11. 2022. 19:29, Giuliano Colla via lazarus wrote: I tried to install QT5 version 5.6.2 on my Mac, following the wiki instructions but installation fails. qmake executes properly and generates a Makefile, but make fails with this error message:  ld: symbol(s) not found for

[Lazarus] Qt6 widgetset

2022-11-11 Thread zeljko via lazarus
Hi all, I've just committed Qt6 widgetset into main :) Tested only under linux atm (win32/64 and mac users can try to build libQt6Pas, if something went wrong pls inform me or open an issue about it), lazarus ide qt6 works just fine. libQt6Pas is based on LTS Qt6-6.2.3, so to build

Re: [Lazarus] testing demorestbridge without a web server: is that possible?

2022-10-27 Thread zeljko via lazarus
On 27. 10. 2022. 20:29, duilio foschi wrote: Dear Zeljko, If this results in error 400-40xx this is exactly what happens :) c:\>curl -u Detlef:secret -H "Content-Type: application/json" "http://localhost:3000/REST/metadata; { "error" : { "code" : 404, "message" : "NOT

Re: [Lazarus] testing demorestbridge without a web server: is that possible?

2022-10-27 Thread zeljko via lazarus
On 27. 10. 2022. 19:03, duilio foschi via lazarus wrote: I tried to run demorestbridge inside Lazarus in debug mode. When the web browser points to http://localhost:3000/REST/metadata the debugger shows an error message that says: 'project SQLDB REST bridge raised an exception of class

Re: [Lazarus] demorestbridge

2022-10-23 Thread zeljko via lazarus
On 23. 10. 2022. 19:49, duilio foschi via lazarus wrote: I am trying to use the demo that I find in directory C:\lazarus\fpc\3.2.2\source\packages\fcl-web\examples\restbridge Following the instructions in file readme.txt, 1. I created a firebird database (test.fdb) 2. I run expenses-fb.sql

Re: [Lazarus] More Gtk3 Status

2022-07-20 Thread zeljko via lazarus
On 20. 07. 2022. 01:46, Maxim Ganetsky via lazarus wrote: 19.07.2022 10:50, zeljko via lazarus пишет: On 18. 07. 2022. 17:53, Alexey Torgashin via lazarus wrote: Zeljko, currently gtk3 WS is not able to run my text editor app. Various visual bugs in the main form. I will be happy to pay

Re: [Lazarus] More Gtk3 Status

2022-07-19 Thread zeljko via lazarus
On 18. 07. 2022. 17:53, Alexey Torgashin via lazarus wrote: Zeljko, currently gtk3 WS is not able to run my text editor app. Various visual bugs in the main form. I will be happy to pay you (initial author) 200$ if you fix the gtk3 for my editor (others will benefit too in theory).

Re: [Lazarus] More Gtk3 Status

2022-07-18 Thread zeljko via lazarus
On 15. 07. 2022. 13:47, Anthony Walter via lazarus wrote: Denis, I will attempt the big design flaws I have found so far while wrangling with the current Gtk3 widget implementation. There are three main layers underpinning cross platform LCL widgetset. 1) We obviously have the LCL itself

Re: [Lazarus] Treeview Question

2020-06-30 Thread zeljko via lazarus
On 6/30/20 1:10 AM, Martin via lazarus wrote: Hi, I'm porting an application I started (but never finished) in Pyside to Lazarus. This question is only about cosmetics as Treeview works as I want it to. In Pyside I could set a space between nodes by setting the node text as "" and

Re: [Lazarus] Embed other application window with qt5

2020-06-09 Thread zeljko via lazarus
On 6/9/20 9:08 AM, Luca Olivetti via lazarus wrote: procedure TForm1.Button1Click(Sender: TObject); var kk:QWindowH;    cc: QWidgetH; begin    kk:=QWindow_fromWinID(StrToInt64(Edit1.text));    QWindow_setFlags(kk,QtFramelessWindowHint);    cc:=QWidget_createWindowContainer(kk);   

[Lazarus] Gtk2 under X11 new feature - accurate frame size - need users feedback

2020-04-16 Thread zeljko via lazarus
Hi all, Finally I've fixed gtk2 under x11 too (qt/qt5 are fixed 2 days ago), now GetWindowRect() returns correct form size (with frame around) , so now eg poScreenCenter/poWorkAreaCenter (poWorkAreaCenter is also fixed - Screen.WorkAreaRect was same as Screen.DesktopRect because of wrong

Re: [Lazarus] EAccessViolation exception on exit qt5 project in Kubuntu 19.10

2020-04-15 Thread zeljko via lazarus
On 4/15/20 5:36 PM, Florian Klämpfl via lazarus wrote: Am 15.04.20 um 09:24 schrieb zeljko: On 4/14/20 8:24 PM, Florian Klämpfl via lazarus wrote: Sorry, I were not precise enough. Can you also post a disassembly of the swap procedure at 0x7666c7f1? 0x7666c7f1 is at line

Re: [Lazarus] EAccessViolation exception on exit qt5 project in Kubuntu 19.10

2020-04-15 Thread zeljko via lazarus
On 4/14/20 8:24 PM, Florian Klämpfl via lazarus wrote: Sorry, I were not precise enough. Can you also post a disassembly of the swap procedure at 0x7666c7f1? 0x7666c7f1 is at line 382 inside assembler.txt. That's all I can get. zeljko Dump of assembler code for function

Re: [Lazarus] EAccessViolation exception on exit qt5 project in Kubuntu 19.10

2020-04-14 Thread zeljko via lazarus
On 4/14/20 6:28 PM, Florian Klämpfl via lazarus wrote: Am 14.04.20 um 12:55 schrieb zeljko via lazarus: On 4/13/20 7:43 PM, Luca Olivetti via lazarus wrote: Now I tried installing the packaged libqt5pas and still see no segfault. Note that this isn't a fresh install, I dist-upgraded

Re: [Lazarus] Qt/Qt5 under X11 new feature - accurate frame size

2020-04-14 Thread zeljko via lazarus
On 4/14/20 3:41 PM, zeljko via lazarus wrote: Please test and report if there's any problem under x11 with qt/qt5 (minimum is lazarus svn r62975 :) Just to correct my self (fix in the meantime), minimum for testing should be trunk lazarus r62977 zeljko

Re: [Lazarus] EAccessViolation exception on exit qt5 project in Kubuntu 19.10

2020-04-14 Thread zeljko via lazarus
On 4/14/20 1:33 PM, Luca Olivetti via lazarus wrote: El 14/4/20 a les 12:55, zeljko ha escrit: On 4/13/20 7:43 PM, Luca Olivetti via lazarus wrote: Now I tried installing the packaged libqt5pas and still see no segfault. Note that this isn't a fresh install, I dist-upgraded it (or better

[Lazarus] Qt/Qt5 under X11 new feature - accurate frame size

2020-04-14 Thread zeljko via lazarus
Hi all, Why this feature ? 1.Assume form with position poWorkAreaRect - you expect that your form will be shown in the middle of the screen, taking systray into account. 2.Inside FormCreate() you change your form width and height eg: Width := Screen.Width - (Screen.Width div 10); Height :=

Re: [Lazarus] Completely solve the GTK trouble

2020-04-14 Thread zeljko via lazarus
On 4/14/20 10:07 AM, jiaxing ruan via lazarus wrote: Do you need tester? I can help with testing. But anything needs more knowledge I afraid I can't. Anyway, did we at any time found it's tired to catch up with GTK? May be we could keep the current GTK3 interface. But my suggestion also deal

Re: [Lazarus] EAccessViolation exception on exit qt5 project in Kubuntu 19.10

2020-04-14 Thread zeljko via lazarus
On 4/13/20 7:43 PM, Luca Olivetti via lazarus wrote: Now I tried installing the packaged libqt5pas and still see no segfault. Note that this isn't a fresh install, I dist-upgraded it (or better do-release-upgraded it) many times, but I don't think that should matter. IMO, fpc version is

Re: [Lazarus] We are planning the next release: Lazarus 2.0.8

2020-04-10 Thread zeljko via lazarus
On 4/10/20 1:28 AM, Denis Kozlov via lazarus wrote: Hello Martin, If it's not too late, can r62551 be merged too? Bug report #36490: Bitmap transparency (mask) not respected by TMenuItem https://bugs.freepascal.org/view.php?id=36490 There are fixes for gtk2,qt,qt5 for same thing too zeljko

Re: [Lazarus] Qt/Qt5 users - need trunk testing

2020-04-06 Thread zeljko via lazarus
On 4/5/20 8:09 PM, Alexey Tor. via lazarus wrote: after updating Laz to today's trunk, CudaText qt5 build has broken look of tabs. angled side of tab. and X sign. they are painted via canvas.StretchDraw. I've tested with old code (before stretchdraw changes) and it's same problem (I've

Re: [Lazarus] Qt/Qt5 users - need trunk testing

2020-04-06 Thread zeljko via lazarus
On 4/5/20 8:09 PM, Alexey Tor. via lazarus wrote: after updating Laz to today's trunk, CudaText qt5 build has broken look of tabs. angled side of tab. and X sign. they are painted via canvas.StretchDraw. In that case: 1.Open issue about it. 2.Create simple example project so I don't need to

Re: [Lazarus] Qt/Qt5 users - need trunk testing

2020-04-05 Thread zeljko via lazarus
On 4/5/20 5:08 PM, Fabio Luis Girardi via lazarus wrote: Ok. I'll test. Thanks, just use current trunk eg. r62891 since I've fixed more Qt/Qt5 things. zeljko -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org

[Lazarus] Qt/Qt5 users - need trunk testing

2020-04-03 Thread zeljko via lazarus
Hi all, For all Qt/Qt5 users of lazarus trunk: I've improved StretchMaskBlt() (BitBlt(), StretchBlt()) and fixed some issues #32137 and #32141 (r62870).Usually those winapi functions are used by Canvas.CopyRect() and StretchDraw(). So, I need feedback if anything went wrong with such

Re: [Lazarus] Which Lazarus version that uses FPC v3.2?

2020-01-30 Thread zeljko via lazarus
On 1/30/20 12:46 PM, Mr Bee via lazarus wrote: Error: /freepascal/fpc/bin/x86_64-darwin/ppcx64 returned an error exitcode fpcupdeluxe: Start of compile error summary. fpcupdeluxe: ERROR: LazarusNativeInstaller (BuildModuleCustom: Lazbuild): make returned error code #512 fpcupdeluxe: Done !!

Re: [Lazarus] FPC trunk cannot compile Lazarus Qt5 lib

2019-11-15 Thread zeljko via lazarus
On 11/14/19 7:56 PM, AlexeyT via lazarus wrote: Lazarus trunk, fpc 3.3.1-r43462 Linux x64 qt56.pas(12495,37) Error: Enumeration symbols can only have values in the range of -2^31 to 2^31-1     QStyleCE_CustomBase = $f000 ); Issue is already opened. I'll wait fpc developers to shed

Re: [Lazarus] Why is there a define switch UseCThreads?

2019-11-11 Thread zeljko via lazarus
On 11/11/19 6:03 PM, Bo Berglund via lazarus wrote: then the idea is that if building for Linux and you use threads anywhere you need to put this first in the project file, right? Lazarus trunk -> New project automatically adds cthreads enclosed with IFDEF UNIX, if you create your program

Re: [Lazarus] Why is there a define switch UseCThreads?

2019-11-10 Thread zeljko via lazarus
On 11/10/19 11:29 PM, Bo Berglund via lazarus wrote: I have ported a console application from Windows to Linux (Raspbian Buster) and I got to wonder about the check for a defined symbol appearing in the beginning of the code as produced by the Lazarus template: uses {$IFDEF UNIX}{$IFDEF

Re: [Lazarus] Qt5 bindings misses QTextEdit_setPlaceholderText

2019-10-26 Thread zeljko via lazarus
On 10/26/19 10:22 AM, AlexeyT via lazarus wrote: This looks like missed export in qt5.pas https://raw.githubusercontent.com/graemeg/lazarus/upstream/lcl/interfaces/qt5/cbindings/qt5.pas file has the procedure QLineEdit_setPlaceholderText(handle: QLineEditH; AnonParam1: PWideString); cdecl;

Re: [Lazarus] Qt5 build of program, modal dialogs go to background

2019-10-26 Thread zeljko via lazarus
On 10/26/19 6:25 AM, AlexeyT via lazarus wrote: I made Qt5 build of CudaText, pls test and see is my bug present? I test on Ubuntu w/o Qt5: user@PC:~$ qmake --version qmake: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qmake': No such file or directory user@PC:~$ qmake-qt5 --version

Re: [Lazarus] Qt4 crash in CudaText

2019-09-28 Thread zeljko via lazarus
On 09/28/2019 09:54 AM, AlexeyT wrote: Qt4 version. Ok, as I can see it's 4.8.7, so last Qt4 release and it's ok. Please open an issue about it, in this case I must install your components and see what's going on inside your atlistbox.pas , and what kind of image is that. zeljko --

Re: [Lazarus] Qt4 crash in CudaText

2019-09-28 Thread zeljko via lazarus
On 09/27/2019 07:40 PM, AlexeyT wrote: >>    if (not EqualRect(LocalRect, sourceRect^) then Changed this; still crash. call stack is similar: In that case it looks like a bug in Qt library (QPainter::drawImage is called after our libQt4Pas inside Qt lib). What is your qt4 library version ?

Re: [Lazarus] Qt4 crash in CudaText

2019-09-27 Thread zeljko via lazarus
On 09/27/2019 06:57 PM, AlexeyT via lazarus wrote: Stack trace. #0 QTransform::type() const at :0 #1 ?? at :0 #2 QPainter::drawImage(QRectF const&, QImage const&, QRectF const&, QFlags) at :0 This is crash in Qt library. #3 QPainter_drawImage2 at :0 #4 DRAWIMAGE(0x7fffdd6aad80,

Re: [Lazarus] Qt4 crash in CudaText

2019-09-27 Thread zeljko via lazarus
On 09/27/2019 03:46 PM, AlexeyT via lazarus wrote: I just tested CudaText Linux x64 qt4 build: it now crashes on showing Command Palette dialog. Crash inside ATListbox.pas in Paint handler, in some Qt painting code. (I tried to change ATListbox.DoubleBuffered, no help.) Please send gdb

Re: [Lazarus] Qt4: circle painted with artifact

2019-05-12 Thread zeljko via lazarus
On 05/12/2019 01:45 PM, AlexeyT via lazarus wrote: I noticed that Qt4 build of CudaText paints tabs' X on mouse-over wrong. Picture attached (1K). It is ATTabs code - see here https://github.com/Alexey-T/ATTabs/blob/master/attabs/attabs.pas#L1486 attabs.pas, procedure TATTabs.DoPaintXTo

Re: [Lazarus] Building lazarus from cli - how to specify target widgetset

2019-04-14 Thread zeljko via lazarus
On 04/14/2019 05:54 PM, Graeme Geldenhuys via lazarus wrote: As the subject lines says, how do I build lazarus IDE and LCL from the Linux command line and specify a specific widgetset target. eg: lcl-gtk1 instead of the default lcl-gtk2. make LCL_PLATFORM=gtk , gtk2 is default so make only is

Re: [Lazarus] Compilation error Lazarus r.60828

2019-04-04 Thread zeljko via lazarus
On 04/04/2019 03:00 PM, leyba bronstain via lazarus wrote: When I try to compile subj I get error message (3104) Compiling generatefppkgconfigurationdlg.pas d:\\lazarus_21_r60828\ide\generatefppkgconfigurationdlg.pas(9 1,63) Error: (5000) Identifier not found "GetFPCVer"

Re: [Lazarus] Is LCL-GTK still possible?

2019-03-26 Thread zeljko via lazarus
On 03/26/2019 10:50 AM, leledumbo via lazarus wrote: Am I correct, that the LCL widgetset should auto compile, even though my Lazarus IDE is compiled with LCL-GTK2? Yes, it should. I build my apps for both GTK2 and QT(4) using build modes in one go. My IDE stays at QT. Maybe activate clean

Re: [Lazarus] Universal FontDialog for LCL

2019-03-07 Thread zeljko via lazarus
On 03/06/2019 07:54 PM, AlexeyT via lazarus wrote: I have an idea to make LCL based TFontDialog- which will be LCL form, which can be called by TFontDialog.Execute (if Boolean variable in LCL is set). Why make it? - we can make all best features of FontDlgs from all WSes - we can make

Re: [Lazarus] TListView + OwnerData=true + CheckBoxes

2018-12-11 Thread zeljko via lazarus
On 12/11/2018 01:18 PM, Marcos Douglas B. Santos via lazarus wrote: I've searched by TVirtualStringTree on http://packages.lazarus-ide.org/ and haven't found. My ENV is Lazarus 1.9.0 r58537 FPC 3.1.1 i386-win32-win32/win64 I have several IDE versions but, for that project I cannot update my

Re: [Lazarus] TListView + OwnerData=true + CheckBoxes

2018-12-10 Thread zeljko via lazarus
On 12/10/2018 08:38 PM, Marcos Douglas B. Santos via lazarus wrote: I don't know what Themes is. I want to use just default components. ...and nobody more answered. Is everybody using TDBGrid to show their data? :) No. Use TVirtualStringTree instead of TListView, it's x10 faster. zeljko --

Re: [Lazarus] Qt patch needs /const/ word

2018-12-10 Thread zeljko via lazarus
On 12/10/2018 10:02 AM, AlexeyT via lazarus wrote: https://github.com/graemeg/lazarus/commit/16dea52f979acc4a2998942f07d2e17ea5233aa5 I see N functions with somename(s: string). they need word /const/ for parameter. Done. zeljko -- ___

Re: [Lazarus] TListView + OwnerData=true + CheckBoxes

2018-12-09 Thread zeljko via lazarus
On 12/09/2018 12:58 PM, Marcos Douglas B. Santos via lazarus wrote: Hi, Has anybody already used, with success, virtual ListView showing CheckBoxes? There are any links on Internet, most about Delphi, but each one say something little different then other. I've tried a few combinations reading

Re: [Lazarus] Order of OnCreate and OnActivate in Qt4

2018-11-25 Thread zeljko via lazarus
On 11/25/2018 04:43 PM, Vojtěch Čihák via lazarus wrote: CRASH, because code in OnActivate assumes that FrmContext already exists. So, Qt4+Plastique has different order of events than Qt4+QtCurve. Unfortunately, I cannot reproduce with simple demo. What I'm doing wrong? Do I rely on

Re: [Lazarus] Order of OnCreate and OnActivate in Qt4

2018-11-25 Thread zeljko via lazarus
On 11/25/2018 04:43 PM, Vojtěch Čihák via lazarus wrote: Today I used tool qtconfig and changed style (Appearance) from Plastique to QtCurve. Now my code crashes, order of events is: FrmMain.Create FrmMain.Activate CRASH, because code in OnActivate assumes that FrmContext already exists.

Re: [Lazarus] Scaling of menuitem icons

2018-10-19 Thread zeljko via Lazarus
On 10/19/2018 11:46 AM, Ondrej Pokorny wrote: On 19.10.2018 11:43, zeljko wrote: QProxyStyle can return any size for PM_SmallIconSize, but in that case we should know what's the current size of "normal" icons in LCL. The current size of "normal" icons in LCL is perfectly known, as well as

Re: [Lazarus] Scaling of menuitem icons

2018-10-19 Thread zeljko via Lazarus
On 10/19/2018 10:15 AM, Ondrej Pokorny via Lazarus wrote: >  On my Linux + KDE system however icons of the IDE's main menuitems do not scale. > In KDE settings panel -> Fonts I set the "Force font's DPI" value to 144 which is about 150%. I remember I worked on it: 1.) Gtk2: I added support

Re: [Lazarus] MDI problem and fix for Windows with Qt4/Qt5

2018-09-06 Thread zeljko via Lazarus
On 09/05/2018 08:38 PM, Rudolf Cornelissen via Lazarus wrote: Hi all, This is my first post here, I hope my input is considered helpfull. Anyhow, I am busy converting a Delphi MDI application (which I develop as a daytime job) to Lazarus using Qt/Qt5. Compared to Win32 Widgeset indeed Qt has

Re: [Lazarus] spinedit issue with qt5

2018-06-11 Thread zeljko via Lazarus
On 11.06.2018 11:43, Luca Olivetti via Lazarus wrote: El 11/06/18 a les 11:30, Luca Olivetti via Lazarus ha escrit: I changed that to if (ACustomFloatSpinEdit.MaxValue > ACustomFloatSpinEdit.MinValue) then begin    ASpinWidget.setMinimum(ACustomFloatSpinEdit.MinValue);   

Re: [Lazarus] Let's make a web browser

2018-05-18 Thread zeljko via Lazarus
On 05/18/2018 10:46 AM, Michael Van Canneyt via Lazarus wrote: I thought it was perhaps chrome embedded ? Maybe, there are Delphi bindings around for chrome embedded z. -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org

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

2018-05-14 Thread zeljko via Lazarus
On 05/14/2018 01:40 PM, Gabor Boros via Lazarus wrote: 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

Re: [Lazarus] TStringGrid sort symbol in TitleButton

2018-05-14 Thread zeljko via Lazarus
On 05/14/2018 01:43 PM, Landmesser John via Lazarus wrote: In a StringGrid without(!) defined columns you never see that up and down arrow in the TitleButton if you click to sort this column. It's ok if you define at least one column, but i think that shouldn't be this way. I don't get what

Re: [Lazarus] Lazarus win32 with fpc-3.0.4 no memory left problem

2018-05-13 Thread zeljko via Lazarus
On 05/13/2018 02:05 PM, Martin Frb via Lazarus wrote: If it happens while linking, try to disable smart-linking. That fixed problem. Thanks ! zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org

[Lazarus] Lazarus win32 with fpc-3.0.4 no memory left problem

2018-05-13 Thread zeljko via Lazarus
Hi, Using trunk lazarus r57911 and fpc-3.0.4 (32 bit), Windows 10. When rebuilding ide from lazarus got "No memory left" while linking IDE. I have bunch of 3rd party packages so I guess that too many units triggers this error since "make bigide" from cmd works fine. With fpc-3.0.0 everything

Re: [Lazarus] Canvas cannot draw properly if has an alpha channel?

2018-04-25 Thread zeljko via Lazarus
On 25.04.2018 16:30, Anthony Walter via Lazarus wrote: I am trying to paint controls, so I need to eventually Canvas.Draw() to get a graphic onto a control. I've been working on creating a fully featured web browser for Lazarus and have been looking at the underlying widgetset interface code.

Re: [Lazarus] Color and transparancy selection ?

2018-03-23 Thread zeljko via Lazarus
On 03/23/2018 10:27 AM, Michael Van Canneyt via Lazarus wrote: ported platforms. Well, Qt works on all supported desktop platforms :) Oh please, you know what I meant :) s/platforms/platforms+widgetsets/g :) Of course I know :) zeljko -- ___

Re: [Lazarus] Color and transparancy selection ?

2018-03-23 Thread zeljko via Lazarus
On 03/23/2018 09:27 AM, Michael Van Canneyt via Lazarus wrote: On Fri, 23 Mar 2018, zeljko wrote: On 03/22/2018 08:49 PM, Michael Van Canneyt via Lazarus wrote: Hello, Is there a version of TColorDialog which allows to specify an Alpha channel ? Qt4/Qt5 ws have alpha option in standard

Re: [Lazarus] Color and transparancy selection ?

2018-03-23 Thread zeljko via Lazarus
On 03/22/2018 08:49 PM, Michael Van Canneyt via Lazarus wrote: Hello, Is there a version of TColorDialog which allows to specify an Alpha channel ? Qt4/Qt5 ws have alpha option in standard color dialog. zeljko -- ___ Lazarus mailing list

Re: [Lazarus] Linux make libQt5Pas fails

2018-03-19 Thread zeljko via Lazarus
On 03/19/2018 05:03 AM, Anthony Walter via Lazarus wrote: Building on Ubuntu 16.04. Any suggestions? Probably you're using Qt5 lib < 5.6. AFAIR Ubuntu 16.04 have Qt-5.5 by default (same as mint 18.3), I've successfully installed Qt5 5.6.1 from some ubuntu repo and it works like a charm.

Re: [Lazarus] Special Request: Theme entire IDE support

2018-03-14 Thread zeljko via Lazarus
On 03/14/2018 03:00 PM, Juha Manninen via Lazarus wrote: On Sat, Mar 10, 2018 at 6:41 AM, AlexeyT via Lazarus wrote: I made big work to theme scrollbars in CudaText. TScrollBar is a native widget, isn't it? Why does it not follow the native theme? It follows

Re: [Lazarus] TStringGrid and cancelling a modal form

2018-03-13 Thread zeljko via Lazarus
On 03/12/2018 08:05 PM, Mark Morgan Lloyd via Lazarus wrote: On 12/03/18 17:45, José Mejuto via Lazarus wrote: El 12/03/2018 a las 18:25, Mark Morgan Lloyd via Lazarus escribió:> On the main form I've got (a tabbed notebook containing multiple > instances of) a TStringGrid. The OnSelection

Re: [Lazarus] TStringGrid and cancelling a modal form

2018-03-12 Thread zeljko via Lazarus
On 03/12/2018 06:25 PM, Mark Morgan Lloyd via Lazarus wrote: Running on (Debian) Linux on AMD64 or ARM, Lazarus 1.6.4 and FPC 3.0.2, I'm seeing different behaviour depending on whether a program uses Qt or GTK2. The program changes the hardware configuration of a mouse (Logitech G600) using

Re: [Lazarus] Special Request: Theme entire IDE support

2018-03-10 Thread zeljko via Lazarus
On 03/10/2018 02:41 PM, Vojtěch Čihák via Lazarus wrote: Hi, you can do it for Qt applications, just run Lazarus (or any Laz. project built as Qt) as: ./lazarus -stylesheet mydarkstyle.qss where mydarkstyle.qss must be valid Qt Style Sheet file, see:

Re: [Lazarus] An expression is returning false, why?

2018-03-04 Thread zeljko via Lazarus
On 03/04/2018 09:48 PM, Lubos Pintes via Lazarus wrote: Hello and thank for a reply. Do I understand correctly that a form is a special case? What about TEdit or TButton for example? I am encapsulating a TControl instance and am asking for properties needed for UI Automation, occasionally

Re: [Lazarus] ll 1.8.0 compiles fail with "Error while linking"

2018-02-11 Thread zeljko via Lazarus
On 11.02.2018 23:36, Tom Lisjac via Lazarus wrote: Thanks Zeljke, Péter and Mattias. Plenty of space on all three OS'es and I installed all the dependencies that the rpm's (from sourceforge) required. I've upgraded the Fedora 19 install many times without issues. This is the error after

Re: [Lazarus] ll 1.8.0 compiles fail with "Error while linking"

2018-02-11 Thread zeljko via Lazarus
On 02/10/2018 11:50 PM, Tom Lisjac via Lazarus wrote: Hi all, Getting "Error while linking" when trying to compile the 1.8.0 ide or any test programs on an old Fedora 19 and fresh installs of Fedora 23 and Centos 6.8. Reviewed some bugs and forum postings, but there doesn't seem to be a fix

Re: [Lazarus] Problem with fpc-3.0.4 and double

2018-02-02 Thread zeljko via Lazarus
On 02/02/2018 04:10 PM, Marco van de Voort wrote: On Wed, Jan 31, 2018 at 07:31:56PM +0100, zeljko via Lazarus wrote: Using binary floats, there are just too many values that can't be represented 100%, regardless of the length of the mantissa. https://en.wikipedia.org/wiki/Floating

Re: [Lazarus] Problem with fpc-3.0.4 and double

2018-01-31 Thread zeljko via Lazarus
On 01/31/2018 07:27 PM, Ralf Quint via Lazarus wrote: Comparing any floating point value like this is pure luck when you claim that it worked in the past. In any programming language, unless maybe you are using one that by default utilizes BCD floats. Using binary floats, there are just too

[Lazarus] Problem with fpc-3.0.4 and double

2018-01-31 Thread zeljko via Lazarus
Hi all, In one of my applications I'm using someDouble1 <> someDouble2 for years, now got problem with fpc-3.0.4 (all previous fpc versions were ok (3.0.2, 3.0.0, 2.6.4, 2.6.2, 2.6.0...etc) + kylix + delphi7), so now must use IsSameValue(someDouble1,someDouble2) to get correct comparision of

Re: [Lazarus] Rebuilding IDE Gtk/Qt

2018-01-02 Thread zeljko via Lazarus
On 02.01.2018 16:01, Vojtěch Čihák via Lazarus wrote: Hi, I sometimes experienced that IDE does not follow the value in combobox in Tools -> Configure "Build Lazarus". Setting Qt is ignored and IDE rebuilds to GTk. But when I change the value in Project Options -> Additions and Overrides ->

Re: [Lazarus] TTrackbar and Wine

2017-12-22 Thread zeljko via Lazarus
On 12/22/2017 01:26 PM, Vojtěch Čihák via Lazarus wrote: I can confirm behavior in Wine. When you change trVertical to trHorizotal - everything OK. But oppositely, trackbar calculates with new width and OLD height and ticks remain horizontal. When you resize it at least 1 pixel, everything is

Re: [Lazarus] ButtonPanel uses not same back color as Form uses

2017-12-21 Thread zeljko via Lazarus
On 12/21/2017 08:11 AM, Alexey via Lazarus wrote: This is on Ubuntu 17.10, default theme, gtk2. Pucture, buttonpanel below. Let me power on my crystal ball to see what lazarus version is there Maybe this one hits you: https://bugs.freepascal.org/view.php?id=32779 So, if you are at lazarus

Re: [Lazarus] Qt Ws doesn't support properly GetWindowSize() and GetWindowRect()

2017-12-15 Thread zeljko via Lazarus
On 15.12.2017 17:08, Giuliano Colla via Lazarus wrote: This snippet of code, which executes as expected with GTK2 WS, fails with QT WS: procedure TForm1.btnWsizeClick(Sender: TObject); var  aHandle: THandle;    aWidth,aHeight: Integer;    aRect: TRect; begin    aHandle:= Form1.Handle;    if

Re: [Lazarus] Note to new high-DPI icons

2017-12-10 Thread zeljko via Lazarus
On 10.12.2017 11:39, Werner Pamler via Lazarus wrote: Ally has been mentioned in contributions.txt with his real name since his first contributions. Now I added "component icons" to his name in the same way as it is done for the translators. But I don't agree with AlexeyT that we should list

Re: [Lazarus] Why not to apply patch of TListView.CustomSort

2017-11-09 Thread Zeljko via Lazarus
On 11/09/2017 11:55 AM, Ondrej Pokorny via Lazarus wrote: On 09.11.2017 11:25, Alexey via Lazarus wrote: Patch is ready and tested I hope Zeljko will look at it soon. Yeah, I'll do that during weekend. zeljko -- ___ Lazarus mailing list

Re: [Lazarus] "Ambiguous unit found" message

2017-11-06 Thread zeljko via Lazarus
On 06.11.2017 17:16, Ondrej Pokorny via Lazarus wrote: On 06.11.2017 17:11, Sven Barth via Lazarus wrote: Am 06.11.2017 13:48 schrieb "Ondrej Pokorny via Lazarus" >: A secret insider tip: use Ctrl+C to copy the full text

Re: [Lazarus] Converting all code to use UnicodeString

2017-09-26 Thread zeljko via Lazarus
On 26.09.2017 11:31, Juha Manninen via Lazarus wrote: Maybe there still is a valid reason to use codepages but I don't know what it is. POS receipt printers :) zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org

Re: [Lazarus] LazReport - Issues 26971 and 30466

2017-09-13 Thread zeljko via Lazarus
On 09/13/2017 10:51 AM, Gabor Boros via Lazarus wrote: Hi All, https://bugs.freepascal.org/view.php?id=26971 ~3 years later. Any idea? No zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org

Re: [Lazarus] crDrag cursor is now 2x bigger

2017-09-07 Thread Zeljko via Lazarus
On 09/07/2017 08:42 AM, Alexey via Lazarus wrote: with crNoDrop cursor. On Linux gtk2 I see cursor is 2x-3x bigger than I seen it before, 2-3 months ago. Maybe not related but this is my yesterday post to lazdevel list: cursorimage.inc TCursorImage.LoadFromResourceHandle() Line 95

Re: [Lazarus] LCL on Mac 64 bit

2017-06-15 Thread zeljko via Lazarus
On 06/15/2017 05:53 PM, Ondrej Pokorny via Lazarus wrote: On 15.06.2017 17:19, Mattias Gaertner via Lazarus wrote: On Thu, 15 Jun 2017 17:07:06 +0200 Andrea Mauri via Lazarus wrote: The Mac native 64bit API is Cocoa and it exists for the LCL. It is missing some

Re: [Lazarus] Order of events: TEdit / TListBox

2017-05-23 Thread zeljko via Lazarus
On 05/23/2017 04:15 AM, kapibara via Lazarus wrote: Some more findings. Under Windows, the Edit.Exit event fires before both SelectionChange and OnClick no matter what item you select. It's normal. If you click onto listbox (OnMouseDown of listbox triggers), TEdit looses focus and triggers

Re: [Lazarus] Patch for fixing the window resizes when switching components

2017-05-18 Thread zeljko via Lazarus
On 18.05.2017 20:24, Kostas Michalopoulos via Lazarus wrote: Yes the new code works perfectly fine here and is a better solution. My original thought was to use pure Gtk but i forgot about gdk_ and only looked for something like gtk_window_get_state - which i couldn't find :-). Thanks for

Re: [Lazarus] Patch for fixing the window resizes when switching components

2017-05-18 Thread zeljko via Lazarus
On 18.05.2017 13:43, Mattias Gaertner via Lazarus wrote: On Thu, 18 May 2017 13:20:52 +0200 zeljko via Lazarus <lazarus@lists.lazarus-ide.org> wrote: [...] if GDK_IS_WINDOW(PGtkWindow(OurWidget)^.window) and (gdk_window_get_state(PGtkWindow(OurWidget)^.window) = GDK_WINDOW_STATE_MAX

Re: [Lazarus] Patch for fixing the window resizes when switching components

2017-05-18 Thread zeljko via Lazarus
On 18.05.2017 13:43, Mattias Gaertner via Lazarus wrote: On Thu, 18 May 2017 13:20:52 +0200 zeljko via Lazarus <lazarus@lists.lazarus-ide.org> wrote: [...] if GDK_IS_WINDOW(PGtkWindow(OurWidget)^.window) and (gdk_window_get_state(PGtkWindow(OurWidget)^.window) = GDK_WINDOW_STATE_MAX

Re: [Lazarus] Patch for fixing the window resizes when switching components

2017-05-18 Thread zeljko via Lazarus
On 18.05.2017 13:38, Marc Weustink via Lazarus wrote: zeljko via Lazarus wrote: On 18.05.2017 01:43, Kostas Michalopoulos via Lazarus wrote: if GDK_IS_WINDOW(PGtkWindow(OurWidget)^.window) and (gdk_window_get_state(PGtkWindow(OurWidget)^.window) = GDK_WINDOW_STATE_MAXIMIZED

Re: [Lazarus] Patch for fixing the window resizes when switching components

2017-05-18 Thread zeljko via Lazarus
On 18.05.2017 01:43, Kostas Michalopoulos via Lazarus wrote: I see the patch was added and Lazarus seems to work fine now, but the check was altered a little. The current check assumes that the Control will never be nil, but is this the case? I ask because i see in other places in the same

Re: [Lazarus] Lazarus Release Candidate 1 of 1.8.0

2017-05-17 Thread zeljko via Lazarus
On 17.05.2017 20:16, Luca Olivetti via Lazarus wrote: Meanwhile I see that in the plasma font setting I have the dpi forced to 96, a setting that apparently is respected both by qt4 and qt5 (as well as gtk applications). If it's forced than all qt based apps are using forced 96dpi. Even if

Re: [Lazarus] Lazarus Release Candidate 1 of 1.8.0

2017-05-17 Thread zeljko via Lazarus
On 17.05.2017 19:59, Luca Olivetti wrote: It took me a while to see that the c bindings are included, the README.txt in the lcl/interfaces/qt5 directory just says: "To use them you also need to download and install at appropriate place the libQt5Pas.so (linux) or Qt5Pas.dll (ms windows) or

Re: [Lazarus] Lazarus Release Candidate 1 of 1.8.0

2017-05-17 Thread zeljko via Lazarus
On 17.05.2017 14:39, Mattias Gaertner via Lazarus wrote: The Lazarus team is glad to announce the first release candidate of Lazarus 1.8. This release was built with FPC 3.0.2. The previous release Lazarus 1.6.4 was built with FPC 3.0.2 too. The Linux releases are built with FPC 3.0.3 r36152

Re: [Lazarus] Form resize to standard size in IDE.

2017-05-16 Thread zeljko via Lazarus
On 16.05.2017 21:26, Ondrej Pokorny via Lazarus wrote: On 16.05.2017 21:08, Michael Van Canneyt via Lazarus wrote: Surely, if the situation is that bad, then things would have been fixed a long time ago, no ? IIRC people complained about Gtk2 resizing their windows under some window managers

  1   2   >