Commit Graph

69342 Commits

Author SHA1 Message Date
Juha
da72bc4790 LCL: Improve getting an unused name for a new Notebook page. Issue #36957. 2025-03-08 01:16:18 +02:00
Juha
7ce60d77d9 LCL: Figure out an unused name for a new Notebook page. Issue #36957. 2025-03-08 01:16:04 +02:00
Martin
a182389908 SynEdit: fix single-line (mode=smLine) selection was not restored by undo (e.g. after undo after indent). Related to issue #29591
(cherry picked from commit a66269e8bb)
2025-03-07 12:11:44 +01:00
Martin
1b39a66408 SynEdit: fix SyncroEdit for chars with different upper/lower length. Issue #41446
(cherry picked from commit 2ef9a0607c)
2025-03-05 23:54:41 +01:00
Martin
0c48c46503 IDE, Debugger: make toolbars in debug-dialogs wrap-able
(cherry picked from commit b33513dac3)
2025-03-05 22:07:40 +01:00
Martin
36891eb9fd SynEdit: PasHighLighter, fix "record helper" in "mode objfpc" with modeswitches.
(cherry picked from commit e393919040)
2025-03-05 20:21:23 +01:00
Martin
9b853148ce IDE: catch codetool error during source-completion paint. Issue #32972
(cherry picked from commit 9f48130673)
2025-03-04 21:49:31 +01:00
dsiders
be936b51f3 Docs: LCL/comctrls. Updates the TCustomListView.SortWithParams topic for changes in 25e63201.
(cherry picked from commit 347c530198)
2025-03-04 12:23:35 -05:00
rich2014
5dda26a287 LCL: fix a bug in ListView introduced @0e0ef8c where the checked state was not restored correctly after sorting. 2025-03-04 22:33:04 +08:00
Željan Rikalo
d5ec9d7a61 Qt5,Qt6: fixed QtComboBox sorted property. issue #41502
(cherry picked from commit 00a355408e)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-03-03 16:01:11 +00:00
Martin
87aa99d601 SynEdit: fixed using for-var after loop.
(cherry picked from commit b50acfc112)
2025-03-02 11:43:44 +01:00
Martin
7bd31885b9 SynEdit: fixed methods hidden by inherited
(cherry picked from commit 7b77a98bcf)
2025-03-02 11:43:44 +01:00
Martin
89d77daacb SynEdit: Initialize "Result" var of managed type (avoid mem re-alloc in case caller passes non-nil). Issue #41461 (see notes).
(cherry picked from commit 69d65e704d)
2025-03-02 11:43:44 +01:00
Martin
824107bf28 FpDebug: remove accidentally committed debugln !442
(cherry picked from commit 13306efd3f)
2025-03-02 11:41:47 +01:00
Željan Rikalo
8e76db50e2 Qt,Qt5,Qt6: checkbox offset should be applied only to the first column where checkbox resides. issue #41496
(cherry picked from commit 41593d7fba)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-03-01 20:50:10 +00:00
Željan Rikalo
cabcb8ed8d Qt,Qt5,Qt6: fixed multiple memleaks with QIcon. issue #41497
(cherry picked from commit 9d39dd3e25)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-03-01 20:41:58 +00:00
rich2014
bdbe10ceaa Cocoa: fix and simplify TCocoaPanel and TCocoaWindow #41477 2025-03-01 18:52:33 +08:00
Željan Rikalo
b6f6c4c95a Qt,Qt5,Qt6: fixed vertical alignment of text.issue #41465
(cherry picked from commit 45eabe826d)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-02-28 15:16:42 +00:00
Željan Rikalo
6b6dbd3e81 Qt,Qt5,Qt6: fixed TListView subItem images after changing items order.issue #41465
(cherry picked from commit 6d4ad25144)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-02-28 07:44:56 +00:00
Martin
d5fecadfcc SynEdit: WrappedView, remove incorrect assert. New range can overlap several existing ranges
(cherry picked from commit d8e64144ee)
2025-02-27 13:12:30 +01:00
Martin
487073dd4b FpDebug: fix/improve x86-disass function IsAfterCallInstruction
(cherry picked from commit 3360fef947)
2025-02-26 22:09:08 +01:00
Martin
fa5dd23ab5 FpDebug: overloaded Register.SetValue to avoid range-check errors.
(cherry picked from commit 51eca6e940)
2025-02-26 22:07:13 +01:00
Željan Rikalo
969c4bf8ae Qt,Qt5,Qt6: do not send KeyUp if key is autorepeated. issue #41472
(cherry picked from commit f90db81742)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-02-26 12:17:22 +00:00
Željan Rikalo
85a1c9e578 Qt5,Qt6: fixed build on 32bit cpu. issue #41468
(cherry picked from commit a4855f6fa5)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-02-25 15:13:31 +00:00
Željan Rikalo
7665010413 Qt5, Qt6: allow background color of TTabSheet just like in win32,gtk2 and gtk3. Fixed setting font of TTabSheet.
(cherry picked from commit bfc45a589a)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-02-25 14:43:12 +00:00
Martin
c59185d149 FpDebug: Fix reading DWARF-5, use correct HeaderSize when resolving references.
(cherry picked from commit 79bed04544)
2025-02-24 11:32:01 +01:00
Martin
c7825f845b FpDebug: Add safeguard/error-checks to TDwarfInformationEntry.PrepareAbbrev / PrepareAbbrevData. Issue #41459
(cherry picked from commit 0530a14bd5)
2025-02-23 23:45:25 +01:00
Željan Rikalo
f277ec9c9f Qt5, Qt6: make sure pushbutton is unblocked, but also there's no segfault.
(cherry picked from commit bf52173a6f)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-02-23 18:05:04 +00:00
Željan Rikalo
e434f37890 Qt5,Qt6: map unicode chars to lcl keys where possible. issue #41452
(cherry picked from commit 17407a1e4d)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-02-22 23:47:18 +00:00
Željan Rikalo
e65b28a14a Qt: make arrow keys work at design time. issue #41453
(cherry picked from commit 20d22eae2a)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-02-22 23:45:42 +00:00
Željan Rikalo
44f1ea933f Qt5, Qt6: allow arrow keys at design time. issue #41453
(cherry picked from commit 9ad5559338)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-02-22 23:45:21 +00:00
Martin
f8bfee4292 IDE: Editor-Options, fix mem leak
(cherry picked from commit e0d50a545c)
2025-02-22 12:30:10 +01:00
Martin
cb412dc2d4 FpDebug: detect invalid vex opcodes. Issue #41442 Patch by Red_prig (Pavel)
(cherry picked from commit d46cd42c0b)
2025-02-22 12:10:10 +01:00
dsiders
ce831b303f Docs: LCL/dbgrids. Updates TCustomDBGrid, TComponentDataLink topics for changes in 87877c4f. Issue #41451.
* TCustomDBGrid.EndLayout
* TComponentDataLink.DatasetScrolled

(cherry picked from commit cf23d4140b)
2025-02-21 16:43:43 -05:00
dsiders
13aa95664f Docs: LCL/filectrl. Fixes invalid See Also links.
(cherry picked from commit 258df7b405)
2025-02-21 16:43:25 -05:00
dsiders
8f107438e2 Docs: LCL/filectrl. Updates TCustomFileListBox topics for changes in 3cc3475c. Issue #41441.
* TCustomFileListBox.Create
* TCustomFileListBox.UpdateFileList

(cherry picked from commit 9c44d21c0e)
2025-02-21 16:43:13 -05:00
Željan Rikalo
ed95ad2fa7 DBGrids: fixed dgThumbTracking usage on dbgrid. issue #41451
(cherry picked from commit 87877c4fda)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-02-21 19:57:44 +00:00
Bart
4ef9ee5aeb Win32: implement TOpenOptionEx.ofExNoPlacesBar for pre-Vista style dialog. Resolves issue #41301.
(cherry picked from commit 43a9af055d)
2025-02-21 20:44:54 +01:00
Bart
0b0cc5d47e Win32: fix crash if CoCreateInstance fails (Vista IFileDialog). OpenDialog.Execute will return False, no dialog is shown, as this is Delphi compatible. Part of issue #40298.
(cherry picked from commit 1c7ecdbb56)
2025-02-21 20:44:35 +01:00
Bart
70f4f50636 TFileListBox: fix not adding filenames wich only differ in case, when the control doesn't have a handle yet (i.e. with Directry set in OI). Issue #41441
(cherry picked from commit 3cc3475c2b)
2025-02-21 20:44:09 +01:00
Martin
bdd77a1902 IDE: SourceEditor, fix InsertLine. Issue #41409 Patch by Frank Fischer
(cherry picked from commit f3de1146b5)
2025-02-17 22:30:52 +01:00
Martin
c3aad38ff3 SynEdit: WrappedView, Caret, fixed position for fullwidth chars
(cherry picked from commit 3bf2791292)
2025-02-17 22:30:32 +01:00
Juha
2ebb827649 Packager: Support Sender as TIDEMenuItem in function GetPackageOfEditorItem. Affects ToDo list with packages etc. 2025-02-17 18:14:55 +02:00
Željan Rikalo
a8b242d651 Qt5,Qt6: Seem that QEventDestroy does not work anymore for qt5 and qt6. issue #41433
(cherry picked from commit df31c25382)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-02-15 16:43:30 +00:00
Željan Rikalo
2ebfedf6fa Qt5, Qt6: fixed showing and destroying popup window with popup parent modal form. issue #41433
(cherry picked from commit 740f63fe4c)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-02-15 16:26:57 +00:00
Željan Rikalo
d313b376bc Qt5,Qt6: must check if handle is valid.
(cherry picked from commit 5df0a8f05a)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-02-15 11:44:23 +00:00
Željan Rikalo
fd7ad406ae Qt5, Qt6: must use MenuVisibleIndex to be in order. issue #41429
(cherry picked from commit 7bfc63d9ed)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-02-15 07:30:19 +00:00
Željan Rikalo
6b51ba5323 Qt5,Qt6: fixed order of menu items when hiding/destroying handle/adding again. issue #41429
(cherry picked from commit 4f835ede52)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-02-15 07:29:22 +00:00
Željan Rikalo
e9746d8dd0 Qt6: disable Qt lib autocomplete of QComboBox, LCL does autocomplete. issue #41432
(cherry picked from commit 0a6df5f238)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-02-14 22:49:24 +00:00
dsiders
b0513d9031 Docs: LCL/stdctrls. Updates the TCustomMemo.FinalizeWnd topic for changes in be89c477. Issue #40794.
(cherry picked from commit 482f403d27)
2025-02-13 21:01:35 -05:00