Commit Graph

1787 Commits

Author SHA1 Message Date
Juha
db2bca3949 Support compiling more of Lazarus + its components with -Sy option. 2023-05-21 01:32:42 +03:00
ptvoinfo
d85002d862 Gtk2: Add theme support to DrawFocusRect
Paint a themed focus rectangle (color and width) with fallback to the default method.
2023-04-24 06:50:52 +03:00
ptvoinfo
5e18c56bba Gtk2: Rare memory leak fix.
It may appear on slow systems in some application. This fix makes memory managers with leak checking enabled happy.
2023-04-24 06:50:52 +03:00
mattias
01dbdf31c0 lcl: gtk2: comments 2023-03-21 15:52:00 +01:00
Juha
a927519165 LCL-GTK2: Fix clipboard paste endless wait. Merge request !141 by Bad Sector. 2023-03-11 13:07:48 +02:00
rich2014
0645aa9e7f Gtk2: fixed height of ide mainbar 2023-02-19 00:09:18 +08:00
Juha
8241d6c315 LCL-GTK2: A minor optimization. 2023-02-17 15:14:48 +02:00
Željan Rikalo
d195570688 Gtk2: fixed clientRect of TCustomForm with main menu. Patch by rich2014. issue #40071 2023-02-01 16:56:26 +01:00
Željan Rikalo
2ffedf7545 Gtk2: fixed TScrollBar.ScrollBy_WS error. Patch by Andrew Haines 2023-02-01 15:06:28 +01:00
Ondrej Pokorny
19662131eb gtk2: fix TDateEdit.MinDate and MaxDate XML issues 2023-01-02 10:48:13 +01:00
Michaël Van Canneyt
ce4a2bd696 * Fix make install target 2022-12-01 11:34:30 +01:00
Juha
77513c73bd LCL-GTK2: Fix crashes from dangling idle callbacks. Merge request !106 by Bad Sector. 2022-10-05 13:33:30 +03:00
Juha
5b2b222aa4 LCL-GTK2: Properly use PANGO_PIXELS macro instead of just integer divide. Issue #39938, patch by Anton Kavalenka. 2022-10-03 13:47:08 +03:00
Bart
404da33624 GTK2/GTK3: Document that TDateEdit.MinDate and MaxDate are not supported by the native Calendar. 2022-07-31 17:51:55 +02:00
Bart
8157c949be GTK2: Document that the native calendar does not support a MinDate or MaxDate. 2022-07-20 22:23:03 +02:00
Juha
f14b0fb03c LCL-GTK2 and LCL-GTK2: Allow OpenDialog Mime Filters. Issue #39790, patch by theo222. 2022-06-11 21:25:31 +03:00
Juha Manninen
6ae79c8197 Merge branch 'ayatana_multiuser' into 'main'
Systray on Unix needs to write user specific file to /tmp

See merge request freepascal.org/lazarus/lazarus!92
2022-05-17 11:50:17 +00:00
mattias
b2be620760 lcl: gtk2: send LM_ContextMenu to designer after mouse release 2022-05-07 07:05:01 +02:00
mattias
b3be9dea57 lcl: gtk2: send LM_ContextMenu to designer 2022-05-07 06:11:16 +02:00
David Bannon
bbcc02153f Systray on Unix needs to write user specific file to /tmp 2022-05-06 21:30:21 +10:00
Željan Rikalo
027cf2cec3 Gtk2: fixed maximized form without border, fixed brush initialization. Patches by Anton Kavalenka. issue #39702, issue #39722 2022-04-28 09:44:10 +02:00
Bad Sector
19d9c7a9b8 LCL-GTK2: Fix separator menu item height for when the ImageIndex is not -1. 2022-02-13 23:52:32 +00:00
Juha
75aebbee85 LCL: Consider that MemSize can return 0 with a custom MemoryManager. Merge request !27 by Sergey Larin. 2021-10-28 11:23:36 +03:00
Juha
99e4bd2515 LCL-GTK2: Use a new SysTray API by default. The old one fails to work in new Ubuntu versions + derivatives. Patch by dbannon. 2021-10-20 12:09:58 +03:00
Juha
30ba61883f LCL-GTK2: Fix TPopupMenu on 2 monitors aligned vertically. Issue #39422, patch by Alexey T. 2021-10-09 00:32:18 +03:00
juha
5d0cd2d8ed LCL-GTK2: Call gtk_status_icon_set_tooltip_text() instead of gtk_status_icon_set_tooltip() for TrayIcon.Hint when FPC trunk is used. Issue #39194.
git-svn-id: trunk@65439 -
2021-07-10 20:33:26 +00:00
martin
9acddfe467 Makefile, LCL: fix path for freetype
git-svn-id: trunk@65406 -
2021-07-08 11:21:25 +00:00
mattias
f5630f1082 lcl: updated Makefile.compiled with freetype
git-svn-id: trunk@65403 -
2021-07-08 08:13:17 +00:00
michl
3e9e2bbd3e AnchorDocking: DragNDrop of pages not working on GTK2. Issue #39166
git-svn-id: trunk@65378 -
2021-07-05 21:38:05 +00:00
martin
060ea23a23 Improve new InputManager code for gtk2 / Experimental / Issue #38730 / Patch by Do-wan Kim / see commit 65174 #0d724cb5bb
git-svn-id: trunk@65236 -
2021-06-15 13:06:12 +00:00
juha
a078714f63 Revert r65213 #595fb2c21d. It caused a regression.
git-svn-id: trunk@65228 -
2021-06-14 07:52:06 +00:00
juha
595fb2c21d LCL: Call FormShow correctly. Issues #36127 and #38922, patch by Joeny Ang.
git-svn-id: trunk@65213 -
2021-06-11 06:17:44 +00:00
maxim
b8d0d9366b LCL: fixed typos related to 'occur' word
git-svn-id: trunk@65207 -
2021-06-10 22:21:45 +00:00
martin
67dbe4986f Gtk2: Add option to disable "KeyEventWasHandledByLCL" => allow checking if new Gt2-IM code can deal with this. Define WITH_GTK2_IM for IM / Define WITHOUT_GTK_DOUBLEKEYPRESS_CHECK to disable current check
git-svn-id: trunk@65176 -
2021-06-05 22:33:55 +00:00
martin
0d724cb5bb New InputManager code for gtk2 / Experimental / Issue #38730 / Patch by Do-wan Kim
git-svn-id: trunk@65174 -
2021-06-05 22:29:27 +00:00
juha
406875b435 LCL-GTK2: Improve function NeedAppIndicator for TrayIcon support. Issue #38909, patch by David.
git-svn-id: trunk@65122 -
2021-05-22 10:20:30 +00:00
juha
876714be01 LCL-GTK2: Support Ayatana AppIndicator for TrayIcon. Issue #38909, patch by David.
git-svn-id: trunk@65119 -
2021-05-21 09:35:17 +00:00
mattias
b6a295185e lcl: gtk2: fixed typo
git-svn-id: trunk@65098 -
2021-05-10 13:38:43 +00:00
wp
426f9a5353 LCL/gtk2: Fix polygon painting when Pen.Style = psClear and Winding = true. Issue #38852, patch by Anton Kavalenka.
git-svn-id: trunk@65088 -
2021-05-05 20:09:05 +00:00
mattias
5c8e7c1abb lcl: gtk2: debug
git-svn-id: trunk@65082 -
2021-05-02 15:38:00 +00:00
wp
6b4be3bcd9 LCL: Undo r65060 #5589d83d68 because it breaks qt5/gtk2/gtk3 on Windows. Issue #38831.
git-svn-id: trunk@65079 -
2021-05-02 09:01:56 +00:00
wp
5589d83d68 LCL/ShellCtrls: Show built-in shell icons for gtk2, gtk3 and qt5 widgetsets. Patch by Salvadorbs, issue #18247.
git-svn-id: trunk@65060 -
2021-04-24 20:26:24 +00:00
juha
ef7d930ca6 LCL-GTK2: Fix rect calculation and GetTextMetrics. Prevent painting cropped chars 'jy'. Issue #38268, patch from Anton Kavalenka.
git-svn-id: trunk@65056 -
2021-04-23 15:34:08 +00:00
bart
faeaeda19c GTK2: add WSCheckHandleAllocated() in TGtk2WSCustomFloatSpinEdit.SetEditorEnabled.
git-svn-id: trunk@65018 -
2021-04-17 20:11:45 +00:00
bart
603a8c9a72 T(Float)SpinEdit: implement EditorEnabled for GTK2. Part of issue #0038736.
git-svn-id: trunk@65016 -
2021-04-17 16:18:11 +00:00
juha
aa96e17781 Revert r63888 #54661a2a36. It breaks event handling of forms with parent. Issue #36127.
git-svn-id: trunk@64986 -
2021-04-13 16:35:34 +00:00
mattias
be1d17f306 lcl: gtk2: fixed freeing TLCLHandledKeyEvent while processing keys
git-svn-id: trunk@64889 -
2021-03-29 12:14:55 +00:00
martin
82be1e231b fix for g_value - propper init,set,unset
git-svn-id: trunk@64838 -
2021-03-19 21:05:36 +00:00
juha
05b9887d74 LCL-GTK2 font handling (mainly affects ScaleBy). Issue #32917, patch from C Western.
git-svn-id: trunk@64789 -
2021-03-12 10:08:57 +00:00
juha
3d8db3b9fa LCL-GTK2: Revert value for psDot painting back to 4096. Issue #38599, patch from Joeny Ang.
git-svn-id: trunk@64788 -
2021-03-12 07:19:38 +00:00