Commit Graph

69135 Commits

Author SHA1 Message Date
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
wp_xyz
33b4d31618 IconFinder: Fix crash when icon folders are added/hidden while an icon is selected in the viewer.
(cherry picked from commit 39252c56ba)
2024-11-16 00:34:27 +01:00
wp_xyz
f34a53131a IconFinder: Fix failure to display BMP icons.
(cherry picked from commit b5e2e98d35)
2024-11-16 00:34:27 +01:00
wp_xyz
9619640514 LCL/graphics: Workaround for FPReaderBMP not implementing the InternalSize class function before 3.3.1 (issue 40685)
(cherry picked from commit a153126d5a)
2024-11-16 00:34:26 +01:00
wp_xyz
f2d4c42e2f IconFinder: Inherit TIconList from TFPHashObjectList rather than TFPGObjectList to speed up TThumbnailViewer.ReadMetadata by factor 2.
(cherry picked from commit 25a1a645ec)
2024-11-16 00:34:26 +01:00
wp_xyz
e15e3cf85e IconFinder: Avoid duplicate processing of default image folder.
(cherry picked from commit aef3e62e80)
2024-11-16 00:34:26 +01:00
Juha
7595beee48 LCL-GTK2: Fix errors in TCombobox.Text. Issue #28840, patch by Maxim Ganetsky. 2024-11-15 17:28:24 +02:00
Juha
b82cf7de6e IDE: Remove Ctrl-Enter shortcut from IdoOptionsDlg. It did not work. Issue #40234. 2024-11-15 17:28:07 +02:00
Željan Rikalo
4452b7d447 Qt5,Qt6: do not send LM_CLICKED if button lost focus after mouse down. issue #41237
(cherry picked from commit c97c2774da)

Co-authored-by: Željan Rikalo <zeljko@lazarus-ide.org>
2024-11-15 07:01:08 +00:00
dsiders
26a7cc0cf3 Docs: LCL/graphutil. Fixes an invalid See Also link in the ScaleImg topic.
(cherry picked from commit 816d1b0cd5)
2024-11-14 22:45:10 +00:00
dsiders
87806e24b2 Docs: LCL/forms. Updates THintWindow topics for changes in 301fcda550, including:
* THintWindow.ActivateHint
* THintWindow.ActivateWithBounds
* THintWindow.ActivateHintData
* THintWindow.CalcHintRect

(cherry picked from commit 2f7f0198ab)
2024-11-14 16:45:57 +00:00
Željan Rikalo
194bd07f82 Qt5, Qt6: fixed PopupParent = modal form, issue #41241
(cherry picked from commit 9ba7c6e286)

Co-authored-by: Željan Rikalo <zeljko@lazarus-ide.org>
2024-11-14 12:56:26 +00:00
Maxim Ganetsky
5b60a5e128 LCL: Don't modify hint position when it is shown via calling HintWindow.ActivateWithBounds method (useful for SynEdit).
Also cleanup useless FActivating assignment (it is a simple field
without any side effects).

(cherry picked from commit 301fcda550)
2024-11-14 02:52:36 +03:00
rich2014
3989144ccb LCL: fix hint window bounds issue introduced in a2057a6., issue #41194
(cherry picked from commit aeca9749b1)
2024-11-14 02:52:36 +03:00
Martin
fe1284cb27 DockedFormEditor: Adjust scrollbar for "fake" main-menu. Pull Request !380
(cherry picked from commit add8755ea8)
2024-11-13 21:17:10 +01:00
Martin
c891537cc0 LazDebuggerFp: test, change testcase to use Test* instead of Assert* => so it will write logs
(cherry picked from commit 95a133b379)
2024-11-13 21:17:09 +01:00
Martin
985f917ee1 FpDebug: Allow MemManage read extended to other float types. Fixed test for new soft fpu extended
(cherry picked from commit 4d88956173)
2024-11-13 21:17:09 +01:00