Recent

Author Topic: Lazarus Release Candidate 1 of 4.0  (Read 44996 times)

mattias

  • Administrator
  • Full Member
  • *
  • Posts: 199
    • http://www.lazarus.freepascal.org
Lazarus Release Candidate 1 of 4.0
« on: October 27, 2024, 09:34:20 am »
The Lazarus team is glad to announce the first release candidate 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.0RC1" directory.

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

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_RC_1

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/

Why should everybody (including you) test the release candidate?

In the past weeks the Lazarus team has stabilized the 4.0 fixes branch. The resulting 4.0RC1 is now stable enough to be used by any one for test purposes.

While we have tested those ourselves, there may still be problems that only occur with very specific configurations or one project in a million.

Yes, it may be that you are the only person with a project, that will not work in the new IDE. So if you do not test, we can not fix it.

Please do not wait for the final release, in order to test. 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 3.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.

How to test

Download and install the 4.0 RC1.
- On Windows you can install as a 2ndary install, that will not affect your current install:

http://wiki.lazarus.freepascal.org/Multiple_Lazarus#Installation_of_multiple_Lazarus
- On other platforms, if you install to a new location you need to use
--primary-config-path

In either case you should make backups. (including your primary config)

Open your project in the current Lazarus (3.6), and use "Publish Project" from the project menu. This creates a clean copy of your project.

You can then open that copy in the RC1. Please test:
- If you can edit forms in the designer
   - rename components / change properties in Object inspector / Add
     new events
   - Add components to form / Move components on form
   - Frames, if you use them
- If you can navigate the source code (e.g. jump to implementation)
- Auto completion in source code
- Compile, debug and run
- Anything else you use in your daily work

chinaliu

  • Newbie
  • Posts: 4
Re: Lazarus Release Candidate 1 of 4.0
« Reply #1 on: October 27, 2024, 10:01:48 am »
 :)It's been a long wait,thanks!

dbannon

  • Hero Member
  • *****
  • Posts: 3294
    • tomboy-ng, a rewrite of the classic Tomboy
Re: Lazarus Release Candidate 1 of 4.0
« Reply #2 on: October 27, 2024, 11:05:32 am »
Thanks folks.

What a great solution for the problems people have been having with the Mac !

Davo




Lazarus 3, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

MAndreato

  • New Member
  • *
  • Posts: 11
Re: Lazarus Release Candidate 1 of 4.0
« Reply #3 on: October 27, 2024, 11:17:43 am »
Just installed RC1. It works fine and I love the new docking editor!
I just had to enable the components tree to feel like at home.

Thank you.

jonyrh

  • New Member
  • *
  • Posts: 20
    • Jony Rh Homepage
Re: Lazarus Release Candidate 1 of 4.0
« Reply #4 on: October 27, 2024, 11:34:33 am »
:) WOW! Big Thanks!

carl_caulkett

  • Hero Member
  • *****
  • Posts: 649
Re: Lazarus Release Candidate 1 of 4.0
« Reply #5 on: October 27, 2024, 11:42:53 am »
I'm currently using FPC 3.3.1+Lazarus 3.99. If I want to install Lazarus 4.0 RC1, do I need to download and install FPC 3.2.2 in addition to Lazarus? I've used FPC 3.2.2 in the past, so maybe the installation is still there some where... Also, how do I ensure that the new Lazarus 4.0 RC1 will use my existing config from 3.99, while leaving the 3.99 installation intact and usable if I so wish?

Sorry if these are obvious questions, but I've spent a lot of effort getting my 3.99 setup just the way that works for me, and I would hate to lose that 😉
"It builds... ship it!"

dbannon

  • Hero Member
  • *****
  • Posts: 3294
    • tomboy-ng, a rewrite of the classic Tomboy
Re: Lazarus Release Candidate 1 of 4.0
« Reply #6 on: October 27, 2024, 12:23:07 pm »
I would try to build the new Lazarus with your FPC3.3.1 if I was you.  Might be an issue but its well worth a try.

Failing that, fpc324-rc1 would be a good bet, but you might need 3.2.2 to build it. Sigh...

Don't forget to set a new --pcp so your configs don't get mixed up.

Davo
Lazarus 3, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 10917
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus Release Candidate 1 of 4.0
« Reply #7 on: October 27, 2024, 12:24:36 pm »
At current 4.0RC1 is very similar to 3.99 (well 3.99 is older, the main git branch is now 4.99).

It also (should) work with fpc 3.3.1.
Only if you test it that way, and find any regressions then please mention that you used a different fpc. Thanks.



If on Windows, you can check "2ndary installation" and have an independent install.

carl_caulkett

  • Hero Member
  • *****
  • Posts: 649
Re: Lazarus Release Candidate 1 of 4.0
« Reply #8 on: October 27, 2024, 01:24:01 pm »
* Mac Mini M1
* macOS 14.6.1
* Lazarus 3.99
* FPC 3.3.1

I decided to press on and backed up my current Lazarus_aarch64 folder and my ~/.lazarus config folder. I installed FPC 3.2.2 and FPC 3.2.2 Src, although since seeing the comments about using 3.3.1, I've since deleted them again. Meanwhile, I downloaded the Aarch64 version of Lazarus, unzipped the file and placed the Lazarus folder under my /Applications folder and renamed it to Lazarus_4.0.

The problem is that when I try to use either the startlazarus loader or the lazarus.app directly, I get a message saying "“lazarus.app” is damaged and can’t be opened. You should move it to the Bin."
Any idea what's up, anyone?

I did notice that no-one else appears to have downloaded Lazarus macOS aarch64 while 10 people have downloaded Lazarus Mac OS X i386. Does this mean that, for the moment, I have to install Lazarus Mac OS X i386?
« Last Edit: October 27, 2024, 01:46:46 pm by carl_caulkett »
"It builds... ship it!"

carl_caulkett

  • Hero Member
  • *****
  • Posts: 649
Re: Lazarus Release Candidate 1 of 4.0
« Reply #9 on: October 27, 2024, 01:45:45 pm »
I've just clicked on Lazarus Mac OS X i386 on the https://sourceforge.net/projects/lazarus/files/ page and it leads to another page that doesn't even have a Lazarus 4.0 RC1 download available.

Could someone explain to me what on earth is going on here?
"It builds... ship it!"

Bogen85

  • Hero Member
  • *****
  • Posts: 702
Re: Lazarus Release Candidate 1 of 4.0
« Reply #10 on: October 27, 2024, 02:31:20 pm »
At current 4.0RC1 is very similar to 3.99 (well 3.99 is older, the main git branch is now 4.99).

Heh. I guess I was already on 4.99 for JCF and was not paying attention (since JCF does not output an updated version)

Code: Text  [Select][+][-]
  1. 9c9
  2. < 3.3.1-16728-g4ef30edbd4
  3. ---
  4. > 3.3.1-16756-gb74411cf03
  5. 12c12
  6. < main_4_99-405-gad91129403
  7. ---
  8. > main_4_99-438-g11ff47b474
  9.  

Code: Text  [Select][+][-]
  1. $ /home/dev/usr/bin/jcf
  2. No path found
  3.  
  4. Named config file jcfsettings.cfg was not found
  5.  
  6. JEDI Code Format V2.44
  7.  August 2009
  8.  

carl_caulkett

  • Hero Member
  • *****
  • Posts: 649
Re: Lazarus Release Candidate 1 of 4.0
« Reply #11 on: October 27, 2024, 04:46:22 pm »
I downloaded the source to Lazarus 4.0RC1 and placed the files in /Applications/Lazarus_4.0. I then used FcpUpDeluxe to install a separate copy of fcp 3.3.1 in /Applications/fcp, added it  to the system path, and restarted my terminal session. Finally, I CDed into /Applications/Lazarus_4.0 and ran make clean bigide. It came up with this...
Code: Bash  [Select][+][-]
  1. Hint: (11030) Start of reading config file /Users/carlcaulkett/.fpc.cfg
  2. Hint: (11030) Start of reading config file /etc/fpc.cfg
  3. Hint: (11031) End of reading config file /etc/fpc.cfg
  4. Hint: (11031) End of reading config file /Users/carlcaulkett/.fpc.cfg
  5. Free Pascal Compiler version 3.3.1-16756-gb74411cf03-dirty [2024/10/27] for aarch64
  6. Copyright (c) 1993-2024 by Florian Klaempfl and others
  7. (1002) Target OS: Darwin for AArch64
  8. (3104) Compiling fcllaz.pas
  9. Fatal: (10022) Can't find unit system used by fcllaz
  10. Fatal: (1018) Compilation aborted
  11. make[1]: *** [fcllaz.ppu] Error 1
  12. make: *** [registration] Error 2

Following the README.md, I followed the instructions on what to do if that gave me any error, and ran make clean all. That gave me exactly the same error.

Has anyone actually managed to install Lazarus 4.0 CR1 on macOS aarch64?
« Last Edit: October 27, 2024, 05:58:44 pm by carl_caulkett »
"It builds... ship it!"

440bx

  • Hero Member
  • *****
  • Posts: 5077
Re: Lazarus Release Candidate 1 of 4.0
« Reply #12 on: October 27, 2024, 06:20:20 pm »
At current 4.0RC1 is very similar to 3.99 (well 3.99 is older, the main git branch is now 4.99).
question: would using v4.99 (current Lazarus trunk) "qualify" as using/testing v4.0RC1 ?

I ask because I've gotten into the habit of using fpcupdeluxe to download/update Lazarus trunk and I'm wondering if updating my current trunk installation would qualify as using/testing v4.0RC1.

(FPC v3.0.4 and Lazarus 1.8.2) or (FPC v3.2.2 and Lazarus v3.2) on Windows 7 SP1 64bit.

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4565
  • I like bugs.
Re: Lazarus Release Candidate 1 of 4.0
« Reply #13 on: October 27, 2024, 06:40:12 pm »
Yes, Lazarus trunk v4.99 is now very close to v4.0RC1. You can probably skip the RC1 version.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

TRon

  • Hero Member
  • *****
  • Posts: 4152
Re: Lazarus Release Candidate 1 of 4.0
« Reply #14 on: October 27, 2024, 07:23:27 pm »
Unable to build this release of Lazarus with FPC 3.2.3
Code: [Select]
Compiling controls.pp
controls.pp(64,30) Error: Identifier not found "mrContinue"
controls.pp(64,40) Error: Illegal expression
controls.pp(65,30) Error: Identifier not found "mrTryAgain"
controls.pp(65,40) Error: Illegal expression
controls.pp(195,32) Error: Identifier not found "TAnchorKind"
controls.pp(195,43) Error: Error in type definition
controls.pp(196,29) Error: Identifier not found "TAnchors"
controls.pp(196,37) Error: Error in type definition
controls.pp(197,41) Error: Identifier not found "TAnchorSideReference"
controls.pp(197,61) Error: Error in type definition
controls.pp(206,27) Error: Identifier not found "akLeft"
controls.pp(206,33) Error: Illegal expression
controls.pp(207,26) Error: Identifier not found "akTop"
controls.pp(207,31) Error: Illegal expression
controls.pp(208,28) Error: Identifier not found "akRight"
controls.pp(208,35) Error: Illegal expression
controls.pp(209,29) Error: Identifier not found "akBottom"
controls.pp(209,37) Error: Illegal expression
controls.pp(211,27) Error: Identifier not found "asrTop"
controls.pp(211,33) Error: Illegal expression
controls.pp(212,30) Error: Identifier not found "asrBottom"
controls.pp(212,39) Error: Illegal expression
controls.pp(213,30) Error: Identifier not found "asrCenter"
controls.pp(213,39) Error: Illegal expression
controls.pp(216,13) Error: Identifier not found "asrTop"
controls.pp(216,19) Error: Illegal expression
controls.pp(217,14) Error: Identifier not found "asrBottom"
controls.pp(217,23) Error: Illegal expression
controls.pp(238,33) Error: Identifier not found "TMouseButton"
controls.pp(238,45) Error: Error in type definition
controls.pp(245,27) Error: Identifier not found "mbLeft"
controls.pp(245,33) Error: Illegal expression
controls.pp(246,28) Error: Identifier not found "mbRight"
controls.pp(246,35) Error: Illegal expression
controls.pp(247,29) Error: Identifier not found "mbMiddle"
controls.pp(247,37) Error: Illegal expression
controls.pp(248,29) Error: Identifier not found "mbExtra1"
controls.pp(248,37) Error: Illegal expression
controls.pp(249,29) Error: Identifier not found "mbExtra2"
controls.pp(249,37) Error: Illegal expression
controls.pp(293,33) Error: Illegal expression
controls.pp(293,45) Error: illegal type declaration of set elements
controls.pp(469,64) Error: Type "TMouseButton" is not completely defined
controls.pp(487,30) Error: Identifier not found "TDragKind"
controls.pp(487,39) Error: Error in type definition
controls.pp(488,30) Error: Identifier not found "TDragMode"
controls.pp(488,39) Error: Error in type definition
controls.pp(489,31) Error: Identifier not found "TDragState"
controls.pp(489,41) Error: Error in type definition
controls.pp(490,33) Error: Identifier not found "TDragMessage"
controls.pp(490,33) Fatal: There were 50 errors compiling module, stopping
Fatal: Compilation aborted
Today is tomorrow's yesterday.

 

TinyPortal © 2005-2018