Commit Graph

66129 Commits

Author SHA1 Message Date
Abou Al Montacir
e45713b7f8 GTK3: Fixed selected item text returned by ComboBox Text property.
We need to use `GtkEntry` for comboboxes with `has_entry = True` and
set the `column_id` property.

Closes #40706
2024-02-19 21:08:36 +01:00
dsiders
94d8b3f878 Docs: LCL/comctrls. Fixes invalid content and typos in TTreeNode topics. Issue
#40783.

* TListItem
* TTreeNode.StateIndex

(cherry picked from commit 83af74cb1f)
2024-02-19 17:47:08 +00:00
Martin
54c90de2f2 IdeDebugger: enable formatting checkbox in Console In/Out Window
(cherry picked from commit 3aa483c0c0)
2024-02-17 11:38:42 +01:00
Martin
8db790f0ac LazDebuggerIntf: fix #40762
(cherry picked from commit 021178a42a)
2024-02-16 20:27:03 +01:00
Martin
5077e87590 SynEdit: fix range check introduced in a7a0b3ee3a - Issue #40778
(cherry picked from commit 0b1f218698)
2024-02-16 14:12:04 +01:00
Maxim Ganetsky
1cd05220e3 IDE: don't wrap strings in memos of i18n project options, allows to avoid corruption when saving long strings to .lpi
(cherry picked from commit f6ccc8d26d)
2024-02-15 14:08:40 +00:00
Martin
30569f5fe8 LazDebuggerFp: further fix reading pty for console window. Remove dangling async call before destroying object.
(cherry picked from commit b1a91a2333)
2024-02-14 17:42:08 +01:00
Dmitry D. Chernov
84b7bb2ca4 IDE/Options: Fix some suspicious copy-paste and probably a debugging leftover
(cherry picked from commit 8986b1b0b9)
2024-02-13 23:43:17 +01:00
Dmitry D. Chernov
ce32bdf1c8 IDE: Fix saving the specified frame priority for user-defined markup
(cherry picked from commit 720d3c66be)
2024-02-13 23:43:17 +01:00
Martin
f1632e6291 SynEdit: fix dragging text, when text has folded areas. Issue #40773 Patch by Olivier Guichard
(cherry picked from commit 7044a3b3df)
2024-02-13 23:24:41 +01:00
Martin
60d9e7d2d9 Codetools: fix crash when trying to add declaration for "foo := unit1;" Patch by WooBean007
(cherry picked from commit ba0c38e2b4)
2024-02-13 22:36:34 +01:00
Martin
972e988e00 FpDebug: further fix reading pty for console window.
(cherry picked from commit e9099ab0e8)
2024-02-13 22:35:57 +01:00
Martin
e44532f395 FpDebug: fix reading pty for console window.
(cherry picked from commit 47c34d2e7e)
2024-02-13 22:35:57 +01:00
dsiders
7217072918 Docs: LCL/comctrls. Updates errant / incomplete content in TCustomTreeView topics. Issue #40758.
* TCustomTreeView.StoreCurrentSelection
* TCustomTreeView.ApplyStoredSelection

(cherry picked from commit c0983bbed0)
2024-02-10 23:31:34 +00:00
Željan Rikalo
83c94aa8df LCL: fix RectVisible so it works correct if WindowOrg was moved. Patch by Artem Izmaylov
(cherry picked from commit d6b7ffd24c)
2024-02-09 20:48:48 +00:00
dsiders
dc291629e5 Docs: Lazutils/translations. Fixes capitalization in topic.
(cherry picked from commit 1b863d612c)
2024-02-09 04:21:40 +00:00
Željan Rikalo
71cb35ad12 Qt5,Qt6: track dangling pointer inside mouse release event if LCLObject is freed.
(cherry picked from commit db0a10f032)
2024-02-08 14:49:01 +00:00
mattias
a877f4fbec codetools: fixed compile 2024-02-08 11:43:25 +01:00
mattias
64cb2deb3c lazbuild: fixed -r when lazarus was installed read only, issue #40747 2024-02-08 11:43:06 +01:00
mattias
4701570830 codetools: clean up 2024-02-08 11:03:34 +01:00
Martin
43569dfc6a FpDebug: Prevent range checks on target address computation
(cherry picked from commit ad54dc2ceb)
2024-02-07 13:48:02 +01:00
Željan Rikalo
b0867a7674 Qt6: Proper cast of result for -Sy.
(cherry picked from commit 67868afe81)
2024-02-05 16:27:13 +00:00
Željan Rikalo
32f41648f4 Qt6: fixed usage of TQtObjectDump.InheritsQtClass by using ansistring instead of widestring as function param, so we have proper conversion to PAnsiChar.
(cherry picked from commit d0b70cc7d4)
2024-02-05 16:08:01 +00:00
rich2014
48844aa94b Cocoa: Fix compilation. 2024-02-04 22:31:21 +08:00
David Jenkins
65d4553690 Cocoa: Fix #40636: TCocoaContext.SetFont() does not update TCocoaFont reference count. 2024-02-04 22:31:21 +08:00
rich2014
b6f12cebe3 Fix #40737: make TMethodNameTable/TMethodNameTableEntry compatible with FPC 3.3.1
The change follows
170c05592b

Patch by Dean Mustakinov, issue #40737.
2024-02-04 22:31:21 +08:00
Željan Rikalo
a4f3de8399 Qt,Qt5,Qt6: fixed wrong key mapping. issue #40740
(cherry picked from commit a8490d8060)
2024-02-04 09:19:57 +00:00
Željan Rikalo
2511674f2d Qt5: allow compilation with -dQT_NATIVE_DIALOGS
(cherry picked from commit 45f4cd65d9)
2024-02-03 07:41:43 +00:00
rich2014
40212c8fcb Revert "Designer/LCL: Correctly align TMethodNameTable/TMethodNameTableEntry on platforms that require it (e.g. AARCH64)."
This reverts commit 8253bd9f8f.
2024-02-03 09:14:43 +08:00
Maxim Ganetsky
6c32e00051 Designer/LCL: Correctly align TMethodNameTable/TMethodNameTableEntry on platforms that require it (e.g. AARCH64).
The change follows
170c05592b

Fixes crash on IDE start on AARCH64 platforms when FPC 3.3.1 is used.

Patch by Dean Mustakinov, issue #40737.


(cherry picked from commit 8253bd9f8f)
2024-01-30 14:48:44 +00:00
Željan Rikalo
2f07be9f42 Qt,Qt5,Qt6: do not clear editable combobox edit text if items are cleared. issue #40734
(cherry picked from commit 1dbfb8fee2)
2024-01-29 19:18:04 +00:00
Martin
89282a94ee SynEdit: don't access dangling pointer to FFoldedLinesView. See commit fb279cada4 and ca21254ef0
(cherry picked from commit 3477bc102d)
2024-01-28 20:09:10 +01:00
dsiders
74be1c67dd Docs: LazUtils/fileutil. Fixes an invalid link tag in FindAllFiles.
(cherry picked from commit 79825debe4)
2024-01-28 17:41:08 +00:00
dsiders
468233f404 Docs: LCL/lclproc. Updates content in shortcut-related topics including:
* ShortCutToText
* ShortCutToTextRaw
* TextToShortCut
* TextToShortCutRaw

(cherry picked from commit 14c9b68360)
2024-01-28 17:41:07 +00:00
rich2014
f6f7c67c87 Cocoa: fix fixes_3_0 Compilation, since e8132d7 has not been cherry-picked up yet 2024-01-29 00:51:38 +08:00
dsiders
0358e3a02d Docs: LazUtils/fileutil. Updates content in TFileSearcher and related topics.
* TFileSearcher.Search
* TListDirectoriesSearcher
* FindAllFiles
* FindAllDirectories

(cherry picked from commit 86519acad0)
2024-01-28 02:27:41 +00:00
dsiders
7999cf20a1 Docs: LCL/forms. Adds control message topics for changes in 77daff81. Issue #40701.
* TCMHintShow.UnusedMsg
* TCMHintShowPause.UnusedMsg

(cherry picked from commit 94547e3f9a)
2024-01-27 15:20:26 +00:00
dsiders
47abca044c Docs: LCL/controls. Adds control message topics for changes in 9ae59e2b. Issue #40701.
* TCMControlChange.UnusedMsg
* TCMChanged.UnusedMsg
* TCMControlListChange.UnusedMsg
* TCMCancelMode.UnusedMsg

(cherry picked from commit 481087393d)
2024-01-27 15:20:10 +00:00
Maxim Ganetsky
72e1b7db40 LCL: Correctly align fields of TCMHintShow, TCMHintShowPause records on 64-bit platforms. Related to issue issue #40701.
(cherry picked from commit 77daff816e)
2024-01-27 15:12:34 +03:00
Maxim Ganetsky
bb8e0d1c4b LCL: Correctly align fileds of TCMControlChange, TCMChanged, TCMControlListChange, TCMCancelMode records on 64-bit platforms.
Patch by Artem Izmaylov, issue #40701.

(cherry picked from commit 9ae59e2b8d)
2024-01-27 15:12:34 +03:00
rich2014
6b6edf7857 Cocoa: dynamically set the spacing of TListView with icons 2024-01-26 21:55:55 +08:00
rich2014
fa87c8a5bf Cocoa: TListView.IntfCustomDraw() supported, Icons of Components List in IDE Options supported 2024-01-26 21:55:49 +08:00
rich2014
56d9ea7958 Cocoa: Fix the issue where ListBox/ListView may be incorrectly set to a huge height
1. NSTableView.fittingSize returns the full height, not the visible height
2. the issue can be observed in IDE Options - Component Palette
2024-01-26 21:55:27 +08:00
rich2014
a284237384 Cocoa: Fix the issue of scroll bar not working in Form
since macOS 10.7, NSScrollerStyleOverlay is used by default, and the scroll bar needs to be set before the DocumentView size changes.
2024-01-26 21:55:02 +08:00
Martin
ca21254ef0 SynEdit: prevent fold-view CalculateMaps assert during destroy. Once the handle is destroyed, the HL will scan delayed. Issue #40720
(cherry picked from commit fb279cada4)
2024-01-25 12:50:33 +01:00
Željan Rikalo
b086f9dfa0 Qt,Qt5,Qt6: fixed buggy mouse capture with TSpinEdit, TFloatSpinEdit. issue #40725
(cherry picked from commit 27bc023a87)
2024-01-24 17:52:22 +00:00
Maxim Ganetsky
ea073bee6b Translations: Slovak translation update by LacaK, issue #40719
(cherry picked from commit ef22ee4542)
2024-01-23 17:46:10 +03:00
Martin
6448c2b1a0 FpDebug: fix range check in stack unwind (CFI)
(cherry picked from commit ac87f213d1)
2024-01-23 11:29:03 +01:00
Martin
910afda1b3 LazDebuggerFpLldb: fixed watch-eval for Mac-M2, if stackwindow is closed. (register PC for M2)
(cherry picked from commit c4483bf7f4)
2024-01-22 13:58:11 +01:00
Martin
ca859f5b3e FpDebug: Fix mem leak, if breakpoint is set to "auto destroy"
(cherry picked from commit 5d6489a45a)
2024-01-20 17:23:53 +01:00