Lazarus 2.0 fixes branch

From Free Pascal wiki
Jump to navigationJump to search

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

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

Release notes can be found here

Fixes for 2.0.14

Merge requests

Submitted by others / waiting for sign off by team member

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

  • r63182 LazReport: Add OnFinalSetup event in TFrPrintGrid, patch from Zdravko Gabrovski. Issue #37021.
  • r63462 multithreadproc: fix compilation for fpc320 bsd targets. Issue #37255

Merge conflicts

  • r63635 lcl gtk: fixed mem leak. Issue #37409.
  • r63577 LCL: Prevent calling Form.OnResize() and OnChangeBounds() twice. Issue #36127.
  • r63641 LCL-GTK2: Fix TGtk2WidgetSet.GetWindowRect() with an invisible TForm. Issue #37414.
  • r63781 IDE: Remove empty event handlers also from CollectionItems. Issue #37163.
  • r63825 DebugServer: Store CleanLog in settings. Issue #37615.
  • r63888 LCL: Fix changing TForm's bounds and WindowState etc. Issue #36127.
  • r64048 IDE: Reload also .lfm file in designer when a unit was changed on disk. Improve DiskDiffsDialog. Issue #21587.
  • r64069 IDE: A new function for updating TargetFilename.
  • r64074 LazBuild: Prevent a crash in LazBuild. Project.UnitResourceFileformat=Nil. Issue #37984.
  • r64093 IDE: Select all build modes by default when adding a path of a new project file.
  • r64276 SpartaDockedFormEditor: Make able to compile for FPC 3.2.0
  • r64293 IDE: Fix not handled AV on startup when broken fppkg.cfg is selected
  • r64420 LCL: Make TMemo.Modified property work like TEDIT does. Issue #38388.
  • r64767 TMaskEdit: fix off by 1 error in DeleteChars.

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

  • r65088 LCL/gtk2: Fix polygon painting when Pen.Style = psClear and Winding = true. Issue #38852, patch by Anton Kavalenka.
  • r65094 VirtualTreeView: Infinite loop in GetPreviousVisibleNoInit(). Issue #38836, patch from JAM-Software repo (bug #599)
  • r62604 Qt5: Fixed broken fonts. Issue #36483
  • r65115 LCL/TSpeedButton: Publish drag-and-drop events. Issue #8891
  • r65155 LCL/Buttons: Publish DragCursor, DragKind and DragMode for TBitBtn and TSpeedButton. Addendum to Issue #38891
  • r65320 Fix spelling errors in grids.pas. Patch by Don Siders. Issue #0039093. (BB: just to prevent future merge conflicts)

Merged revisions for 2.0.14

Fixes for 2.0.12 (merged)

  • r61736 Try to minimize (NOT a fix) the risks of TProcessUtf8 crashes. Crash introduced in r50595 for Issue #28991.
  • r63531 lhelp: fixed updating default title after filling content nodes
  • r63563 LazUtils: Delete very old code for TProcessUTF8 that was needed for FPC 2.x.
  • r63564 make install: check if LAZARUS_INSTALL_DIR already set, Issue #37356
  • r63568 make install: added source extension, issue 37364
  • r63584 LazUtils: Don't override TProcess.Execute for TProcessUTF8 starting from FPC 3.2. Issue #35991.
  • r63596 LCL: Prevent DBGrid raising exception after enabled and hiding inplace editor. Issue #37385.
  • r63620 startlazarus: cocoa: do not use open -a, execute bundle exe, else menu is not visible
  • r63627 Codetools: Find form's ancestor also when a generic form is specialized. Issue #37396.
  • r63645 IDE: make lazcontroldsgn a base package, issue 37412
  • r63675 codetools: search unit first in current directory, issue 37466
  • r63708 TUTF8Process: workaround for the poNoConsole->poDetached change. Better hacks for old FPC versions without TProcessClassTemplate. Issue #35991.
  • r63714 Translations: Slovak translation update by LacaK, Issue #37531
  • r63721 fpvectorial: Fix possible word overflow in wmfVectorialWriter.PrepareScaling
  • r63732 LCL-GTK2: Apply DisplaySettings properties of TCalendar also during runtime. Issue #37450.
  • r63788 IDE: Update "search results" scrollbars after filling the tree. Issue #37582.
  • r63795 SpinEx: don't call inherited KeyPress twice in TCustomSpinEx.KeyPress.
  • r63797 IDE, LCL: Fix the search results scrollbar issue in a generic way in TreeView. Issue #37582.
  • r63802 MenuEditor: Prevent assertion failure when separator selected, right click, "Remove all separators". Issue #37595.
  • r63803 MenuEditor: Update menuitems correctly when adding or removing separators. Issue #37595.
  • r63897 LCL-GTK2: Improve setting a shaped form. Issue #30385.
  • r63902 LCL-GTK2: Initialize a record in LCLIntfCellRenderer_CellDataFunc. Prevents a crash. Issue #37781.
  • r63908 IDE: line ending CR call Classic Mac, issue 37800
  • r63926 LCL: Fix ofAutoPreview of TOpenPictureDialog. Issue #37820.
  • r63934 EditButton: implement OnContextPopup.
  • r63935 EditButton: publish OnContextPopup. Patch by Reinhard Kalinke. Issue #0037832.
  • r63939 IDE: Fix a crash if IDE is aborted before updating configuration.
  • r64003 LCL-GTK2: Prevent "critical" messages generated by TabControl Tabs. Issue #37924.
  • r64005 Prevent occational crash in external tool threads with Sleep(1), especially with LazBuild. Issue #37883.
  • r64070 IDE: Don't cut a dotted TargetFilename when adding an extension to it. Issue #34665.
  • r64085 lazwiki: fixed compile with fpc 3.2
  • r64130 LCL-GTK2: Fix drawing of text region in TListView and others. Issue #38062.
  • r64142 LCL: Do not call TTreeView.OnCollapsing and OnCollapsed during clearing the items. Issue #38084.
  • r64165 LCL: Propogate TAction.ImageIndex to TSpeedButton.ImageIndex. Issue #38135.
  • r64167 LCL-GTK2: Paint a form with one color also after scrolling. Issue #16183.
  • r64168 LCL/CheckGroup: Fix items and checkboxes getting out of sync upon Items.Insert. Issue #38157.
  • r64169 Win32: document that setting TComboBox.BorderStyle to bsNone is not supported. Issue #0038126.
  • r64195 LCL/Grids: Fix grids truncating cell height during editing if TitleFont.Size is smaller than Font.Size. Issue #38203.
  • r64199 IDE: Prevent an infinite loop when comparing files. Issue #38185.
  • r64211 LCL/FileListbox: Update selected filename when ItemIndex is set
  • r64267 LCL: Fix selected items of TComboBoxEx and TCheckComboBox not being painted with color clHighlightText.
  • r64307 ProjectTemplates: Use the template.lpi file for a new project. Issue #38244.
  • r64353 TAChart: Fix too thick connection line between stacked bars.
  • r64377 LCL-GTK2: Fix SpeedButton when non-modal form is opened by popup menu. Issue #38345.
  • r64379 TAChart: Fix usage of incorrect drawing backend in OnAfterCustomDrawBackwall (https://www.lazarusforum.de/viewtopic.php?f=18&t=13347).
  • r64403 TAChart: Fix TBarSeries drawing too thick bar border line when Margin is 0.
  • r64414 IDE: Load Desktop options correctly from environment. Issue #38376.
  • r64430 LCL-GTK2: Fix SpeedButton freeze after closing popup menu without choosing menu item. Issue #38401.
  • r64513 Publish OnContextPopup and OnResize for some controls to improve Delphi compatibility or compatibility with related controls. Issue #38453, based on patch by Reinhard Kalinke.
  • r64605 TValueListEditor: raise an exception when setting RowCount < FixedRows.
  • r64617 TMaskEdit: workaround for infinite loop in SetEditText (issue cause by compiler bug). Issue #0038505.
  • r64622 SynEdit: publish OnContextPopup, OnResize. Issue 038511
  • r64625 MaskEdit: only use the workaround for issue Issue #0038505 (r64617) if compiler version < 3.2.2.

Fixes for 2.0.10 (merged)

Lazarus 2.0.10 switched to FPC 3.2.0. See here for the FPC 3.2.0 changes.

Windows users should be careful with -O3 or higher optimization, due to bug 37305

  • r61086 LCL-Win32: Optimize TWindowProcHelper.CalcClipRgn a little. Issue #35467.
  • r61295 LCL-Win32: Fix variable type in GetControlText. Issue #35637.
  • r62699 fixes for is precedence change in fpc r44266
  • r62835 LCL-Win32: Simulate wsFullScreen WindowState with Maximized. Issue #34759.
  • r63005 IDE: Do not add CreateForm to project source for a new frame. Issue #26493.
  • r63028 cocoa: update override of setDocumentView() method to be compatible with fpc prior to and after fpc3.2
  • r63071 deb: remove carbon files, fixed lintian-overrides, changed copyright to new format
  • r63078 IDE: Improve 'Window' menu's submenus 'Tabs for project' and 'Other tabs'. Issue #36965.
  • r63125 LazUtils: Do not garble LazFreeType fonts. Issue #37012.
  • r63126 LazUtils: Fix LazFreeType glyph bounds. Issue #37022.
  • r63127 IDE: Replace palette icon of TCSVDataset to match in color and font size the others icons on this palette. Kindly provided by Roland Hahn.
  • r63128 LazUtils: Initialize LazFreeType graphics state correctly. Issue #37033.
  • r63129 LazUtils: Rename variable "generic" as "genericP" to not confuse Codetools.
  • r63131 LCL: Initialize image description in widgetsets where not done already. Issue #36955.
  • r63139,r63147,r63171 LCL: Don't trigger double-click on TreeView's fold-arrow if another node is selected. Issue #37051.
  • r63142 LCL: Reshow an application hint correctly. Issue #37053.
  • r63189 LCL: Avoid thick border of TCalendarPopupForm used by TDateEdit (patch by Roland Hahn).
  • r63191 IDE: Updated palette icons by Roland Hahn for T*Edit components avoiding similarity with TCombobox
  • r63192 codetools: parse proc modifier async, built-in function await
  • r63203 GTK2: Fixed first mouse event is lost in new modal form shown from MouseDown event. Issue #35720.
  • r63204 LCL: ComboBox: Fixed data lost, Style csSimple, leaving with TAB. Issue #35087. Patch by Gernot Riebold
  • r63232,r63235 LCL: Improve TTreeView mouse selection. Issue #37145.
  • r63251 LCL/Win32: Fix drawing artefacts of ComboBox in Windows when style is csSimple and static listbox is visible. Issue #37129, patch by Jamie Philbrook.
  • r63262 Graphics: Fix misleading parameter names in comment headers of TCanvas.Arc and .RadialPie
  • r63277 LCL-GTK2: Fix deleting last line of TGtk2MemoStrings. Issue #37166.
  • r63280 TAChart: Fix usage of incorrect axis transformation in FindExtentInterval of rotated TBasicPointSeries (https://forum.lazarus.freepascal.org/index.php/topic,50048.0.html)
  • r63281 IDE: Prevent Access violation in Search result view when exception was raised by search. Issue #37124.
  • r63287 LCL: Allow specified PopupMenu in TabControl when page-selector menu disabled. Issue #37171.
  • r63290 ImageList: Fix HasImageIndex not being updated when ClearOverlays is called. Issue #35525, patch by Don Siders.
  • r63327 LazUtils: Prevent ForceDirectory trying to create directories with empty name. Issue #37133.
  • r63344 LCL/Win32: Fix disabled StaticText being drawn with opaque text background although Transparent is true.
  • r63345 RTTI: Fix a crash in TTIGrid with boolean properties. Issue #35583.
  • r63352 IDE: Fix forgotten scaling of images in BuildModesManager. Issue #37211
  • r63367 lazutils: FindDefaultExecutablePath: fixed using env PATH with quotes under Windows
  • r63409 cocoa: fix compilation for the newly released fpc3.2.0
  • r63451 codetools: updated fallback fpc msg file
  • r63457 Grids: fix decoding HTML entities when pasting HTML. Issue #0037258
  • r63490 codetools: fixed extract generic type param names, issue 37081, from Pascal Riekenberg
  • r63491 fpreport: Fix from Pascal Riekenberg to fix rendering background with clNone, bug ID 36533
  • r63492 codetools: code completion for FOR-var-IN with generic class, from Pascal Riekenberg
  • r63493 codetools: extract generic type reference, from Pascal Riekenberg
  • r63494 codetools: test parsing nested generic inline expression, from Pascal Riekenberg
  • r63495 codetools: fixed semicolon after specialize on class completion, from Pascal Riekenberg
  • r63496 codetools: var completion of for-var-in-genericarray, from Pascal Riekenberg, issue 37076
  • r63497 lcl: cocoa no longer beta
  • r63515 lhelp: fixed dbl click index item

Fixes for 2.0.8 (merged)

  • r61018 docs: adding Zoë Peterson for ongoing cocoa patching
  • r61051 IDE: Sanity check when loading LPS run modes. Issue #35410.
  • r61059 opengl: adding support for Cocoa mouseMove events for Right and Middle mouse buttons. Based on the patch by Chris Rorden. Issue #34938
  • r61060 opengl: forcing painting even with NSgraphicContext currentContext assigned. Seems to be Mojave specific behaviour not to provide context. Issue #34983
  • r61107 opengl: update cocoa compilation for the latest update with keyhandling
  • r61111 LCL: Fix some data control regressions. Issue #35458.
  • r61135 opengl: prevent double mouse-down events for cocoa. Issue #35480
  • r61165 LazUtils: Remove incorrect code dealing with strings on Windows, use SysUtils code instead. Issue #35512.
  • r61288 treeview: calling UpdateScrollbars on resizing, expand, collapse or selection move. Removed UpdateScrollbars from the darwing. Prevents Cocoa drawing (upside down) glitch. Issue #34334
  • r61291 LazUtils: Add OnCompare func for TFreeTypeFont's AVLTree. Prevents adding glyphs many times. Issue #35627.
  • r61326 lcl: TreeView scrollbars needs to be updated on mouse wheel. Issue #35677
  • r61352 lazutils: SysToUTF8: only UTF8_RTL, Issue #35696, from Serge Anvarov
  • r61394 lcl: updating scrollbars after scrollbars were changed
  • r61437 treeview: updating scrollbars on items addition and removal. Issue #35738
  • r61536 opengl: fix cocoa compilation
  • r61617 cocoa: drawedge implementation
  • r61648 cocoa: softer color selection for shadows and pseudo 3d for 10.14, rather than deprecated methods call
  • r61675 cocoa: extending the list of patreons for August pledge
  • r61692 cocoa: nice look for status bar
  • r61693 cocoa: calling default NSView lclSetEnabled for tabcontrol
  • r61694 cocoa: placing a customcontrol manualscrollview into manualscrollhost. The host itself is a scrollview. But it is not used for Scroll, but rather for the feature of drawing the border. Issue #34761
  • r61695 cocoa: adding support for ownerData checkbox values on TListView
  • r61696 cocoa: adding forced mouse up for buttons Issue #35826
  • r61704 cocoa: adding window content invalidation on hidding of window
  • r61705 cocoa: update ScreenToLocal to support flipped controls
  • r61708 cocoa: checking if coordinates flip in needed, when showing popup menu. Issue #35975
  • r61709 cocoa: (re)creating a scrollbar with the dimensions matching the desired kind. If kind is changed in runtime - recreating the scrollbar. Issue #35968
  • r61710 cocoa: returning alpha multiplied colors in NSColorToRGB
  • r61731 cocoa: removing extra null-character from the clipboard text. Patch by Zoë Peterson. Issue #35984
  • r61739 opengl: cocoa: removing Dummy type declarations as they are not in the code. Yet the type declarations changed in trunk FPC version (3.2.0). Issue #35974
  • r61741 cocoa: making ManualScrollHost to pass the methods to the hosted ManualScrollView
  • r61749 LCL-Win32: Show images correctly in OwnerData Listview with property SubItemImages. Issue #35173.
  • r61760 cocoa: clearing selection of ListBox is itemIndex is set to negative index
  • r61761 cocoa: restoring pen and brush states for DrawEdge call. Issue #35998
  • r61762 cocoa: resolve the position corruption on bringToFront call. Issue #35826
  • r61763 cocoa: replacing use of GetNSObjectView with lclContentView
  • r61764 cocoa: replacing use of GetNSObjectView with lclContentView
  • r61765 cocoa: replacing use of GetNSObjectView with lclContentView
  • r61766 cocoa: getting rid of GetNSObjectView
  • r61767 opengl: getting rid of cocoa GetNSObjectView
  • r61768 cocoa: don't change buttons font, if a custom font has been selected
  • r61770 cocoa: correct horizontal scrollWheel. macOS and LCL are using reversed delta values
  • r61771 cocoa: preventing double scrollWheel message for the pair of manualHost+manualScrollView Issue #36001
  • r61772 cocoa: not sending onSelectionChange notification while clearing TListBox stringlist
  • r61999 LazUtils: Remove UTF8Encode calls and suppress warnings in winlazfileutils.inc. Issue #35512.
  • r62052 cocoa: range check errors resolution, modified patch by C Western. Issue #36171
  • r62053 cocoa: updating numerical value of the spin edit on every text change notification. Issue #36096
  • r62054 cocoa: changed the way MaxLength is being passed to cocoa interface (adding new method, instead of direct field access). Implemented ontextchange event for password field. Issue #36158
  • r62060 cocoa: restoring the window style changes notification. patch by Zoë Peterson. Issue #35622
  • r62061 cocoa: fix client frame coordinates for NSBox (groupbox). Issue #36109
  • r62068 Opkman: Fix invalid URL bug
  • r62125 LCL/Trackbar: Fix hanging on Win64 when Max is too large. Issue #36046, based on patch by Serge Anvarov.
  • r62137 LCL-GTK3: Implement TrayIcon for GTK3 widgetset. Issue #36209
  • r62145 cocoa: scrollwheel events for textedit fields. Issue #36221
  • r62155 cocoa: disabling main menu, while showing application modal message
  • r62156 cocoa: using scrollingDeltaAXIS methods as suggested my macOS docs for scroll method. Updated the basis of delta to LCL 120 as suggested in Issue #36221 by C Western
  • r62157 cocoa: implementing customlistview.ItemGetState for lisSelected. Issue #36074
  • r62158 cocoa: implementing the event to call filetypechanged for a file dialog. Issue #36024
  • r62159 cocoa: implementing folderChanged and selectionChanged for opensavefile dialogs
  • r62160 cocoa: adding support for close event of a filedialog
  • r62161 cocoa: preventing sending of setFocus message to a control already focused. Issue #36111
  • r62163 SynEdit: Fixed Gutter.LeftOffset
  • r62169 Codetools: Add unit names correctly to project source. Issue #35803.
  • r62177 IDE: Fix access violation in IDE, when ignoring "files have changed on disc". Issue #36169
  • r62180 cocoa: revert the change of not sending focus notification for LCL focused control
  • r62183 cocoa: forcing the constant scroll step
  • r62187 cocoa: changing how date conversion utilities work. Currently following the system calendar. Issue #36252
  • r62188 opengl: remove gl unit used from glcocoanscontext unit
  • r62198 cocoa: prevent all windows from being enabled if modal session is active
  • r62199 cocoa: proper handling of cancel (escape) action on a prompt dialog
  • r62203 cocoa: renaming of the SaveOpenDialog delegate class. update the use of file filtering
  • r62204 cocoa: interrupting mouse event handling (by cocoa), if modal window is shown. Issue #36266
  • r62205 cocoa: removing the method that is using macOS 10.9 declaration (NSErrorPointer). The method does not need to be implemented. Issue #36267
  • r62206 LazReport: In TfrCustomMemoView do not convert code page when loading lines from a blob field. Issue #36264.
  • r62211 LCL-GTK3: Prevent a crash with Wayland caused by allocating 0-sized surface. Issue #36220.
  • r62213 cocoa: fix open dialog file type empty filter. Issue #36272
  • r62214 cocoa: imlpementing gridlines property for tableview. Issue #36263
  • r62215 cocoa: adding menu hijack specific handling of quite menu command. Issue #36265
  • r62216 cocoa: making file related dialogs modal (blocking menu)
  • r62217 Qt: Alt+Shift+[0..9] does not work under x11. Issue #36274
  • r62218 Qt5: Alt+Shift+[0..9] does not work under x11. Issue #36274
  • r62227 cocoa: update the code to be compatible fpc-trunk headers. patch by noname012
  • r62228 cocoa: corrections of NSAppKitVersionNumber10_14 to match the current Xcode headers Issue #36283
  • r62235 LCL: Prevent an exception in TPageControl with a disabled tab. Issue #36282.
  • r62237 fpvectorial: Fix docx writer ignoring single-character words. Issue #36300. Patch by Dean Qin/Mike.Cornflake
  • r62250 cocoa: making togglebox consistent with the standard button. Providing configuration to make the cocoa run in backwards compatible manner
  • r62251 cocoa: update change text edit font color. Issue #36313
  • r62252 cocoa: setting the default system font to a text edit on allocation
  • r62254 MacOS: Improve external tool execution with an .app application. Issue #36314.
  • r62255 TAChart: Avoid crash in unfavorable cases when cChart, NavPanel and AutoScaleAxisTransforms are on the form (https://forum.lazarus.freepascal.org/index.php/topic,47429.0.html). Patch by PaulRowntree.
  • r62277 mtprocs: proper len type (csize_t instead of (cint) for fpsysctl call. Issue #36325
  • r62279 cocoa: making font configuration to be selector based, rather than class based
  • r62280 cocoa: checking for the rectangle to have some size before drawing
  • r62283 LCL: Prevent a crash in Coolbar when clicking a Grabber in an empty band.
  • r62288 LCL: Prevent a crash when freeing a DBEdit with focus. Issue #27178.
  • r62297 IDE: improved 'Add unit to Uses' dialog layout, Issue #36344
  • r62299 Translations: Slovak translation update by LacaK, Issue #36357
  • r62301 fpvectorial: Fix memory leak caused by TvRenderInfo.Errors. Issue #36331.
  • r62311 LCL: Fix TSpeedButton and TBitBtn using non-scaled icons if an Action is assigned to these controls (https://forum.lazarus.freepascal.org/index.php/topic,47574.msg340909.html).
  • r62317 SynEdit: MarkupFoldColor, fix crash when HL does not have config.
  • r62351 cocoa: supporting additional bmp formats. Patch by TK. Issue #36311
  • r62352 cocoa: making mainpool lazy initialization - moving to AppInit, to prevent conflicts with dynlib loading. bug #36360
  • r62355 cocoa: making menu captions resource strings. Patch by Zoë Peterson. Issue #35234
  • r62359 LCL: regenerated translations and updated Russian translation
  • r62367 Translations: Brazilian Portuguese translation update by Marcelo B Paula, Issue #36413
  • r62373 cocoa: using brush color for FrameRect. Issue #36410
  • r62374 lcl: cocoa: fixed compile
  • r62375 multithreadproc: fixed compile darwin fpc 3.3.1
  • r62379 LCL/ComboBoxEx: Use type TImageIndex for image index properties of TComboboxEx. Issue #33026, patch by Michal Gawrycki.
  • r62387 LCL/LazHelpHtml: Fix Microsoft Edge not being detected as default browser on Windows 10. Issue #35659, patch by jamie philbrook, slightly modified.
  • r62394 codetools: parse property; experimental; platform
  • r62405 IdeIntf: Add ForceUpdate parameter for selecting items in GridColumns editor. Prevents an AV when deleting a column. Issue #36260.
  • r62407 cocoa: forcing focus set on Showing window through WS ShowHide method
  • r62413 cocoa: restoring the use of CocoaLoopOverride for a better control of the message loop. Issue #36405
  • r62414 cocoa: sanitizing temp url selection in a dialog selection
  • r62433 cocoa: calling finishLaunching explicitly on AppInit rather than from run loop
  • r62434 cocoa: updating lclRelativePos function, based on the patch by David Jenkins. Issue #36049
  • r62435 cocoa: removing unused function. related to bug #36049
  • r62437 cocoa: using the primary display (index 0) as a base for screen coordinates. Patch by David Jenkins. Issue #36049
  • r62438 cocoa: changing the way undo manager is allocated. Changing handling of the text assignment to a memo. Patch by Zoë Peterson. Issue #36073
  • r62439 cocoa: sanity check for undomanager reversal
  • r62449 Translations: Ukrainian translation update by Olexandr Pylypchuk, Issue #36476
  • r62451 TAChart: Improved and scaled layout of TChartListbox demo.
  • r62452 cocoa: properly cleaning up the callback interface for the calendar
  • r62470 Codetools: Support Codecompletion inside "with begin end" block. May fix other cases, too. Issue #0023782.
  • r62474 revert 61976: lazutils: lazutf8: fixed TStringList.LoadFromFile load UTF8 by default * not needed any more because the latest FPC trunk has TEncoding.Default=SystemEncoding that is UTF-8 in Lazarus/LazUTF8
  • r62477 Fix compilation with FPC trunk
  • r62481 cocoa: forcing focusing of the content view, if window gets focused
  • r62486 LCL/FlowPanel: Fix AutoSize issue. Issue #36514.
  • r62490 cocoa: ShowHide only activates non hint window. Hint window are brought to front, but not getting focus. Issue #36516
  • r62494 IDE: Make sure temp dir exists before starting IPC server. Issue #35838.
  • r62497 cocoa: implementing TCocoaWSCustomTabControl.GetTabRect
  • r62498 cocoa: implementing GetTabRect for left and right tabs
  • r62500 cocoa: releasing capture, if present on disabling or destroying a window. Issue #36491
  • r62502 cocoa: checking for enabled flag of the controls hierarchy
  • r62505 LCL: grids: don't store default TitleFont
  • r62506 Grid: fix High-DPI font scaling
  • r62510 LHelp: Fix a range error when title has sole '&' (not an HTML entity). Issue #36523.
  • r62516 lcl: adding sortIndicator to the listview
  • r62517 win32: implementation of sortindicator
  • r62518 lcl: adding autosortindicator property for the listview
  • r62519 gtk2: sortindicator implementation
  • r62520 gtk2: reverting accidental changes (unrelated to sortindicator)
  • r62521 qt5: implementing sort indicator (seems like qt5 allows only 1 indicator per header)
  • r62523 cocoa: implementing sortIndicator
  • r62528 cocoa: updating font dialog to return the selected font size. Issue #33990
  • r62529 cocoa: updating font dialog initialization. Issue #33990
  • r62530 Cocoa fonts: comments
  • r62531 cocoa: hiding focus ring, if borderstyle is none. Issue #34828
  • r62532 cocoa: not allowing a column of TListView to be selected automatically.
  • r62533 Cocoa: font dialog: Make font size dependent on the dialog's Font.PixelsPerInch and not the global CocoaBasePPI because the user can change it. Avoid rounding errors by using the real Font.Size value. Issue #34828
  • r62537 cocoa: updating patrons list
  • r62539 cocoa: fixes for pattern brush drawing, by Yuriy Sydorov. Issue #36565
  • r62540 cocoa: manual scroller no longer reports any mouse events (to prevent double events). This matches the TCocoaScrollView implementation. Forcefully syncing scroll position with position of scrollers :) before reporting to LCL. Issue #36048
  • r62541 cocoa: adding support for small and large change parameters of a scrollbar
  • r62545 cocoa: checkbox and radiobuttons initial value are now set without change notification
  • r62547 doc: adding short descriptions for SortIndicator and AutoSortIndicator
  • r62557 cocoa: fix setting a new state for cocoa checkbox.
  • r62561 cocoa: assigning callback to a spinedits arrows
  • r62562 cocoa: getting rid of unnecessary text change notifications. Issue #36578
  • r62567 bug #36281. Merged revision(s) 62516-62547 from branches/listviewsortindicator:
  • r62568 cocoa: suppressing beeps on windows for unknown key presses
  • r62569 gtk3: implementation for listview sortindication. Patch by Anton Kavalenka. Issue #36596
  • r62589 cocoa: eliminating horizontal spacing between columns to match winapi. Issue #36618
  • r62621 TStringGrid: also call DoCellProcess when pasting HTML. Issue #0036576.
  • r62628 TAChart: Fix painting of checkboxes in TChartListBox on COCOA (https://forum.lazarus.freepascal.org/index.php/topic,48332.msg349198).
  • r62630 LCL: Update "Accept" flag in TCustomAbstractGroupedEdit.EditDragOver. Optimize. Issue #36685.
  • r62633 TAChart: Fix drawing of checkboxes/radiobuttons on Cocoa, part 2.
  • r62634 Codetools: In function IsCompilerExecutable fix dcc extension check and fix return value.
  • r62641 LCL: WinCE: in WinCE7 Height of TEdit is shrunk when AutoSize is enabled and TEdit.Text is empty. (In WinCE7 GetTextExtentPoint32() for an empty string returns 0 height while in earlier versions of WinCE it returns non-zero height.)
  • r62646 LCL: WinCE: in WinCE7 TBitBtn changes font when focused. So set font explicitly before painting Caption.
  • r62661 cocoa: adding automatic largeInc determination based of the page size
  • r62662 cocoa: removing additional offset on large scroll
  • r62663 cocoa: passing scroll part information, whenever the scroll part is known
  • r62679 IDE: Fix cancelling BuildMode when done through "Change build mode" tool button. Issue #36736.
  • r62693 Codetools: Improve parsing of recursive generics structures. Issue #34824.
  • r62787 FileIsText: only exit False if an "illegal" char is found, don't require a NewLine char being present. Issue #0036679.
  • r62804 LazUtils/FreeType: Avoid ignoring font files after reading defective one.
  • r62813 IDE: Update project inspector also when there is no active project.
  • r62847 LCL: Fix TDBGrid editor alignment when FixedCells>1. Issue #35715.
  • r62868 Fix leak in TLCLGlyphs.GetImageIndex (introduced in r58106). Entry name must be set, before adding to tree. Since the name is used as lookup (the tree "sorts" by the name).
  • r62811 FpDebugger (all): prevent nil deref, for empty watch (auto instance class)
  • r62810 FpDebug: fix typecast/deref for generated-pointer-type "^Foo($1234)", for signed values.
  • r61352 lazutils: SysToUTF8: only UTF8_RTL, Issue #35696.
  • r62743 LCL-GTK2: Use correct Brush.Color with non-default Brush.Style. Issue #36709.
  • r62894 Translations: Hungarian translation update by Péter Gábor, Issue #36873
  • r62885 cocoa: fix compilation for fpc320rc1 headers. bug #36864
  • r62776 cocoa: handling togglebox events as checkbox events. bug #36812
  • r62732 cocoa: updating drawing processing for cocoa table
  • r62725 cocoa: invalidating header and contents of a column on alignment change
  • r62724 cocoa: introducing lclSetColumnAlign to allow set allignment for cell and view based tables
  • r62711 cooca: adding support for listview column text alignment
  • r62710 cocoa: if closewindow button (red-x) is pressed, cancel color selection, instead of accepting the color
  • r62709 cocoa: reverting undesired change of explicit closing of dialogs
  • r62708 cocoa: preventing font or color dialog from being restored on Application restart (in case of a crash while they're shown on restart)
  • r62707 cocoa: calling updateWindows on every event sent. Removing the hacking property assignment.
  • r62701 cocoa: use number of items, of inserting a menu item for the first time
  • r62697 cocoa: handling ESC buttons on a promptuser dialog in a muted way. Patch by Zoë Peterson. bug #36760
  • r62691 cocoa: reverting r62568. the revision broke SPACE processing (to emulate click on buttons)
  • r62690 cocoa: safe color conversion from colordialog to lcl color
  • r62689 cocoa: reverted accidental changes from cocoaint.pas made in r62216 as per Dmitry's comment
  • r62871 Packager: Prevent a crash on closing package editor during compile. Issue #36432.
  • r62875, 62876: ide: creating app bundle as a part of a build process for Cocoa WS. Issue #36780
  • r62881 Designer: Fix moving multiple controls with keyboard after deselecting one. Issue #35255.
  • r62886 codetools: adding suppot for cblocks procedural type modifier. Based on patch by Juha Manninen. Issue #36752
  • r62891 IDE: Set active project in Project Inspector when user opens it first time.
  • r62906 TAChart: Fix NoGuiDemo to find font in Linux.
  • r62907,r62910 Packager: For a newly created component add a package dependency only when needed. Issue #36876.

Fixes for 2.0.6 (merged)

  • r60719 IDE: Call DoCallBuildingFinishedHandler after ToolState is reset. Issue #35240.
  • r61041 LCLTranslator: also allow "--lang=<lang>" commandline parameter in addition to "-l <lang>" and "--lang <lang>", bug 35432
  • r61053 LCL: Handle mouse events through shaped TWinControl. Issue #35270.
  • r61057 LCLTranslator: optimized commandline parameters handling code a bit (no functional changes)
  • r61504 IDE: DoRunProject: reset ToolStatus only for errors on handlers. Issue #0035764
  • r61674 cocoa: ultimate fix for modal menus not making clicks. #35929
  • r61683 Installer: Update for Chinese Innoscript file. Issue #35951, from robsean.
  • r61687 cocoa: notifying the tablelist about number of items changing. #35957
  • r61688 cocoa: applying resource leak patch by Zoë Peterson. #35944
  • r61697 IDE: fix SynSourceEditor.SetHighlighter, prevent processing events while old HL is still in use.
  • r61699 Win Installer: Brazilian Portuguese translation update by Marcelo B Paula, bug 35959
  • r61706 LCL/High-dpi: Fix form shrinking to title bar when PPI settings are changed during runtime of 64-bit program. Issue #35971, patch by dmz73.
  • r61711 LeakView: fix various parsing issues
  • r61715 EditorMacroScript: More verbose self-test errors
  • r61717 codetools: fixed class completion with function result type params
  • r61740 lcl, fix TDbgrid wrong width of first column if FixedCells>1 and dgIndicator is turned off, Issue #35716.
  • r61758 LCL-GTK2: Make TrayIcon.OnClick work for non-Unity desktops. Issue #35983.
  • r61808 LeakView: fix double free crash. Introduced in r61711 by using TFPGObjectList which does auto free objects
  • r61820, r61906, r61955, r61991 Translations: Slovak translation updates by LacaK
  • r61823 ShellCtrls: fix rasing excption when changing TShellTreeView.FileSortType in designer. Issue #36055.
  • r61856 LeakView: fix/improve pasting address only traces
  • r61898 IDE: EditorMacros, fix generating error msg (avoid index out of range error). Fix type in test for whitespace. Issue #0036082
  • r61909 LCL/PairSplitter: Fix Position parameter and panel widths being out of sync under some circumstances (https://forum.lazarus.freepascal.org/index.php/topic,46726.msg333773.html#msg333773).
  • r61926 LeakView: fix crash due to double free.
  • r61945 LCL: override TSpinEdit.GetLimitedValue so it cannot return values outside the integer range. Issue #0032793.
  • r61946 LCL: fix crash in TStringGrid.InsertRowWithValues is Columns.Enabled is True. Issue #0036067.
  • r61947 LCL: fix TTaskDialog.ModalResult if closebutton (in CommonButtons) is clicked. Issue #0036069.
  • r61973 Designer: Explode a big WITH block in TDesigner.ExecuteUndoItem. Use another temp variable.
  • r61974 Designer: Support Undo for properties of subcomponents like 'LabeledEdit1.SubLabel'. Issue #36071.
  • r61976 lazutils: lazutf8: fixed TStringList.LoadFromFile load UTF8 by default
  • r61980 LCL-GTK2: Do not load LibAppIndicator3 lib for KDE and Cinnamon. Makes TrayIcon.OnClick work in most cases. Issue #35983.
  • r61996 Designer: Support Undo-action for changed Parent of a component. Issue #26815.
  • r62001 Designer: Fix a crash bug caused by r61974. Top form has no Owner.
  • r62003 LCL-GTK2: Improve logic for loading LibAppIndicator3 for TrayIcon. Based on research by D.Bannon. Issue #35723.
  • r62020 LCL-GTK2: Add Debian to the list of distros that need the AppIndicator lib. Optimize a little. Issue #35723.
  • r62022 IDE: fixed IDE restart when project is set to cross compile, issue 36142
  • r62031 LCL/grids: Fix misplaced horizontal grid scrollbar after form maximize. Patch by Pavol S. Issue #35472.
  • r62037 FpDebug: Prevent a stack overflow, recursive display of record in record constructor "TFoo.Create(a: TFoo)". Outer "AFlags" were hidden, preventing the recursion from being detected
  • r62062 LCL-GTK2: Improve the logic for loading LibAppIndicator3 lib. Support an environment variable LAZUSEAPPIND. Issue #35723.
  • r62069 + r62070: TAChart: Fix chart distance tools crashing when series contains a NaN value.
  • r62073 TAChart: Fix divide-by-zero error in TFitSeries.
  • r62074 + r62077 MessageComposer: Improved auto-sized layout.
  • r62075 Qt,Qt5: fix issue with TRadioGroup and TCheckGroup after minimizing & restoring form. Issue #36195.
  • r62095 Revert r57155 and r60340 because of a regression bug. See Issue #36170.
  • r62119,r62120 IDE: Do not clear out settings under "Additions and Overrides" after renaming a build mode. Issue #35572.

Fixes for 2.0.4 (merged)

  • r59383 LCL: WinCE: partialy fix problem with spacing between glyph and button caption, when glyph is placed left or right to caption. (there is no space between glyph and caption)
  • r59393 LCL: Change constant $20000000 to MK_ALT. Issue #34481, patch from AlexeyT. (required for cocoa merges)
  • r59884 cocoa: update context menu handling for mouseclick+ctrl. based on a patch by AlexeyT. #34673
  • r59885 cocoa: adding a windowcontroller to NSAlert to process Escape key, even if there's no cancel button present on the dialog
  • r59919 cocoa: restore readonly functionality (#34696). Adding the code preventing the application from locking up on read-only mode change.
  • r60029 cocoa: fix the clipboard pasting of a plain text. #34832 patch by Zoë Peterson
  • r60030 cocoa: forcing controlTextColor for checkbox cell embedded into a textview. #34600
  • r60122 cocoa: preventing the drag event from going to parent controls. #34878
  • r60124 cocoa: updates in drawing a single length lines to half of a pixel (for non retina displays) #34681
  • r60125 cocoa: change the type declaration for boolean workarounds between fpc 3.0.4 and trunk. #34866,34895
  • r60901 cocoa: LCLIntf.MessageBox implemenation. based on the patch by Alexey Tor. #35343
  • r60928 IDE: Change caption for debug info. Remove "GDB", as the settings apply to all debuggers
  • r60929 IDE: regenerated translations and updated Russian translation
  • r60949 cocoa: support for using DrawItem when drawing a read-only combobox. #21791
  • r60950 cocoa: do not call DrawItem for readonly dropdown if no item is not selected. #21791
  • r60951 cocoa: adding track area of readonly items, so they can be refreshed automatically as mouse moves around
  • r60952 cocoa: adding detection if a combobox is showing a popup window
  • r60962 cocoa: update the focused item status of a table raw. Only show it as focused, if it's selected and the control itself is focused. #32051
  • r60963 cocoa: shrink focus rect by one pixel from far sides
  • r60964 LCL: adding IsWSComponentInheritsFrom(), so we're able to check in runtime, if a particular WS class has been registered (implemented)
  • r60965 lcl: adding interface methods for TWSCustomUpDown. So a widget specific implementation makes sense. #34663
  • r60966 lcl: updating TCustomUpDown to use WS interface, if provided. #34663
  • r60967 cocoa: cocoa specific TUpDown, same look as with TSpinEdit. #34663
  • r60968 cocoa: assigning value to updown control, when changed by ws. #34663
  • r60969 lcl: resolve the use of missing Min and Max buttons if WS implementation is used for TUpDown. #34663
  • r60970 cocoa: redoing the fix for 30847 - instead of processing all items on every change of combobox item, just doing change whenever they are needed
  • r60971 cocoa: calling the proper event when processing updown change
  • r60987 Translations: Brazilian Portuguese translation update by Marcelo B Paula, bug 35385
  • r60989 cocoa: correct state image selection depending on type of the menu (radio or not)
  • r61001 LazDebugger(Fp)Lldb: improve checks for errors during launch command. Ignore text in file names.
  • r61005 FpDebug: Watches/Locals: Display "Unknown type" instead of "Identifier not found" for unimplemented/unknown data/types
  • r61006 cocoa: update Clear for ComboBox string list. Patch by Frank. #35404
  • r61007 cocoa: adding support for GlyphShowMode. Patch by Zoë Peterson. #35078
  • r61008 cocoa: adding support for removal tabs by freeing handle. Patch by David Jenkins. #35171
  • r61009 cocoa: fix tabVisible for active page. Patch by David Jenkins #35172
  • r61019 cocoa: update frame3d method to behave similar to WinApi. #35408
  • r61023 cocoa: change BTNFACE color from controlColor to controlBackground color. Thus any text drawn using controlTextColor would be shown properly. #35074
  • r61024 cocoa: adding support for undo redo operations for TEdit and TMemo. Patch by Zoë Peterson. #35421
  • r61026 Gtk2: MsgQueue, fix race condition (patch by Boris Glavin) Issue 035395
  • r61028 SynEdit, GTK2: fix ghost caret during scrolling
  • r61029 IDE: Check for 'Unversioned directory' when omitting revision from IDE title.
  • r61030 IDE: Allow only valid revision numbers to show in IDE title.
  • r61031 cocoa: change processing of AllowDropFiles for forms. Partially based on the patch by Zoë Peterson. Allow files acception even for embeded forms (NSView-based). #35215
  • r61032 cocoa: resolve leaking of window handles
  • r61033 cocoa: disconnecting window content from window for a better reference release
  • r61034 cocoa: additional callback cleanup on windows handle destruction
  • r61035 cocoa: adding support of getting information IF dark theme is used
  • r61036 cocoa: update the comment regarding the new method
  • r61042 cocoa: notifying the main combobox about need of reloadingdata when changes occur
  • r61043 cooca: resizing overlay view towards the hosting view
  • r61044 cocoa: fix updateproperties method from using a wrong view
  • r61045 cocoa: sending a change notification, if text changed programmatically. #35303
  • r61046 cocoa: remove the restriction for a CocoaWSCustomTabControl to be used by TPageControl only. #34593
  • r61047 cocoa: using colors with hatch style brushes. Patch by David Jenkins. #32825, #34414
  • r61055 cocoa: making hint color theme aware. #34360
  • r61056 LazDebuggerFpGdbmi: fixed a crash in watches eval, after cancel of watch eval due to dbg error.
  • r61058 cocoa: binding a popup menu to the key window. The window is need to pick up the theme colors
  • r61062 cocoa: removing debugging messages
  • r61064 LCL: Use "try finally" block for function DefaultInputDialog. Issue #35451
  • r61065 cocoa: drawing frame3d using NSBox look (mimics carbon)
  • r61066 FpDebug: Fix upper/lower spelling of Contents/MacOS
  • r61067 LazDebuggerGdbmi: Improve whitelisted commands for memory limit
  • r61068 LazDebuggerGdbmi: Improve "Reset Debugger". Ensure timeouts, if certain options lead to endless waiting.
  • r61069 cocoa: making the box to be drawn up-side up
  • r61070 cocoa: checking the presence of tabview before removing it
  • r61071 cocoa: prevent a rangecheck error on adjusting tabs
  • r61072 cocoa: rangechecks on getting selected item index for customlist and comboboxes
  • r61073 cocoa: renagecheck errors in CGRectToRect and line drawing. Patch by C Western. #30874
  • r61074 cocoa: resolve rangecheck error for all table driven controls
  • r61075 cocoa: correct frame3d context restore after rendering and frame position
  • r61076 cocoa: using nscell to draw toolbar elements
  • r61077 cocoa: pixel offset of drawing themed panel
  • r61078 cocoa: drawing themed non-flat speed buttons
  • r61097 Treeview: Fix smooth scrolling. Items scrolling in could have 1 pixel line duplicated or missing. See detailed explanation at revision 59650
  • r61098 Ide ColorOptions, Treeview: Fix smooth scrolling. Items scrolling in could have 1 pixel line duplicated or missing. See detailed explanation at revision 59650
  • r61101 cocoa: updating menu handling. Preventing wrong click call. Preventing parent menus closing
  • r61106 cocoa: key events handling refactoring. Removed per control keyprocessing and moved to NSApplication event loop processing. Updating windows key handling to pass hotkeys to menus. Patch by Zoë Peterson. #35449
  • r61109 codetools: fixed node start class sections
  • r61113 LCL-Win32: Add support for ofForceShowHidden flag in dialog options. Issue #35452
  • r61115 cocoa: adding compatibility for windows Cosmetic - pen styles. Replaced dynamic memory allocation with stack. #34744
  • r61118 Installer, Win: Add Chinese
  • r61131 cocoa: adding support for ofForceShowHidden flags in open save dialogs. In ref to #35452
  • r61136 cocoa: fix the issue with wheel event ShiftState parameter not assigned properly. #35481
  • r61137 cocoa: manual drawing of highlight color for (vibrant)dark theme in 10.13. #34600
  • r61138 cocoa: adding support for height of raws in CocoaTable controls. #35154
  • r61150 SynEdit: fix potential rangecheck in compare function
  • r61151 IDE: SynEdit: fix potential rangecheck in compare function
  • r61153 IDE: fix potential overflow in compare function
  • r61156 IDE: fix compare function
  • r61157 SynEdit: fix compare function
  • r61160 cocoa: doing the proper time release of the main autorelease pool. #35400
  • r61161 cocoa: scrolling customlistbox to the selected index on SetItemIndex. #35435
  • r61162 cocoa: resolve windows-level wrong use. A drawback - lost SystemOnTop setting, now behave similar to OnTop. (similar to Windows). #34939
  • r61169 cocoa: update setting enable for UpDown controls. #35531
  • r61173 cocoa: adding hardcoded implementation of SM_CXDRAG and SM_CYDRAG
  • r61175 cocoa: updating OpenDocument api to handle URLs as well (similar to Win32)
  • r61178 Installer, Win: Add open-ssl libraries for OPM
  • r61179 Installer, Win: Refine install options for qt4pas.dll
  • r61180 Installer, Win: Add qt5pas.dll
  • r61182 Installer, Win: Only run in 64bit mode, if installing Lazarus for 64bit
  • r61191 cocoa: update TCocoaDatePicker to work on macOS 10.6
  • r61192 cocoa: datepicker code cleanup. Added mouse handling events, aspect ratio maintenance - keeping ratio at all times, even if too small
  • r61193 codetools: added option -M syntaxmode
  • r61195 IDE: fixed adding event, when property unit has no implementation section
  • r61197 codetools: sourcecloser: keep implementation keyword
  • r61200 LCL: fix mem-leak in TCustomIcon.AssignImage / Temporary mask is not freed. Issue 0035562
  • r61202 LCL: fix mem-leak in TRasterImage.LoadFromRawImage Issue 0035372 / Behaviour change: if source and dest are equal, then data is kept as it is.
  • r61205 LCL: TRasterImage.LoadFromRawImage / revision 61202 (fixed memleak): Fix check for source = target // Also means the behaviour is/stays as before rev 61202
  • r61207 cocoa: update event loops handling. Suppressing the explicit LCL sync message. Internal handling of PostAsyncCallQueue. Patch by David Jenkins. #35547
  • r61208 cocoa: getting rid of code duplication in event processing
  • r61209 cocoa: sanity check before calling ProcessAsyncCallQueue
  • r61210 LCL: TRasterImage.LoadFromRawImage / revision 61202 (fixed memleak): Fix check for source = target // Also means the behaviour is/stays as before rev 61202
  • r61212 cocoa: using a single method to get unmodified character in a key event. based on the patch by Zoë Peterson. #35538
  • r61223 Patch from jmpessoa for IDE crash when closing some forms (highly visible for LAMW)
  • r61229 cocoa: removing mackeycodes.inc file. #35587
  • r61230 cocoa: update QuitApp processing. Patch by Zoë Peterson. #34798
  • r61234 cocoa: adding event expiration date into RunMessages method. To let a message wait as long as it needs to. #35593
  • r61235 cocoa: adding theme update notification
  • r61236 cocoa: update placement of a window. Determining the screen based on the specified bounds rect, rather than current screen of the window (caused issues if height of monitors is different)
  • r61237 Installer, Win: Include all ppu
  • r61250 cocoa: automatic embedded form resizing. #35599
  • r61257 cocoa: splitting up comboboxlist box for ROCMB and CMB (oop approach). Implementing text change for RO item. #35607
  • r61258 cocoa: always expect an application defined event
  • r61259 cocoa: additional support for processing PostMessage during TrackingEvent loop
  • r61260 cocoa: send activate message (Onclick event) whenever a submenu opens up. #30808
  • r61261 cocoa: restore LM_ACTIVE sending for menus, when menuNeedsUpdate is called. #30808
  • r61262 cocoa: adding submenu invalidation, so the menuNeedsUpdate is called
  • r61271 cocoa: adding the system timer to the most common loop modes (thus it would fire if menu is openned or a modal dialog is up)
  • r61275 cocoa: update selected not focused color selection
  • r61276 cocoa: update combobox to prevent double mouseup events. Preventing mouseMove events when poup is down for combobox
  • r61277 cocoa: update mouse handling for disabed views and controls. Traversing the hierarchy to make sure there's no disabled parent. #34326
  • r61286 cocoa: revert changes done with r61262 (menuDidClose handling). #35625
  • r61287 cocoa: updating windowState. Patch by Zoë Peterson. #35622
  • r61296 cocoa: removing the use of the deprecated CGDisplayBitsPerPixel
  • r61297 cocoa: fix typo 1028 to 128 for display bpp
  • r61298 cocoa: invalidating tableview data after changing sort column info. #35642
  • r61300 cocoa: focus switch update, calling SETFOCUS prior to KILLFOCUS. Preventing endless loop of focus switch
  • r61301 cocoa: debugging routines
  • r61306 cocoa: Boolfix (fpc trunk) related compilation fix. Patch by Zoë Peterson. #35694
  • r61308 LCL: TCustomTabControl fixed crash with nil Images property. patch by Luca Olivetti Issue #0035646
  • r61309 SynEdit: Fixed crash in MarkTextAsSaved. Issue 0035635
  • r61315 cocoa: implement GetDCOriginRelativeToWindow for a nicer component editor
  • r61318 IDE: Run without debug, pass command-line args. Issue 0035649
  • r61319 cocoa: invalidating designer overlay view together with content view. Due to forceful use of layers in macOS10.14. Adding a memo (or any scrolling control) would introduce extra layers causing visual issues. In this case overlay (as always staying on top - and receiving its own layer) must be explicitly refreshed, if window content if affected. #35165
  • r61323 cocoa: update handling of DX array passed for UTF8, respecting UTF16 surrogate pairs. #35675
  • r61329 cocoa: update event loop hadling. Repeat wait, if LCL message has arrived, but was not expected. Improves mouse loop handling
  • r61331 cocoa: prevent blocking of LCL only messages. Previous revision is causing issues with menu tracking loop
  • r61332 cocoa: change main thread synchronization mechanims. Using performSelectorOnMainThread, instead of a custom created event
  • r61336 cocoa: change PostMessage event processing to use performSelectorOnMainThread
  • r61337 cocoa: replace SendMessage implementation with performSelectorOnMainThread_withObject_waitUntilDone
  • r61338 cocoa: remove no longer used custom events handling
  • r61339 cocoa: removing LCL custom event LCLEventSubTypeMessage as unused
  • r61340 SynEdit: Fix position for IME (e.g. Candidate window). Requests are received before "StartComposition". Issue 0035682
  • r61345 cocoa: change the implementation of HMonitor. Switching from a direct mapping of NSScreen object to index in NSScreen.screen array
  • r61350 cocoa: fix the compilation with fpc trunk. Patch by Alfred. #35690
  • r61354 cocoa: changing the way application object goes into a loop and being initialized. fixes KVO exception for macOS10.15. Based on patch by David Jenkins. (original patch suggests removal of the existing code, the change introduces COCOALOOPOVERRIDE switch). #35702
  • r61355 cocoa: proper ifdef exclusion for COCOALOOPOVERRIDE. related to #35702
  • r61356 cocoa: making loop hijacking more robust, if event processing was called prior to Application.Init
  • r61362 cocoa: using KVC approach to set application running flag, instead of overriding a property method
  • r61363 pas2js: disable inline
  • r61367 cocoa: restore isrun field
  • r61368 codetools: fixed result, issue 35632
  • r61369 cocoa: implemented form icons
  • r61375 codetools: fixed parsing, issue 35713
  • r61377 cocoa: allow to disable LCL form icon assigned, to allow macOS like behaviour. #35712
  • r61379 Pas2JS: merged translation updates
  • r61380 Installer: updated Russian translation
  • r61386 cocoa: adding post event object destruction mechanism. To prevent crashes for objects destroyed during processing their events. #35706
  • r61387 cocoa: moved post event object collection to the proper unit
  • r61388 cocoa: simplify post event processing release
  • r61389 cocoa: not closing window explicitly, when processing view notifications. Fixes selection of bsNone style setting for a form
  • r61390 cocoa: adding a debug utility to print the hierarchy of controls
  • r61391 cocoa: updating setFocus to return null handle, if the focus cannot be changed
  • r61392 cocoa: change focus switch processing to after event handling. Previously it was on the focus switch which caused endless loops in some cases
  • r61393 cocoa: updating tabcontrol change notifications
  • r61397 cocoa: restoring windows order after reactivating the application #34630
  • r61398 cocoa: initial (out of event loop) focus setting
  • r61399 cocoa: update the proper tab control placement and client dimensions for ShowTabs set to false. #35565
  • r61401 cocoa: update focus notification to run during SetFocus, if current event is processed for another window
  • r61405 cocoa: updating hijack method to stop() the application, instead of termination. Gives an ability for FPC runtime to finalize units
  • r61406 cocoa: adding cocoaloopnative approach - use Cocoa natively and catch FPC exceptions within cocoa-ws
  • r61407 cocoa: resolving event processing for modal loop application termination
  • r61408 cocoa: additional exception catching code for handling lclSyncCheck
  • r61410 cocoa: fixing random crashes when the application doesn't have a keyWindow
  • r61411 cocoa: updating drawing styles of geometry patterns. Dots are finally dots! #34744
  • r61412 cocoa: calling idle event for nativeloop
  • r61413 FpDebug: Fix mem leak in strings/dwarf-3
  • r61421 cocoa: key event handling update, part 2 by Zoë Peterson. #35538
  • r61422 cocoa: part 3 of the keyboard handling patch by Zoë Peterson. #35538
  • r61423 cocoa: adding rotation of the cursor to make diagonal resizing cursors
  • r61424 cocoa: preventing range check error on a tab removal
  • r61425 cocoa: adding RemoveTarget method to callback. To let it know that the target handle has been destroyed
  • r61430 cocoa: adding mouseUp handler. The handler is going to be used, when LCL overrides the mouse and doesn't let the default mouseDown to be processed (in the designer mode)
  • r61431 cocoa: mouse handling for TUpDown control
  • r61432 cocoa: simplify Calendar implementation. Setting default localTimeZone to localTime zone
  • r61438 cocoa: scroll the selected text to visible range for TMemo
  • r61439 cocoa: splitting window content into content and document, to allow the support of scrollbars for the form. #33988
  • r61440 cocoa: update hint window to use windowcontentdocument as well
  • r61456 pas2jsdsgn: fixed run params quotes
  • r61458 cocoa: fix in file drop function after splitting window content. #35758
  • r61460 cocoa: correct NWSE and NESW cursors look
  • r61461 cocoa: explicitly invalidating the contents of the scrollview, if scrollview is invalidated itself
  • r61462 IDE: package editor: compile: warn if designtime only
  • r61464 IDE: resourcestrings
  • r61468 cocoa: move attaching of AppleMenu into cocoaWS class (as at windows class). Resolving glitches with an empty menu
  • r61469 cocoa: adding support for Memo border style
  • r61470 cocoa: support for TEdit border style
  • r61471 cocoa: allowing a designed form to activate (and focus). #34718
  • r61472 cocoa: adding support for an image in the pastebin. #34960
  • r61474 cocoa: preventing memo from getting focus while in design mode
  • r61477 cocoa: overriding the minimum width setting for trackbar. Cocoa returns 4 pixels, which not enough
  • r61478 cocoa: considering vertical mode of the trackbar
  • r61479 codetools: fixed parsing non advanced records
  • r61485 IDE: regenerated translations and updated Russian translation
  • r61487 cocoa: remove canBecomeKeyView override from TextView
  • r61488 cocoa: adding CanFocus to method for acceptResponder. Allow controls to gain focus unless designed
  • r61489 cocoa: allowing tab controls to be switched at design time
  • r61497 FpDebug: Fix Overflow in max array/string size
  • r61506 cocoa: list of patrons
  • r61511 cocoa: update autosize support for trackbar. allow to resize non-fixed size
  • r61514 cocoa: update the default resizing rules for Windows document view. #35789
  • r61515 cocoa: adding text input client to support national key entries with deadkeys #35788
  • r61523 cocoa: updating keyboard handling. If multi characters are generated they would be sent as separate press events (mimicing winapi) #35788
  • r61529 cocoa: fix the declaration of boolean use. #35792
  • r61535 cocoa: moving hasboolean8 check from private to _extra
  • r61544 ProcessDebugger: Fixed crash, due to debugger destroying inside SetState
  • r61545 IDE: Fix crash on accessing nil (in MainIdeBar). Happens if the InitialSetupDialog is closed (OS close button) and the IDE exits.
  • r61553 cocoa: crating LCLObjCBoolean alias at cocoaprivate for backwards compatibility
  • r61558 DateTimePicker: Make widths of ArrowButton and UpDown highDPI-aware. Issue #35814.
  • r61567 cocoa: forcing nstextview to use unix line breaks at the time of adding new text
  • r61568 cocoa: removing unused field of ForcedLineBreak
  • r61592 cocoa: adding support for maxLength limit on tedit. #35847
  • r61594 cocoa: additional check for the existance of stringValue
  • r61595 cocoa: recreating menu item handle, if switches between separation caption
  • r61596 cocoa: changing spinedit to be a subclass of TCocoaTextField. #35851
  • r61609 IDE: do not warn if installing a meta package
  • r61619 cocoa: storing LCL title separately, so WS function would return the original value set. #35884
  • r61620 cocoa: reverting the change about preserving the actual title, back to not returning any title for buttons. patch by Zoë Peterson. #35884
  • r61621 LCL-GTK2: Use libappindicator3 for System Tray Icon. Issue #35723
  • r61624 LCL: Fix a memory leak in TImageList.GetIcon. Issue #35684
  • r61635 IDE: using PathIsInPath instead of FileIsInPath where path=path is allowed
  • r61636 IDE: fixed PathIsInPath for /a and /a/
  • r61644 Translations: Hungarian translation update by Péter Gábor, bug 35891
  • r61654 IDE: fixed checking if TargetExeDirectory(C:\) exists

Fixes for 2.0.2 (merged)

  • r59037 cocoa-opengl: removing lclIsHandle method override, as no longer used by cocoa ws
  • r59186 LCL: TPageControl: Focus first control on page when page is changed and a control on it was focused. Issue #33991
  • r59338 LCL: wince: cosmetic + small optimization align code to Win32 implementation. Bug #30117
  • r59349 LCL: wince: remove selecting all text when focussing a TCustomEdit, this can be down in the LCL by setting TCustomEdit.AutoSelect := true (same as in win32 in rev. 15588). Bug #23345
  • r59354 LCL: wince: comment about WM_NCDESTROY message which is not supported on WinCE (bug #24452) and commented code which emulates double click (bug #20568)
  • r59355 LCL-WinCE: cosmetic
  • r59676 LCL-WinCE: attempt to fix incorrectly computed window size in GetWindowSize (Borders of window are not correctly subtracted). Bug #25966
  • r60025 TAChart: Fix compilation by FPC trunk after r40785.
  • r60064 LCL-GTK2: Prevent Clipboard.AsText crashing. Issue #34795
  • r60081 LCL: fixed regression from r59186. Issue #34870
  • r60217 LCL: Grids, Fix crashes if rows/cols are reduced and editor was active in removed grid area. Hide the Editor if cell no longer exists (same as in DeleteRow). Issue #0034930
  • r60229 TAChart: Combine {$hints on} and {$warnings on} with {$push} and {$pop}
  • r60309 TAChart: Improvements in TChartAxis.EnsureGuaranteedSpace(). Issue #34896. Patch by Marcin Wiazowski.
  • r60310 TAChart: Fix font scaling of CanvasDrawer.
  • r60311 TAChart: Prioritize Chart.MinDataSpace when plot size is too small. Issue #34896. Patch by Marcin Wiazowski.
  • r60325 LazDebugger(Fp)Lldb: Fix stepping in the correct thread
  • r60326 TAChart: Fix bar series not showing bars with values < 1 Issue #34863.
  • r60333 synedit: fixed CompareBinary for Length(s2) > l
  • r60334 TAChart: Improved initialization of scaling transformation. Issue #34896, patch by Marcin Wiazowski.
  • r60336 TAChart: Publish standard property Constraints Issue #35010
  • r60337 LCL: GTK2: Fixed when hovering the mouse cursor over TMemo component at runtime, mouse cursor wont change to text cursor. Issue #34976
  • r60338 FpDebug, LazDebuggerFpLldb: prevent reading invalid memory (int overflow of Addr+Size) / this fixes crashes due to incorrect cache matches
  • r60340 LCL: TCheckBox: Fixed application crashes before the form is showing. Issue #35018
  • r60342 Debugger: Register Window, fix updating register values. Broken in some cases since r60049
  • r60348 IDE: project version info: fixed CharSetCompare, issue 35021
  • r60351 TAChart: Add property UseZeroLevel to TBarSeries in order to make it behave like TAreaSeries on linear and logarithmic axes Issue #34863.
  • r60352 TAChart: Improved determination of series marks' direction. Issue #35025. Modified patch by Marcin Wiazowski.
  • r60362 LazUtils: Fixed wrong offsets in free type font subclips. Issue #35036. Patch from Ondrej Pokorny
  • r60363 LazUtils: Missing TFPImageFreeTypeDrawer.DrawGlyph added. Issue #35032. Patch from Ondrej Pokorny
  • r60364 LCL: Make IntfGraphics DisableLCLTIFF aware. Issue #35038. Patch from Alexey T.
  • r60365 IDE: SourceEditor: Assigning icons to four items of source editor menu. Issue #34987. Patch from FTurtle
  • r60404 LazDebuggerLldb: Add default lldb exe path (*nix)
  • r60412 LazDebugger(Fp)Lldb: fix thread/frame for watch eval.
  • r60413 LazDebugger(Fp)Lldb: fix stackframe when switching between threads
  • r60419 LazDebugger(Fp)Lldb: fix select correct thread at breakpoint
  • r60431 LazDebuggerFpLldb: fix correct context for eval in thread.
  • r60444 IDE: Parse and update compilation tool commands correctly. Issue #35059
  • r60469 Debugger: PseudoTerminal, do not close the handle while app is still debugged.
  • r60470 LazDebugger(Fp)Lldb: Option to force open a terminal when debugging
  • r60473 LazDebuggerGdbmi: refactor detection of gdb internal error. Move code to main debugger class.
  • r60474 LazDebuggerGdbmi: Detect internal gdb errors, while waiting for run/step to end.
  • r60476 LazDebuggerFp: Prevent crash for unimplemented dwarf-tags (e.g. tag_interface). See issue 35129
  • r60479 codetools: fixed parsing generic class function and generic function after type section
  • r60535 IDE: fixed checking type of compiler (fpc/pas2js), fixed quoting compiler filename, improved error handling
  • r60536 IDE: rescan compiler defines: show default compiler error
  • r60537 IDE: show compiler options: quote compiler filename
  • r60538 codetools: IsCompilerExec: error if neither fpc nor pas2js
  • r60539 IDE: compile package: quote src if needed
  • r60540 lazutils: fixed PrepareCmdLineOption quote if needed
  • r60541 IDE: fixed compiler kind if project/package compiler is set
  • r60543 IDE: use project compiler for codetools even if disabled
  • r60544 lazutils: fixed SplitCmdLine escape chars
  • r60551 IDE/codetools: unified compiler check, fixed testing compiler twice
  • r60552 IDE: fixed fpc version check for resources
  • r60571+60578: LCL/Grids: Fix drawing of user-provided checkboxes in DBGrid. Issue #35085
  • r60577 startlazarus: fixed regression starting lazarus, Issue #35184
  • r60581 IDE: fixed run project without debugger, adapted from 60581
  • r60599 LldbDebugger: Detect if the external exe is wrongly set to gdb.
  • r60601 Installer, Win: added Chinese translation by robsean, bug 35193
  • r60612 IDE: default extension for target browser and nodejs is .js
  • r60635 Packager: Prevent Access Violation when creating a new component. Dependency was wrongly created. Issue #35145.
  • r60642 LazDebugger(Fp)Lldb: terminate debugger, when entering error state
  • r60648 FpDebug: Add property for feedback, when debug info can not be read. Add feedback from macho reader
  • r60649 LazDebugger(Fp)Lldb: Errors during launch may be warnings (e.g. outdated debug info). Report to user, and allow to ignore.
  • r60650 FpDebug: Less debugln
  • r60651 LazDebugger(Fp)Lldb: Cancel watch eval, on receiving run/step request
  • r60652 LazDebugger(Fp)Lldb: improve cancel watch eval (cancel current watch, in mem-reader), on receiving run/step request
  • r60661 codetools: parse fpc output: keep FULLVERSION value
  • r60663 TUpDown: fix bug in GetPosition, reduce number of calls to TCustomUpDown.GetPosition in TUpDownButton.Click. Issue #0035209
  • r60665 SynEdit: fixed gutter bug, when auto-sizing is off. (fixed loaded values are ignored / fixed div-zero for zero width gutter)
  • r60668 IDE: fixed package options FPDoc search path basedirectory, issue 35222
  • r60675 Codetools: Fix function FindNextIncludeDirective when an include file name is quoted.
  • r60677 IdeIntf: Prevent crash when renaming TAction in TActionListEditor. Issue #35226.
  • r60679 LCL-Win32: Call OnClick of a parent menuitem from submenu of a popupmenu. Issue #35219.
  • r60687 IDE: do not save editor content if disk file has changed and MainIDE.CheckFilesOnDiskEnabled disabled, issue 35230
  • r60692 LazDebuggerFp: Prevent crash when watches are freed, after debugger was destroyed
  • r60700 SynEdit: PasHighLighter, fixed highlighting procedure names in interface declaration. Issue 0035238
  • r60707 LazDebuggerFp: Fix range-check / overflow with bad data.
  • r60708 IdeIntf: Fix coordinates for TTIPropertyGrid.OnPropertyHint. Issue #34689.
  • r60712 projectgroups: fixed adding missing targets, bug 35243
  • r60721 IDE: debug messages on run/save project failures
  • r60723 IDE: rename project: keep target file extension
  • r60725 IDE: renameunit: mark project as modified
  • r60730 IDE: rundebug: restore toolstatus on error
  • r60732 Printers, fix GTK printing problem. Issue #34932
  • r60733 IDE, fix form size for NewField dialog.Issue #35249
  • r60735 IDE: package editor: fixed popup menu items
  • r60745 IdeIntf: Allow F12 and other hotkeys in Object Inspector when the selection Combobox is active. Issue #29335.
  • r60748 IDE: Stop an endless loop when saving a unit with invalid name. Issue #35260.
  • r60756 SynEdit: AvlTree, check for nil when searching nodes
  • r60763 IDE: fix IsVersionRequested
  • r60770 IDEIntf: fixed change IDEMacros.Stamps
  • r60798 FpDebug: Fix an overflow in address calculation
  • r60827 LCL-WinCE: trivial: Add wince_7 to GetWinCEVersion()
  • r60844 IDEIntf: added TLazCompilationToolOptions.Parsers
  • r60858 Qt,Qt5: TComboBox.Sorted property implemented. Issue #0028045
  • r60861 Qt,Qt5: fixed action of TSavePictureDialog. Issue #0032540
  • r60866 openglcontrol: fixed double free, issue 35335, from Denis Golovan
  • r60899 LazDebuggerFpLldb: Catch errors during dwarf loading.
  • r60902 IDE: Improve GenericListEditor dialog layout. Issue #35328
  • r60926 LazDebuggerFpLldb: prevent crash in asm window, if dwarf info failed to load
  • r60930 FpDebug: Check char-size for strings. Recognize "UnicodeString", Issue #35340
  • r60932 remove outdated link
  • r60933 IDE: Fix jumping to next/previous error from the Search menu. Issue #35352
  • r60862 TAChart: Fix compilation of additional drawer packages in FPC 3.2+
  • r60863 TAChart: Update package globallinks to changes in r60862
  • r60946 FpDebug: "UnicodeString" workaround for wrong dwarf-highbound fpc issue 0035359, see also issue 0035340

Fixes for 2.0.0 (merged)

  • r59207: LCL: Prevent a double validation message in TStringGrid. Issue #34306, patch from Tintinux.
  • r59691: LCL: Fix stringgrid double validation and revert patch that broke extending selection, modified patch from tintinux, Issue #34306
  • r59716 PackageIntf: Detect if a package is installed or not via the packaging interface, function "IsPackageInstalled".
  • r59717 Opkman: After a package is opened with "Open package file(.lpk)...", OPM wrongly reports the package as installed when in fact is not.
  • r59803 Object Inspector: Prevent component-tree hiding the component-values pane. Issue #34562.
  • r59867 AnchorDocking: Save PageIndex. Issue #34727
  • r59881 LCL: Fix TListView in virtual mode ignoring StateImages on Windows (patch by Serge Anvarov, Issue #34739).
  • r59886 Qt,Qt5: implemented TQtWSCustomListView.GetHitTestInfoAt(), TQtWSCustomListView.ItemSetStateImage(), draw StateImages in virtual mode. Issue #34742
  • r59890 LCL: ImageList - associate FHeight from source FHeight Issue #34708
  • r59892 LCL: TCustomImageList fix for memory leak. Patch by Ondrej Pokorny. Issue #0034708
  • r59893 Qt5: fixed wrong Left & Top form positions when form is wsMaximized under MacOS. Issue #34698
  • r59894 Qt,Qt5: deliver left,up,right,down keys to the lcl from calendarWidget. Issue #0034752
  • r59895 FpDebug: limit array/string bounds (max len) / partial fix/workaround to prevent crashes when eval locals while in pro-epi-logue (stack not yet initialized / random data for bounds and other). Issue 0034746
  • r59897 IDE: fixed leading space in compiler options
  • r59899 IDE: message widow: fixed showing ExitCode instead of ExitStatus of a process
  • r59907 IDE: regenerated translations and updated Russian translation
  • r59912 Installer, Win: do not touch any registry for associating file extensions, if unselected by user.
  • r59914 codetools: fixed parsing $IFOpt if option is not defined, issue 34767
  • r59917: LCL: GTK2: TMemo: Fixed cursor does not work. Issue #32616
  • r59921 IdeIntf: Fix compilation after fpc trunk r40645. Issue #34765
  • r59926 cocoa: returning callback object for the secured field. Issue #0034773
  • r59929 FpDebug: Fix typecast
  • r59930 FpDebug: Fix length of widestring (avoid trailing random data)
  • r59931 FpDebug: change "open array" params to "const"
  • r59932 LazDebuggerLldb: change "open array" params to "const"
  • r59935 TAChart: Add missing overload directives in TBasicDrawer class (Issue #34774, patch by Jonas Maebe).
  • r59943 FpDebug: fix accessing Upper-bound-value of open-array. Was missing a context object. Issue 0034781 / Add limit to prevent bad size, if data is corrupt. Issue 34772
  • r59951 IDE: fixed warning about missing output directory D:\, issue 34545
  • r59959 FpDebug: fix commit 59943 / open-array bounds
  • r59960 LCL, grids: fix TStringGrid copy/paste to/from MS Excel and OO Calc bug, patch from K155LA3, Issue #30623
  • r59961 FpDebug: added dbgs for debugln
  • r59962 FpDebug: fix nested array bounds in dwarf3
  • r59964 LazDebuggerFp/FpDebug: tests
  • r59971 SynEdit: fix selection with smLine (include some selection via gutter) should include folded lines, if the "fold start" line gets selected. Issue 0034760
  • r59978 FpDebug: Callstack, adjust to show the current calling line, instead of the line after it. Issue 0034753
  • r59981 GTK2/GTK3: Add widgetset limitations for TEdit.NumbersOnly not implemented. Issue #0033704
  • r59982 TurboPower_iPro: Fix line spacing of < br> tag. Issue #34803
  • r59983 SynEdit: Added checks for revision 59971 (fix selection with smLine should include folded lines - Issue 0034760) - apply only if AutoExtend is true (indicates user input key/mouse) / Setting Selection from code should not be affected.
  • r59985 LCL: TCustomTabControl: don't fire OnChanging when programatically changing TabIndex/PageIndex. Patch by Michl. Issue #0033720.
  • r59988 Translations: Polish translation update by Sławomir Niedziela, bug 34788
  • r59997 LazDebuggerFpLldb: Prevent occasional crash, when evaluate watch in nested procedure (access callstack out of index)
  • r59998 LazDebuggerFpGdbmi: Prevent occasional crash, when evaluate watch in nested procedure (access callstack out of index)
  • r60000 LazDebuggerLldb: Fix reading registers for correct frame
  • r60001 LazDebuggerFpLldb: fix pre-loading correct registers
  • r60004 LazDebugger(Fp)Lldb: fix correct stackframe/thread for registers
  • r60005 LazDebuggerFpLldb: fix crash in shutdown (stop debug while paused)
  • r60006 LazDebugger(Fp)Lldb: fix 32/64 target detection
  • r60007 LazDebuggerFpLldb: get current IP address from register (instead of stack) if available
  • r60008 LazDebuggerFpLldb: retrieve register for other stackframes, while evaluation is running (required for nested procedures)
  • r60009 LazDebuggerFp/FpDebug: tests, remove virtualtree
  • r60010 LazDebuggerFp/FpDebug: tests, fp-lldb
  • r60014 LazDebuggerFp/FpDebug: prevent mem-cache from hiding mem-read errors
  • r60015 FpDebug: MacOs, loading of dwarf symbols missed some global vars.
  • r60019 SynEdit: MultiCaret - handle 2 stroke key combos correct.
  • r60024 VirtualTreeView: Fix compilation with FPC trunk after r40745, Issue #34804. Slightly modified patches by Pascal Riekenberg.
  • r60031 Converter: Give a converted binary DFM file a .lfm suffix. Issue #34811.
  • r60033 SynEdit: fix assert/range-check in multi caret. Issue 0030731
  • r60034 SynEdit: test for fix assert/range-check in multi caret. Issue 0030731
  • r60035 LazDebuggerFp: use dsInternalPause to set/unset breakpoints
  • r60036 Translations: Brazilian Portuguese translation update by Marcelo B Paula, bug 34838
  • r60037 Translations: Ukrainian translation update by Olexandr Pylypchuk, bug 34830
  • r60041 FpDebug: MacOs, 64bit IDE loading of dwarf for 32 bit target
  • r60042 LazDebuggerFpLldb: allow external dwarf symbols on Mac
  • r60044 FpDebug: Windows, fixed intercepting system exceptions (access violations, stack overflow, div zero,...)
  • r60048 FpDebugServer: fix compilation / support multiple addresses per breakpoint
  • r60049 Debugger: keep register-names in register window, while debugger is running (show <unavailable>). This way scroll pos is preserved. Issue #32654
  • r60050,r60052 Debugger: fix compile after r60049 "keep register-names in register window, while debugger is running" Issue #34844
  • r60061 IDE: Support many picture formats for project icon. It was wrongly changed for Issue #34464.
  • r60062 LCL: Prevent a rare range error in ImageListResolution.
  • r60069 TAChart: Fix precedance of boolean operators error in TCustomChartSeries.Drawlabels. Issue #34819. Patch by Marcin Wiazowski.
  • r60070 TAChart: Use data point index limits FLoBound and FUoBound instead of 0 and Count-1 in data point labeling routines. Issue #34819. Patch by Marcin Wiazowski.
  • r60071 TAChart: Fix vertical placement of series labels on stacked series with logarithmic axis (Issue #34861)
  • r60072 TAChart: Fix painting of a non-stacked bar series in case of a nonlinear axis transformation.
  • r60073 TAChart: Fix horizontal position of series labels for a bar series having multiple, non-stacked y values (Issue #34862)
  • r60074 TAChart: Fix positioning of centered labels for logarithmic, non-stacked bar series with multiple y values.
  • r60075 TAChart: Fix AreaSeries drawing inverted area if it extends down to -Inf.
  • r60076 Qt,Qt5: call inherited Create for TStrings.
  • r60077 TAChart: Fix positioning of series labels (hopefully...) by reverting some of r56492. Issue #34819
  • r60082 TAChart: Fix crash of IDE due to r60070
  • r60083 FpDebug: fix type in macho debug structure (avoid range check errors)
  • r60084 LazDebuggerFpLldb: correctly initialize pretty-printer
  • r60085 FpDebug: fix cache when cross debugging a 64bit target from a 32bit IDE. (affects FpLldb)
  • r60086 FpDebug: Fix DW_FORM_strp for Dwarf3's 64Bit-Dwarf info
  • r60087 TAChart: Correct vertical position of stacked bar series centered labels if ZeroLevel is not used.
  • r60088 TAChart: Replace TMarkPositions option lmpInsideCenter by new property "MarkPositionCentered" published for bar and area series.
  • r60089 TAChart: Update area demo to show new property "MarkPositionCentered".
  • r60090 TAChart: Replace deprecated Reticule in demo/basic by a DataPointCrosshairTool.
  • r60104 TAChart: Fix sign error in coordinate transformation (Issue #34898, found by Marcin Wiazowski)
  • r60105 TAChart: Undo part of r60075 (see Issue #34898).
  • r60109 TAChart: Use ChildSizing technique to position charts in demo/panes.
  • r60110 TAChart: Fix scaling of axis with fixed range when associated series is hidden.
  • r60119 Sparta docked formeditor: Change visibility of methods so it compiles with FPC trunk. Issue #34816.
  • r60120 TAChart: Fix series label direction in case of right-to-left mode.
  • r60126 LCL: TComboBox: Fixed invisible mouse. Issue #34913
  • r60127 TAChart: Fix series label direction for an inverted axis.
  • r60128 TAChart: Fix logical error in previous commit
  • r60129 TAChart: Fix axes for series having very long labels. Issue #34896. Based on patch by Marcin Wiazowski.
  • r60130 Debugger: remove some active logging
  • r60131 LCL-GTK2: Support pasting images copied from another application. Issue #34840.
  • r60133 Debugger-tests: speed up internal logging (needed on windows).
  • r60141 Translations: Hungarian translation update by Péter Gábor, bug 34912
  • r60150 chmhelp: Fix compilation of lhelpconnectiondemo1 project
  • r60151 TAChart: Refinements for long series labels (respect device scaling, introduce chart property MinDataSpace). Issue #34896.
  • r60154 lplupdate: support dotted pkg names
  • r60158 codetools: fixed usesgraph addtargetunit
  • r60162 TAChart: Avoid crash of chart if an axis is destroyed. Add chart properties HorAxis and VertAxis. Issue #34896.
  • r60163 TAChart: Fix uninitialized variables FLoBound and FUpBound used by TBasicPointSeries. Patch by Marcin Wiazowski. Issue #34935
  • r60206 AnchorDocking: Fixed SimplifyOneControl destroy the layout. Issue #34937
  • r60216 TAChart: Fix too-late updating of variables FLoBounds and FUpBounds of TBasicChartSeries. Patch by Marcin Wiazowski. Issue #34935.
  • r60218 Tools, UpdatePoFiles: corrected accepted resource file extension (.lrt -> .lrj)
  • r60224 LCL: Win32: Fixed not every TGroupBox child follows parent's Enabled property. Issue #0034763. Patch by BrunoK
  • r60225 TAChart: Fix incorrect scaling of TScaledCanvasDrawer
  • r60232 Qt5: fixed invalid positions of TCustomControl. Issue #0034880
  • r60235 TAChart: Fix TChart.IsPointInViewPort to allow for floating point round-off errors. Issue #34961
  • r60236 Qt,Qt5: fixed themed drawing of combobox when we draw regular dropdown button.
  • r60237 Docs: Update documentation for PopupNotifier, remove a duplicate UTF8Process.xml file. Issue #34962 and Issue #34966
  • r60239 Lldb / FpLldb: fix length of exception class names
  • r60242 docs: documentation of lazutf8classes, issue 34968, from Don Siders
  • r60246 LazLogger: Fix a crash, due to not thread safe.
  • r60248 Qt,Qt5: do not send LM_MOVE from viewport of TCustomControl since param is position of viewport by itself.
  • r60249 Qt,Qt5: do not send LM_MOVE from QLineEdit of QComboBox. Issue #0034880
  • r60250 LCL: GTK2: Fixed memory leak in StatusBar. Issue #34951
  • r60258 docs: lazfileutils, issue 34984, from Don Siders
  • r60264 LazLogger: Init is called from DoDebugLn => make thread save
  • r60270 Qt,Qt5: fixed application hang when terminated but trying to show another form. Now we don't use QtUseNativeEventLoop on qt4 anymore. Issue #34982
  • r60271 Qt,Qt5: fixed AppRun when called with Application.Terminated - eg. app terminated in mainform.OnShow when using QtUseNativeEventLoop. part of Issue #34982
  • r60273 Debugger GDBMI: Fix thread context for finding correct frame
  • r60274 Debugger GDBMI: Attempt workaround for step-over issue (step-over performs step-in). See Issue 0034159
  • r60275 Debugger GDBMI: Fix compilation of tests
  • r60276 TAChart: Fix of TChart.IsPointInViewPort and axis labels if all data values are < 1E-12.
  • r60296 lazutils: docs, issue 34994, patch from Don Siders
  • r60299 docs: fixed xml
  • r60301 docs: fixed lazutils xml

Fixes for 2.0.0RC3 (merged)

  • r59374 IDE: Update unit path for all build modes also when creating a new unit. Issue #34413
  • r59378 IDE: Add high-dpi icons for images and images/codeexplorer (provided by Roland Hahn)
  • r59376 debugger: fix pseudo terminal, only memo needs monospace. Issue #0034192
  • r59382 Installer, Win: Allow adjusting install dir, in case of 2ndary/multiple installs.
  • r59384 Installer, Win: Prevent a crash, if installing 2ndary into same path, as previous (removed) primary installation. / Added logging.
  • r59386, r59385 EditorOpts: Add warning, if outline has no colors set
  • r59375, r59377 IDE: Remove unused resource strings.
  • r59379, r59388 IDE: regenerated translations and updated Russian translation
  • r59450 Translations: Brazilian Portuguese translation update by Marcelo B Paula, bug 34492
  • r59402 Ensure bookmark menu is updated if files are opened/closed. Those files may have bookmarks in the session, that will be set for the editor. Part of Issue #0034194
  • r59395 IDE: Try to switch path delimiters only for filenames when reading TCompilationToolOptions.Command. Issue #34476
  • r59396 IDE: Switch path delimiters only for filenames better for TCompilationToolOptions.Command. Issue #34476
  • r59431 IDE: New high-dpi images for folder images/componenttreeview (by Roland Hahn)
  • r59432 IDE: Add high-dpi images for folder images/codetoolsdefines (by Roland Hahn)
  • r59434 IDE: Update copyright.txt (authorship of images used by IDE). Issue #0034487
  • r59447 IDE: New high-dpi images for folder images/states (by Roland Hahn)
  • r59416 LazUtils: Raise exception in UTF8To... functions, controlled by a global boolean. Issue #33686
  • r59436 LazUtils: Add LazUTF8SysUtils with "deprecated" warnings. The unit was renamed earlier.
  • r59439 Debugger, asm dialog: fix mouse wheel scrolling
  • r59443 Lldb/Gdb - FpDebug: fix crash in pretty printer when called from lldb/gdb mixed debugger (MemManager not set)
  • r59445 lldb debugger: Fixed "stop" => now works while running. Implemented "pause"
  • r59440 IDEIntf: Allow to add sliced images to the image list editor of the multi-res imagelist (see https://forum.lazarus.freepascal.org/index.php/topic,43088.msg301126.html)
  • r59441 IDEIntf: Use resourcestrings for button "Add sliced" in ImageListEditor
  • r59442 IDEIntf: Clean up of unused variables in r59440
  • r59448 IdeIntf: fixed ellipsis inconsistency, regenerated translations and updated Russian translation
  • r59453 IDE: open package link check if directory
  • r59455 IDE: packagelink: do not expand empty package link filename
  • r59457 codetools: do not automatically pass -Fr to pas2js
  • r59468 lcl: fixed TComboBox.ReadOnly deprecated text
  • r59462 IDE: Additional high-dpi icons for folder images/designer (by Roland Hahn)
  • r59466 IDE: Updated high-dpi z order icons (by Roland Hahn)
  • r59470 IDE: Add missing images from images/designer (issue #34514).
  • r59463 IDEIntf: Update German translation, fixed ellipsis inconsistency
  • r59469 IDE: Improved German translation of z-order menu captions.
  • r59471 Translations: regenerated German translation
  • r59476 rpm: workaround for fpc putting libpas2jslib.so in wrong directory on arch64
  • r59477 rpm: libpas2jslib.so
  • r59478 LCL: Set TPopupNotifier's Color to clInfoBk instead of $DCFFFF (see https://forum.lazarus.freepascal.org/index.php/topic,43125.msg301479/).
  • r59481,59482 (ONLY for win64): Debugger-Gdbmi: fix setting internal breakpoints by address only. // Add "step to except" for win64 (SEH). No "step to finally" yet
  • r59483 Translations: Brazilian Portuguese translation update by Marcelo B Paula, bug 34519
  • r59490 SynEdit: fix showing caret, after getting focus. Issue #0034527, Issue #0034506
  • r59491 lldb debuggers: added license info / fp-lldb now beta
  • r59493 Opkman: Add high-dpi icon for the IDE (by Roland Hahn)
  • r59494 lldb-fp debug: Makefiles
  • r59495 fp debug: Makefiles
  • r59496 fix Makefiles
  • r59497 Added lldb, lldb-fp to BigIde
  • r59498 Remove the pure lldb debugger from pre-installed debuggers
  • r59499 IDE: Small update of German translation
  • r59500 IDE: fixed save file as dlg rename pascal file lowercase
  • r59504 macos dmg: default debugger TFpLldbDebugger
  • r59506 IDE: New high-dpi Windows file type icons (by Roland Hahn)
  • r59510 Fix compilation with debug define
  • r59511 LazDebuggerFp: fix mem leaks in logging code.
  • r59521 LazDebuggerFp: Fix/Implement "Reset Debugger" / Refactor: Use LockRelease from base class.
  • r59525 FpDebug: fixed a memory leak, when the debugged process forked child processes.
  • r59526 VTV: Prevent building failure on the following architectures: arm64, armel and armhf(issue #34329).
  • r59528 TAChart: Fix panning error of TAreaSeries (caused by r58562, see https://forum.lazarus.freepascal.org/index.php/topic,43182.0.html).
  • r59538 FpDebug: temporary workaround to display widestrings (actually pwidechar^)
  • r59539 FpDebug: temporary workaround to display widechar
  • r59540, r59564 Translations: Czech translation update by chronos, bug 34549
  • r59543 Packager: Add BorderSpacing values for controls in IDE package graph dialog (Issue #34553).
  • r59544 IDE: Improve layout of Publish Project dialog. Issue #34547
  • r59547 Translations: Brazilian Portuguese translation update by Marcelo B Paula, bug 34555
  • r59548 Translations: Ukrainian translation update by Olexandr Pylypchuk, bug 34554
  • r59552 FpDebug: Windows, fix leaking filehandles / more (temp) fixes for not processing forked children
  • r59556 LazDebuggerFp: added auto-typecast for objects (watches, inspect / not working for hints)
  • r59557 FpDebug: format structured values (class) as one line per field
  • r59558 LazDebuggerFp: return typeinfo for watches
  • r59559 codetools: added TCodeCache.ClearAllModified
  • r59560 IDE: fixed clear modified files on close project
  • r59563 FpDebug: fix memleak if no loader for file format is found
  • r59566 Qt5 cbindings:added static QPrinterInfo_availablePrinterNames() which returs QStringList. part of Issue #34558
  • r59568 LazDebuggerFp: fix missing result for dcPause
  • r59581 IDE: ask new componentname dialog: fixed uninitialized result
  • r59590 Qt/Qt5: fixed LCLIntf.CreateCaret() and LCLIntf.ShowCaret() result. Issue #34653
  • r59592 Qt5: added QPrinterInfo_availablePrinterNames().part of Issue #34558
  • r59593: Qt5: use QPrinterInfo_avaliablePrinterNames() instead of old QPrinterInfo_availablePrinters(). Issue #34558
  • r59594: Qt5: fixed crash when caching papers. part of Issue #34558
  • r59595 Qt/Qt5: implemented WP_SMALLCAPTION. Issue #34459
  • r59597 LazDebuggerFp: Fix accessing property of nil object / CurrentThread may be nil.
  • r59617 Translations: Chinese translation update by robsean, bug 34579
  • r59584 SynEdit: fix caret blinking during code-completion drop down, if persistent-caret-is-none-blinking
  • r59596 SynEdit: (Win10 issue only) fix for "ghost" images of text-caret on Windows 10, in certain conditions where part of the editor is outside the physical screen.
  • r59586 LCL: Read a streamed WideString CollectionItem property correctly. Issue #34561
  • r59621 LCL: Win32: Fixed PageControl corrupts display when TabPosition is tpLeft or tpRight. Issue #34577
  • r59607 LazDebuggerFp: Fix crash, if string read from debugged app is nil / debugged app exception info
  • r59608 LazDebuggerFp: more nil handling safety
  • r59625 Debugger: fixed breakpoint actions (take snapshot) for address and data breakpoints
  • r59614 LazLogger: fixed crash in assign
  • r59636 IDE: fpc msg parser: check for Warning too, bug 34582
  • r59683 Translations: Brazilian Portuguese translation update by Marcelo B Paula, bug 34610
  • r59698 Translations: French translation update by Gilles Vasseur, bug 34616
  • r59637 Qt,Qt5: fixed ScrollWindowEx() when contains SW_SCROLLCHILDREN flag. Issue #34589
  • r59652 Qt,Qt5: removed old workaround in DrawText() - MacOS. Issue #34587
  • r59653 Qt5: fixed crash when printing image under MacOS. Issue #34598
  • r59654 Qt5: fixed BringToFront() for TCustomForms under MacOS. Issue #34599
  • r59667 Qt: fixed drawText() background painting when BkMode = OPAQUE - MacOS only. Issue #34587
  • r59642 TAChart: Fix typo in German translation.
  • r59661 TAChart: regenerated German translation
  • r59648 Gtk3: removed workaround in GetTextExtentPoint() so it returns correct width of text.
  • r59651 LCL: Support autocompletion in TComboBox for single-letter text, too. Issue #34566
  • r59666 LCL: Fix unbound dblookupcombobox autocomplete, based on fix from melwinek Issue #34298
  • r59668 LCL, missing change from r59666
  • r59655 LazDebuggerFp: handle "ignored exceptions" list
  • r59656 LazDebuggerFp: deal with fpc info for nested procs variable scopes.
  • r59678 LazDebugger(Fp)LLDB: fix, check for ignored exceptions
  • r59679 LazDebugger(Fp)LLDB: fix getting class-name for exceptions
  • r59680 LazDebugger(Fp)LLDB: fix memory leak
  • r59692 FpDebug: print type-name for structured types
  • r59693 Debugger: Fix wrong class for threads.
  • r59665 fpvectorial: Reduce default border width of table cells from 1mm to 0.5pt (see https://forum.lazarus.freepascal.org/index.php/topic,43322.msg302997).
  • r59708 Qt,Qt5: fixed wrong PPI calculation (MacOS only). Issue #34625
  • r59709 Qt5: fixed Font.Height value inside TQtWidgetSet.InitStockFont() (MacOS only). Issue #34625
  • r59711 Qt: fixed Font.Height value inside TQtWidgetSet.InitStockFont() (MacOS only). Issue #34625
  • r59714 Qt5: Fixed showing of popup window over modal form. eg TDateTimePicker calendar. (MacOS only)
  • r59756 cocoa: making sure that TEdit and TComboBox (editable) are trully single line
  • r59755 cocoa: additional code to handle unassigning of trayicon menu
  • r59754 cocoa: menus - fix cocoa app mem leak for allocated TcocoaMenuItems
  • r59753 cocoa: update menus to be able to remove separator items
  • r59752 cocoa: update removal of menuItems. Removing an item from parent menu rather than from parentItem's menu. #34602
  • r59751 cocoa: update printing component to use LCLObjCBoolean type
  • r59750 cocoa: update type cocoawsmenu type switching from boolean to LCLObjCBoolean. #34609
  • r59749 cocoa: registering cocoadatepicker unit with lcl.lpk
  • r59748 cocoa: cleanup in calendar (datepicker) component - removing unused units. #34609
  • r59747 cocoa: cleanup in calendar (datepicker) component. #34609
  • r59746 cocoa: move NSResponderHotKeys to cocoawindows.pas unit. #34609
  • r59726 cocoa: update OpenGL component to use LCLObjCBoolean type (rel #34609)
  • r59725 cocoa: updating LCL overrides to recognize different boolean types used in FPC headers. #34609
  • r59674 cocoa: fix the issue with using enclosing scrollView for mouse position check. #34516
  • r59646 cocoa: any font can utf8 (unicode)... even if it doesn't. #34594
  • r59645 cocoa: using additional storage for keeping checked state of a checklist items. #34590
  • r59628 cocoa: reporting extended UTF8 character as a question mark for ansi char
  • r59627 cocoa: Fixes TTabControl, it previously was placing controls inside it with Left=0 as if they had Left=-20, because NSTabView is not meant to receive views inside it like that, we need a different handle for TTabControl and TPageControl
  • r59620 cocoa: restoring the code to identify VK code based on the character (support for Dvorak keyboards). Any national characters would still be determined based on keyCode. Suggested by Zoë Peterson
  • r59492 Printers: Support for Cocoa printing, updated examples.
  • r59397 cocoa: patch by David Jenkins - forcefully invalidate the content document for manual scroll. Should help with redrawing customcontrols for 10.14. #34478
  • r59380 cocoa: preventing spinedit value from being change while destroying the handle. #34468
  • r59363 cocoa: update the behaviour of GetFocus function to use HandleView stored with callback object. #34450
  • r59362 cocoa: using Device colorspace, instead of Calibrated colorspace for GDI objects. #34427
  • r59331 cocoa: additional methods (nsview, nscontrol, nsbuttons, nstextfield) for handling fpc issue #34411
  • r59330 cocoa: additional methods for handling fpc issue #34411
  • r59329 cocoa: workaround for a problem with 64-bit boolean parameter passing (see fpc issue #34411 for details)
  • r59273 cocoa: prevent listview premature handle allocation. Fixes the issue of IDE not being able to add list view onto a designer form
  • r59252 cocoa: fix combobox onchange which fixes also lazreport designer on second opening and also fixes issue #33800
  • r59251 cocoa: preventing too high values on measuring text with soft-line breaks. #34382
  • r59250 cocoa: fix compiler warning
  • r59249 cocoa: update deallocation of read-only combobox
  • r59247 cocoa: fix the combobox itemindex when the new text is not the list
  • r59238 cocoa: fix drawing overlays - resing overlay designer view to the form
  • r59237 cocoa: dereferncing tracked control earlier
  • r59236 cocoa: improve mouse handling of spinedit
  • r59235 cocoa: fix controls leaking spinedit
  • r59234 cocoa: memory management - removing unneeded autorelease pools. There's one global and one per each event
  • r59233 cocoa: fix for a memory leak in overlay (designer) form
  • r59232 cocoa: memory management - removing unneeded autorelease pools. There's one global and one per each event
  • r59231 cocoa: memory management - removing unneeded autorelease pools. There's one global and one per each event
  • r59206 cocoa: update insertion and removal of rows in cocoa table (fix implementation from #34319)
  • r59205 cocoa: fix the conversion between WS to LCL tab index #34361
  • r59196 cocoa: adding a check for TCocoaTextLayout.Draw procedure. Do nothing if string is empty or invalid. Prevents SynEdit crashes for unicode characters
  • r59195 cocoa: update key processing, adding more exception for non-printable keys
  • r59189 cocoa: updating drawing of ownerdrawn statusbar
  • r59188 cocoa: removed redundant key emulation events (introduced with #32829). With the latest changes in key handling events those are no longer needed
  • r59187 cocoa: implementing owner drawn for status bar panels. #34338
  • r59185 cocoa: additional control over cocoa window levels
  • r59183 cocoa: adding exception for processing key equivalents and return key, if a first responder is capable of processing the return key. #34354
  • r59179 cocoa: update key event handling. Not all characters from macOS are suitable for LCL KeyPress
  • r59178 cocoa: using a single place to process keyDown event related to LCL callbacks
  • r59164 cocoa: the first oddity of modal sessions. Context Menu would not call an action to indicate the menu item selected #34325
  • r59163 cocoa: propagating LM_CONTEXTMENU to parents
  • r59141 cocoa: restore key processing, to let hot keys to triggers... odd
  • r59140 cocoa: minimze table view invalidation on add / delete items. #34319. Patch by David Jenkins
  • r59135 cocoa: adding support for focus rect of TMemo
  • r59134 cocoa: restoring keyboard processing events for NSWindow. #34301
  • r59132 cocoa: update menus switch in modal. The proper menu history save for modal windows without a menu
  • r59131 cocoa: improve tracking of menu changes when modal dialogs are switching. Merged menu routines from coocaojbect.inc into cocoaint.pas
  • r59130 cocoa: removed the previously added hack for modal window on activation. Doesn't work on every macOS, as well as causing some issues
  • r59129 cocoa: update modality using modalitySessions (to keep event processing in place)
  • r59107 cocoa: making sure that window with popup_parent would stay above when attaching to the parent (and remain a keywindow). #34301
  • r59106 cocoa: update attachmenu process, so NSMenu can be added into NSMenuItem as a subitem. #34293
  • r59105 cocoa: adding the support for TDisplayCode to determine a rectangle in ListView. Based on patch by David Jenkins. #34312
  • r59104 cocoa: proper selection of an image index for a sub-item in listview. #34313. Patch by David Jenkins
  • r59103 cocoa: allow autosized columns to be user sized as well. #34311. Patch by David Jenkins
  • r59102 cocoa: restore radio-menues functionality. #34310
  • r59088 cocoa: support for Services menu
  • r59087 cocoa: an attempt to resolve the issue during crashes, if a (cocoa) modal window is called during Activation of a window
  • r59086 cocoa: fix the compiler warning
  • r59065 cocoa: reverting an attemtped workaround (r59060) to fix the problem with a modality during windows activate
  • r59063 cocoa: remove debugging output
  • r59062 cocoa: update keyDown handling for custom controls
  • r59061 cocoa: simplify and more robust mac to LCL virtual key codes conversion
  • r59060 cocoa: working around macOS problem with transactions during making a keyWindow
  • r59058 cocoa: removing tabControl workaround
  • r59057 cocoa: replacing default keyDown handling routine, with a cusomized one. The reason: unable to fully predict the event processing within Cocoa, causing some keys to be lost
  • r59039 cocoa: reduce the amount of focus (responders) related code. Process the focus handling in NSWindow only (rather than each control individually). Update tab switch notification to report tab change prior to focus switch
  • r59036 cocoa: fix in TListBox.setItemIndex to replace the selection, rather than extend it. #34290
  • r59035 cocoa: added code, but not enforcing it for change in border style of TComboBox
  • r59034 cocoa: update combobox (NSComboBox) to retain the selection after reopenning the popup window
  • r59033 cocoa: preventing NSTabView to appear in chain of responders. That should prevent key event loss. (a very odd cocoa feature)
  • r59029 cocoa: update mainmenu implementaiton. Added support for Hide Others and Show All menu items
  • r59028 cocoa: resolve mem leak in listbox custom draw
  • r59027 cocoa: extend support of CGContextRef (for macOS 10.10 and later). Adding init of context for custom drawn dropdownlist
  • r59026 cocoa: adding cocoawschecklst.pas to the list of units in lcl.lpk file
  • r59025 cocoa: adding support for borderstyle of a customchecklist box
  • r59024 cocoa: support of BorderStyle property for the common rectangular controls
  • r59023 cocoa: restore filtering of ampersands in menu titles
  • r59022 cocoa: fix compilation issue made by the prev commit
  • r59021 cocoa: initial support for enabling/disabling menus on ShowModal
  • r59020 cocoa: remove the direct reference between TCocoaWindow and LCLForm
  • r59019 cocoa: switch paintstruct back from dynamic (originally changed back in 2012) to static. Saving on heap change call
  • r59017 cocoa: prevent MainMenu from being set on a designed form
  • r59015 cocoa: remove lclIsHandle method completetly. Handle use is defined on WS level and stored with the callback object
  • r59014 cocoa: rename frame view to handleview. HandleView would be used as HWND for any composed control
  • r59727 FpDebug: Disable assert, until fixed
  • r59728 FpDebug (incl lldb/gdb): Fix crash due to wrong cache removed from list. List could have 2 caches with same address, if a smaller cache was replaced by a bigger. Remove could destroy one and remove the other
  • r59729 FpDebug: (Linux/Mac) Do not keep files open longer than needed. Systems may limit max files open. (Mac opens many files)
  • r59740 FpDebug: Windows, Check dwDebugEventCode before accessing case dependent data
  • r59741 FpDebug: Windows, fix leaking filehandles (again), see r59552 / needed until forked processes are handled.
  • r59742 LazDebuggerFp: fix getting exception class/msg for 64bit targets
  • r59743 Debugger: Limit size of exception message/window
  • r59745 FpDebug: fix accessing nil fileloader. Introduced in rev 59729 / Issue 0034657
  • r59737 Qt: fixed TListView Style=vsReport + TListView.Checkable=True - no mouse move events. Issue #0034656. Fixed TListView with Style vsReport + visible columns - it is possible to move columns without LCL interaction.Issue #0034655
  • r59738 Qt5: TListView with Style vsReport + visible columns - it is possible to move columns without LCL interaction. Issue #0034655
  • r59739 Qt5: TListView Style=vsReport + TListView.Checkable=True - no mouse move events. Issue #0034656
  • r59758 Qt5: added missing consts for QFontDialog options.
  • r59760 LCL: Rename function NewLineMI back to NewLine for Delphi-compatibility. Issue #34667.
  • r59783 Opkman: do not try to download package list on IDE startup if update interval is set to 'never', patch from Balázs
  • r59761,59762,59764,59770,59772 Qt5: implemented native TCustomEdit.TextHint property. Issue #0034670
  • r59771 Qt,Qt5: do not touch MDI stack order if we are hidden mdichild by minimizing application, or minimizing via pager under X11.
  • r59773 Qt,Qt5: show text when TComboBox is csOwnerDrawEditableFixed or csOwnerDrawEditableVariable during design time. Issue #0033295
  • r59774 Opkman: Set "Check for package updates" to never by default.
  • r59775 lazres: using LazLogger instead of LCLProc to get debugln, turned off warnings 6058, issue 34676
  • r59776 FpDebug: Fix Dwarf3 on 64bit. The The 32/64bit signature in the dwarf header should only affect references within the dwarf info. But by accident it affected constant addresses. This lead to truncation of some addresses, when dwarf-3 was used with 64 bit targets.
  • r59777 FpDebug: properly encode strings for display (unprintable chars as #$nn)
  • r59779 FpDebug: nil check, in case of corrupted debug info
  • r59787 LazDebuggerFp: Prevent crash, if debugger instance is destroyed before logging is handled.
  • r59807 LCL: Paint a cross mark also in TColorListbox for clNone. Issue #34632
  • r59821 LCL: AnchorDocking: Fixed Tab position setting is not saved and restored. Issue #33061
  • r59823 Printers, Fix printing regression under linux Issue #34680
  • r59829 paradox: Fix typo in Paradox blob file extension (.bm --> .mb), Issue #33884, patch by Bart Broersma
  • r59830 IDE: Don't enlarge IDE if MessagesView or CodeExplorerView is shown. Issue #34447
  • r59778 FpDebug: handle PWideChar (and WideString, if represented as PWideChar)
  • r59780 FpDebug: detect ShortString under dwarf-2
  • r59794 FpDebug: started/partly detect strings in dwarf-3
  • r59802 LazDebuggerFpLLDB: Fix potential dangling pointer in Locals eval.
  • r59805 LazDebugger(Fp)Gdbmi: Fix potential dangling pointer in Locals eval.
  • r59806 LazDebuggerFpLLDB: Fix locals, need registers first
  • r59811 LazDebuggerFpLLDB: Enable capturing debug history (snapshots) on idle or break-action
  • r59812 LazDebuggerFpLLDB: load dwarf info in thread / process simultaneous with lldb
  • r59813 LazDebuggerFpLLDB: load dwarf info in thread / fix memleak
  • r59824 LazDebuggerFpLLDB: load dwarf info in thread / simplify clean up
  • r59696 LazDebuggerFp: linux, fix running process-access in debug-thread (needed when accessing outer vars for nested procs, for which stack has not yet been evaluated)
  • r59814 LazDebuggerFp: Implement conditional breakpoints
  • r59815 LazDebuggerFp: Implement conditional breakpoints / fix nil access
  • r59846 LazDebugger(Fp)LLDB: Show message on unexpected stop
  • r59848 LazDebuggerFpLLDB: fix mem leak in locals
  • r59850 LazDebuggerFpLLDB: fix mem leak in cache
  • r59851 Fix TCustomIcon.AssignImage / Add / UnshareImage. New images must be created according to FSharedImage.GetImagesClass. Otherwise "ci := TCursorImage.Create; ci.Assign(Some_TBitMap);" will crash.
  • r59861 FpDebug: Implemented watch for "SomeString[index]"
  • r59862 LazDebuggerFp: Fix, showing pchar and string version for index access of string/pchar
  • r59864 IDE/FlowPanel: Publish property BorderSpacing (Issue #34729, patch by Pavol S).
  • r59865 LCL: TWinControl: Fixed TGraphicControl.Cursor not working properly with TScrollBox. Issue #34714
  • r59866 LCL: Missed removing of capfHasScrollOffset in LCL. Needed for revision 59865.
  • r59825 FpDebug: Implement correct length for open-array params
  • r59872 FpDebug: Fixed Array of String for dwarf-3
  • r59870 FpDebug: Fixed Array of ShortString for dwarf2

Fixes for 2.0.0RC2 (merged)

  • r59016 LCL-GTK2: Do not truncate Groupbox caption. Issue #32621
  • r59018 LCL-GTK2: Fix TStaticText Width with Autosize. Issue #21877
  • r59030 TValueListEditor: fix DeleteRow Issue #0034208.
  • r59031 TFindDialog: fix setting Top/Left. Issue #0033528.
  • r59032 TCommondialog: do not publish Widht/Height properties. Issue #0033480. Patch by AlexeyT.
  • r59048 TFindDialog: slight improvement on r59031.
  • r59049 TFindDialog: use Position := poMainFormCenter in CalcPosition instead of trying to calculate that by ourselves. Patch by Serge Anvarov.
  • r59050 TFindDialog: save FFindForm position upon close.
  • r59064 Opkman: Bug fix: remove package compiling restriction.
  • r59066 IDE: clean up
  • r59077 IDE: fixed abstract method
  • r59079 IDE: less hints
  • r59041 IDE: Use safe typecast for TProjectCompilationToolOptions when building project.
  • r59042 Revert r59006 "IdeIntf: Add API for ExecuteCommand in CompOptsIntf." Must be done better.
  • r59043 IdeIntf: A new interface class TLazCompilationToolOptions with a Command and CompileReasons. Issue #34283.
  • r59044 IdeIntf: Improve the CompilationTool stuff. Remove and clean code. Issue #34283.
  • r59046 LCL-GTK2: Do not truncate Groupbox caption (fix for previous). Issue #32621.
  • r59047 LCL-GTK2: Fix TListView column widths. Issue #34044.
  • r59081 IDE: Add package name to hints for component palette icons.
  • r59083 TFindDialog/TReplaceDialog: show dialog poScreenCenter in IDE; fix erratic behaviour of TReplaceDialog in IDE (wrong parent). Issue #34297.
  • r59085 LCL: Improved layout of TFindDialog and TReplaceDialog, fix TabOrder.
  • r59094 LCL: Fix TCustomListbox not releasing Canvas handle in DestroyWnd Issue #34249.
  • r59095 Translations: Turkish translation update by Hakan KIZILHAN, Issue #34296
  • r59096 Translations: Spanish translation update by Alonso Cárdenas Márquez, Issue #34304
  • r59110 Opkman: Fix memory leak.
  • r59141 lazutils: removed duplicate code, Issue #34320
  • r59089 IDE: Bug fix: Deleting newly added CoolBar leads to error. Issue #34302.
  • r59091 IDE: Check package name validity correctly.
  • r59147 IDE: Improve logic for updating Application.Title statement. Now it gets removed, too. Issue #34318.
  • r59156 IDE: Add new Application.Title and .Scale statements after Application.Create line. Issue #34318.
  • r59170 IDE: Support 3 icons with different resolutions in "New Component" dialog. Improve the GUI.
  • r59172 IDE: cleaned up unused resource string
  • r59173 IDE: regenerated translations and updated Russian translation
  • r59176 IDE: In "New Component" dialog resize the buttons based on icon image size. Improve initial dir for selecting icon.
  • r59092 MainInspector: Fix a typo.
  • r59111 LCL-GTK2: Prevent flickering in TOpenGLControl. Turn DoubleBuffered off. Issue #33864
  • r59190 LCL-GTK3: Add typecasts for Color types. The code may still be wrong but can be tested with Range checks on.
  • r59191 LCL-GTK3: Fix menu radio group. Issue #34350.
  • r59118 Docs: Fix short description for function StringToColor.
  • r59125 LazUtf8: leftpad escaped characters in Utf8EscapeControlChars if EscapeMode = emPascal. Prevents ambiguity when reading the result.
  • r59169 LazUtils: Move ExtractFileNameWithoutExt to LazFileUtils. Rhymes with ExtractFileNameOnly.
  • r59175 Delete old deprecated methods.
  • r59177 LazUtils: Move more functions from FileUtils to LazFileUtilities, deprecate the old ones.
  • r59149 LCL: Add support for custom font of TSpeedButton (see https://forum.lazarus.freepascal.org/index.php/topic,42635.msg297800.html#msg297800, patch by Ondrej)
  • r59167 LCL: Fix incorrect checked state after deleting an item of a TCheckGroup. Issue #34327.
  • r59168 Split command line parameters also when "Run without Debugging".
  • r59197 TAChart: deprecate all reticule-related methods and properties (was incomplete). Less hints and warnings.
  • r59208 debuggerintf: less hints
  • r59210 fpdebug: less hints
  • r59212 ideintf: less hints
  • r59214 lazdebuggers: less hints
  • r59216 lazutils: less hints
  • r59218 turbopower_ipro: less hints
  • r59220 lcl: gtk2: less hints
  • r59222 Translations: Ukrainian translation update by Olexandr Pylypchuk, bug 34367
  • r59223 Translations: Brazilian Portuguese translation update by Marcelo B Paula, bug 34368
  • r59225 LazControls: Improve and optimize the filter controls. Issue #34057
  • r59226 LazControls: Call DoFilterItem instead of DoDefaultFilterItem in TTreeFilterBranch.SortAndFilter.
  • r59227 IdeIntf: Delete old deprecated methods and properties.
  • r59268 IdeIntf: Improve timestamp updates of TLazCompilationToolOptions + inherited classes. Issue #34283
  • r59228 AnchorDocking: Prevent crash on drag-and-dock tab page. Issue #34371
  • r59229 LazReport: Delete old deprecated UTF8 functions.
  • r59230 TAChart: Remove old deprecated code.
  • r59239 TAChart: Check and fix all demos and tutorial projects (mostly layout issues)
  • r59241 TAChart: Fix TChartImageList demo.
  • r59243 TAChart: Extend dragdrop demo to show horizontal dragging of bars.
  • r59240 Packager: Allow overwriting existing unit files in New Component dialog. Error was shown AFTER a file was overwritten. Issue #26928
  • r59244 IDE: Always create project's main icon file when saving it. Keeps its size down. Issue #27287
  • r59245 IDE: Add initial directory for loading project icon in App options. Use IconImage.Picture.Icon everywhere.
  • r59246 IDE: Remove resource generation from DoBuildProject. They have been generated earlier. Issue #15915
  • r59248 IDE: Support running external tool with parsers, needed when used through IDE interface.
  • r59263 IDE: Reduce DebugLn() calls in Publish Module code. It seems to work.
  • r59266 IDE: New High-DPI images in folders images/items and images/packages. Kindly provided by Roland Hahn.
  • r59267 IDE: Use scaled images in trees of "Install/Uninstall packages" form.
  • r59272 IDE: Center icon and text vertically for each item in ViewUnit dialog. Issue #34402
  • r59254 LCL-Gtk2: Don't mix resizing a column with drag-and-drop. Issue #34393
  • r59262 LCL-GTK3: Fix TRadioGroup. It did not work at all. Issue #34396
  • r59270 LCL: Fix TBitBtn ignoring the Margin property on Windows. Issue #34379
  • r59259 TurboPower_iPro: Implement css function rgb().
  • r59271 TurboPower_iPro: Implement css function hsl().
  • r59275 Translations: Hungarian translation update by Péter Gábor, bug 34397
  • r59276 Translations: French translation update by Gilles Vasseur, bug 34403
  • r59287 LCL: Avoid SegFault of freshly created TCustomListview with owner-data (issue #34407, patch by Charles Grunwald).
  • r59289 chmhelp: Fix memory leak in TLHelpConnector (see forum https://forum.lazarus.freepascal.org/index.php/topic,42832.msg299208.html).
  • r59290 ideintf: Add high-DPI icons (provided by Roland Hahn)
  • r59291 IDE: Add missing high-dpi icons to folder images/menu (kindly provided by Roland Hahn)
  • r59292 IDE: Minor revisions of existing high-DPI icons (by Roland Hahn)
  • r59295 IDE: Add new (debugger) and revised High-DPI icons by Roland Hahn
  • r59296 IDE: Add forgotten icons from previous commits
  • r59301 IDE: Better alignment of Run icon to dropdown btn on toolbar (by Roland Hahn)
  • r59302 IDE: New High-DPI icons for Delphi-to-Lazarus conversion (by Roland Hahn).
  • r59297 SynEdit: Pas HL, fix folding/markup for code containing "case", if "case" is not enabled for fold/markup. Part 1 of Issue #0034410
  • r59298 SynEdit: Pas HL, fix markup if "procedure" is outlined, but top level "begin" is not. Part 2 of Issue #0034410
  • r59299 SynEdit: Pas HL, fixes for outline, if only some elements are outlined
  • r59300 SynEdit: Pas HL, fixes for fold, detecting "else" in "case", when previous if is nested in other commands
  • r59253,59285,59286,59293: Qt, Qt5: fixed OpenGL issues. Issue #32498 and Issue #34401
  • r59288 Qt5: must return to lcl event loop for X11 targets. Issue #34369
  • r59307 IDE: Add mssing High-DPI icons to images/actions (by Roland Hahn)
  • r59308 IDE: Replace icon "actions/preferences" (by Roland Hahn)
  • r59309 Translations: Brazilian Portuguese translation update by Marcelo B Paula, bug 34426
  • r59310 Translations: French translation update by Gilles Vasseur, bug 34428
  • r59314 IDE/LCL: Modify some high-DPI icons for more consistent style (Roland Hahn)
  • r59319 IDE: Add high-DPI images for propertygrid and widgetset issues (by Roland Hahn).
  • r59321 IDE: Improve visibility of high-dpi issue_carbon icons on dark background (by Roland Hahn).
  • r59322 IDE/Restriction Browser: Fix visibility of icon on customdrawn button.
  • r59323 IDE/ObjectInspector: Fix size of widgetset icons on high-dpi screens.
  • r59328 IDE: Add high-dpi icons to images/lazdoc (by Roland Hahn)
  • r59318 lhelp: some formatting changes
  • r59320 TAChart: Fix numlib issue of returning 0 for exp() function (https://forum.lazarus.freepascal.org/index.php/topic,42913.msg299793)
  • r59324 Finnish translation.
  • r59342 IDE: regenerated/fixed Finnish translation
  • r59325 LCL-GTK2: Fix icon scaling in menuitems.
  • r59327 LCL: Do not store anchoring properties of TLabeledEdit.editLabel. It is controlled by property LabelPosition. Issue #34431
  • r59332 TFloatSpinEditEx: fix setting DecimalPlaces Issue #0034370
  • r59334,r59335,r59336 LCL-WinCE: Fix maximize, minimize and help buttons showing in window title bar
  • r59337 LCL-WinCE: Fix form centering for Position=poScreenCenter, poDesktopCenter
  • r59339,r59341 LCL-GTK3: Fix Splitter and its related code. Issue #34106
  • r59340 IDE: Don't let FindReplace dialog outside the monitor area. Issue #34436
  • r59350 Debugger: Fix DebugInspector stopped working after window was open with empty input. Issue #0034452
  • r59351 Debugger (gdb): Fix Debug-Inspector for dwarf3. Match fieldnames case insensitive. Depending on gdb, try to find the MixedCase version of any name. Issue #0034453
  • r59352 lazutils: fixed ExpandFileNameUTF8 for \\?\
  • r59353 debian: renamed debian package name from fpc to fpc-laz to avoid nameclash with ubuntu repos
  • r59357 IDE: Add unit/include file's path correctly to search path of a single build mode, too. Issue #34462
  • r59359 IDE: Show only the supported .ico format when opening project icon. Issue #34464

Roadmap to 2.0.0

The release process will consist of the following steps.

  • Creation of the SVN 2.0 fixes branch. (Done 15 Sep 2018)

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

  • Release of 2.0.0 RC 1 (Done 16 Sep 2018)

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 2.0.0 RC 2 (Done 29 Oct 2018)

The testing period is scheduled to last 2 weeks.

  • Release of 2.0.0 RC 3 (Done 21 Dec 2018)

The testing period is scheduled to last 2 weeks.

  • Release of Lazarus 2.0 (ToDo)

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
  • Run Unit-Tests from menu "Tools"--> "Example Projects". Choose project "runtestsgui.lpi" and run it. It will do about 390 unittests.

Merge

cd fixes
svn up && svn merge -c 63935 ^/trunk
svn ci -m 'comment'

Tagging release

  • SVN merge requests of this page
  • Set version in fixes_2_0 branch
    • open lazarus/lazarus.lpi in the IDE and change the version numbers in the project options dialog 2.0.0.1 for RC1, 2.0.0.2 for RC2, 2.0.0.3 for RC3, 2.0.0.4 for final
    • lazarus/ide/version.inc 2.0.0RC1 for RC1, no spaces! (2.0.0 for final release)
    • lazarus/components/lazutils/lazversion.pas 2.0.0.1 for RC1, 2.0.0.2 for RC2, ... 2.0.0.4 for final
    • lclbase.lpk
    • lcl.lpk
    • lazarus/debian/changelog 2.0.0-1 for RC1, 2.0.0-2 for RC2, ... 2.0.0-4 for final
    • lazarus/lazarus.app/Contents/Info.plist
      • CFBundleShortVersionString "2.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/win/environmentoptions.xml same as version.inc
    • tools/install/macos/environmentoptions.xml same as version.inc
    • check lpl files by running "./tools/lplupdate -c" and do the svn 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:
svn diff | grep Index:
  • svn commit
  • Tag fixes_2.0 branch to tags/release_2_0_0_RC1 (or tags/lazarus_2_0_0 for final release)
svn copy svn+ssh://svn.freepascal.org/FPC/svn/lazarus/branches/fixes_2_0 svn+ssh://svn.freepascal.org/FPC/svn/lazarus/tags/lazarus_2_0_0_RC1 -m 'tagged 2.0.0RC1 as tags/lazarus_2_0_0_RC1'

How to merge

See [Lazarus Release Engineering - How to merge]

Other branches