Commit Graph

65663 Commits

Author SHA1 Message Date
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
dsiders
d16ad47a9e Docs: LCL/controls. Updates content in TWinControl.SetChildZPosition to reflect changes in 853461fe.
(cherry picked from commit 946571185c0490ed75e48ccd8f22476b39d0fefe)
2023-08-23 01:31:46 +01:00
Željan Rikalo
63940637e5 LCL: fixed TWinControl.SetChildZPosition, WS must be informed about change of order in any case. issue #40450
(cherry picked from commit 853461fed6)
2023-08-22 22:30:27 +03:00
Željan Rikalo
64c8ce0ace Qt,Qt5,Qt6: fixed borderless popup over parent form with FormStyle = fsStayOnTop. issue #40440
(cherry picked from commit 2a339f8cb1)
2023-08-22 22:30:27 +03:00
Maxim Ganetsky
54ecaf82aa VirtualTreeView: adjust IFDEFS for Qt4, Qt5, Qt6 widgetsets to enable asm code for both 32 bit and 64 bit x86 CPUs, issue #40431
(cherry picked from commit 57fe53bd0d)
2023-08-22 22:26:43 +03:00
Maxim Ganetsky
a1765f403b VirtualTreeView: fix building with Qt4 widgetset on non-x86 platforms (unify with Qt5 and Qt6 widgetsets), issue #40431
(cherry picked from commit b101a75d7e)
2023-08-22 22:26:43 +03:00
Martin
d25e9d67fe IdeDebugger: Watches, fix updating array-nav-bar while scrolling
(cherry picked from commit 2234c02716)
2023-08-22 19:26:52 +02:00
Martin
d88073b520 IdeDebugger: Watches, hide array-nav-bar when collapsing
(cherry picked from commit ab8f817be8)
2023-08-22 19:26:51 +02:00
Martin
c3164a4974 IdeDebugger: Treeview, update embedded controls on resize
(cherry picked from commit cc98242bec)
2023-08-22 19:26:51 +02:00
wp_xyz
8d5532d6f9 LHelp: Fix duplicate hint windows, issue #40456
(cherry picked from commit e32f823789)
2023-08-22 18:27:05 +02:00
ACTom
83d56324fd Translations: Chinese translation update, merge request !229
(cherry picked from commit dde185549b)
2023-08-21 01:50:49 +03:00
Martin
dd2dd4a92e IdeDebugger: fix crash in watches (changing watch, with open children)
(cherry picked from commit 7def84841a)
2023-08-20 16:21:16 +02:00
mattias
8c04ad3fda ide: fixed parsing fpc linker error ld.bfd and file:linenumber: msg 2023-08-20 11:07:03 +02:00
ACTom
5240025e1b Translations: Chinese translation update, merge request !227
(cherry picked from commit f58e090182)
2023-08-18 23:03:19 +03:00
mattias
322109fc63 updated makefile 2023-08-17 09:34:11 +02:00
mattias
d50619cdde updated makefiles 2023-08-17 09:23:17 +02:00
mattias
495a55efd4 ide: fixed ide macro loop detection 2023-08-17 09:11:08 +02:00
mattias
404580d211 updated makefiles 2023-08-15 12:52:46 +02:00
mattias
40c5732627 lazbild: no app bundle 2023-08-15 12:50:41 +02:00
mattias
ec5726dc18 ide: package compiled file: store lazarusversion and switch between fallback on check not on prepare 2023-08-15 10:59:04 +02:00
mattias
fffdea39bb ide: project res file: fixed save if not exists 2023-08-15 10:23:55 +02:00
mattias
4e522856df IDE: unified ide debugln 2023-08-15 10:16:28 +02:00
mattias
56115145ca IDE: do not auto delete uses lresources from lpr 2023-08-15 10:15:31 +02:00
ACTom
d51e9523da Translations: Chinese translation update, merge request !226
(cherry picked from commit b47891cfef)
2023-08-14 22:30:03 +03:00
dsiders
aedd8520c0 Docs: LCL/stdctrls. Reorders topics to match declaration order in 44d7786c19.
(cherry picked from commit 42a89dc628)
2023-08-12 19:00:34 +01:00