Commit Graph

69378 Commits

Author SHA1 Message Date
Željan Rikalo
241e9e966a Qt6: do not allow THintWindow to grab focus under wayland.
(cherry picked from commit d931804a51)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-02-03 17:48:25 +00:00
wp_xyz
6e578a5ef1 LazUtils: Fix calculation error in function PolyBezierArcPoints (unit GraphMath). Issue #41400. Fix typos in comments.
(cherry picked from commit 1014cd330f)
2025-02-03 12:12:38 +01:00
wp_xyz
e47bef33ea LazUtils: Fix calculation error in function LineEndPoint (unit GraphMath). Issue #41400.
(cherry picked from commit 1dcfd1a774)
2025-02-03 10:33:21 +01:00
dsiders
a16a0665ec Docs: LCL/shellctrls. Clarifies content in the TCustomShellTreeView.FileSortType topic.
(cherry picked from commit 6c528d9822)
2025-02-02 18:43:40 -05:00
dsiders
b56f27a5b2 Docs: LCL/shellctrls. Adds, updates topics TCustomShellTreeView topics for changes in d11d9793. Issue #41373.
* TCustomShellTreeView.FOnSortCompare
* TCustomShellTreeView.CreateRootNode
* TCustomShellTreeView.CreateRootNode.APath
* TCustomShellTreeView.CreateRootNode.Result
* TCustomShellTreeView.FileSortType
* TCustomShellTreeView.Root
* TCustomShellTreeView.OnSortCompare
* TCustomShellTreeView.Items

(cherry picked from commit 48e844f7f6)
2025-02-02 05:04:49 -05:00
rich2014
acc0276552 Cocoa: #41309 fix the issue in TCocoaWSCustomForm for TCustomForm.PaintTo() 2025-02-02 13:04:32 +08:00
Maxim Ganetsky
ca349787a4 Qt4: fixed build after removing of deprecated stuff
(cherry picked from commit 3cc1bc02fb)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-02-01 22:47:27 +00:00
Maxim Ganetsky
58e99549ce LazReport: small cleanup in lrFclPDFExport addon
(cherry picked from commit f5a6c63885)
2025-02-01 22:57:27 +03:00
Maxim Ganetsky
126d56266a LazReport: Improve setting document properties when exporting document using lrFclPDFExport addon. Patch by paweld, issue #41392.
(cherry picked from commit 3da776592f)
2025-02-01 22:57:27 +03:00
dsiders
9d9f92c3a0 Docs: LCL/stdctrls. Adds, updates TCustomComboBox auto-completion topics for changes in 9f5be67e. Issue #41358.
* TCustomComboBox.UpdateItemIndex
* TCustomComboBox.RealSetText
* TCustomComboBox.KeyUp

(cherry picked from commit e3699654b4)
2025-02-01 13:18:26 -05:00
wp_xyz
6b3bf182e8 LCL/ShellTreeView: Fix error when clicking a non-default root node in sorted ShellTreeView. Issue #41373.
(cherry picked from commit d11d9793b2)
2025-02-01 12:51:02 +01:00
Juha
2d37241eff LCL-Win32: Keep TTrayIcon helper window hidden. Issue #41279, patch by Red_prig (Pavel).
(cherry picked from commit 28578a1e6a)
2025-02-01 11:25:54 +02:00
Juha
38930b91d5 LCL: Update TCombobox.ItemIndex when AutoCompleteing. Issue #41358, patch by Iluha Companets.
(cherry picked from commit 9f5be67e36)
2025-02-01 11:23:36 +02:00
dsiders
9d0f7ef9ea Docs: LCL/controls. Removes deprecation notice for TControl.FCompStyle member. Changed in b3833f55.
(cherry picked from commit 02706556f7)
2025-01-31 10:48:53 -05:00
dsiders
c33dd0e392 Docs: LazUtils/laz2_dom. Removes deprecation notice for TDOMNodeList.BuildList. Changed in 476da882.
(cherry picked from commit 270a5cdfe8)
2025-01-31 10:11:54 -05:00
Martin
3d071e0276 IdeDebugger: Fixed unbalanced BeginUpdate in callstack-dialog. (when changing view-limit)
(cherry picked from commit 03c8870537)
2025-01-31 11:00:31 +01:00
Martin
aeb382738d LazDebuggerGdbmiFp: Improve workaround for FPC issue 37658 / Check both: full-path, and no-path.
(cherry picked from commit ca16a22cea)
2025-01-31 01:30:03 +01:00
Martin
de33a8216c LazDebuggerLldbFp: Improve workaround for FPC issue 37658 / Check both: full-path, and no-path.
(cherry picked from commit 3e75833edd)
2025-01-31 01:30:03 +01:00
Martin
4c02d59d4d FpDebug, LazDebuggerFp: Improve workaround for FPC issue 37658 / Check both: full-path, and no-path.
(cherry picked from commit 6c006a3e8e)
2025-01-31 01:30:03 +01:00
Martin
9216824214 FpDebug: improve loading DWARF line info. Fix workaround for FPC issue 37658 / check the expanded FileName
(cherry picked from commit 5141571608)
2025-01-31 01:30:02 +01:00
mattias
502255e216 ide: store codetools options: update merge info, store files relative to config 2025-01-30 10:14:42 +01:00
mattias
b5807c91cb ideconfig: do not wrn if no secondary config file found 2025-01-30 10:14:31 +01:00
wp_xyz
e03aba2a0f TAChart: Fix potentially unbalanced sequence of Dataset.DisableControls and .EnableControls in TDbChartSource (https://forum.lazarus.freepascal.org/index.php/topic,70019.msg545153/topicseen.html)
(cherry picked from commit 8ef40e37d5)
2025-01-28 23:31:25 +01:00
David Jenkins
4d285f21a0 Cocoa: add callback for application specific Extended keys and non-US keyboards handling. 2025-01-28 20:34:16 +08:00
mattias
831da47900 lcl: cocoa: fixed calling overload 2025-01-28 19:51:04 +08:00
Martin
717ab6381d * IDE, DockedFormEditor: Amend "Check for csDesignInstance, ...". Keep old check too, for increased compatibility Issue #41368 2025-01-28 00:18:28 +01:00
Martin
8f7ffbe676 IDE, DockedFormEditor: Check for csDesignInstance, instead of csDesigning to determine if a form/frame is the top-parent in the designer. (To disable autosizing for them). Issue #41368
(cherry picked from commit 9b4c81b56b)
2025-01-28 00:18:28 +01:00
dsiders
e0066229c7 Docs: LCL/comctrls. Updates TCustomTreeView hot-tracking topics for changes in e897d845. Issue #41290.
* TCustomTreeView.MouseMove
* TCustomTreeView.HotTrack
* TCustomTreeView.HotTrackColor

(cherry picked from commit 0e90435602)
2025-01-27 14:40:00 -05:00
Maxim Ganetsky
8d1d105e6b IDE: committed automatically regenerated resource file 2025-01-27 22:39:00 +03:00
wp_xyz
e7255ed7fc LCL/TreeView: Avoid flicker when hot-tracking is active. Based on patch by @d7_2_laz, issue #41290.
(cherry picked from commit e897d845ea)
2025-01-27 17:05:06 +01:00
Martin
cf846546d8 SynEdit: SynEditKeycmds, added missing IntToIdent mappings. Marked some constants as unimplemented.
(cherry picked from commit b9e392ee96)
2025-01-27 13:13:04 +01:00
Martin
c54c30c736 SynEdit: deprecate ecGotFocus / ecLostFocus. They have no functionality.
(cherry picked from commit fce631b4f7)
2025-01-27 13:13:04 +01:00
Martin
3ee4ef8c17 SynEdit: - Replace ShortCutToText from SynEditKeyCmds (incomplete/broken) with the LclProc implementation. Issue #41360
- Fix condition for displaying 2nd shortcut in TSynEditKeyStroke.GetDisplayName
- Remove dead code.

(cherry picked from commit 97ea7c51a4)
2025-01-27 13:13:03 +01:00
Željan Rikalo
038dc0f2c1 IDE: changing control font in paint event triggers another paint event. Only canvas.Font should be changed. Patch by Bald Zhang. issue #41361
(cherry picked from commit af12663634)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-01-27 07:04:13 +00:00
dsiders
262fad5ca6 Docs: LCL/controls. Updates content in TControlStyleType.csAcceptsControls topic.
(cherry picked from commit 3664d7bb93)
2025-01-26 10:58:10 -05:00
dsiders
9a1e46024e Docs: LCL/various. Corrects spelling errors, typos.
(cherry picked from commit 4d67fbc31c)
2025-01-25 23:44:59 -05:00
Martin
d8c872d8a2 IDE: SourceEditor, fix painting hint on completion drop down. Do not limit to width of dropdown, the hint is intentionally wider. (Currently use "ItemSelect" to detect if the paint may be for the hint)
(cherry picked from commit 5aee1dc5de)
2025-01-26 00:40:26 +01:00
Martin
48f1da1b8c SynEdit: Mark as changed (change gutter) if deleting line with ecDeleteLine (next line will be marked, like when selection was deleted). Issue #41264
(cherry picked from commit 7f4426c2e9)
2025-01-25 23:31:58 +01:00
Martin
b2056d2d4c SynEdit: UnixShellScript Highlighter, treat # and ~ as identifiers rather than unknown. Add separate markup-color for unknown. Issue #41288
(cherry picked from commit c2974f91ee)
2025-01-25 22:28:50 +01:00
Martin
e474818093 IDE, SourceEdit: keep topline when folding comment and similar via context menu. Issue #41227
(cherry picked from commit beb2505039)
2025-01-25 18:44:48 +01:00
Martin
5ae99331c1 SynEdit: Wrapped-view, fix leaks. Remove event-handler and view in Destroy
(cherry picked from commit e331c9fb35)
2025-01-24 21:56:45 +01:00
Martin
2b4decdf35 SynEdit: Wrapped-view, fix Wrap-Width (SynEdit needs 1 extra char)
(cherry picked from commit bf012c22cd)
2025-01-24 21:56:45 +01:00
Martin
c9fdab8f85 SynEdit: Wrapped-view, fix painting for non-wrapped lines. Update values for current (sub-)line
(cherry picked from commit 94f2b48f00)
2025-01-24 21:56:45 +01:00
Martin
c01af285f4 SynEdit: Wrapped-view, fix inserting lines
(cherry picked from commit bbee19f531)
2025-01-24 21:56:44 +01:00
Martin
b81824c552 SynEdit: Wrapped-view, fixed dangling node in invalidation list
(cherry picked from commit 56889ff210)
2025-01-24 21:56:44 +01:00
Martin
77d5aa2540 SynEdit: Wrapped view, fixed assertion
(cherry picked from commit 7a61eec5b3)
2025-01-24 21:56:44 +01:00
Martin
a0ed8a5c90 SynEdit: Word wrap, fix initialization of token-info
(cherry picked from commit 9a8138a7c1)
2025-01-24 21:56:43 +01:00
Martin
afceba3b43 SynEdit: Textdrawer, fixed painting gaps past EOL (don't show special chars in gap before fold-indicator)
(cherry picked from commit 949a6339ac)
2025-01-23 01:03:26 +01:00
Željan Rikalo
f0ac13f7c6 Qt5,Qt6: fixed hintwindow grab focus with xfce window manager.
(cherry picked from commit be473cfce5)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-01-22 12:41:21 +00:00
Martin
71e4198b4e SynEdit: folded view, change/fix some comments
(cherry picked from commit df2710224f)
2025-01-21 13:26:02 +01:00