Lazarus 1.2.0 release notes
From Free Pascal wiki
Template:Lazarus 1.2.0 release notes
Lazarus 1.2.0 is not yet released. This page is under construction!
Statistics:
- commits: xxx
- log: svn log -r xxxx:xxxx
- resolved bug tracker issues: xxx
LCL Interfaces Changes
LCL Changes
IDE Changes
- Editor
- Interactive Hints (Mouse can enter Hints / Hints have links). Requires package TurboPowerIProDsgn
- Macro Recorder/Player
- Multiple macros. Ability to select/change macro from list.
- Individual key-shortcuts for each Macro
- Macros can be saved per project or with the global IDE config
- Package EditorMacroScripting: Allow use of PascalScript in macros.
- Sticky selection mode
- Highlight different (user specified) words in different colors See here
- Auto-continue for comments and strings
- Debugger
- Watches window: added detail view, for selected watch
- Debug Inspector: Ability to directly input expression to monitor
- Attach and Detach
- When option "open last project" is enabled (default) and the IDE was closed with no project, no project will open at start. When a virtual (not saved) project was open a new Application project is created.
- IDEIntf: Added boolean parameter BringToFront (defaults to false) to TLazIDEInterface.DoShowSearchResultsView. It specifies whether Search Results dialog should be shown on top or under Source Editor. Behavior of existing code calling this method is not affected.
- IDEIntf: Added TPropertyEditor.GetVerbCount, GetVerb, PrepareItem, ExecuteVerb to let TPropertyEditors add menu items to the Object Inspector.
- The Package Graph now uses the new TLvlGraphControl, showing all package dependencies including project and IDE.
lazbuild
- Added options --verbose, --quiet and -q to increase/decrease verbosity. You can pass them multiple times.
- When compiling a project (.lpi) lazbuild now checks if the project needs compilation and if not will not call the compiler. It also now writes why it recompiles.
Components
TAChart
- Series:
- Transparency
AddArray
,AddNull
,AddX
andAddY
functions,SetText
procedureTFitSeries.IEquationText
interfaceTPolarSeries.CloseCircle
propertyTFuncSeries.ExtentAutoY
propertyTBarSeries.GetBarWidth
function
- Tools:
- New tool:
TDataPointDistanceTool
EscapeCancels
property for dragging toolsTDataPointHintTool
:UseApplicationHint
property,OnHintPosition
eventTDataPointFragTool
:Origin
property,OnDrag
,OnStartDrag
eventsTZoomDragTool.RestoreExtentOn
propertyTChartToolset.DispatchedShiftState
property
- New tool:
- Sources:
TDbChartSource
:Options=[dcsoDateTimeX, dcsoDateTimeY]
property,OnGetItem
eventTListChartSource
:SetText
,SetColor
,AddXYList
procedures- New sources:
TCustomAnimatedChartSource
,TCustomAxisChartSource
- Axes and marks:
- Axis index property editor
TChartAxis
:Position
,Value
,ValueCount
properties,IsPointInside
function- Marks:
Arrow
,Margins
,Shape
,CalloutAngle
properties,OnGetShape
event
- Misc
TAChartTeeChart
unit with some helpers for migration from TeeChartTChart
:IsZoomed
,PrevLogicalExtent
,AutoFocus
propertiesTChartExtentHistory
utility class- 3 new demos:
lazreport
,animate
,distance
TLvlGraphControl
This new control is part of the package LazControls and used by the IDE itself as well. The control shows a graph consisting of nodes and edges as level graph (an other name is layered graph).
- automatic topological sorting, option to put nodes leftmost or rightmost
- can automatically combine edges. Long edges over multiple levels are combined to single lines with forks.
- heuristic for minimize crossings
- automatic anti overlapping
- can show nodes as rectangles, ellipses or icons from an TImageList
- select nodes via mouse
- multi selection
- highlight nodes or edges under mouse
- shows back edges with special colors
- edges can be drawn straight or curved (bezier)
- header caption
- node captions can be shown left, right, above or below nodes
- all colors can be set via published properties
- events to custom draw and/or skip each part of the default drawing
There is a simple example in examples/levelgraph/lvlgraph_dependencies.lpi.
Changes affecting compatibility
LCL TCustomForm.AddHandlerFirstShow,AddHandlerClose,AddHandlerCreate parameter AsFirst default value changed to false
- Reason: Consistency with other LCL AddHandler.
- Remedy: Add parameter true to caller.
LCL TScreen.AddHandlerFormAdded+AddHandlerRemoveForm+AddHandlerActiveControlChanged+AddHandlerActiveFormChanged+AddHandlerFormVisibleChanged parameter AsFirst default value changed to false
- Reason: Consistency with other LCL AddHandler.
- Remedy: Add parameter true to caller.
IDEIntf TOICustomPropertyGrid.Favourites was renamed to Favorites
- Reason: Consistent American spelling
- Remedy: Rename used identifier