Martin
c101977682
Docs: LCL, update WinControl.Childsizing documentation
...
(cherry picked from commit dcafcbef11
)
2025-06-03 20:13:32 -04:00
Željan Rikalo
6010559863
Qt5,Qt6: fixed crash when QAction is destroyed before it's events are detached. issue #41618
...
(cherry picked from commit 5ca9daf80f
)
Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-06-03 18:47:18 +02:00
Željan Rikalo
4c7e53d054
Qt5,Qt6: fixed TListBox.TopIndex. issue #41688
...
(cherry picked from commit 478688e0f1
)
Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-06-03 18:23:28 +02:00
wp_xyz
4fcca33810
TAChart: Fix another occurrence of the issue caused by commit 6cebac6b7b
.
...
(cherry picked from commit f16403f343
)
2025-06-02 11:13:36 +02:00
wp_xyz
06e88b71d8
TAChart: Improvement of previous commit.
...
(cherry picked from commit 8a61eaf193
)
2025-06-02 11:13:36 +02:00
wp_xyz
77685b91b9
TAChart: Fix TColorMapSeries not repainting upon zoom-by-drag, caused by commit 6cebac6b7b
. https://forum.lazarus.freepascal.org/index.php/topic,71327.msg556598/topicseen.html
...
(cherry picked from commit 53439472a2
)
2025-06-02 10:57:08 +02:00
Martin
6835b736c0
LCL: Fix TWinControl.ChildSizing, Constraints.MaxWidth should only limit the entire column if CellAlignHorizontal = ccaFill (fill the column around the constrained child)
...
(cherry picked from commit cebc92b18c
)
2025-05-31 22:25:59 +02:00
Martin
65eda1449a
SynEdit: fix index error in SynCompletion (when empty)
...
(cherry picked from commit b23e7b9764
)
2025-05-31 22:25:59 +02:00
Martin
ebffe8552a
FpDebug: tests for :flatten
...
(cherry picked from commit 3def68948c
)
2025-05-31 22:25:59 +02:00
Martin
b542a0f991
FpDebug: fix ":flatten" with embedded "[0..n]" slice in display mapping expression.
...
(cherry picked from commit 0b1bcf35de
)
2025-05-31 22:25:58 +02:00
Martin
5d41a0a20f
FpDebug: fix variant detection for ":flatten" with outer [0..n] mapping/slice.
...
(cherry picked from commit ed37ab30d8
)
2025-05-31 22:25:58 +02:00
Maxim Ganetsky
fa903275ea
LazUtils, MultiThreadProcs: reinstate _SC_NPROCESSORS_CONF constant, use it for sysconf call, issue #41659 .
...
_SC_NPROCESSORS_ONLN does not account for available but sleeping cores.
The abnormal reporting of 128 processors by VMware virtual machine
should be dealt with separately.
(cherry picked from commit 95205108d4
)
Co-authored-by: Maxim Ganetsky <maxim@lazarus-ide.org>
2025-05-30 16:16:17 +03:00
mattias
897e7a112d
ide: fixed deleting other than lfm files, for non pascal files
2025-05-26 13:42:48 +02:00
Maxim Ganetsky
391c99e587
LCL: Do not try to access a method of nil AControl in class procedure TDockHeader.PerformMouseDown, fixes crashes in some cases. Issue #41675 , hint by Hans vB.
...
(cherry picked from commit 38d47de87b
)
Co-authored-by: Maxim Ganetsky <maxim@lazarus-ide.org>
2025-05-25 22:51:02 +03:00
rich2014
314d243744
Cocoa: fix the right click issue #41676
2025-05-25 22:35:58 +08:00
Maxim Ganetsky
204af2c079
LazUtils, MultiThreadProcs: fixed _SC_NPROCESSORS_ONLN constant value, issue #41659
...
(cherry picked from commit 11688b8541
)
Co-authored-by: Maxim Ganetsky <maxim@lazarus-ide.org>
2025-05-23 16:20:26 +03:00
Maxim Ganetsky
82798fb439
IDE: fixed a typo in Russian translation
...
(cherry picked from commit fff1533db3
)
2025-05-22 03:29:29 +03:00
wp_xyz
d0b829b72c
LHelp: Fix icon display issue in gtk2. Issue #41656 , patch by Roland Hahn.
...
(cherry picked from commit 34313e6f91
)
2025-05-22 00:57:09 +02:00
Martin
c067bd336e
FpDebug: fix handling errors in watch result. In case of error an incorrect data type may be given. WatchResData would not be set (not to value, nor error). Issue #41646
...
(cherry picked from commit 0dfc1da04c
)
2025-05-17 13:56:18 +02:00
wp_xyz
90cfc9ed17
LazCanvas: Fix memory leak when working with regions.
...
(cherry picked from commit e48ca31534
)
2025-05-17 12:25:01 +02:00
dsiders
b61eeb326c
Docs: LCL/lcltype. Fixes invalid see also link.
...
(cherry picked from commit a6559d89ab
)
2025-05-16 20:25:39 -04:00
Željan Rikalo
69ec02188a
Qt5,Qt6: continue paint when using docked form designer.
...
(cherry picked from commit 1f9623085b
)
Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-05-16 15:32:58 +02:00
dsiders
4a71ebd297
Docs: LCL/graphics. Adds, updates topics for changes in f9cc0dca
. Issue #41642 .
...
* TGradientDirection
* gdVertical
* gdHorizontal
(cherry picked from commit 5d97a5e529
)
2025-05-15 20:16:44 -04:00
wp_xyz
61536579e8
LCL/Graphics: Fix compilation issue of AggPas, BGRABitmap, ... after introduction of GradientFill in FPCanvas of FPC 3.3.1. Issue #41642 .
...
(cherry picked from commit f9cc0dca29
)
2025-05-15 22:46:45 +02:00
rich2014
d3388e9c2b
LCL: fix the issue in TCustomImage.GetCanvas(), #36093
2025-05-15 21:13:37 +08:00
rich2014
e178052fb2
Cocoa: fix openFiles/openURLs in NSApplicationDelegate
2025-05-15 19:34:04 +08:00
Martin
3c988b0ed8
SynEdit: fix painting gutter-part with margin. Issue #41638
...
(cherry picked from commit 34541a9c02
)
2025-05-15 11:22:29 +02:00
Martin
e0d7bc66c9
IDE: Editor color options, keep custom colors between invocations of color picker (currently only within the same frame)
...
(cherry picked from commit 800b2cd836
)
2025-05-15 11:22:29 +02:00
Martin
0eca1e7a08
SynEdit: improve EnsureCursorPosVisible, don't force a persistent selection into view
...
(cherry picked from commit 093a68b134
)
2025-05-15 11:22:28 +02:00
Martin
8e5d4d8638
IDE: Debugger, use crHandCursor for asm links. Issue #41621
...
(cherry picked from commit 7c75970ebd
)
2025-05-15 11:22:28 +02:00
wp_xyz
31b5cd2be7
LCL/TreeView: Fix compilation in FPC 3.3.1 after change in FreeAndNil in commit 3df8de199470da796a9c00fc01f7ed6c3a07dc18
...
(cherry picked from commit 4fd9cec6c7
)
2025-05-14 18:31:13 +02:00
dsiders
80ba7549c3
Docs: LCL/lcltype. Updates topics for changes in 95c0189a
. Issue #41631 .
...
* TLCLHandle
* INVALID_HANDLE_VALUE
(cherry picked from commit 4156a98ab6
)
2025-05-14 12:14:18 -04:00
Maxim Ganetsky
aa3021992c
LCL: reintroduced INVALID_HANDLE_VALUE constant to LCLType, issue #41631
...
(cherry picked from commit 95c0189acd
)
Co-authored-by: Maxim Ganetsky <maxim@lazarus-ide.org>
2025-05-14 15:59:08 +03:00
Željan Rikalo
81a2a4a3ce
Qt5,Qt6: fixed painting in designer when using docked form designer. issue #41640
...
(cherry picked from commit 26266caedc
)
Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-05-14 13:51:43 +02:00
Željan Rikalo
9d32ec552e
Qt5,Qt6: fixed client size when design in dockedformeditor + form contains main menu. issue #41637
...
(cherry picked from commit ae99aee828
)
Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-05-14 13:15:32 +02:00
Željan Rikalo
71a31adcbc
Qt5: added LCLQt_DestroyWidget to keep in sync with qt6 and easier merging.
...
(cherry picked from commit b83ff6e8b4
)
Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-05-14 13:14:11 +02:00
Željan Rikalo
9f578317f8
Qt5,Qt6: fixed offset when using docked form editor and form contains main menu.issue #41637
...
(cherry picked from commit cb87ad069d
)
Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-05-13 10:45:47 +02:00
Željan Rikalo
dac44e458a
Qt6: Use custom event for widget destroy. issue #41470
...
(cherry picked from commit 935518694c
)
Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-05-12 16:22:14 +02:00
Željan Rikalo
026c5b9734
Qt5,Qt6: keep safe if mouserelease destroys QLineEdit of TComboBox
...
(cherry picked from commit 294300d25d
)
Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-05-10 12:51:18 +02:00
Željan Rikalo
54902552e2
Qt5: fix potential crash when push button is destroyed or recreated inside mouseRelease event (potential because qt5 still uses deleteLater())
...
(cherry picked from commit 7fe4213c44
)
Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-05-10 12:32:11 +02:00
Željan Rikalo
161b999697
Qt6: fix crash if push button is destroyed or recreated inside mouserelease event.
...
(cherry picked from commit e483b7fa0b
)
Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-05-10 12:30:26 +02:00
Željan Rikalo
43e9610741
Qt5,Qt6: correct QStyleOption* destroy. issue #41627
...
(cherry picked from commit ecaaeace34
)
Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-05-10 11:26:57 +02:00
rich2014
4b4175e8e1
Cocoa: fix double spaces in CustomControl
...
https://forum.lazarus.freepascal.org/index.php/topic,70901.0.html
2025-05-09 22:09:16 +08:00
Željan Rikalo
33f032ca1a
Qt6: under darwin set dontUseNativeDialogs only with qt6 < 6.8
...
(cherry picked from commit 1456cd17c4
)
Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-05-07 13:06:55 +02:00
Željan Rikalo
8d3198df32
Qt6: do not touch QtAA_DontUseNativeDialogs under mac os since it uses native dialogs by default.
...
(cherry picked from commit 6361e161f0
)
Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-05-07 13:06:40 +02:00
Željan Rikalo
cd23534c25
Qt6: better fix - do not use deleteLater() with qt6 at all for QWidgets.issue #41470
...
(cherry picked from commit 30dd771375
)
Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-05-07 13:06:15 +02:00
Željan Rikalo
00d8f39a0c
Qt6: fixed crash on application quit with Qt >= 6.8.0. issue #41470
...
(cherry picked from commit 1ba22e9dd1
)
Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-05-07 13:05:59 +02:00
Željan Rikalo
7c8ce0d723
Qt6: QGuiApplication_setHighDpiScaleFactorRoundingPolicy() must be setted up before QGuiApplication is created.
...
(cherry picked from commit c082d566ac
)
Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-05-07 07:22:04 +02:00
Martin
c8828b4939
IDE: Debugger Options: update watch format for hints when config is changed.
...
(cherry picked from commit 1ef6c404e4
)
2025-05-06 22:43:51 +02:00
Martin
ca765e4bc4
IDE: rebuild editoroptions.res
2025-05-06 17:39:53 +02:00