Commit Graph

69151 Commits

Author SHA1 Message Date
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
Martin
e8a1aaf80d FpDebug: fix reading extended and tests for fpc 3.2.2
(cherry picked from commit dd2ffad6b3)
2024-11-18 20:19:25 +01:00
Martin
b7f5a8ff5d FpDebug: change test case to console test-runner
(cherry picked from commit 516ae9bcf5)
2024-11-18 17:08:00 +01:00
Martin
0fc7fa66ba FpDebug: disable failing test for non-required feature 2024-11-18 17:07:26 +01:00
Maxim Ganetsky
bbea08b8ca Translations: French translation update by Gilles Vasseur, issue #41248
(cherry picked from commit 6e43556427)
2024-11-18 02:46:09 +03:00
Martin
2394ead7a9 FpDebug: improve handling enum with negative ord value.
(cherry picked from commit 4d21661950)
2024-11-17 23:14:53 +01:00
Martin
bcd6d2ced6 FpDebug: fix range check error with enum values (negative ord value). Issue #41240
(cherry picked from commit d93235de52)
2024-11-17 13:17:39 +01:00
Maxim Ganetsky
9512487328 IDE: added missing space after comma in OK button hint of Options dialog
(cherry picked from commit d2ebb7674d)

Co-authored-by: Maxim Ganetsky <maxim@lazarus-ide.org>
2024-11-17 12:15:40 +00:00
Maxim Ganetsky
d195fe8910 IconFinder: regenerated translations and updated Russian translation
(cherry picked from commit 7d2a74d680)
2024-11-17 14:33:48 +03:00
Juha
d15afa2c7e IDE: Restore Ctrl-Enter shortcut in IdoOptionsDlg. Tweak the hint. Issue #40234. 2024-11-16 21:20:16 +02:00
dsiders
94bd8f9aae Docs: LCL/intfgraphics. Adds the TLazReaderBMP.InternalReadHead topic for changes in a153126d5a. Issue #40685.
(cherry picked from commit 1bcd352773)
2024-11-16 02:00:38 +00:00
wp_xyz
6620e22730 IconFinder: Avoid closing the IDE options dialog when the user presses ENTER after typing a search phrase.
(cherry picked from commit b7f4fd1d74)
2024-11-16 00:34:28 +01:00
wp_xyz
88f3d577c7 IconFinder: Fix compilation of IconViewer demo
(cherry picked from commit d82e6b2dca)
2024-11-16 00:34:28 +01:00
wp_xyz
e24deb6559 IconFinder: Further speedup of icon reading.
(cherry picked from commit e16acf9623)
2024-11-16 00:34:28 +01:00
wp_xyz
2d81368339 IconFinder: Display icon count. Update demo projects.
(cherry picked from commit 3788e25cc6)
2024-11-16 00:34:27 +01:00