Lazarus 4.0 fixes branch

Preliminary page for Fixes 4 branch.
This page is used internally by the Lazarus team.
The data in this page does not represent the full extent of what is included in the fixes branch/versions

 

Open issues listed on the linked milestones are loosely targeted for the indicated version. Their final inclusion depends on the available man-power and/or contributions. Release may or may not be deferred for any non resolved issue.

 

 

This page contains the revisions to be merged from main branch to the Lazarus 4.0 fixes branch.

Release notes can be found here.

Internal Merge requests for 4.0

edit

Open Merge requests

edit

Submitted by others / waiting for sign off by team member

edit

Submitted by developer / committer and waiting for testing (do not commit yet)

edit
  • 483f6fb5ce Docs: LCL/grids. Updates the TCustomGrid.MouseToGridZone topic for changes in d70fd7f2. Issue #41681.
  • ce2ebbfc LCL: when assigning a TLogFont to a TFont, also set TFont.Orientation. 42404 Issue #42404.
  • d63d7026 LCL: when assigning a TLogFont to a TFont, set TFont.Orientation to the value lfEscapment, not lfOrientation. 42404 Issue #42404

Merge conflicts

edit
  • 363b39a296 Docs: LCL/lazregions. Updates content in TLazRegion topics. Changes in e48ca315.
  • c8a07f905a Docs: LCL/forms. Updates TWindowMagnetOptions.SnapToForms topic for changes in 7ab02f5d, d0fe51fd.

Submitted by developer / committer, tested, waiting to be merged

edit
  • 5f063c2e TListItems.GetItem: return nil if index is negative. (Delphi compatibility). 41972 Issue #41972.
  • f99455e9 LCL: TFont.IsEqual: also take Orientation into account.
  • 5073fc60 Windows: Fix AccessViolation in TWinPrinter.GetDefaultPrinter if no default printer exists. 42422 Issue #42422.

Processed Merge requests

edit
  • 43a9af05 Win32: implement TOpenOptionEx.ofExNoPlacesBar for pre-Vista style dialog. 41301 Issue #41301.
  • 1c7ecdbb Win32: fix crash if CoCreateInstance fails (Vista IFileDialog). Part of 40298 Issue #40298.
  • 3cc3475c TFileListBox: fix not adding filenames wich only differ in case, when the control doesn't have a handle yet (i.e. with Directry set in OI). 41441 Issue #41441
  • 9f23efb4 Dialogs: fix the description of ofReadOnly and ofHideReadOnly flags.
  • 5563082dfc Docs: LCL/dialogs. Updates content in the TOpenOption.ofNoReadOnlyReturn topic. Issue #41563. Depends on 9f23efb4.
  • c605b74dab Docs: LCL/dialogs. Adds an omitted word. Depends on 5563082dfc.
  • 7e1d786c LCL-Gtk2: Fixed pasting text from Combobox to some other application when selecting/middle-clicking.
  • 08454745 LCL-Gtk2: fixed component position issues on bsSingle forms under Xfwm4, issue #41219
  • 39116905 IDE: Fix crash in the Treeview Items Editor which allowed trying to open an non-existing file.
  • 0d3a623812 Docs: LCL/grids. Updates TCustomGrid.KeyPress topic for changes in 4d4d4060. Issue #41503.
  • 162cbbfc LazUtf8: correct a StartCharIndex < 1 in Utf8Copy. Reason: consistent with System.Copy().
  • 913b749f LazUtf8: correct a StartCharIndex < 1 in Utf8Insert. Reason: consistent with System.Insert().
  • bad60c01 LazUtf8: Fix Utf8Insert for StartCharIndex > Utf8Length(s)+1. Reason: consistent with System.Insert().
  • 3a913cf2dd Docs: LazUtils/lazutf8. Updates UTF8Copy and UTF8Insert topics for changes in 162cbbfc, 913b749f, bad60c01.
  • 020ca3b42c Docs: LCL/dialogs. Additional updates to TOpenOption.ofViewDetail, TOpenOption.ofAutoPreview topics. Fixes spelling error.
  • 79160f61 Dialogs: remove TOpenOptionEx.ofForcePreviewPaneOn and move it's functionality to TOpenOption.ofAutoPreview. Committed manually.
  • 89a27ef0 Dialogs: fixed descriptions of ofViewDetail and ofAutoPreview, which got mixed up in 79160f61. Committed manually.
  • 5a6e95d7 Dialogs: improve descriptions of several TOpenOptions. Based upon MR !455 by n7800, modfied by me. Committed manually.
  • fd8c8885 Dialogs: some more improved descriptions of TOpenOptions. Committed manually.
  • 0cb42a65 Dialogs: some more improvements to descriptions of TOpenOptions. Based upon MR !455 by n7800.
  • 410911ba37 Docs: LCL/dialogs. Additional updates to TOpenOption topics. Based upon MR !455 by n7800 with corrections.
  • ea83afdf93 Docs: LCL/graphutil. Updates the ScaleImg topic for changes in 412af2a7. Issue #41614.
  • 49848f1d14 Docs: LCL/graphutil. Fixes missing end tag. Depends on ea83afdf93.
  • d424ffce Designer: Fix crash when pressing [Ctrl+Enter] with invalid name in rename dialog (MR !465).
  • 8801d4e9 ExtDlgs: include ofAutoPreview by default in TOpenPictureDialog.Options. Reason: the controll will always act like it is set (by design).
  • 0103e0a8 LCL-Gtk2: fixed regressions WRT issue #41012 after 08454745. Issue #41219, patch by Artem Izmaylov.
  • e6f6b5b7 LCL-Gtk2: Fixed run-time maximization of forms with WindowState = wsMaximized under Xfce. Patch by Artem Izmaylov, issue #41219.
  • dfb54acd Win32: fix WM_QUIT message causes an infinite loop. Patch by Michalgw. 41608 Issue #41608.
  • 2e95542a LCL-Gtk2: Added missing callback call, thus preventing visual toggling of checked TMenuItem when its AutoChecked property is set to false. Patch by Pascal Bergeron, issue #41815.
  • 256b15ed Win32: fix crash if CoCreateInstance fails (Vista IFileDialog) for TOpenPictureDialog and TSavePictureDialog. Similar to 1c7ecdbb.
  • a5336962 Win32: fix WS registration of TSavePictureDialog. 41765 Issue #41765.
  • 7b10ee98 T(Float)SpinEditEx: don't change Value with MouseWheel if ReadOnly = True. 41989 Issue #41989.

Roadmap to 4.0

edit

The release process will consist of the following steps.

  • Creation of 4.0 fixes branch. (Done ?)

This is the start of the stabilization process before a new Lazarus release.

  • Release of 4.0RC1 (Done 27 October 2024)

This will be the first Release Candidate. We would like to urge all users to test this version. The testing period is scheduled to last 2 weeks.

  • Release of 4.0RC2 (Done 09 January 2024)

The testing period is scheduled to last 2 weeks.

  • Release of 4.0RC3 (?)

The testing period is scheduled to last 2 weeks.

  • Release of Lazarus 3.0

Users can download the new stable version.

Tests

edit

(Text below may ot yet be fully correct)

  • Menu item exists
  • Clear pcp directory and start IDE, a new project application with a form should be visible
  • Double click on form - a FormCreate event should be created
  • Check View / IDE internals / What needs building - no package should need building, only the project
  • Restart the IDE - there should be no warning about upgrading
  • Install the package cody, after restart the component palette should show the component TCodyTreeView
  • Run Unit-Tests from menu "Tools"--> "Example Projects". Choose project "runtestsgui.lpi" and run it. It will do about 390 unittests.

Tagging release

edit
  • GIT merge requests of this page
  • set version in main branch:
    • docs/html/locallclfooter.xml
    • all xml files
  • set version in fixes_4_0 branch:
    • open lazarus/lazarus.lpi in the IDE and change the version numbers in the project options dialog ... for final
    • lazarus/ide/packages/ideconfig/version.inc 4.0RC2 for RC2, no spaces! (4.0 for final release)
    • lazarus/components/lazutils/lazversion.pas 4.0.0.1 for RC2, 4.0.0.2 for RC2, ... 4.0.0.4 for final
    • lclbase.lpk
    • lcl.lpk
    • lazarus/lazarus.app/Contents/Info.plist
      • CFBundleShortVersionString "4.0.0"
      • CFBundleVersion 1 for RC1, 2 for RC2, 3 for RC3, 4 for final release
    • tools/install/linux/environmentoptions.xml same as version.inc
    • tools/install/linux/environmentoptions-arm64.xml same as version.inc
    • tools/install/win/environmentoptions.xml same as version.inc
    • tools/install/macos/environmentoptions.xml same as version.inc
    • docs/html/locallclfooter.xml
    • check lpl files by running "./tools/lplupdate -c" and do the git mv commands
    • Update makefiles: Make sure Additions and Overrides are empty and run
FPCDIR=/path/to/fpc/src/trunk PATH=/path/trunk/fpc/utils/fpcm/bin/x86_64-linux/:$PATH ./tools/updatemakefiles
  • check that ide/lazarus.lpi and ide/lazarus.res have changed:
git status

Other branches

edit

Lazarus - Release Notes and GIT Branch with Release Fixes

Release notes for Version:

0.9.24 | 0.9.26 | 0.9.28 | 0.9.28.2 | 0.9.30 | 1.0 | 1.2 | 1.4 | 1.6 | 1.8 | 2.0 | 2.2 | 3.0 | 4.0 | 5.0

Fixes branch (How to merge):

0.9 | 1.0 | 1.2 | 1.4 | 1.6 | 1.8 | 2.0 | 2.2 | 3.0 | 4.0

Free Pascal Compiler - User Changes (Release Notes)