Lazarus 1.2 fixes branch

From Free Pascal wiki
Jump to navigationJump to search

This page contains the revisions to be merged from trunk to the Lazarus 1.2 fixes branch.
Release notes can be found here

Fixes for 1.2 RC1

Merge requests

Submitted by developer / committer

  • r43269 LCL, carbon, fix CombineRgn when op=diff and dst=src2, dst(src2) ended with a copy of src1 and result is src1 op src1
  • r43270 LCL, carbon, implements CreateEllipticRgn
  • r43271 Lazreport, fix Report shape tool has black shadow, issue 14127
  • r43272 LazReport, some times objects that are hidden by others in upper layer show up because clipping region of moving object enable them, make sure they are visible or not
  • r43273 LazReport, enable native print dialog in Mac OS X by default + option to disable it

Submitted by others

Merged revisions for 1.2 RC1

  • r42825 Installer, Win: allow "pre-release" in version name (inno setup)
  • r42835 IDE: mode matrix: fixed showing targets
  • r42838 rpm: fixed handling versions with minus
  • r42842 dmg: versions with letters and minus
  • r42840 Spelling
  • r42843 codetools: syntax error if parameter type is missing
  • r42844 codetools: fixed parsing var type deprecated bracket close
  • r42845 LCL: minor corrections of comments in clipbrd.pp (thanks to Mike Thompson), bug 25033
  • r42846 codetools: fix parsing of "specialize SomeGeneric<TypeParams>" as function/operator result (this fixes error with parsing of new objpas generics)
  • r42850, r42851: carbon: fix linear gradient drawing
  • r42854 LCL: added TPairSplitter.Constraints
  • r42856 Debugger: Disable logging of stackdump during unit lookup
  • r42859 codetools: fixed removing first unit from second line
  • r42865 IDE: fixed complete block, bug 24935
  • r42866 IDE: fixed complete block on char, fixed codebrowser check if something changed
  • r42868 codetools: fixed checking if resolving edged bracket open is allowed, bug 25045
  • r42877 LCL: TTreeView: check OverlayIndex upper bound
  • r42898 SynEdit: IfDef Markup, fix issue with not displaying nested disabled blocks sometimes
  • r42905 Qt: TQtComboBox fix for call IntfGetItems when we are non-editable combobox.
  • r42906: Qt: call OnDropDown imediatelly after IntfGetItems, so our events are in expected order and there's no disturbing of QListWidget while showing.issue 25032
  • r42832 Propedits: remove a test version of TCoolBarControlPropertyEditor.CheckNewValue
  • r42886 IDEIntf: Change TComponentPropertyEditor back to original behavior so it lists all components from all forms.
  • r42909 IDE: add PowerPc processor types to selection list.
  • r42910 Converter: Define PUREPASCAL for units during conversion when simulate Delphi defines is set.
  • r42912 lcl: dbgrids: fixed memleak of KeyBookmark, patch from Luca Olivetti, bug 24412
  • r42913,r42917 Debugger: reset thread on start/init
  • r42916 IDE: Improve the All Compiler Options GUI filter. It lost focus because it was disabled. Not any more.
  • r42923 LCL, Gtk2, fix grid editing problem on ALT+TAB forward and back, issue 22475
  • r42924 LCL, Gtk2, force redraw of GTKWinApiWidgets on focus changes so they can reflect focused/unfocused state (for grids in this case)
  • r42932 Debugger: Options, mark project as modified, when exceptions are enabled/disabled. Issue 0025074
  • r42931 Debugger: Options, disable add/remove buttons on signal opts. Not implemented
  • r42936 LCL, grids, handle the first key in keypress, fixes issue 24893
  • r42940 Qt: fixed TQtCheckListBox double click event duplication.issue 25089
  • r42941 Qt: change current row of TQtCheckListBox for Qt >= 4.8 since it does not change ItemIndex when checkbox is clicked.
  • r42943 LCL, fix grids focus where OnEnter occurs twice, issue 25010
  • r42946 IDE: when closing a modified package and user does not save mods, clear modified, bug 22956
  • r42950 42951 42952 42953: Object Inspector: show collections referenced multiple times only once, show TFieldDefs without owner
  • r42988 Debugger: Spelling
  • r42987 SynEdit: Spelling
  • r42989 Debugger: fix disassembler, check if offset can be used
  • r42990 Debugger: fix race condition, stopping the debugger could lead to debugger error
  • r42954 LCL, grids, modify editor bounds in case it's affected by modifying default Col width or Row height
  • r42958 LCL, fix ValueListEdit not showing key column at runtime, issue 24780
  • r42985 42986 42991: LCL, grids, fixed selection by mouse if editor is visible and focused
  • r42992 LCL, grids, allow the RETURN key to go to OnKeyPress
  • r42993 LCL, grids, implemented InsertRowWithValues from Everton Vieira, issue 21176
  • r42945 IDE: designer: fixed adding components on inherited form, bug 25084
  • r42994 42995 42996: LazReport, several template fixes including fix crash on loading template, issue 14137
  • r42948 LCL, gtk2, check if widget is still valid (avoid a CRITICAL warning)
  • r43028 IDE: Respect the Use Comments setting also when editing defines.
  • r43038 Debugger: force gdb to use lang=pascal. (set after attach / needed in some environment, such as cgi in webserver)
  • r43064 SynEdit: Ifdef highlight, more verbose assert.
  • r43077 Translations: Brazilian Portuguese translation update by Marcelo B Paula, bug 25134
  • r43078 IDE: regenerated Brazilian Portuguese translation
  • r43041 Qt: updated Qt bindings to version 2.5
  • r43043 Qt: fixed application closing when session manager is used. issue 18910
  • r43040 LazReport, fix hyphenation helper mem leak
  • r43062 Qt: fix conditional switches. issue 25139
  • r43046 LazReport, improve error message on missing classes, was about FRF format while in reality is about LRF format
  • r43063 LazReport, restored accidentally removed translations
  • r43047 LazReport, fix error in dialogs when object is deleted and then a new one inserted, issue 25097
  • r43076 Components, Lazreport: updated Russian translation
  • r44051 LCL, grids, do not trigger CellButton click if MouseDown is OutBounds, mdified patch from malcome, issue 25127
  • r43052 LCL, grids, reformat some code that SHIFT+CTRL+C keeps reminding is different
  • r43054 lcl: grid: initialize var
  • r43109 ValEdit: Fix crash in InsertRow if Strings.Count = 0. Issue 0025144
  • r43110 ValEdit: implement an adapted version of InsertRowWithValues
  • r43118 ValEdit: refactor the logic behind wether or not to hide the editor when manipulating the Strings property.
  • r43119 ValEdit: fix possible error in InsertRowWithValues due to uninitialized NameValueSeparator.
  • r43115 LCL: implemented TListView.OwnerDraw + OnDrawItem. part of issue 25149
  • r43116 Qt: implemented TListView.OwnerDraw + OnDrawItem. part of issue 25149
  • r43122 Gtk2: implemented TListView.OwnerDraw + OnDrawItem. part of issue 25149
  • r43053 Qt: fixed compilation with fpc 2.7.1. issue #25125
  • r43135 Qt: implemented TCustomListView OnCustomDraw, OnCustomDrawItem, OnCustomDrawSubItem. part of issue 7059
  • r43146 Qt: improved qt themes. Added tab drawing.
  • r43149 Qt: improved qt themes text drawer.
  • r43150 Qt: implemented teProgress in qt themes.
  • r43152 Qt: partially implemented teListView in qt themes.
  • r43154 Qt: implemented teSpin in qt themes.
  • r43156 Gtk2: implemented themed draw of combobox.issue #25151
  • r43157 Win32: implemented TListView.OwnerDraw and TListView.OnDrawItem. issue #25149
  • r43158 Qt: TQtListWidget, TQtTreeWidget.itemDelegatePaint() draw background of item by default.related to issue #24941
  • r43061 LCL, carbon, fix filterindex and add trigger some missing dialog events, fix issue 25086
  • r43024 Printers, windows, do not open and setup printer if it's being destroyed, issue 23026
  • r43140 Printers, carbon, fix context origin (the origin should be the imageable area not the paper rect)
  • r43141 Printers, Carbon, support for printing at higher resolution, issue 23339
  • r43159 SynEdit: Avoid highlighter scanning twice, due to trailing space changes
  • r43160 SourceEdit: Set ifdef (on tab change) after dec-paintlock)
  • r43162 LazReport, several fixes by Alexey Lagunov
  • r43163 TRadiouGroup: do not reset FItemIndex in UpdateIyems whilst loading. Issue #0025158.
  • r43164 Printers, cups, fix PrintDialog does not set Copies and Colate properties, from Petr-K, issue 24959
  • r43165 SynEdit: Fixed uninitialized value in block-selection
  • r43166 Qt: fixed TQtCheckListBox triggering OnItemClick when TCheckListBox.Style <> lbStandard.
  • r43167 Qt: improved QtThemes.GetDetailSize by returning sizes of checkbox and radiobutton.
  • r43168 Qt: improved teTreeView theme drawer, trigger IntfDoOnThemeChange when theme is changed.
  • r43169 Qt: fixed TQtListWidget behaviour when it's owner drawn and checkable = true.
  • r43170 Qt: fixed checked item state and custom painting cdsChecked when TQtTreeWidget is ownerdrawn (assigned OnCustomDrawXXX).
  • r43171 Qt: TQtTreeWidget: added odChecked to drawstate when OnDrawItem is assigned and we are checkable listview.
  • r43172 Qt: fixed wrong DrawState param for TQtListWidget when OnDrawItem is assigned (ownerdraw).
  • r43173 Qt: fixed behaviour of checkable items when key space is pressed in TQtAbstractItemView.OwnerDraw mode.
  • r43174 Gtk2: Gtk2Themes: return correct size value for checkbox and radiobutton
  • r43175 Qt: fixed drawer for themed TGroupBox.
  • r43176 Gtk2: fixed combobox themed paint (separated combo button from combo root).issue #25151
  • r43177 ValEdit: fix crash on GetCells when empty rows are auto-added.
  • r43178 Gtk2: pass TCheckListBox.OnDrawItem when Style <> lbStandard.issue #14071
  • r43180 Qt: fixed regression in owner drawn combobox from rev.43135. issue #25172
  • r43182 IDE: Compare TargetOS without case sensitivity. The default value is lowercase.
  • r43188 sqldb: TSQLDBLibraryLoader, TPQEventMonitor, TFBEventMonitor and TFBAdmin were backported to FPC 2.6.3
  • r43189 Debugger: Fix handling of single quote in strings returned by gdb
  • r43194 sqldb: enabled TSQLDBLibraryLoader, TPQEventMonitor, TFBEventMonitor and TFBAdmin for FPC 2.6.3 too in order to allow to test them before FPC 2.6.4 is released (FPC 2.6.3 built in February is OK)
  • r43195 Converter: Fix a crash when a replaced function had brackets '()' without parameters.
  • r43197 Debugger: Fix handling of backslash in strings returned by gdb (used for classname resolving)
  • r43201 r43202 r43203 r43204 r43205 r43208 r43209 r43214 r43215 codetools: parsing new modifiers and keywords, needed for parsing FPC sources
  • r43009 SynEdit: Allow to set ssoMatchCase for TSynEditMarkupHighlightAllCaret. Issue 0025108 Patch by Denis Golovan
  • r43218 Qt: implemented scrollbars on forms (scrollable forms).Currently it works only if QTSCROLLABLEFORMS define is enabled in qtdefines.inc. issue #24715
  • r43219 IDE: save package main source: ignore case, bug 25173
  • r43222 LCL: wslclclasses, increased VIRTUAL_VMT_COUNT const from 100 to 128, to be able to add more methods to ws classes.
  • r43223 TRadioGroup: fix resetting ItemIndex to -1 when calling Items.Assign (regression introduced by me in r42772).
  • r43234 Qt: fixed crash when QTSCROLLABLEFORMS are enabled and reparenting form with mouse (eg undock).part of issue #24715
  • r43236 Qt: fixed problem with clientrect sizes when QTSCROLLABLEFORMS are enabled.part of issue #24715
  • r43238 Qt: fixed QPainter assertion when QTSCROLLABLEFORMS is enabled.Completely fixes issue #24715
  • r43241 Qt: invalidate clientrect cache when viewport of scrollable form is resized.QTSCROLLABLEFORMS part.
  • r43242 Qt: do not loop with LCL when designing TPageControl, keep LCL sizes when InUpdate.
  • r43243 Qt: do not invalidate client rect cache in scrollable form viewport if we are embedded form (eg. docked).
  • r43244 LCL: TCustomListView: implemented SelectAll & ClearSelection for delphi compatibility. issue #19812
  • r43245 LCL: TCustomListView: added TCustomListView.AddItem for delphi compatibility. issue #25092
  • r43240 Debugger: Try filename in app bundle for newer gdb
  • r43255 Debugger: parse version / mac file encoding depends on version

binaries

  • r43042 Qt: updated Qt4Pas5.dll to version 2.5. IMPORTANT !

Roadmap to 1.2

The release process will consist of the following steps.

  • Creation of the SVN 1.2 fixes branch (Done 15 Sept 2013)
  • Publication of Lazarus 1.1.99 pre-release (Done 18 Sept 2013)

This will be an early alpha of the upcoming 1.2. It will be available to anyone who wants to help testing. Testers should treat this release with similar caution as the daily snapshots. The testing period is scheduled to last 6 to 8 weeks.

  • Release of 1.2 RC 1 (Early/Mid November 2013)

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 6 to 8 weeks.

  • Release of 1.2 RC 2 (Mid/End December 2013 / Early 2014)

The testing period is scheduled to last 6 to 8 weeks.

  • Maybe 1.2 RC 3

An RC 3 may be scheduled, if necessary.

  • Release of Lazarus 1.2 (between Feb and Apr 2014)

How to merge

See Lazarus_1.0_fixes_branch#How_to_merge