Lazarus 1.6 fixes branch

From Lazarus wiki
Jump to: navigation, search

This page contains the revisions to be merged from trunk to the Lazarus 1.6 fixes branch.

This are only fixes made after the branch was created. For other fixes made since the previous release (1.4) see SVN and Lazarus 1.4 fixes branch

Release notes can be found here

Fixes for 1.6.2

Merge requests

Submitted by developer / committer

  • r52479 lazutils: fix GetFormatSettingsUTF8, make it public
  • r52480 use GetFormatSettingsUTF8 in TApplication.IntfSettingsChange. Issue #30253
  • r52481 lazutils: fixed compilation on non windows
  • r52486 lazutils: fix comment from r52480
  • r52487 lcl: fix conditional define (all windows) in TApplication.IntfSettingsChange
  • r52488 lazutils: fix compilation with DisableUTF8RTL after r52480
  • r52489 Fix spelling errors. Issue #0030258. Patch by Paul Gevers.
  • r52490, r52491 Fix some more spelling errors.
  • r52492 fpdebug: Add package DebuggerIntf as dependency to asmtest program.
  • r52494 lcl: TControlCanvas: don't allow to empty handle if there is a pre-allocated FDeviceContext handle. Solves issue 30003
  • r52500 lcl: destroy canvas handle of TGraphicControl when parent is removed. Issue 30003
  • r52527 LCLTranslator: Fix FindLocaleFilename failing if optional directory is absolute or ends with a path delimiter.
  • r52530 IDE: Make CompilerMode selection more robust. DelphiUnicode could not be used. Support also GNU Pascal mode.
  • r52546 IDE: fixed "Enable/Disable I18N for LFM" context menu items enabling logic in project inspector (it didn't allow to disable i18n actually due to typo)
  • r52549 LazDataDesktop: removed 'pt'->'pb' substitution hack for Brazilian Portuguese translation, it is not needed for a long time.

Submitted by others

Merged revisions for 1.6.2

  • r51634 Designer: Support also (False) and (True) as Boolean values in Undo operation.
  • r51639 ShellTreeView: make PopulateWithBaseFiles public. Makes it possible to populate a ShelltreeView that was created at runtime.
  • r51643, r52312, r52325 Translations: French translation update by Gilles Vasseur
  • r51654 Examples, translation: allow to select any of available translations, patch by wp, bug 29662
  • r51658 Qt: fixed TQtMemoString.Insert() and TQtTextEdit.insertLine(). Issue #29670
  • r51679 Qt: fixed bug with returning from TQtWidgetSet.GetWindowSize() with fpc-3.0
  • r51597 lcl: use active form as parent for pmNone and modal windows. Issue #29635
  • r51675 LazUtils: Revert r51038. Fixes bug in CopyDirTree. Issue #0029695
  • r51680 Carbon: remove system-wide stay-on-top window style for windows with defined WndParent. Issue #29694
  • r51681 Carbon: remove wrong code from SetRealPopupParent and add a ToDo.
  • r51682 PoChecker: added Portuguese translation support, regenerated translations and updated Russian translation
  • r51683 LCL: added Portuguese translation by Pedro Albuquerque, bug 29712
  • r51688 LazUtf8: fix Utf8LowerCase for #$E2#$B1#$AD (LATIN CAPITAL LETTER ALPHA)
  • r51772 fpcunit: updated po files
  • r51796 FPCUnit: updated Russian translation
  • r51692 LazUtils: Prevent CopyDirTree copying to a subdirectory of source: handle unicode characters.
  • r51693 ide: register debugmanager commands for toolbars
  • r51699 ide: fix smart hint window not receiving mouse messages. Issue #29726
  • r51894 IDE, packager: added dots for 'Find in files' menu item, bug 29800
  • r51742 LCL: Don't use PassWordChar when showing TextHint. Patch by riderkick. Issue #0029748.
  • r51045 LCL: Reduce warnings by replacing deprecated TField's "Lookup" with "FieldKind=fkLookup"
  • r51677 lcl: using process Executable instead of CommandLine
  • r51813 Examples: Fix resource loading in TestAll project.
  • r51814 Examples: Re-enable "Win32 GUI application" of TestAll project (accidentically introduced by me in r51813).
  • r51820 Examples: Fix crash in TForm1.ApplicationIdle of TestAll project.
  • r51847 Carbon: document TListBox.ItemHeight as restricted.
  • r51896 Packager: Fix a crash when adding a package dependency which already is there. Issue #29680.
  • r51494 LazReport, fix list of functions provided by lrAddAddFunctionLibrary not being listed in function list if LazReport compiled with FPC r31941 or newer, patch from Aleksey Lagunov
  • r51659 gtk2: fix hints clipped by 200x200 rect on KDE, Issue #28973
  • r51972 LazUtf8: implement Utf8TryFindCodepointStart. -- needed for r51973
  • r51973 LazUtf8: Refactor UTF8FindNearestCharStart. Resolves Issue #0029851
  • r51970 docs: add fugue icons to acknowledgements
  • r51983 Win32: first attempt to implement TWin32WidgetSet.FontIsMonoSpace. Issue #0028898.
  • r51798 lcl: disable windows on system dialog execute, win32: fix parent window handle for system dialogs, Issue #28631
  • r51808 lcl: restore focus after system dialog. Issue #28631
  • r51810 lcl: better bullet-proof LCL approach for r51808, Issue #28631
  • r51811 lcl: remove stay-on-top window flags on ShowModal because they can block the application from input. Issue #27148
  • r51812 lcl: remove/restore stay-on-top windows in Application ModalStarted/ModalFinished, fix default methods with a counter. Issue #27148
  • r51676 TAChart: Remove hints and warnings Issue #0029709
  • r51977 LazUtf8: firts attempt to rewrite Utf8CompareStr and Utf8CompareText so that it's results will be more consistent with AnsiCompareStr/WideCompareStr and AnsiCompareTex/WideCompareText.
  • r51978 LazUtf8: In UTF8CompareStrCollated only call AnsiCompareStr is ACP_RTL is defined
  • r52004 LazFileUtils: fix uninitialized result in ChompPathDelim. Issue #0029866.
  • r52009 SynEdit, Examples: fix syn hl example / register attributes
  • r52008 IDE: Fix not showing Chars > Chr(127) in ANSI Tab of CharactermapDlg. Improve ANSI charater map. Patch by wp, minor modifications by me. Issue #0029856 (separately patched in fixes_1_6 in r52016)
  • r52007 lcl: add copyright info for LCL images, Issue #29869
  • r52010 lcl: images: update copyright info for dbnavdelete.png
  • r52014 lcl: images: updated Tango icons copyright info. Issue #29869
  • r52015 LCL: replace DBNavigator images for "undo" and "delete" with images from Tango, which are public domain. Part of Issue #0029869.
  • r52017 LCL: update images/copyright.txt
  • r52019 TurboPower_IPro: Fix ineffective "align" attribute in <div> and <p> tags.
  • r52022 lcl: images: use tango icons with alpha channel, Issue #29869
  • r52023 lcl: images: replace all Silk icons by public-domain Tango icons, Issue #29869
  • r52025 lcl: images: cleaner tick images, Issue #29869
  • r52026 lcl: images: better btnseldir.png
  • r52027 lcl: images: update copyright policy with info about Tango icons.
  • r52028 Turbopower_iPro: In PrintPreview form, remove usage of hardcoded MS Sans Serif font.
  • r52034 TurboPower_iPro: Improved text rendering in print preview by antialiasing.
  • r52048 LazReport: Czech translation update by Jiří Vejda, bug 29881
  • r51767 Gtk2: fixed resizing form with constraints applied. Issue #29563
  • r52036 lcl: images: update tango url
  • r52038 lcl: images: replace handpoint and hourglass cursors (unknown origin) with public domain cursors. Issue #29869, handpoint: converted from https://commons.wikimedia.org/wiki/File:Cursor_Hand.png, hourglass: modified cur_17.cur
  • r52039 lcl: images: replace dock images with Tango (some modified by myself). Issue #29869
  • r52040 lcl: images: hourglass cursors: better hotspot (in the middle of hourglass)
  • r52042 TurboPower_iPro: Activate scrollbar tracking of print preview
  • r52083 LazReport: Czech translation update by Jiří Vejda, bug 29897
  • r52077 LCL: ImageList: call DestroyReference in Clear. Resolves Issue #0029905.
  • r51760 codetools: prevent endless loop in TFindDeclarationTool.GetSmartHint. Issue #29754.
  • r52020 IDE: Show action methods when clicked also when in another unit/form. Issue #25954.
  • r52066 IDE: Sort a category list in "All options" parser. Issue #29907.
  • r52110 IDE: Export/Import also package options properly. Worked only for project. Issue #27709.
  • r52054 Qt: fixed crash with TPreviewFileDialog.Issue #29896
  • r52085 Qt: do smooth transformation on argb32 image format. Issue #0029883.
  • r52086 Qt: use smooth transformation when scaling an QImage. Issue #0029883.
  • r52055 Win32: Return cpDate in TWin32WSCustomCalendar.HitTest when user clicks on "Today". Issue #0029895.
  • r52117 Win32: fix TWin32WSCustomCalendar.HitTest if application does not use a manifest on Vista and up. Issue #0029975.
  • r52057 TurboPower_iPro: Improved print preview form.
  • r52060 TurboPower_iPro: New IpHtmlPanel property ScrollDist. Scroll is a function now returning false if view rect was not changed.
  • r52061 TurboPower_iPro: Control scrolling by optional parameter instead of new property.
  • r52062 TurboPower_iPro: Property ScrollDist is back (for controlling built-in scrolling). Add German translation file of iphtmppv.
  • r52064 TurboPower_iPro: Fix size selection of preview form.
  • r52078 TurboPower_iPro: Avoid some duplicate lines around page break when printing. Avoid horizontally clipped last line on some pages of preview (first line on next page may still be clipped).
  • r52079 TurboPower_iPro: Fix showing of long tables at the beginning of a document.
  • r52082 Turbopower_IPro: regenerated translations and updated Russian translation
  • r52100 TurboPower_iPro: Fix clipped lines in print preview
  • r52101 TurboPower_iPro: Fix list index error if ENTER is pressed and no TabItems are present
  • r52069 Gtk2: workaround for openbox wm wrong reading of geometry structure. Issue #29884.
  • r52076 LazUtils: PasWString: fix infinite recursion in WideCompareText.
  • r52090 TAChart: Fix crash of GUI when TChartStyles is deleted.
  • r52129 IDE: regenerated translations and updated Russian translation
  • r52133, r52315 Translations: Hungarian translation update by Péter Gábor
  • r51694 LCL: Implement TCustomCalendar.GetCalendarView. Patch by Zoran Vučenović.
  • r51695 LCL: Try not to close CalendarDialogs if CurrentView <> cvMonth. Partly resolves Issue #0029646.
  • r52095 LazReport, fix text width calc on rotated memos, issue Issue #29890
  • r51791 LazReport, Decouple flHideZeros and flBandPrintChildIfNotVisible, modified patch by Luiz Americo, fix issue Issue #29313
  • r52135 add 32 bit windres in 64bit build. issue 29698
  • r52148 Qt: fixed geometry resize of mdiarea handle widget. Issue #29978
  • r52149 Qt: small optimisation when calculating mdiform area geometry.
  • r52150 Qt: unify TScrollBar Max value and position with winapi. Issue #20127
  • r52151 Qt: do not pass maximum value by triggering scrollbar actions. Issue #20127
  • r52154 Gtk2: unify TScrollbar behaviour with win32 and qt. Issue #20127
  • r52155 Qt: unify scrollbar behaviour with win32.Let position pass max - lcl will decide about new pos. Issue #20127
  • r52156 LCL: unified behaviour of win32,qt and gtk2 TScrollbar. Issue #20127
  • r52175 LazReport, fix AV on changing band height
  • r52204 MaskEdit: don't remove the mask in FormatMaskText regardless of the "MaskSave" value in the specified EditMask.
  • r52206 MaskEdit: do replace SpaceChar with #32 in FormatMaskText.
  • r52239 Educationlaz: Use FileExists instead of FileExistsUTF8. Fix compilation.
  • r52240 Educationlaz: Fix crash caused by missing 'tbStandard' and 'tbViewDebug' toolbars. New IDE Coolbar must be supported later. Issue #30043.
  • r52242 Educationlaz: Restore FileExistsUTF8 back, changed in r52239.
  • r52246 Win32: fix scrolling issue in ListBox with huge amount of items. Patch by Michl. Issue #0023914.
  • r52254 LazReport, Normalize ReportCreateDate and ReportLastChange on saving, patch from Simone Giacomelli, Issue #0027008
  • r52265 LCL-Win32: Fix flickering in Listview during scroll. Issue #30076.
  • r52267 lcl: fix default TabStop value for TNotebook, publish TabStop for TPage. Issue #21943
  • r52275 IDE: Ukrainian translation update by Olexandr Pylypchuk, bug 30086
  • r51930 wince: disable PopupParent on WinCE because it is not supported. Issue #29807
  • r52306 IDEIntf: assign OnClick events in RegisterIDEButtonCommand. Issue 30137
  • r52335 TAChart: Add missing declaration of PutPixel to TOpenGLDrawer.
  • r52339 TAChart: Remove path to TADrawerOpenGl from opengl demo.
  • r52340 TAChart: Fix pen style and pen width in OpenGL drawer.
  • r52346 TAChart: Set "AddToUsesPkgSection" flag of TADrawerOpenGL to false (had been changed in r52340, resolves Issue #0030169)
  • r52347 TAChart: Fix missing initialization of glut library in opengl demo.
  • r52389 TAChart: Publish event OnContextPopup
  • r52391 TAChart: Avoid chart popup menu opening at the end of a pan-drag operation with right mouse button.
  • r51383 TAChart: Fix compiling for the coming TRect advanced functions in FPC 3.1.1 (see Issue #29479 and Issue #30199)
  • r52405 LCL: Fix default implementations of Arc, Chord and Pie functions. Issue #30194
  • r52406 Qt: fixed TQtWidgetSet.AngleChord(). Issue #30194
  • r52407 Qt: proper string conversion.
  • r52410 IDE, SourceEditor: fixed hints. Mouse can move into hint area. Issue Issue #30077 / broken by revision 49872
  • r52417 ide: Normalize path delims of resource items
  • r52442 LazUtils: Use cwstring always on unix systems. WideCompare* functions require it.
  • r52393 POChecker: fixed typos which prevented loading of window state from config for Results and Graphical Statistics forms
  • r52450 POChecker: fixed loading of master files selection state on Linux/GTK2
  • r52453 POChecker: unify height of buttons in Result Dialog on Linux/GTK2 ("Close" button can be higher than others because of bigger default glyph)
  • r52463 Translations: Ukrainian translation update by Olexandr Pylypchuk, bug 30250
  • r52471 POChecker: fixed "Ignore fuzzy translations" option.
  • r52475 LCL, Translations unit: there is no need to check for badformat flags in CleanUp procedure anymore, they are now set/cleared in all cases in CheckFormatArguments procedure.
  • r52476 LCL, Translations unit: improved comments.

Fixes for 1.6 (merged)

  • r51087 IDE: Prevent crash when clicking button "Change Build Mode" and Cancel in dialog. BackupBuildModes is not called always. Issue #29292
  • r51114 Qt: do not restore hints which are not visible by lcl.
  • r51166 Revert r51068 and r51087 + cleanup. Issue #28059 and Issue #29292.
  • r51229 ide: fix Options changed through "Change Build Mode" CoolBar button isn't respected by the compiler. Issue #28059
  • r51264 Qt: fixed compilation with QTOPIA define. Issue #0029379
  • r51302 QT: Fix T(Float)SpinEdit OnChange. Issue #0029343.
  • r51231 Revert r50906. Prevented docking the Search Results window.
  • r51261 IDE: Support dotted unit names in FilenameIsPascalSource. Issue #29363.
  • r51267 IDE: Fix moving up/down in ListFilterEdit. Also don't use Listbox.ItemHeight when = 0. Issue #29385.
  • r51275 IDE: Move the InvertAssignment from Refactor to Source submenu in source editor's popup menu. Already moved in main menu earlier.
  • r51284 IDE: fix source editor tab popup menu AV. Issue #29394
  • r51318 IDE: update commands on source editor popup
  • r51232 fpvectorial: Support rotated linear gradients. Support entity- and page-relative coordinates for gradient vectors.
  • r51257 fpvectorial: Rectangle, circle and ellipse entities support all linear gradients, translation and rotation.
  • r51262 fpvectorial: Complete rotation and translation for all 2d segments of TPath
  • r51297 fpvectorial: Fix rendering of rotated text
  • r51255 DBNavigator: restore the icons for "delete" and "cancel" that got lost in r32029. Issue #0029359.
  • r51256 Components, sqlitecomponenteditor: less hints.
  • r51266 TAChart: Add "ResetFont" to drawing interface to fix issue 27163 without interfering with nogui widgetset.
  • r51269 (r51270) codetools: CleanCodeFromComments added parameter KeepDirectives
  • r51273 (r51274) IDE,lazbuild: update package main source file if directives changed, bug 29391
  • r51307 TAChart: Add missing "ResetFont" for TAggpasDrawer forgotten in r51266. Issue #29421
  • r51286 LCL: grids: partially revert r49016 that prevents OnSelectEditor when entering cell by keyboard. Issue #29191
  • r51317 grids: Do not reset Offset in keyboard Events. Issue 29420, patch by Michl
  • r51287 TListFilterEdit: removed LCLQt workaround, Qt: unset selection when itemindex is changed. Issue #29385
  • r51303,r51304 Fix IFDEF + OI: Use normal CheckBox as Boolean editor until problems with CheckBoxThemed are solved. Issue #29406 and Issue #29412.
  • r51312 lazcontrols: prevent AV in TTreeFilterEdit.RestoreSelection if treeview is nil. Issue #29441
  • r51316 debugger: check GetTextMetrics result in TAssemblerDlg.DoEditorOptsChanged. Issue #29429
  • r51334 LCL: don't prevent AutoSizeDelayedHandle for minimized windows. Issue #29445
  • r51359 LCL: TCustomForm: fixed crash with sparta docked , added check for Target <> nil in SetFocusedControl.
  • r51361 LCL: Don't turn TScrollBar.Visible False when changing Kind property. AScrollBar.Show did not work due to flag tests. Issue #29422.
  • r51337 IDE: fix WM_SIZE loop when restoring maximized IDE and using AnchorDocking. Issue #28096
  • r51338 IDEIntf, AnchorDocking: make ResetSplitters public and use it in TMainIDEBar.InitPaletteAndCoolBar. Related to Issue #28096
  • r51345 anchordocking: check HostDockSite in TAnchorDockMaster.CloseUnneededControls
  • r51346 IDE: fix InitPaletteAndCoolBar for non-docked IDE. Regression from r51338. Issue #28096
  • r51347 anchordocking: really find MainIDE site in AdjustMainIDEWindowHeight.
  • r51360 IDE: fixed crash when IDE is closing
  • r51362 IDE: Prevent component selection on startup in ComponentList. Issue #29454.
  • r51358 Qt: fixed painting on TGroupBox. Issue #28155
  • r51381 Qt: fixed hint changing of TTrayIcon. Issue #29478
  • r51443 Qt: proper resize QMDIArea if any of LCLObject child wincontrols are aligned alTop,alLeft,alBottom or alRight. Issue #29529
  • r51444 Qt: fix activate/deactivate signal on mdichild forms without any control. Issue #29528
  • r51476 Qt: fixed mouse events in TQtGroupBox. Issue #0029572
  • r51378 Converter: Do not convert to UTF8 functions any more. Not needed with the new Unicode system.
  • r51379 Converter: Change global procedures into methods of TConvertSettings.
  • r51380 Converter: Refactor code for loading and saving settings into procedures. Don't save when Cancel was clicked.
  • r51385 codetools: fix unused units feature broken by r50266. Issue #29486
  • r51451 IdeIntf: Make a freed BitMap Nil.
  • r51389 fpvectorial: Fix compilation error with fpc 2.6.4
  • r51402 favorites: use IncludeTrailingPathDelimiter for config path
  • r51403 packagetabs: use IncludeTrailingPathDelimiter for config path
  • r51415 LazControl: Show multiline caption of TCheckBoxThemed correctly. Issue #29504.
  • r51454 LazControls: Fix TThemedCheckBox.KeyUp. Issue #0029406.
  • r51387 Turbopower_ipro: New files for Iphttpbroker and its example from Silvio Clécio. Issue #29483.
  • r51388 Turbopower_ipro: Update package for Iphttpbroker. From Silvio Clécio. Issue #29483.
  • r51429 Turbopower IPro: Fix default color for HTML inputs on Windows. Issue #29483, patch from Silvio Clécio.
  • r51430 Turbopower IPro: Fix bg color for CSS style in TCustomEdit and TRadioButton. Issue #29483, patch from Silvio Clécio.
  • r51431 Turbopower IPro: Added functions FindNode, FindNodeByElemId and FindNodeByElemClass. Issue #29483, patch from Silvio Clécio.
  • r51432 New example for IPro FindNode functions. Issue #29483, from Silvio Clécio.
  • r51434 Turbopower IPro: Fix compilation with FPC 2.6.4. Issue #29483, patch from Silvio Clécio.
  • r51439 TurboPower_ipro: Fix background color of html input controls, based on patch by Silivo Clecio (Issue 0029483). Fix typo.
  • r51441 TurboPower_iPro: Script to add component icons to res file. Add icon to new TIpHTTPDataProvider (provided by Péter Gabor).
  • r51442 TurboPower_iPro: Slightly modify icon of TIpHttpDataProvider to distinguish it from TIpFileDataProvider.
  • r51447 TurboPower_iPro: Final fix of issue Issue #29483 - Use correct default of input node background color, assign it to the control's color.
  • r51457 (r51458) fpc rpm: clean up /usr/share/doc/fpc-*
  • r51472 lcl: lclstrconsts slovak translations from Slavo Gbúr. Issue 29570 Patch from Denis Kozlov
  • r51512 LCL: regenerated translations
  • r51513 Translations: French translation update by Gilles Vasseur, bug 029586
  • r51528 Translations: Hungarian translation update by Péter Gábor, bug 29551
  • r51526 Qt: fixed modal stack under qt-win32. Issue #29602
  • r51531 LazControls: Fix alignment of caption for TThemedCheckBox.Alignment = taLeftJustify. Issue #0029603.
  • r51556 TurboPower_IPro: Fix notification procedure when DataProvider is destroyed.
  • r51557 Translations: improved Russian translation
  • r51562 Keymap: fix cache / update on remove
  • r51563 Keymap: fix, remove deleted entries from category.
  • r51564 Gtk2: fixed bsToolWin sizing. issue #29553
  • r51569 Fix memory leak in HtmlHelp_IPro example project. Issue #29611.
  • r51574 SynEdit: fix scroll pos after folding. issue 0029534
  • r51576 SynEdit: fix invalidate (repaint) on line selection through gutter click / issue 0029490
  • r51578 SynEdit: fixed (un-)indent selection in linemode (select via gutter). Issue 0029591
  • r51583 LazControls: Fix a regression in ListFilterEdit caused by r51267, affecting Win32 widgetset. Arrow key in filter did not select list items.
  • r51585 TAChart: Fix mouse-wheel-zooming with fixed chart center.
  • r51588 LCL: Pass the PartStart parameter of TCustomListView.FindCaption forward. It was ignored.
  • r51605 Translations: improved Russian translation
  • r51619 GTK2: Fix TFloatSpinEdit not being unconstrained when MinValue = MaxValue. Issue #0029645.
  • r51620 QT: Fix TFloatSpinEdit not being unconstrained when MinValue = MaxValue.

Fixes for 1.6 RC2 (merged)

  • r50702 IDE: regenerated translations and updated Russian translation
  • r50704 LCL: CustomDrawn: fixed compilation (Issue #0029142).
  • r50742 Qt: pass mousemove event to the viewport of TQtWindowArea, stop mouse propagation to parent. Issue #29159
  • r50743 Qt: fixed regression from r50742. Issue #29159
  • r50750 Qt: fixed mousemove with mdi child forms. Issue #29159
  • r50752 Qt: fixed design form cursor change. related to Issue #29159
  • r50759 Qt: eat less cpu in ownerdata mode when imagelist is assigned without imageindexes per item. Issue #29179
  • r50761 Qt: optimized TQtTreeWidget when OwnerDraw=true and imagelist is assigned, but without imageindexes per item. Issue #29179
  • r50764 LCL: unified RST and RSJ file handling. This fixes false fuzzying multiline strings and adding empty ones to .po file when regenerating e.g. lazaruside.po from RSJ files, which are created by FPC 3.0.0 and up.
  • r50765 IDE: adapted localize scripts to work with RSJ files too
  • r50733 packagetabs: add "View project source" menu item
  • r50754 packagetabs: implement i18n, HU translation. Issue 29173. Patch by Peter Gabor
  • r50762 packagetabs: add "Copy File Path To Clipboard" menu command
  • r50781 PackageTabs: added Russian translation
  • r50772 LCL: ShellCtrls: less hints.
  • r50785 Qt: fixed wrong sizing of rows in TListView when OwnerDraw = true. Issue #29182.
  • r50795 Package editor: Improve popup menu behavior. Part of Issue #26188.
  • r50796 Package editor: Don't update the whole tree when moving a dependency up/down. Part of Issue #26188.
  • r50804 Package editor: Mark a package as modified after moving a dependency up/down. Part of Issue #26188.
  • r50753 TAChart: Localization (work in progress - please do not provide translations at this stage...)
  • r50756 TAChart: Combine all po files in a single file (TAChartStrConsts)
  • r50758 TAChart: Complete localization
  • r50760 TAChart: Swedish translation by "kapibara"
  • r50763 (r50864) LCL: improve the workaround to support fpc 2.6.4 TMemDataset in a way that other datasets are not affected. Issues 26356, 27959
  • r50814 Finnish translation for TAChart by Seppo Suutarla.
  • r50853 TAChart: improved i18n (and cleaned up unused string), regenerated translations and added Russian translation
  • r50856 TAChart: Overload "RegisterSeriesClass", "RegisterChartToolClass", and "RegisterAxisTransformClass" with old versions accepting a string as parameter
  • r50768 fpvectorial: Fix text positioning issue when reading svg files.
  • r50807 fpvectorial: Fix calculation of bounding rectangle of all entities on a page
  • r50808 fpvectorial: Fix memory leak of svg tokenizer. Add ReadDefsFromNode to TvSVGVectorialReader.ReadEntityFromNode. Prepare reading of line styles for svg.
  • r50809 fpvectorial: Fix memory leak of TvEntityWithSubEntities due to not releasing items in FElements list.
  • r50810 fpvectorial: Fix bounding box of circle. Fix page bounding box in case of several top-level entities.
  • r50818 fpvectorial: Add parameter to Render method for calculation of bounding box without drawing. Fix svgreader crashing due to incorrect decimal separator in "stroke-opacity".
  • r50819 fpvectorial: Fix runtime error with fpc trunk due to duplicate application of ExtractFileExt returning no extension any more.
  • r50875 fpvectorial: svg reader detects pen styles & patterns now. Fix rendering of lines with the specified pen styles & patterns.
  • r50815 Package editor: Duplicate the "Add" button's menu items in tree popup menu. Part of Issue #28097.
  • r50925, r50970, r50980, r51073, r51146 Translations: French translation updates by Gilles Vasseur
  • r50839 Packager: Update search paths after "Add Active File To Package". Issue #27720.
  • r50850 LazUtils: implement Utf8Delete() and Utf8Insert() for parameters of type Utf8String. (Only needed for these, since they use var parameters). (Reason for merging: this was a regression caused by the move from 2.6.4 to 3.0.0 compiler)
  • r50910 LazUtils: Second attempt to implement Utf8Delete() for parameters of type Utf8String.
  • r50870 LCL: toolbutton: fix down states. Issue #28286.
  • r50942 LCL: Adjust Width and Height when setting Contraints. Issue #28654.
  • r50906 IDE: Don't show Search Results window initially. Its position is still remembered.
  • r50909 IDE: Hide the Export / Import buttons in options General page for now. The set of options makes no sense.
  • r50905 fpvectorial: Add more named svg colors, speed up finding of named colors.
  • r50912 fpvectorial: Render horizontal and vertical gradients for TPath (straight edges, no "holes")
  • r50913 fpvectorial: Fix rendering for text with correct font name and font size.
  • r50933 fpvectorial: Fix svgreader crashing if stroke-dasharray is "none". Fix w3schools demo file "polyline2svg" to display correctly.
  • r50949 fpvectorial: Fix svg reader bugs related with horizontal and vertical LineTo commands
  • r50940 IdeIntf: Add checks to TPropertyEditorHook.GetComponentName and match the return type with Component.Name's type.
  • r50943 IDE: Restore Jump to Implementation menu item accidentally removed in r49226.
  • r50958 Install Package Dlg: Retain cursor position after moving packages between lists. Issue #26802.
  • r50963 fpdebug: fixed mem leaks, bug 29227 patch from Anton
  • r50982 Components: Hungarian translation update by Péter Gábor, bug 29218
  • r50995 IDE: show output of "lazarus --help" command in IDE interface language when it is set to automatic instead of showing it in English.
  • r50991 LCL: fixed infinite loop and crash with TScrollingWinControl.Issue #29194
  • r51001 synedit: fix TSynCustomHighlighter.GetIdentChars
  • r51003 Qt: keep track of scrolled offset when viewport is not visible.Issue #29239
  • r51009 TAChart: Check validity of base of logarithmic transform.Issue #29242
  • r51015 TAChart: updated Russian translation
  • r51013 H2Pas: fixed typos, bug 29244
  • r51014 H2Pas: added French translation by by Gilles Vasseur, bug 29244, regenerated translations and updated Russian translation
  • r51019 Qt: fixed segfault inside setPopupParent.related to Issue #29247
  • r51020 H2Pas: registered forgotten text conversion tool
  • r51026 LazUtils: fix compilation for WinCE. Issue #0029249.
  • r51019 Qt: fixed segfault inside setPopupParent.related to issue Issue #29247
  • r51022 lcl: gtk2: fix PopupMode/PopupParent for non-modal windows. Issue Issue #29247
  • r51023 lcl: qt: fix PopupMode/PopupParent for non-modal windows. Issue Issue #29247.
  • r51024 components: PO highlighter regression fix from r51001, issue Issue #29235
  • r51032 lcl: rewrite PopupMode/PopupParent - unify code for PopupMode/PopupParent in one function TCustomForm.GetRealPopupParent for all WS. - change TWSCustomFormClass.SetPopupParent to TWSCustomFormClass.SetRealPopupParent without PopupMode parameter. - Fix TPopupMode documentation. Issue Issue #29247
  • r51036 lcl: qt: revert wrong change for modal windows from r51032
  • r51044 Qt: fixed Qt compilation after r51036
  • r51046 Qt: added pure X11 function for transient hint. Related to issue Issue #29253
  • r51047 Qt: use direct X11 call for transient hint since Qt's QtTool flag is buggy. issue Issue #29253
  • r51049 lcl: fix TCustomForm.SetPopupMode: remove PopupParent for both pmAuto and pmNone
  • r51050 ideintf, ide: change result type of TMainIDEBase.GetMainBar from TComponent to TForm. (needed for merging r51051) Issue #24711
  • r51051 ideintf: set PopupMode/PopupParent for collection editor and actions editor. Issue #24711
  • r51068 ide: fix Options changed through "Change Build Mode" CoolBar button isn't respected by the compiler. Issue #28059
  • r51004 fpvectorial: Correct calculation of ellipse center of elliptical arc path segment
  • r51021 fpvectorial: Fix path to avoid rendering of internal lines for bezier segments. Fix elliptic path segment with rotated axis.
  • r51058 fpvectorial: Reorganize TPath.Render. Support polygon even-odd and non-zero winding rules for brush fill.
  • r51060 fpvectorial: Fix svg reader memory leaks related to BrushDefs and tokenizer. Declare package as runtime package.
  • r51030 Qt: fixed memleak in TQtWidgetSet.DCSetPixel.
  • r51040 Qt: much faster DCSetPixel when painter is QImage or QPixmap. Issue #29256
  • r51031 TAChart: Fix TDataPointEditor to mark the property as modified after data entry (Issue #29236). Minor optical brush up of form.
  • r51037 ShellListView: allow for case-sensitive masks. Issue #0029255.
  • r51033, r51034, r51038, r51039, r51041 LazUtils: Prevent CopyDirTree copying to a subdirectory of source. Issue #28841.
  • r51088 lcl: grids: don't apply editor value if ESC is pressed. Issue #29261
  • r51092 lcl: grids: fix Wrong Alignment in TCustomGrid for Editor. Issue #29243
  • r51094 lcl: win32: ComboBox ItemWidth support. Issue #29149
  • r51097 anchordocking: fix dock site main menu changes docked windows height. Issue #18538
  • r51098 lcl: splitter: make MoveSplitter virtual (needed for r51099)
  • r51099 anchordocking: fix height change when dock site width is changed for ScaleOnResize. Issue #29298
  • r51059, r51080 IDE: Save Application Bundle and resource XPManifest to default project configuration. Issue #22286. + fix LazBuild compilation.
  • r51084 IDE: Enable "Make Resource String" command also when cursor is behind an end-quote. Issue #28829.
  • r51105 IDE: Remove explicit update of Messages window from TMainIDE.StartIDE. It deserves no special treatment layout-wise.
  • r51086 TurboPower ipro: Fix non-breaking space character given by numerical value instead of " "; fixes Issue #28174.
  • r51100 TurboPower ipro: Fix bgcolor attribute of tables, rows and cells
  • r51096 LHelp: Fix incorrect processing of internal links specified by absolute paths. Issue #29267
  • r51106 LCL: Fix TComboExItems.Insert. Issue #29302.
  • r51107 codetools: support helpers for array types
  • r51108 fpvectorial: Fix painting issue in smooth bezier paths if previous segment is a relative bezier path
  • r51109 fpvectorial: Fix incorrect exception that paths must begin with a MoveTo command.
  • r51117 fpvectorial: Fix svgreader to accept "in" as known length unit.
  • r51135 fpvectorial: Fix filling of multiple polygons in the same path. Fix svgreader to default to clear pen and brush styles.
  • r51115 lcl: TCustomForm: prevent sending Resizing twice. Issue #29310 and Issue #29308 (please wait until it is properly tested)
  • r51121 anchordocking: do not draw disabled splitters, anchordockingdsgn: disable and make MainIDEBar splitter smaller if AdjustHeight is enabled
  • r51124 anchordocking: fix wrong PercentValue from r51099
  • r51126 TFloatSpinEdit: don't "eat" Undo keyboard shortcut (Ctrl+Z)
  • r51138 codetools: prevent AV for incomplete generic types
  • r51139 codetools: fix TDirectiveSequenceItem.FindValue
  • r51140 codetools: pascalreadertool: support TGenericClass<TypeReference,TypeReference>.TNestedClass (delphi mode)
  • r51142 anchordocking: prevent AV
  • r51143 packagetabs: prevent AV
  • r51159 packagetabs: prevent AV
  • r51162, r51163 IDE: Remove a Checkbox for creating Debug and Release modes in Build Modes manager. Can be done by setting compiler options as default.
  • r51165 packagetabs: fix TRecreateToolBarStamps.Changed
  • r51181 Anchordocking: Don't update a tabbed page's caption with its name when saving desktops. Issue #29199.
  • r51182 fpvectorial: Simple gradient support for TPath
  • r51184 anchordocking: update percent position after anchor change. Issue 29309
  • r51194 fpvectorial: Add gradients with more than two colors
  • r51195 Installer: Hungarian translation by Péter Gábor, bug 29322
  • r51196 TurboPower IPro: regenerated translations and updated French translation. Patch by Gilles Vasseur, bug 29330.
  • r51202 IDE: regenerated translations and updated Russian translation
  • r51216 codetools: support static array helpers
  • r51220 Translations: Hungarian translation update by Péter Gábor, bug 29351

Fixes for 1.6 RC1 (merged)

  • r50543 translations: German: updates from Swen Heinig
  • r50545 LazControls: Select the first matching node in TreeFilterEdit. Issue #24795.
  • r50546 IDEIntf: regenerated translations and improved Russian translation
  • r50547 Favorites: regenerated translations and added Russian translation
  • r50548 IDE: regenerated translations and updated Russian translation
  • r50551 LCL: TWinControl.ScollBy: less overhead
  • r50553 LCL-Win: Revert from ScrollWindowEx back to ScrollWindow. Issue #26086.
  • r50554 Translations: Hungarian translation update by Péter Gábor, bug 29118
  • r50557 LCL: fixed regression in scrolling from r50523
  • r50558 LCL: use ScrollWindowEx instead of ScrollWindow. Issue #26086.
  • r50566 Grids: Do nut move to another cell when user presses Left/Right in editor. Issue #0029084.
  • r50567 LazUtils: Fix implicit codepage ceversion issue for FindFirstUtf8/FindNextUtf8 (Windows). Patch by Michl. Issue #0028406.
  • r50568 ValueListEditor: Revert r45782. It is not a proper fix, and the issue cannot be reproduced anymore. Issue #0026449.
  • r50569 LazUtils: fix issue with implicit codepage conversion in ParamStrUtf8. Issue #0028815.
  • r50582 LCL: use ScrollWindowEx directly instead of ScrollWindowPtr. Issue #29131.
  • r50583 Add missing code from commit r50582
  • r50620 Finnish translations.
  • r50648 TShellTreeView: Yet another attempt to fix SetPath (Issue #0026088).

Older versions

Roadmap to 1.6

The release process will consist of the following steps.

  • Creation of the SVN 1.6 fixes branch. (Done 30 Nov 2015)

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

  • Release of 1.6 RC 1 (Done 08 Dec 2015)

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 1.6 RC 2 (Done 14 Jan 2016)

The testing period is scheduled to last 2 weeks.

  • Release of 1.6 RC 3

The testing period is scheduled to last 2 weeks.

  • Release of Lazarus 1.6 (Done 18 Feb 2016)

Users can download the new stable version.


Tests

  • 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

Tagging release

  • Set version to 1.6 in fixes_1_6 branch
    • open lazarus/lazarus.lpi in the IDE and change the version numbers in the project options dialog 1.6.0.1 for RC1, 1.6.0.2 for RC2, 1.6.0.3 for RC3, 1.6.0.4 for final
    • lazarus/ide/version.inc 1.6RC1 for RC1, no spaces! (1.6.0 for final release)
    • lazarus/lcl/lclversion.pas 1.6.0.1 for RC1, 1.6.0.2 for RC2, ... 1.6.0.4 for final
    • lclbase.lpk
    • lcl.lpk
    • lazarus/debian/changelog 1.6.0-1 for RC1, 1.6.0-2 for RC2, ... 1.6.0-4 for final
    • lazarus/lazarus.app/Contents/Info.plist "v1.6 RC1" or (v1.6.0 final release)
    • tools/install/linux/environmentoptions.xml same as version.inc
    • tools/install/win/environmentoptions.xml same as version.inc
    • tools/install/macos/environmentoptions.xml same as version.inc
    • check if lpl files needs updating by running ./tools/lplupdate -c
    • run ./tools/updatemakefiles
  • Tag fixes_1_6 branch to tags/release_1_6_RC1 (or tags/lazarus_1_6 for final release)
svn copy svn+ssh://svn.freepascal.org/FPC/svn/lazarus/branches/fixes_1_6 svn+ssh://svn.freepascal.org/FPC/svn/lazarus/tags/lazarus_1_6_RC1 -m 'tagged 1.6RC1 as tags/lazarus_1_6_RC1'
  • Set version to next version in svn

How to merge

See Lazarus_1.0_fixes_branch#How_to_merge

Other branches