Recent

Author Topic: Lazarus Release Candidate 2 of 4.0  (Read 13364 times)

TRon

  • Hero Member
  • *****
  • Posts: 3810
Re: Lazarus Release Candidate 2 of 4.0
« Reply #30 on: January 10, 2025, 09:20:35 pm »
This files are Release candidate 2.0?
Yes, they belong to lazarus 4.0 RC2.

In fact they are the free pascal 3.2.2 compiler and its accompanied sources (that are both used by Lazarus 4.0RC2).

If you already have these installed then you could also opt for not installing these two .deb files and on first startup point Lazarus to the correct location where these are located on your system (Lazarus will ask on first startup if you do not have an already installed Lazarus. In case you already have Lazarus installed then make sure to backup your original Lazarus configuration directory)
I do not have to remember anything anymore thanks to total-recall.

n7800

  • Full Member
  • ***
  • Posts: 200
Re: Lazarus Release Candidate 2 of 4.0
« Reply #31 on: January 11, 2025, 02:44:57 am »
I suppose a simple fix would be to allow negative values for the extra glyph spacing setting.

You can enter any value (even negative) into the combo box manually.

silvercoder70

  • Full Member
  • ***
  • Posts: 125
    • Tim Coates
Re: Lazarus Release Candidate 2 of 4.0
« Reply #32 on: January 11, 2025, 12:53:04 pm »
In my video here - https://youtu.be/7R4JeJD1C0E and you can skip to about 08:35...

An oddity here, I was writing a small program that converted ounces to ml and getting the value from an edit field:

Edit1.Text

which is a TCaption, the auto-complete allows me to add .ToDouble and in the IDE does not complain. Complains when I try to build. Typecast to a string as string(Edit1.Text) and builds correctly. Not a big thing but ...
Explore the beauty of modern Pascal programming with Delphi & Free Pascal - https://www.youtube.com/@silvercoder70

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 10689
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus Release Candidate 2 of 4.0
« Reply #33 on: January 11, 2025, 06:14:19 pm »
An oddity here, I was writing a small program that converted ounces to ml and getting the value from an edit field:

Edit1.Text

which is a TCaption, the auto-complete allows me to add .ToDouble and in the IDE does not complain. Complains when I try to build. Typecast to a string as string(Edit1.Text) and builds correctly. Not a big thing but ...

Please report as new issue. Thanks.

- Codetool should not suggest this, if it does not work.
- Maybe a helper for TCaption needs should be added.

n7800

  • Full Member
  • ***
  • Posts: 200
Re: Lazarus Release Candidate 2 of 4.0
« Reply #34 on: January 12, 2025, 01:14:17 am »
I made a merge request so that the Object Inspector patch doesn't get lost in the messages.

baldzhang

  • New Member
  • *
  • Posts: 36
Re: Lazarus Release Candidate 2 of 4.0
« Reply #35 on: January 12, 2025, 05:08:32 am »
Please report as new issue. Thanks.

Hi, Martin

I spent a bit of more time on 4.0rc2 than 4.0rc1, and found a bit of more issues... and make me think it's not on the 'rc' quanlity though...

About my environments:
   Slackware 15.0 x86_64 + up-to-date updates
   GTK2 and QT5 from distro
   XFCE 4.16
   FPC 3.2.2 build by myself
   Lazarus 3.2 for current proejcts

I'll try to do more testing to report or patching.

BTW: is there any info about fpc 3.2.4? will lazarus 4.0 ready for it?

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 10689
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus Release Candidate 2 of 4.0
« Reply #36 on: January 12, 2025, 11:47:18 am »
BTW: is there any info about fpc 3.2.4? will lazarus 4.0 ready for it?

I don't have insight into what the FPC team is doing. So I don't know 3.2.4 will be.

Lazarus 4 currently (afaik) works with 3.2.3, which is near identical to 3.2.4. So whenever that goes forward it should be ready.

calebs

  • Full Member
  • ***
  • Posts: 197
Re: Lazarus Release Candidate 2 of 4.0
« Reply #37 on: January 12, 2025, 04:17:58 pm »
Hi! This is not a bug, i think. Downloaded latest lazarus 4 fixes with fpcupdeluxe and i've found that i installed pack_powerpdf (0.9.16) from onlinepackagemanager, and when i try to install lazreportpdfexport (lazarus component) it gives error asking for powerpdf 0.9.17 but in package manager is only 9.16.
I've found in the source repo that there is 9.17 but still not added to online package manager.
ill try to download manually, update and try again
Thanks for the good work

calebs

  • Full Member
  • ***
  • Posts: 197
Re: Lazarus Release Candidate 2 of 4.0
« Reply #38 on: January 13, 2025, 01:55:45 am »
Hi! This is not a bug, i think. Downloaded latest lazarus 4 fixes with fpcupdeluxe and i've found that i installed pack_powerpdf (0.9.16) from onlinepackagemanager, and when i try to install lazreportpdfexport (lazarus component) it gives error asking for powerpdf 0.9.17 but in package manager is only 9.16.
I've found in the source repo that there is 9.17 but still not added to online package manager.
ill try to download manually, update and try again
Thanks for the good work

downloaded 0.9.17 from the web, uninstaled prior, installed 0.9.17 with no errors and then installed lazreportpdfexport without problems. It seems that online package manager need to be updated only.
Thanks

pleumann

  • Jr. Member
  • **
  • Posts: 97
Re: Lazarus Release Candidate 2 of 4.0
« Reply #39 on: January 13, 2025, 11:04:10 am »
Hello,

RC2 crashes on both of my Mac machines (1 x Intel/Monterey, 1 x Arm/Sequoia) with a segmentation fault during early startup, before the main window appears. This happens with the provided binary as well as with one built from the git source. RC1 worked fine. Should I dig deeper and/or create a ticket?

Best regards
Joerg
« Last Edit: January 13, 2025, 11:06:57 am by pleumann »

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 10689
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus Release Candidate 2 of 4.0
« Reply #40 on: January 13, 2025, 11:12:43 am »
Hello,

RC2 crashes on both of my Mac machines (1 x Intel/Monterey, 1 x Arm/Sequoia) with a segmentation fault during early startup, before the main window appears. This happens with the provided binary as well as with one built from the git source. RC1 worked fine. Should I dig deeper and/or create a ticket?

Best to report.

If you can catch any stacktrace (from console) then that might help.

Does it get to the setup dialog? (try with --setup ).
If yes, does it crash with/without anchor-docking / docked-form?

pleumann

  • Jr. Member
  • **
  • Posts: 97
Re: Lazarus Release Candidate 2 of 4.0
« Reply #41 on: January 13, 2025, 11:39:03 am »
Hello,

RC2 crashes on both of my Mac machines (1 x Intel/Monterey, 1 x Arm/Sequoia) with a segmentation fault during early startup, before the main window appears. This happens with the provided binary as well as with one built from the git source. RC1 worked fine. Should I dig deeper and/or create a ticket?

Best to report.

If you can catch any stacktrace (from console) then that might help.

Does it get to the setup dialog? (try with --setup ).
If yes, does it crash with/without anchor-docking / docked-form?


I can provide a full crash report from Mac OS. It looks like an endless recursion. It happens after the setup dialog, but before anything else (including the splash dialog) is shown on screen, and regardless of the IDE style. I think I already identified the problematic piece of code (because I see file/line info with my self-built binary). I'll open a ticket.

Best regards
Joerg

d7_2_laz

  • Hero Member
  • *****
  • Posts: 603
Re: Lazarus Release Candidate 2 of 4.0
« Reply #42 on: January 16, 2025, 09:34:50 pm »
Many thanks to the developer and supporter team from my side too!

Regenerated three of my main projects with the RC2 - no problems at all!
(Admittedly, I look more at the functional behavior of a project than at changes within the IDE).

But this makes me a bit worrying:

It may be too late. Once the release is out we will have to be more selective about which fixes can be merged for further 4.x releases. So it may be, that we can not merge the fix you require. And then you will miss out on all the new features.

Yes, i have a very unpleasant issue still occurring with the 4.0 RC2 too (and this is the only one btw ...):
https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/41290

Yes, it may be that you are the only person with a project

Obviously it seems so ... for this problem report, nobody replied about the contents so far.

I cannot express enough, that after, meanwhile, a couple of weeks successfully working with the proposed patch i never would like to miss it. It does not only solve the issue with the plugin. It does make the behaviour of a treeview at mousemoves much more smoother, especially of course when working with dark theme subclassings.

Do I have to prepare myself for years of manual patching?
Lazarus 3.6  FPC 3.2.2 Win10 64bit

TRon

  • Hero Member
  • *****
  • Posts: 3810
Re: Lazarus Release Candidate 2 of 4.0
« Reply #43 on: January 16, 2025, 10:18:33 pm »
Do I have to prepare myself for years of manual patching?
Since when do Lazarus releases (fixes) take years ?
I do not have to remember anything anymore thanks to total-recall.

d7_2_laz

  • Hero Member
  • *****
  • Posts: 603
Re: Lazarus Release Candidate 2 of 4.0
« Reply #44 on: January 16, 2025, 10:31:08 pm »
Do I have to prepare myself for years of manual patching?
Since when do Lazarus releases (fixes) take years ?
'Years' as synonym for a long time, sorry TRon, there was absolutely no bad intention behind, i promise   :)
Lazarus 3.6  FPC 3.2.2 Win10 64bit

 

TinyPortal © 2005-2018