Commit Graph

65737 Commits

Author SHA1 Message Date
Martin
cc6fccc337 SynEdit: fixed wrong (to big) text-len in TSynEditMarkupHighlightAllMulti
(cherry picked from commit d23a06285b)
2023-09-10 14:22:23 +02:00
dsiders
be39683f20 Docs: LCL/extdlgs. Removes StartMonday from TCalendarDialog.DisplaySettings topic.
(cherry picked from commit a6cf14e143)
2023-09-10 00:45:44 +01:00
ACTom
43251d855f Translations: Chinese translation update, merge request !233
(cherry picked from commit 57381cefb7)
2023-09-07 03:22:44 +03:00
Željan Rikalo
a1cad36b73
Qt5,Qt6: fixed paste from firefox under wayland. issue #40423
(cherry picked from commit 11f4629097)
2023-09-06 19:52:14 +00:00
dsiders
3c37227869 Docs: LCL/stdctrls. Removes QT support admonitions for changes in ab9b9835.
* TCheckBox.Alignment
* TRadioButton.Alignment
* TComboBox.AdjustDropDown
* TComboBox.ItemWidth

(cherry picked from commit 3b39a80d16)
2023-09-06 18:44:04 +01:00
Maxim Ganetsky
909db1202c JCF2: iproved i18n of "Comments" settings page, regenerated translations and updated Russian translation
(cherry picked from commit d51e605fdd)
2023-09-06 20:07:19 +03:00
Maxim Ganetsky
08bc6a9e8b JCF2: fixed sizing of "Open folder" button in "File Settings" option page
(cherry picked from commit 3e05f415ee)
2023-09-06 19:58:21 +03:00
Željan Rikalo
fc6123cdfd
Qt,Qt5,Qt6: removed TCheckBox.Alignment, TRadioButton.Alignment, TComboBox.AdjustDropDown, TComboBox.ItemWidth from issues.xml as it is implemented.
(cherry picked from commit ab9b9835c4)
2023-09-06 16:06:53 +00:00
Željan Rikalo
43eae9f8cf
Qt,Qt5,Qt6: Implemented TCustomCheckBox.Alignment for checkboxes and radio buttons.
(cherry picked from commit e3a3552ceb)
2023-09-06 16:06:28 +00:00
Željan Rikalo
4c72f7215c
Qt,Qt5,Qt6: Implemented TComboBox.AdjustDropDown - TQtWidgetSet.SetComboMinDropDownSize.
(cherry picked from commit a7e90edd46)
2023-09-06 16:06:05 +00:00
Željan Rikalo
ade1955a6c
Qt6: QtEdges can be or'ed, so make it cardinal type.
(cherry picked from commit 67fb404f84)
2023-09-05 10:47:56 +00:00
Željan Rikalo
804a3b0d82
Qt6: implemented QtThemes GetDetailSizeForPPI.
(cherry picked from commit 0480536ac0)
2023-09-05 10:47:41 +00:00
Maxim Ganetsky
5c6f10deac Packages: removed deprecated Sparta packages which started to cause troubles to users, issue #40485
(cherry picked from commit 2516749a2f)
2023-09-05 03:31:25 +03:00
dsiders
bc2046fb4f Docs: LCL/comboex. Updates content in the TCustomComboBoxEx.AddItem topic.
(cherry picked from commit 1a2967a207)
2023-09-03 19:54:51 +01:00
Martin
127bb620e5 FpDebug: Fix ".." intrinsic, reset error from previous elements (deref nil sets error on Expression, rather than value)
(cherry picked from commit 81596aa0bf)
2023-09-03 18:33:23 +02:00
Martin
c3a1844be1 IdeDebugger: fix parsing ".." range for arrays (after ^ deref)
(cherry picked from commit b38ca94a08)
2023-09-03 18:33:23 +02:00
Juha
ee6a3fed0c
IDE: Show the project name and build mode by default in the IDE title. Name variables and properties consistently.
(cherry picked from commit 8c1e7bc4b0)
2023-09-03 15:44:56 +00:00
rich2014
9490d8cdc6 LCL & Cocoa: fix the bugs in TCustomComboBoxEx/TCocoaWSCustomComboBox 2023-09-03 22:56:36 +08:00
Željan Rikalo
f99643fe6d
Qt,Qt5,Qt6: TComboBox.ItemWidth, TComboBox.AdjustDropDown added to the issues.xml. Patch by Don Siders, issue #40139
(cherry picked from commit cf0443de0e)
2023-09-03 08:06:36 +00:00
Željan Rikalo
e2833ed8be
Qt6: fixed typo.
(cherry picked from commit 0a76b545d5)
2023-09-02 21:34:07 +00:00
Željan Rikalo
2e93e61b09
Qt6: added startSystemMove() & startSystemResize() to the C bindings for better wayland integration
(cherry picked from commit 48c90ea76f)
2023-09-02 21:33:44 +00:00
Željan Rikalo
5ed68ef9ef
Qt,Qt5,Qt6: fixed color of control after enabling during runtime. issue #40471
(cherry picked from commit e1b8361cdb)
2023-09-02 18:13:55 +00:00
Željan Rikalo
ca417aacb8
Qt5: increased Qt5Pas C bindings version.
(cherry picked from commit b2c682d1a6)
2023-09-02 17:41:42 +00:00
Željan Rikalo
8700188527
Qt5: removed QTimer_singleShot4() overload because it cannot be used with Qt5 < 5.10.
(cherry picked from commit 0a5d375c2e)
2023-09-02 17:11:12 +00:00
rich2014
8e8e7b1710 Cocoa: Fix the issue on startup 2023-09-02 23:00:40 +08:00
mattias
004f8cd597 IDE: fixed save project as, not applying option suggest lowercase for default name 2023-08-30 11:35:53 +02:00
Maxim Ganetsky
6fdd33a054 IDE: fixed the double click behavior for non-query tree nodes on the help selector dialog, patch by Don Siders with some cleanups, issue #40472
(cherry picked from commit e2afe4932c)
2023-08-30 02:06:34 +03:00
Željan Rikalo
079a625837 Qt5: use QTimer::singleShot() with QObject context from Qt 5.9.0
(cherry picked from commit e27bb2eef2)
2023-08-29 22:27:05 +00:00
Željan Rikalo
aacd2f6ce5 Qt5,Qt6: fix possible wrong result of TQtWidgetSet.GetTextExtentPoint().
(cherry picked from commit e73c702be2)
2023-08-29 22:19:12 +00:00
wp_xyz
98dc998e73 TAChart: Another 3d display issue of TPieSeries.
(cherry picked from commit 6fda7c4f11)
2023-08-29 23:41:29 +02:00
wp_xyz
70a68d6bea TAChart: Add rounding-error-tolerant comparison functions to TAMath.
(cherry picked from commit ac7dc35162)
2023-08-29 23:41:29 +02:00
wp_xyz
223c71d6b4 TAChart: Fix painting error in 3d-pie series (https://forum.lazarus.freepascal.org/index.php/topic,64437.msg489868.html)
(cherry picked from commit febc06ca63)
2023-08-29 23:41:28 +02:00
Željan Rikalo
ebe0dbcd27 Qt5: cleanup of TQtWidgetSet.GetTextMetrics().
(cherry picked from commit e554d21707)
2023-08-29 13:43:50 +00:00
Željan Rikalo
948f39081f Qt5,Qt6: significant improvenment of TQtWidgetSet.GetTextExtentExPoint(), also corrected Size.cx in some cases. Returned results are now equal to win32 on windows, but also gtk2 on linux.
(cherry picked from commit 88afd66312)
2023-08-29 13:30:47 +00:00
Željan Rikalo
7ed370a696 Qt5: fixed Qt documentation inconsistency about QTimer::singleShot() overload.
(cherry picked from commit 269b3d0007)
2023-08-28 16:06:35 +00:00
Bad Sector
bf97d69be3 LCL-GTK2: Fix double free due to wrong refcount during SaveDC/RestoreDC
CopyDataFrom copies the FPixmap field directly without updating
reference counts for the objects, which in some cases ends up attempting
to unref (in the TGtkDeviceContext destructor) an already freed object
(this can happen when, e.g., SaveDC/RestoreDC is called twice with the
same DC - in the first SaveDC/RestoreDC "pass", RestoreDC deletes the
FPixmap object during the saved context destruction and in the second
"pass" the object is already destroyed and the program crashes).

This patch fixes this by adding calls to ref/unref during CopyDataFrom
for the FPixmap.

(cherry picked from commit 5ecce8dc19)
2023-08-28 18:44:44 +03:00
Maxim Ganetsky
2464831975 LCL: fixed compilation 2023-08-27 23:25:20 +03:00
Željan Rikalo
c39225f011 Qt6: reduced string conversions.
(cherry picked from commit 36a99bdd26)
2023-08-27 09:39:58 +00:00
Željan Rikalo
c4b93868c9 Qt6: reduced num of string conversions, cleanup
(cherry picked from commit c630749f27)
2023-08-27 09:39:35 +00:00
rich2014
afef178fd6 LCL/Cocoa: resources leak fixed 2023-08-27 10:09:04 +08:00
Željan Rikalo
c81c47151a Qt5: improve string conversions by removing unneeded GetUtf8Str internal function.
(cherry picked from commit f27a50f74e)
2023-08-26 06:08:59 +00:00
dsiders
a52ed2f789 Docs: DateTimeCtrls/datetimepicker. Updates external referenences for changes in f83b8b4c.
(cherry picked from commit 67fd5eb194)
2023-08-25 15:20:18 +01:00
mattias
a0a1089a52 datetimectrls: simplified unit dependencies 2023-08-25 12:50:11 +02:00
mattias
0fcf3dcd1e lcl: gtk2: simplified unit dependencies 2023-08-25 12:41:37 +02:00
mattias
6f8815b3bb lcl: gtk2: simplified unit dependencies 2023-08-25 12:40:18 +02:00
mattias
de37ee0a8f lcl: gtk2: simplified unit dependencies 2023-08-25 12:34:07 +02:00
zeljan1
5ee189f43a Qt6: fixed crash while processing wheelscroll event inside mdiarea window.
(cherry picked from commit 805a8817ed)
2023-08-23 18:10:19 +00:00
Željan Rikalo
0cc1dc98eb Gtk2: do not create dummy widget if WM name is empty, also reduce looping on slow systems. issue #40413
(cherry picked from commit e2f0b349f4)
2023-08-23 16:35:58 +03:00
Željan Rikalo
ba08c94b54 Qt,Qt5,Qt6: do not create dummy widget if wm name is empty or we are running under wayland. issue #40413
(cherry picked from commit 2885935b2d)
2023-08-23 16:35:57 +03:00
dsiders
d75e9a7a67 Docs: LCL/controls. Fixes typos in See Also links.
(cherry picked from commit 10f65ee4fd)
2023-08-23 02:03:37 +01:00