Commit Graph

65898 Commits

Author SHA1 Message Date
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
dsiders
1bc44cbdf7 Docs: LCL/maskedit. Updates TCustomMaskEdit topics for changes in b48d102c.
* TCustomMaskEdit.EnableSets removes experimental designation.
* TCustomMaskEdit.OnValidationError adds topic content and See Also links.

(cherry picked from commit c9cb29b47a)
2024-01-15 23:59:31 +00:00
mattias
c4c2c20f7c ide: run working directory: use exe folder and as fallback the project directory
(cherry picked from commit b38b88bdb5)
2024-01-15 13:10:02 +01:00
Martin
023766bdda SynEdit: Hihghlighter-Html, fix slow down due to internal pchar to string conversions. Issue #40660
(cherry picked from commit a7a0b3ee3a)
2024-01-15 01:50:26 +01:00
Martin
6897ef5e3b IDE, SourceEdit: Don't show hint if any mouse button is down. Issue #40117
(cherry picked from commit 8c268c4992)

# Conflicts:
#	ide/sourceeditor.pp
2024-01-14 23:22:03 +01:00
dsiders
3f86df37f8 Docs: LazUtils/lazfileutils. Updates the ResolveDots topic for changes in 148b2d23. Issue #40678.
(cherry picked from commit 5f19d0caf8)
2024-01-13 17:12:54 +00:00
Juha
56cb8fe0d0 IDE: Show "Find in Files" dialog also from the package editor. Issue #40673, patch by Henner Drewes.
(cherry picked from commit 75d9f32660)
2024-01-13 15:09:02 +00:00
rich2014
9a11ab871d Cocoa: Fix MouseMove issue related to PopupMenu 2024-01-13 00:29:32 +08:00
rich2014
6f8a824944 Cocoa: fix #40692, the bug of Modal Window 2024-01-12 23:17:40 +08:00
rich2014
7157791611 Cocoa: support moving the mouse to HintWindow for operation in the IDE, Merge branch 'cocoa/mousemove'
there was a bug in the IDE before. HintWindow was hidden before the mouse was moved into HintWindow.
2024-01-12 23:17:40 +08:00
rich2014
aa458fc479 Cocoa: Accelerator key (&) should be only supportted in TPopupMenu on macOS 2024-01-12 23:17:40 +08:00
rich2014
8d71a45619 Cocoa: fixed missing Accelerator key (&) support in Menu 2024-01-12 23:17:40 +08:00
Maxim Ganetsky
a7413b60db SynEdit, Highlighters: actually use initial value of DefaultFilter when deciding whether to store this value to LFM or not
(cherry picked from commit 889c2339f6)
2024-01-10 16:19:34 +00:00
Željan Rikalo
2e6008c8fa Qt: fixed memleak in enumfontfamiliesex.
(cherry picked from commit c7bbb0b354)
2024-01-08 18:19:31 +03:00
Željan Rikalo
2e89eae863 Qt5,Qt6: fixed memleak in enumfontfamiliesex()
(cherry picked from commit eb41784ad0)
2024-01-08 18:19:31 +03:00
dsiders
1e8275f185 Docs: LCL/actnlist. Fixes invalid parameter name, and adds missing content.
* Renames TActionEvent.Action to TActionEvent.AAction
* Adds content in TShortCutList and ApplicationActionComponent topics.

(cherry picked from commit d0137e028e)
2024-01-08 07:12:14 +00:00
dsiders
1ebad6e312 Docs: LCL/graphics. Adds IncColor topic for changes in c9a4f79b. Issue #40682.
* Updates DecColor topic to use language consistent with IncColor.

(cherry picked from commit 07a6dce3e7aaf3bcf4fc4f62ff7facc0ea59279a)
2024-01-05 17:25:11 +00:00