1 min read

Earlier this month, the team at Lazarus announced the release of Lazarus 2.0.0, an open-source cross-platform built with FPC 3.0.4 (Free Pascal Compiler).

What’s new in Lazarus 2.0.0

LCL (Lazarus Component Library) Interface Changes

  • ScreenToClient and ClientToScreen can now be calculated without scrollbar offset.
  • Support for mouse wheel horz scrolling.
  • This release comes with added flags to exclude support for some graphics formats to create smaller applications.
  • The image list now supports multiple resolutions of one image.
  • All the LCL controls now support High-DPI glyphs on Windows+Linux and Retina on Mac without any additional code.
  • Every LCL control that supports ImageList now has a new ImagesWidth property for deciding what custom width at 96 PPI (100% scale) is to be used.

IDE Changes

  • This release includes several High-DPI IDE improvements and a retina support on Cocoa
  • The IDE parses the custom compiler options for the fpc switch -FN<namespaces> for defining the default namespaces.

Editor

  • Lazarus 2.0.0 comes with “smart move cursor” moving commands for editor mappings. They are useful as an alternative for Ctrl+Left/+Right/+Shift+Left/+Shift+Right key.
  • This release comes with added Goto/Toggle bookmark submenu for the toolbar.
  • Additional options to fine-tune outline colors.

Debugger

  • This release comes with an added option “FixStackFrameForFpcAssert” to workaround fpc wrong frame pointer.
  • There is an added option “FixIncorrectStepOver” to workaround “step over” issues experienced on some platforms.

Components incompatibilities

  • TSpinEditEx and TFloatSpinEditEx now inherit a common base class TSpinEditExBase.
  • The reticule component is removed because the crosshair cursor is included in the more versatile charttools.

To know more about this news, check out the Lazarus’ official post.

Read Next

Creating a Lazarus Component

Microsoft joins the OpenChain Project to help define standards for open source software compliance

Mapzen, an open-source mapping platform, joins the Linux Foundation project