Commit Graph

66114 Commits

Author SHA1 Message Date
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
Martin
ef82482ce5 LazDebuggerFp: Don't set breakpoints when the debug session is already over
(cherry picked from commit fd792b5d6f)
2024-01-20 17:23:53 +01:00
Martin
fbb65eaa20 FpDebug: Fix dangling pointer, if debug-backend sets breakpoint too late.
(cherry picked from commit ec98b15709)
2024-01-20 17:23:52 +01:00
Martin
af2489f6ff Debugger, IDE: prevent dangling pointer in Source-Hint watch-eval.
(cherry picked from commit 4d3adb3870)
2024-01-20 17:23:52 +01:00
rich2014
4c41d70ddf Cocoa: fix #40702, beeps by Cursor keys 2024-01-20 21:36:06 +08:00
rich2014
4f9063a828 Cocoa: Fix #40581 #40535 , Merge branch 'cocoa/message'
keep LM_SETFOCUS/LM_KILLFOCUS/LM_DESTROY consistent with Win32
2024-01-20 21:35:56 +08:00
rich2014
506bdc13d1 Cocoa: fix range check error in TCocoaWSCustomTabControl.GetTabRect() 2024-01-20 21:35:37 +08:00
rich2014
e21879d0a0 Cocoa: Fix #22360 the issue of changing the focus control again during changing the focus control 2024-01-20 21:35:10 +08:00
rich2014
309603fa93 Cocoa: Fix #40680, the issue in TDbLookupCombobox with csDropDownList 2024-01-20 21:34:05 +08:00
Maxim Ganetsky
48b54337bc MessageComposer: Restrict minimal form width and height to keep correct layout. Patch by Don Siders, issue #40707.
(cherry picked from commit e585a9016f)
2024-01-19 23:02:57 +00:00
Željan Rikalo
1f724b1393 Qt,Qt5,Qt6: fixed widget palette dangling pointers.
(cherry picked from commit b2dc565bb3)
2024-01-18 21:36:07 +00:00
Juha
9835b964fb LazUtils: Resolve '/somedir/..' correctly in ResolveDots. Add tests. Issue #40678.
(cherry picked from commit 148b2d23f4)
2024-01-18 16:49:34 +00:00
Maxim Ganetsky
7c62769d75 Translations: Slovak translation update by LacaK, issue #40700
(cherry picked from commit c2d546e251)
2024-01-17 22:39:18 +03:00
Maxim Ganetsky
ef69aa583a IDE: fixed a typo in command-line key for skipping debugger checks (Debbugger -> Debugger)
(cherry picked from commit 767d21e2d9)
2024-01-17 01:33:46 +00:00
Martin
8c022f5c58 FpDebug: Don't read debug info with unknown DW_FORM
(cherry picked from commit 532aae6212)
2024-01-16 17:46:06 +01:00
Maxim Ganetsky
3761707e93 IDE: Create a list of custom key schemes as needed before making a first write to it. Fixes memory leak when calling ./lazarus --help.
(cherry picked from commit 44a97af383)
2024-01-16 00:27:54 +00:00