Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2025-05

Lazarus Release 4.0

17 messages · 5 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Mattias Gaertner

The Lazarus team is glad to announce the release of Lazarus 4.0.

This release was built with FPC 3.2.2.

Here is the list of changes for Lazarus and Free Pascal: http://wiki.lazarus.freepascal.org/Lazarus_4.0_release_notes http://wiki.lazarus.freepascal.org/User_Changes_3.2.2

Here is the list of fixes for Lazarus 4.x:
https://gitlab.com/freepascal.org/lazarus/lazarus/-/commits/fixes_4/

The release is available for download on SourceForge: http://sourceforge.net/projects/lazarus/files/

Choose your CPU, OS, distro and then the "Lazarus 4.0" directory.

Checksums for the SourceForge files:
https://www.lazarus-ide.org/index.php?page=checksums#4_0

Minimum requirements:

Windows:
2k, 32 or 64bit, Qt, Qt5, Qt6 (64bit only)

FreeBSD/Linux:
gtk 2.24 for gtk2, qt4.5 for qt, qt5.6 for qt5, Qt6.2 for qt6, 32 or 64bit.

Mac OS X:
Cocoa (64bit) 10.12, Carbon (32bit) 10.5 to 10.14, Qt and Qt5 (32 or 64bit), Qt6 (64bit only).

The gitlab page:
https://gitlab.com/freepascal.org/lazarus/lazarus/-/tree/lazarus_4_0

For people who are blocked by SF, the Lazarus releases from SourceForge are mirrored at:
https://download.lazarus-ide.org/
ftp://ftp.freepascal.org/pub/lazarus/releases/

Mattias

Reply by email

Sarel Wessels Devnow.co.za
to Mattias Gaertner

https://www.lazarus-ide.org/

Still showing version 3.8.

Mattias Gaertner wrote 42 lines
The Lazarus team is glad to announce the release of Lazarus 4.0. This release was built with FPC 3.2.2. Here is the list of changes for Lazarus and Free Pascal: http://wiki.lazarus.freepascal.org/Lazarus_4.0_release_notes http://wiki.lazarus.freepascal.org/User_Changes_3.2.2 Here is the list of fixes for Lazarus 4.x: https://gitlab.com/freepascal.org/lazarus/lazarus/-/commits/fixes_4/ The release is available for download on SourceForge: http://sourceforge.net/projects/lazarus/files/ Choose your CPU, OS, distro and then the "Lazarus 4.0" directory. Checksums for the SourceForge files: https://www.lazarus-ide.org/index.php?page=checksums#4_0 Minimum requirements: Windows: ? 2k, 32 or 64bit, Qt, Qt5, Qt6 (64bit only) FreeBSD/Linux: ? gtk 2.24 for gtk2, qt4.5 for qt, qt5.6 for qt5, Qt6.2 for qt6, 32 or 64bit. Mac OS X: ? Cocoa (64bit) 10.12, Carbon (32bit) 10.5 to 10.14, Qt and Qt5 (32 or 64bit), Qt6 (64bit only). The gitlab page: https://gitlab.com/freepascal.org/lazarus/lazarus/-/tree/lazarus_4_0 For people who are blocked by SF, the Lazarus releases from SourceForge are mirrored at: https://download.lazarus-ide.org/ ftp://ftp.freepascal.org/pub/lazarus/releases/ Mattias

Reply by email

Marc Weustink
to Sarel Wessels Devnow.co.za

Site needed an update. Done

Marc

Show quoted text 47 lines
https://www.lazarus-ide.org/ Still showing version 3.8. On 2025/05/05 09:24, Mattias Gaertner via lazarus wrote: > The Lazarus team is glad to announce the release of Lazarus 4.0. > > This release was built with FPC 3.2.2. > > Here is the list of changes for Lazarus and Free Pascal: > http://wiki.lazarus.freepascal.org/Lazarus_4.0_release_notes > http://wiki.lazarus.freepascal.org/User_Changes_3.2.2 > > Here is the list of fixes for Lazarus 4.x: > https://gitlab.com/freepascal.org/lazarus/lazarus/-/commits/fixes_4/ > > The release is available for download on SourceForge: > http://sourceforge.net/projects/lazarus/files/ > > Choose your CPU, OS, distro and then the "Lazarus 4.0" directory. > > Checksums for the SourceForge files: > https://www.lazarus-ide.org/index.php?page=checksums#4_0 > > Minimum requirements: > > Windows: > ? 2k, 32 or 64bit, Qt, Qt5, Qt6 (64bit only) > > FreeBSD/Linux: > ? gtk 2.24 for gtk2, qt4.5 for qt, qt5.6 for qt5, Qt6.2 for qt6, 32 or 64bit. > > Mac OS X: > ? Cocoa (64bit) 10.12, Carbon (32bit) 10.5 to 10.14, Qt and Qt5 (32 or 64bit), Qt6 (64bit only). > > The gitlab page: > https://gitlab.com/freepascal.org/lazarus/lazarus/-/tree/lazarus_4_0 > > For people who are blocked by SF, the Lazarus releases from SourceForge > are mirrored at: > https://download.lazarus-ide.org/ > ftp://ftp.freepascal.org/pub/lazarus/releases/ > > > Mattias

Reply by email

Sarel Wessels Devnow.co.za
to Marc Weustink

YAY! Thanks!

Marc Weustink wrote 51 lines
Site needed an update. Done Marc On May 5, 2025 10:05:00 AM GMT+02:00, "Sarel Wessels (Devnow.co.za) via lazarus" wrote: > https://www.lazarus-ide.org/ > > Still showing version 3.8. > > > On 2025/05/05 09:24, Mattias Gaertner via lazarus wrote: >> The Lazarus team is glad to announce the release of Lazarus 4.0. >> >> This release was built with FPC 3.2.2. >> >> Here is the list of changes for Lazarus and Free Pascal: >> http://wiki.lazarus.freepascal.org/Lazarus_4.0_release_notes >> http://wiki.lazarus.freepascal.org/User_Changes_3.2.2 >> >> Here is the list of fixes for Lazarus 4.x: >> https://gitlab.com/freepascal.org/lazarus/lazarus/-/commits/fixes_4/ >> >> The release is available for download on SourceForge: >> http://sourceforge.net/projects/lazarus/files/ >> >> Choose your CPU, OS, distro and then the "Lazarus 4.0" directory. >> >> Checksums for the SourceForge files: >> https://www.lazarus-ide.org/index.php?page=checksums#4_0 >> >> Minimum requirements: >> >> Windows: >> ? 2k, 32 or 64bit, Qt, Qt5, Qt6 (64bit only) >> >> FreeBSD/Linux: >> ? gtk 2.24 for gtk2, qt4.5 for qt, qt5.6 for qt5, Qt6.2 for qt6, 32 or 64bit. >> >> Mac OS X: >> ? Cocoa (64bit) 10.12, Carbon (32bit) 10.5 to 10.14, Qt and Qt5 (32 or 64bit), Qt6 (64bit only). >> >> The gitlab page: >> https://gitlab.com/freepascal.org/lazarus/lazarus/-/tree/lazarus_4_0 >> >> For people who are blocked by SF, the Lazarus releases from SourceForge >> are mirrored at: >> https://download.lazarus-ide.org/ >> ftp://ftp.freepascal.org/pub/lazarus/releases/ >> >> >> Mattias

Reply by email

Luca Olivetti
to Mattias Gaertner: The Lazarus team is glad to announce the release of Lazarus 4.0. This release was built…

El 5/5/25 a les 9:24, Mattias Gaertner via lazarus ha escrit:

Here is the list of changes for Lazarus and Free Pascal: http://wiki.lazarus.freepascal.org/Lazarus_4.0_release_notes

It says:

"The IDE now comes with built-in docking and docked-form editor (they can be toggled as option, rather than rebuilding IDE to install/remove packages). When run for the first time the user will be prompted with a choice to enable them."

I enabled "Docking of ide windows" (not on first run but with tools->options) I decided I don't really like it, I disabled it but I cannot find a way do disable the docked form editor. Should I just uninstall the package (even if the release notes say it's not necessary)?

Bye

Luca Olivetti Tel. +34 935883004 Ext. 3010 https://wetron.es https://wecobots.com

Reply by email

Martin Frb
to Luca Olivetti
Luca Olivetti wrote
, I disabled it but I cannot find a way do disable the docked form editor. Should I just uninstall the package (even if the release notes say it's not necessary)?

Tools > Options

In the tree, under "Environment", the last node is "Docked form editor"

Reply by email

Luca Olivetti
to Martin Frb

El 25/6/25 a les 13:12, Martin Frb via lazarus ha escrit:

Show quoted text 10 lines
On 25/06/2025 12:52, Luca Olivetti via lazarus wrote: > , I disabled it but I cannot find a way do disable the docked form > editor. Should I just uninstall the package (even if the release notes > say it's not necessary)? > Tools > Options In the tree, under "Environment", the last node is "Docked form editor"

Yes, but I see no option to disable it, only to change its settings:

- tab position
- resizer color
- force refreshing at sizing
- show anchors tab (and its various settings)
- colors

Bye

Luca Olivetti Tel. +34 935883004 Ext. 3010 https://wetron.es https://wecobots.com

Reply by email

Luca Olivetti
to Luca Olivetti

El 25/6/25 a les 13:26, Luca Olivetti via lazarus ha escrit:

Show quoted text 21 lines
El 25/6/25 a les 13:12, Martin Frb via lazarus ha escrit: > On 25/06/2025 12:52, Luca Olivetti via lazarus wrote: >> , I disabled it but I cannot find a way do disable the docked form >> editor. Should I just uninstall the package (even if the release >> notes say it's not necessary)? >> > > Tools > Options > > In the tree, under "Environment", the last node is "Docked form editor" > Yes, but I see no option to disable it, only to change its settings: - tab position - resizer color - force refreshing at sizing - show anchors tab (and its various settings) - colors

I even manually added

<EnableDockedDesigner Value="False"/>

to dockedformeditoroptions.xml but the docked editor is still enabled.

Bye

Luca Olivetti Tel. +34 935883004 Ext. 3010 https://wetron.es https://wecobots.com

Reply by email

Martin Frb
to Luca Olivetti: El 25/6/25 a les 13:12, Martin Frb via lazarus ha escrit: Yes, but I see no option to…
Luca Olivetti wrote 18 lines
El 25/6/25 a les 13:12, Martin Frb via lazarus ha escrit: > On 25/06/2025 12:52, Luca Olivetti via lazarus wrote: >> , I disabled it but I cannot find a way do disable the docked form >> editor. Should I just uninstall the package (even if the release >> notes say it's not necessary)? >> > > Tools > Options > > In the tree, under "Environment", the last node is "Docked form editor" > Yes, but I see no option to disable it, only to change its settings: - tab position - resizer color

For me, it shows a checkbox "Show the form editor as (docked) tab in the editor window (requires IDE restart".

On the very top, above the "tab position".

(Windows 10)

Reply by email

Luca Olivetti
to Martin Frb

El 25/6/25 a les 14:13, Martin Frb via lazarus ha escrit:

Show quoted text 26 lines
On 25/06/2025 13:26, Luca Olivetti via lazarus wrote: > El 25/6/25 a les 13:12, Martin Frb via lazarus ha escrit: >> On 25/06/2025 12:52, Luca Olivetti via lazarus wrote: >>> , I disabled it but I cannot find a way do disable the docked form >>> editor. Should I just uninstall the package (even if the release >>> notes say it's not necessary)? >>> >> >> Tools > Options >> >> In the tree, under "Environment", the last node is "Docked form editor" >> > > > Yes, but I see no option to disable it, only to change its settings: > > > - tab position > - resizer color For me, it shows a checkbox "Show the form editor as (docked) tab in the editor window (requires IDE restart". On the very top, above the "tab position". (Windows 10)

You're right, I see it under windows, but not under linux (qt5).

Bye

Luca Olivetti Tel. +34 935883004 Ext. 3010 https://wetron.es https://wecobots.com

Reply by email

Martin Frb
to Martin Frb: For me, it shows a checkbox "Show the form editor as (docked) tab in the editor window…
Martin Frb wrote 13 lines
> > Yes, but I see no option to disable it, only to change its settings: > > > - tab position > - resizer color For me, it shows a checkbox "Show the form editor as (docked) tab in the editor window (requires IDE restart". On the very top, above the "tab position". (Windows 10)

You can always run

lazarus.exe --setup

to get the initial setup again.

But still would like to know what differs on your system, to hide that checkbox.

Reply by email

Martin Frb
to Luca Olivetti: El 25/6/25 a les 14:13, Martin Frb via lazarus ha escrit: You're right, I see it under…
Luca Olivetti wrote 10 lines
El 25/6/25 a les 14:13, Martin Frb via lazarus ha escrit: > > For me, it shows a checkbox "Show the form editor as (docked) tab in > the editor window (requires IDE restart". > > On the very top, above the "tab position". > > (Windows 10) You're right, I see it under windows, but not under linux (qt5).

Then please report as a QT 5 bug.

Reply by email

Luca Olivetti
to Martin Frb

El 25/6/25 a les 14:16, Martin Frb via lazarus ha escrit:

Show quoted text 13 lines
On 25/06/2025 14:15, Luca Olivetti via lazarus wrote: > El 25/6/25 a les 14:13, Martin Frb via lazarus ha escrit: >> >> For me, it shows a checkbox "Show the form editor as (docked) tab in >> the editor window (requires IDE restart". >> >> On the very top, above the "tab position". >> >> (Windows 10) > > You're right, I see it under windows, but not under linux (qt5). Then please report as a QT 5 bug.

i tried also with gtk2, same.
However, even if the checkbox isn't visible, it should use the option in the dockedformeditoroptions.xml, shouldn't it?

Bye

Luca Olivetti Tel. +34 935883004 Ext. 3010 https://wetron.es https://wecobots.com

Reply by email

Luca Olivetti
to Luca Olivetti

El 25/6/25 a les 14:19, Luca Olivetti via lazarus ha escrit:

Show quoted text 18 lines
El 25/6/25 a les 14:16, Martin Frb via lazarus ha escrit: > On 25/06/2025 14:15, Luca Olivetti via lazarus wrote: >> El 25/6/25 a les 14:13, Martin Frb via lazarus ha escrit: >>> >>> For me, it shows a checkbox "Show the form editor as (docked) tab in >>> the editor window (requires IDE restart". >>> >>> On the very top, above the "tab position". >>> >>> (Windows 10) >> >> You're right, I see it under windows, but not under linux (qt5). > > Then please report as a QT 5 bug. i tried also with gtk2, same. However, even if the checkbox isn't visible, it should use the option in the dockedformeditoroptions.xml, shouldn't it?

I found the problem: it was using the component from my old lazarus 3.2 directory, maybe some time ago I tried it and never uninstalled it? (I keep around several old versions, I copy the old one into a new directory, git pull and checkout the latest version. Since I use a different pcp directory for windows and linux that explains why it worked in windows and not in linux).

Bye

Luca Olivetti Tel. +34 935883004 Ext. 3010 https://wetron.es https://wecobots.com

Reply by email

Martin Frb
to Luca Olivetti: El 25/6/25 a les 14:16, Martin Frb via lazarus ha escrit: i tried also with gtk2, same.…
Luca Olivetti wrote 8 lines
El 25/6/25 a les 14:16, Martin Frb via lazarus ha escrit: > On 25/06/2025 14:15, Luca Olivetti via lazarus wrote: >> >> You're right, I see it under windows, but not under linux (qt5). > > Then please report as a QT 5 bug. i tried also with gtk2, same.

"same" as Qt or as windows?

For me gtk2 (albeit Lazarus 4.99) does show the checkbox (when the docked form is enabled, and I want to turn it off).

However, even if the checkbox isn't visible, it should use the option in the dockedformeditoroptions.xml, shouldn't it?

Yes, well have to check whatever file and node that option is stored in. Don't recall.

Reply by email

Martin Frb
to Luca Olivetti: El 25/6/25 a les 14:19, Luca Olivetti via lazarus ha escrit: I found the problem: it was…
Luca Olivetti wrote 7 lines
I found the problem: it was using the component from my old lazarus 3.2 directory, maybe some time ago I tried it and never uninstalled it? (I keep around several old versions, I copy the old one into a new directory, git pull and checkout the latest version. Since I use a different pcp directory for windows and linux that explains why it worked in windows and not in linux).

You mean your Lazarus compiled accross 2 install directories? Strange. (But outside of my expertise to judge what currently is expected / still bad...)

Afaik the IDE remembers for any package that you opened where it was last opened from. And then it uses that.
So if you download some package, and then download an update into a new directory, then you must open it once from that new directory, and then it will know the new location.
(Yet again, I don't know how that handles versions, in case different projects want different versions???)

And I don't know if that applied (or should apply) to build ins... If it did, technically lots of people would get an old LCL, because the opened it once from there old install?

-----------------------
You can avoid issues like that, by having different config dirs for each install.

Check the wiki for the file "lazarus.cfg"? (goes into the install dir? / or the dir in which you start "startlazarus" or "lazarus" which ever you start first)

Reply by email

Luca Olivetti
to Martin Frb

El 25/6/25 a les 15:21, Martin Frb via lazarus ha escrit:

Show quoted text 12 lines
On 25/06/2025 14:34, Luca Olivetti via lazarus wrote: > > I found the problem: it was using the component from my old lazarus > 3.2 directory, maybe some time ago I tried it and never uninstalled it? > (I keep around several old versions, I copy the old one into a new > directory, git pull and checkout the latest version. Since I use a > different pcp directory for windows and linux that explains why it > worked in windows and not in linux). You mean your Lazarus compiled accross 2 install directories? Strange. (But outside of my expertise to judge what currently is expected / still bad...)

Yes, I usually check (after rebuilding the ide with my packages) that the loaded packages are in the "correct" directory, I forgot do do that in my linux copy (which shares the windows directory but with a different pcp)

Show quoted text 13 lines
Afaik the IDE remembers for any package that you opened where it was last opened from. And then it uses that. So if you download some package, and then download an update into a new directory, then you must open it once from that new directory, and then it will know the new location. (Yet again, I don't know how that handles versions, in case different projects want different versions???) And I don't know if that applied (or should apply) to build ins... If it did, technically lots of people would get an old LCL, because the opened it once from there old install?

No, that doesn't happen because, for packages inside the lazarus directory, it uses relative directories and not absolute ones (AFAIK).

----------------------- You can avoid issues like that, by having different config dirs for each install.

Yes, I already do that, in fact I keep the pcp inside the lazarus directory, so when I copy it to the new one I also copy the configuration (which is upgraded when launching the new lazarus while the old copy is still there in the old directory).

Bye

Luca Olivetti Tel. +34 935883004 Ext. 3010 https://wetron.es https://wecobots.com

Reply by email