Commit Graph

69465 Commits

Author SHA1 Message Date
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
Martin
7cda7bb8ba IDE: color presets, fix priorities for assembler win current-line vs selection
(cherry picked from commit 5e6de8cb95)
2025-05-06 17:37:46 +02:00
Martin
03982c9280 IDE: Debugger options, fixed layout of tool-buttons for display-format
(cherry picked from commit 3717e75f24)
2025-05-06 17:19:19 +02:00
n7800
850a704c6e IDE/SearchResultView: Invalidate filter after refresh. Merge request !466. 2025-05-06 12:53:23 +03:00
Juha
715009f161 Docked form editor: Remove a default 'Panel1' caption from the settings GUI. Issue #41617, patch by Don Siders. 2025-05-06 12:52:52 +03:00
Martin
7706f6fce1 IDE: fix Color settings for gutter-current-line - switch to off did not clear
(cherry picked from commit 10ba50d939)
2025-05-06 10:54:08 +02:00
Martin
b2925dfc01 IDE: fix color setting for "marks-gutter-part". It needs to be painted in "parent" (gutter) background color. Issue #41616
(cherry picked from commit 5ede412c0d)
2025-05-06 10:54:08 +02:00
Maxim Ganetsky
e4f608ee2f IDE: committed automatically regenerated resource file 2025-05-06 01:57:28 +03:00
Maxim Ganetsky
f49a30343a LCL-Gtk2: Avoid Gtk-CRITICAL warnings on Linux, issue #41611.
Avoid warnings like:
(project1:153785): Gtk-CRITICAL **: 09:35:29.899:
IA__gtk_paint_flat_box: assertion 'style->depth ==
gdk_drawable_get_depth (window)' failed

This is a regression after commit
3185572fdf, which fixed crash on OpenBSD
(issue #41244).

Now the change from the above commit is active only for the OpenBSD
platform.


(cherry picked from commit d611e0c2a3)

Co-authored-by: Maxim Ganetsky <maxim@lazarus-ide.org>
2025-05-06 01:42:48 +03:00
mattias
e7eba72f7f set fixes version to 4.1 2025-05-05 09:10:21 +02:00
dsiders
ba652003f0 Docs: LCL/graphutil. Fixes missing end tag.
(cherry picked from commit 49848f1d14)
2025-05-04 17:01:53 -04:00
dsiders
d2ee50c6a5 Docs: LCL/graphutil. Updates the ScaleImg topic for changes in 412af2a7. Issue #41614.
(cherry picked from commit ea83afdf93)
2025-05-04 17:01:42 -04:00
wp_xyz
7c05a19525 Revert "LCL/GraphUtil: Initialize interpolation as nil (see 412af2a70b, issue #41614)"
This reverts commit 9978a205d8.
2025-05-04 22:40:13 +02:00
wp_xyz
9978a205d8 LCL/GraphUtil: Initialize interpolation as nil (see 412af2a70b, issue #41614)
(cherry picked from commit f1f4ed909c)
2025-05-04 22:18:14 +02:00
wp_xyz
86cbcce276 LCL/GraphUtils: Fix image up-scaling by procedure ScaleImg. Issue #41614.
(cherry picked from commit 412af2a70b)
2025-05-04 19:25:39 +02:00
mattias
9d15c73c91 set fixes version to 4.0 2025-05-03 08:08:10 +02:00
dsiders
74852a0e43 Docs: LCL/dialogs. Additional updates to TOpenOption topcis. Based upon MR !455 by n7800 with corrections.
(cherry picked from commit 410911ba37)
2025-05-02 15:29:50 +03:00