Commit Graph

69353 Commits

Author SHA1 Message Date
Martin
fb6edd5b06 IDE: SourceEditor change Highlighter, don't show internal dummy HL.
(cherry picked from commit 046947520c)
2025-03-13 13:27:42 +01:00
Maxim Ganetsky
17dd1f61a0 IDE/Instances: Use a "USERNAME" environment variable in Windows instead of "USER"
(cherry picked from commit b2229d4e82)

Co-authored-by: n7800 <14154601-n7800@users.noreply.gitlab.com>
2025-03-13 01:13:35 +03:00
Martin
8bce574728 SynEdit: fix OnClearMark, checking the correct fields for assigned. Issue #41522
(cherry picked from commit 6c2a52efe0)
2025-03-11 10:28:02 +01:00
Željan Rikalo
7e3817c7c0 Qt5,Qt6: fixed designing on scrolled forms. issue #41517
(cherry picked from commit 9de7888945)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-03-09 19:44:15 +01:00
Željan Rikalo
991f69be70 Qt5,Qt6: do not wrap text in TStaticText. issue #41515
(cherry picked from commit b623211e02)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-03-09 00:40:00 +01:00
Željan Rikalo
ae8b54f696 Qt5,Qt6: make wheel scroll work at design time. issue #41512
(cherry picked from commit cb8c130883)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-03-08 19:56:13 +01:00
DomingoGP
c1d95b4283 Jedi code format: fix allowed file types.
(cherry picked from commit db66ebdbb3)
2025-03-08 15:30:15 +01:00
Željan Rikalo
280d382b58 Qt5,Qt6: fixed design time drawing of non visible controls over QAbstractItemView and QTextEdit classes. issue #41510
(cherry picked from commit adf11362e1)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-03-08 08:43:17 +01:00
dsiders
29b1e0e1ce Docs: LCL/extctrls. Updates the TUNBPages.AddObject topic to correct, clarify content.
(cherry picked from commit 9ad6dd94f8)
2025-03-08 01:56:20 -05:00
dsiders
ac7e53838c Docs: LCL/extctrls. Updates the TUNBPages.AddObject topic for changes in a641e34b. Issue #36957.
(cherry picked from commit dfe9bc5e3e)
2025-03-08 01:56:07 -05:00
Juha
43826bad9b LCL: One more sanity check for a new Notebook page name. Issue #36957. 2025-03-08 01:16:43 +02:00
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