Commit Graph

69165 Commits

Author SHA1 Message Date
dsiders
f924dccf4d Docs: LCL/actnlist. Adds the TActionLink.Update topic for changes in aa9ce848. Issue #41063.
* Assumed Milestone 4.0.

(cherry picked from commit f2c1978c4b)
2024-12-19 16:09:57 +00:00
David Jenkins
c73596b4d4 Cocoa: Add an OnQuitApp event to use when there is no Main Form 2024-12-19 22:45:42 +08:00
Martin
0626a4a224 LCL: Workaround for RTL / init result - ActionLink nil deref issue (fixed in FPC 3.3.1). See issue #41063
(cherry picked from commit 51da4aa0c4)
2024-12-19 11:48:34 +01:00
rich2014
228f3e5ba9 Cocoa/ScrollView: fix the issue of missing child control callback clear in lclClearCallback() 2024-12-19 00:37:10 +08:00
Martin
4de3ad6504 LCL: Workaround for RTL - ActionLink nil deref issue (fixed in FPC 3.3.1). See issue #41063
(cherry picked from commit aa9ce848b7)
2024-12-17 22:59:38 +01:00
Martin
d42ef93804 Packager: Package-Editor, disable move-up/down buttons for hieratical view. See Issues #41282 and #41283
(cherry picked from commit 239b75609b)
2024-12-17 22:59:38 +01:00
Maxim Ganetsky
639ff183c7 IDE: Slovak translation update by LacaK, issue #41284
(cherry picked from commit a71d9f52e4)
2024-12-17 18:18:37 +03:00
wp_xyz
b417395c89 Packager: Fix "New requirement" dialog crashing at closing when no package is selected. Issue #41278
(cherry picked from commit bc56d9b8cc)
2024-12-15 18:18:38 +01:00
wp_xyz
f6dfdd1cdf Commit missing files from 8e72df6b62
(cherry picked from commit 5a4f5ca305)
2024-12-13 18:03:54 +01:00
wp_xyz
c8fa6f81d6 Examples: Remove semicolon after "then" in virtualtreeview and pen_brush examples. Part of MR !403 by n7800
(cherry picked from commit 8e72df6b62)
2024-12-13 18:03:53 +01:00
Željan Rikalo
68406ee8f4 Qt5: fixed blurred text when drawing QImage and QPixmap and hidpi enabled for qt libs >= 5.14. issue #41276
(cherry picked from commit 4c1940a28c)

Co-authored-by: Željan Rikalo <zeljko@lazarus-ide.org>
2024-12-12 16:08:44 +00:00
wp_xyz
e8afd34901 TAChart: Fix crash when Hide is called for an inactive chart tool.
(cherry picked from commit 72a834edba)
2024-12-12 12:01:58 +01:00
Maxim Ganetsky
242a7d356d IDE: component list layout improvements by Don Siders, issue #41273
(cherry picked from commit c17363c521)

Co-authored-by: Maxim Ganetsky <maxim@lazarus-ide.org>
2024-12-10 23:08:00 +00:00
Željan Rikalo
04fc21c672 Qt5: Use QColorDialog_getColor() instead of QColorDialog_getRgba() so we can set title and options. issue #22717
(cherry picked from commit 563018b0c5)

Co-authored-by: Željan Rikalo <zeljko@lazarus-ide.org>
2024-12-10 20:17:10 +00:00
Maxim Ganetsky
c76d54fc11 Win32: ifdef then const declaration of CC_ANYCOLOR for fpc < 3.3.1.
(cherry picked from commit 7c3e5aa112)

Co-authored-by: Bart <9132501-flyingsheep@users.noreply.gitlab.com>
2024-12-10 19:48:10 +00:00
Željan Rikalo
29a3cdf6fa Qt5: fixed crash with uninitialized menubar. issue #41271
(cherry picked from commit 7ae7202855)

Co-authored-by: Željan Rikalo <zeljko@lazarus-ide.org>
2024-12-09 15:50:37 +00:00
dsiders
473dffa83c Docs: LCL/dialogs. Adds and updates TColorDialog topics for changes in 9077ef32. Issue #22717.
* Affects:
* TColorDialogOption
* TColorDialogOptions
* TColorDialog.Options
* TColorDialog.Create
* DefaultColorDialogOptions

(cherry picked from commit 8477f6087d)
2024-12-09 00:09:35 +00:00
Bart
eecc3645f1 LCL: implement TColorDialog.Options. Currently only supported for Win32/Win64 widgetset. Issue #22717.
The default value differs from Delphi (7) for backwards compatibility (CC_FULLOPEN flag was always set in Windows).

(cherry picked from commit 9077ef32a2)
2024-12-08 21:38:42 +01:00
Martin
c51f5f7710 AnchorDocking: Ensure splitters are in the parents clientrect.
Workaround for:
- Splitters at the far right/bottom use "splitter left side"=99.99% which move the splitter out, if the main window shrinks
- Issue #41178

(cherry picked from commit 2031d9ec48)
2024-12-08 21:38:14 +01:00
dsiders
4ff90a145d Docs: LazControls/treefilteredit. Adds TTreeFilterEdit.SetTreeFilterSilently topic for changes in 9e8dbdc9. Issue #41259.
(cherry picked from commit 52c27a7cd9)
2024-12-08 18:14:20 +00:00
Juha
3ba3bd37e4 IDE: In Messages window open selected line with Enter key. Ieeus #41258. 2024-12-07 09:48:01 +02:00
Juha
9e8dbdc97a IDE In search results window, do not expand nodes when switching tabs. Issue #41259. 2024-12-07 09:47:42 +02:00
Željan Rikalo
3edb51bf9e Gtk2: fixed bitmap creation when ratio DataSize/MaskSize have remainder. issue #41070
(cherry picked from commit ea838aa496)

Co-authored-by: Željan Rikalo <zeljko@lazarus-ide.org>
2024-12-05 16:21:40 +00:00
Juha
d15159d9b0 LCL-GTK2: Don't fire "OnChange" and "OnEditingDone" when TSpinEdit/TFloatSpinEdit lose focus. Issue #41254. 2024-12-02 02:32:28 +02:00
Željan Rikalo
e385cac8b7 Qt5, Qt6: do not change floatSpinbox value on mouse move. issue #41255
(cherry picked from commit 3afef2e176)

Co-authored-by: Željan Rikalo <zeljko@lazarus-ide.org>
2024-11-25 14:27:45 +00:00
Željan Rikalo
cc499ab0fe Qt5,Qt6: fixed regression, signals should not be stopped for button with focusPolicy = QtNoFocus. issue #41237
(cherry picked from commit 08438724ec)

Co-authored-by: Željan Rikalo <zeljko@lazarus-ide.org>
2024-11-23 21:09:55 +00:00
robsean
d0a9bd8dd5 IDE: Chinese translation update by robsean, merge request !392
(cherry picked from commit adf1c1e591)
2024-11-23 22:39:12 +03:00
Martin
3fa119e539 FpDebug: Update "dwarf-4 fix for broken fpc". Fpc 3.2.3 has been fixed
(cherry picked from commit bbcdf77e01)
2024-11-23 16:42:45 +01:00
Martin
560dd5f881 FpDebug: test, clean up signed enum tests
(cherry picked from commit 9b406db211)
2024-11-23 16:42:44 +01:00
Martin
93c659b2b4 FpDebug: fix checks for end of CIE-data. Don't read outside the section data.
(cherry picked from commit ba0a9c5bf7)
2024-11-23 16:42:44 +01:00
Martin
fb6f4faa98 FpDebug: Linux, check if thread is known.
(cherry picked from commit 9fd6981814)
2024-11-23 16:42:44 +01:00
Juha
87ee0b11eb LCL-GTK2: Prevent a crash in OpenBSD, related to tooltips. Issue #41244, patch by Alfred Glänzer. 2024-11-23 08:35:06 +02:00
Željan Rikalo
1c8b820866 Qt6: added QInputMethod and QKeyCombination classes to the C bindings.
(cherry picked from commit b915e78b9a)

Co-authored-by: Željan Rikalo <zeljko@lazarus-ide.org>
2024-11-22 07:27:40 +00:00
Željan Rikalo
3a11092878 Qt6: various fixes in bindings.
(cherry picked from commit 7bace9858e)

Co-authored-by: Željan Rikalo <zeljko@lazarus-ide.org>
2024-11-22 07:27:11 +00:00
Željan Rikalo
e80a882d73 Qt6: Fixed bug in cbindings, updated cbindings version.
(cherry picked from commit 3851c98976)

Co-authored-by: Željan Rikalo <zeljko@lazarus-ide.org>
2024-11-22 07:15:11 +00:00
Željan Rikalo
cd43623c7c Qt6: new version of C bindings due to added new classes and fixed wrong QFontMetricsF_horizontalAdvance() output.
(cherry picked from commit e53ab12bac)

Co-authored-by: Željan Rikalo <zeljko@lazarus-ide.org>
2024-11-22 07:14:40 +00:00
Željan Rikalo
0e38dd49d1 Qt5, Qt6: guard TQtWSWinControl.SetText from dangling pointers in same way as TQtWSWinControl.GetText
(cherry picked from commit f2f43ea7fa)

Co-authored-by: Željan Rikalo <zeljko@lazarus-ide.org>
2024-11-22 07:10:09 +00:00
Željan Rikalo
342f30c518 Qt5, Qt6: Fixed TQtWidgetSet.SetActiveWindow and TQtWidgetSet.SetForegroundWindow behaviour. issue #41251, issue #41252
(cherry picked from commit d80a9519cb)

Co-authored-by: Željan Rikalo <zeljko@lazarus-ide.org>
2024-11-21 16:08:00 +00:00
Maxim Ganetsky
9b59add482 LCL-Gtk2: Ensure that correct DestroyHandle flavor is called for TShellListView. Fixes crashes when freeing TShellListView. Issue #41238, patch by Željan and Bart.
(cherry picked from commit dae82f367a)

Co-authored-by: Maxim Ganetsky <maxim@lazarus-ide.org>
2024-11-21 13:38:18 +00:00
Željan Rikalo
0692c43113 Qt5: Fixed bug in cbindings, updated version to 1.2.16.
(cherry picked from commit 83f1d01e6a)

Co-authored-by: Željan Rikalo <zeljko@lazarus-ide.org>
2024-11-20 22:39:00 +00:00
Željan Rikalo
46e1ce72e8 Qt5, Qt6: small optimization, mark vBrush,vPen and vBackroundBrush as shared.
(cherry picked from commit 0201dd32c9)

Co-authored-by: Željan Rikalo <zeljko@lazarus-ide.org>
2024-11-20 22:22:14 +00:00
dsiders
de463861ac Docs: LCL/controls. Updates TWinControl.OnKeyDown topic to document global shortcut keys.
* Related to discussions in Issue #40436.

(cherry picked from commit a2bf3c8d58)
2024-11-20 20:39:08 +00:00
Željan Rikalo
40e9db325a Qt5,Qt6: fixed restoring secondary minimized window. issue #40243
(cherry picked from commit 107d8dbeae)

Co-authored-by: Željan Rikalo <zeljko@lazarus-ide.org>
2024-11-20 12:19:01 +00:00
Željan Rikalo
0c5d55e65d Qt,Qt5,Qt6: implemented themed draw of tabbar base.
(cherry picked from commit ad73bdff39)

Co-authored-by: Željan Rikalo <zeljko@lazarus-ide.org>
2024-11-19 19:57:23 +00:00
Željan Rikalo
aefb11e0b2 Qt5, Qt6: Fixed bug with TListView.LargeImages and vsIcon style. issue #39511
(cherry picked from commit 4dc3c40696)

Co-authored-by: Željan Rikalo <zeljko@lazarus-ide.org>
2024-11-19 19:28:11 +00:00
Željan Rikalo
7a0b1a6e9b Qt5, Qt6: Small refactor for 'text/plain' handling in clipboard, patch by Alexey Torgashin. issue #41145
(cherry picked from commit 2e1792430b)

Co-authored-by: Željan Rikalo <zeljko@lazarus-ide.org>
2024-11-19 18:01:44 +00:00
Maxim Ganetsky
2e17f0148f FPDebug: added test executable file to .gitignore, committed automatically generated FpTest.res
(cherry picked from commit f9f76a8675)

Co-authored-by: Maxim Ganetsky <maxim@lazarus-ide.org>
2024-11-18 22:04:23 +00:00
Maxim Ganetsky
ff201f246d CI: enabled FPDebug test job to run automatically
(cherry picked from commit 7997f0884b)
2024-11-18 23:08:10 +03:00
Maxim Ganetsky
7a90895e72 CI: added FPDebug test job (manual for now)
(cherry picked from commit 54ee10cd7c)
2024-11-18 23:08:10 +03:00
Martin
63bdcb8d39 FpDebug: test - don't access forms for console runner
(cherry picked from commit 2fa8d8fe5c)
2024-11-18 20:47:59 +01:00