Recent

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

TRon

  • Hero Member
  • *****
  • Posts: 3742
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: 191
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: 118
    • 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: 10647
  • 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: 191
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: 34
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: 10647
  • 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: 196
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: 196
Re: Lazarus Release Candidate 2 of 4.0
« Reply #38 on: Today at 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: Today at 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: Today at 11:06:57 am by pleumann »

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 10647
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus Release Candidate 2 of 4.0
« Reply #40 on: Today at 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: Today at 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

 

TinyPortal © 2005-2018