Commit Graph

156 Commits

Author SHA1 Message Date
Ž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
m
14d60ce6a0 Gtk2: fix wrong ClientRect. LCL may cache ClientRect, invalidate the cache if the correct Rect was not available. Fix Issue #40284 "wrong main bar height" 2023-06-06 14:20:37 +02:00
rich2014
568a92fe1c Gtk2: Fix compliation on MacOS 2023-05-28 17:07:32 +08:00
Juha
db2bca3949 Support compiling more of Lazarus + its components with -Sy option. 2023-05-21 01:32:42 +03:00
mattias
01dbdf31c0 lcl: gtk2: comments 2023-03-21 15:52:00 +01: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
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
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
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
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
mattias
f45d7ed2c4 LCL: less hints
git-svn-id: trunk@64681 -
2021-02-28 08:51:17 +00:00
juha
51302252eb LCL-GTK2: Paint a form with one color also after scrolling. Issue #16183, patch from Joeny Ang.
git-svn-id: trunk@64167 -
2020-11-30 20:52:19 +00:00
juha
440fd1ab17 LCL-GTK2: Implement TCustomEdit.NumbersOnly. Issue #37277, patch from Joeny Ang.
git-svn-id: trunk@63910 -
2020-09-23 19:19:24 +00:00
juha
125e794a87 Remove useless test for X <> Nil when using "is" operator.
git-svn-id: trunk@63779 -
2020-08-18 17:35:21 +00:00
juha
bcfa936e39 LCL-GTK2: Improve TextRect and regions. Issue #37219, patch from Joeny Ang.
git-svn-id: trunk@63665 -
2020-07-28 20:55:55 +00:00
juha
6d6cea00e9 LCL-GTK2: Fix dragging TLabel/TPanel with TDockImageWindow. Issue #37371, patch from Joeny Ang.
git-svn-id: trunk@63572 -
2020-07-16 10:28:52 +00:00
juha
6c83a6da9e LCL-GTK2: Improve TextRect and regions. Issue #37219, patch from Joeny Ang.
git-svn-id: trunk@63436 -
2020-06-24 09:13:05 +00:00
zeljko
f2f8feab9b Gtk2: implemented accurate frame under x11. fixes issue #36897
Gtk2: fixed Screen.WorkAreaRect. issue #36919

git-svn-id: trunk@62996 -
2020-04-16 09:24:25 +00:00
zeljko
5d0de1d6ab Gtk2: fixed TGtk2WidgetSet.AppProcessMessages and Application.Idle(True) fail to call CheckSynchronize a second time.Patch by Ondrej Pokorny. issue #27662
git-svn-id: trunk@62989 -
2020-04-15 17:09:19 +00:00
zeljko
bd841f4865 Gtk2: set proper ROP mode when using StretchBlt(), BitBlt() and StretchMaskBlt(). issue #23742
git-svn-id: trunk@62859 -
2020-04-02 11:55:46 +00:00
juha
088d4e5c32 LCL-GTK2: Formatting.
git-svn-id: trunk@61982 -
2019-10-04 18:51:08 +00:00
juha
033c7e6443 LCL-GTK2: Eliminate GetOrCreateWidgetInfo from TGtk2WidgetSet.SetCallbackEx, LockOnChange, ConnectSignal, SetFixedWidget.
git-svn-id: trunk@61981 -
2019-10-04 18:50:56 +00:00
juha
bfd348501a LCL-GTK2: Remove a boolean param from GetWidgetInfo and use new func GetOrCreateWidgetInfo. Identify memory leaks.
git-svn-id: trunk@61684 -
2019-08-11 17:15:48 +00:00
juha
5e2d878e09 LCL-GTK2: Fix TFloatSpinEdit behaviour. Issue #32985, patch from accorp.
git-svn-id: trunk@57581 -
2018-03-31 13:53:03 +00:00
juha
32a9ec15de LCL-GTK2: Remove idle callback before destroying a widget. Issue #32985, patch from accorp.
git-svn-id: trunk@57580 -
2018-03-31 13:52:58 +00:00
juha
6810c626df LazUtils: Change "Character" to "Codepoint" in LazUTF8 function names to be more accurate and to avoid confusion.
git-svn-id: trunk@56692 -
2017-12-11 19:44:22 +00:00
juha
f79dd3199d LCL: Support horizontal mouse wheel messages. Issue #32753, patch from AlexeyT.
git-svn-id: trunk@56642 -
2017-12-05 21:30:57 +00:00
juha
c7ba603d21 Reduce typecasts. Use TIntegerList and TByteList where appropriate.
git-svn-id: trunk@56399 -
2017-11-13 23:20:44 +00:00
juha
534586feff LCL-Gtk2: Fix text selection in TEdit and TMemo. Issue #32630, patch from accorp.
git-svn-id: trunk@56287 -
2017-11-05 21:47:58 +00:00
juha
faf48ec178 LCL-GTK2: Turn lcTransparentWindow capability off again. It breaks things.
git-svn-id: trunk@55938 -
2017-09-28 08:48:18 +00:00
juha
12046b3ddb LCL: Add capability lcTransparentWindow for GTK2. Formatting.
git-svn-id: trunk@55929 -
2017-09-26 11:28:00 +00:00
michl
c5e11a9e95 LCL: GTK2: Fixed tab cannot go from combobox to combobox. Issue #32458
git-svn-id: trunk@55920 -
2017-09-25 18:13:09 +00:00
ondrej
6de4e6bed6 gtk2: fix ScreenInfo.PixelsPerInch* values. Issue #31199, by Michl
git-svn-id: trunk@55635 -
2017-08-05 13:57:35 +00:00
juha
fb21bde862 LCL-GTK2: A workaround to prevent a complete freeze with menu seperators. Issue #31138.
git-svn-id: trunk@54765 -
2017-04-28 10:41:37 +00:00
juha
75e8f692bd LCL-GTK2: Fix memory leaks in widgetset code. Issue #31616, patch from Anton Kavalenka.
git-svn-id: trunk@54503 -
2017-04-01 06:33:54 +00:00
michl
751e771242 LCL: Fixed of changing StaticText caption increase memory. Issue #31204
git-svn-id: trunk@53898 -
2017-01-08 11:45:08 +00:00
blikblum
fd332f1b2a gtk2: Enclose code used only to debug in EventTrace define
git-svn-id: trunk@53859 -
2017-01-03 14:07:52 +00:00
juha
93f2292cbf LCL-GTK2: Remove a wrongly placed IFDEF for verbosity. It changed code behavior.
git-svn-id: trunk@53651 -
2016-12-12 14:43:22 +00:00
mattias
425d1ffeb1 lcl: less warnings
git-svn-id: trunk@53138 -
2016-10-17 13:34:17 +00:00
juha
7fc07f3753 LCL-GTK2: Remove tests for "(gtk_major_version = 2) and (gtk_minor_version < 17)". Caused error with backspace on TEdit. Issue #30596.
git-svn-id: trunk@53099 -
2016-10-12 10:45:18 +00:00
juha
37be425708 LCL-GTK2: Remove old GTK2USEDUMMYNOTEBOOKPAGE code. Not needed any more.
git-svn-id: trunk@53098 -
2016-10-12 10:45:13 +00:00
ondrej
a26b02db5a win32, gtk2, qt: use unified multiclick mouse message handling
git-svn-id: trunk@51723 -
2016-02-27 06:22:07 +00:00
dmitry
b32ffa065f gtk2: smarter window z-order reposition below (system-wide) active window, where available
git-svn-id: trunk@51082 -
2015-12-29 21:11:18 +00:00
dmitry
47c0d03a6c gtk2: change GTK_IS_WINDOW to GDK_IS_WINDOW during StayOnTop flag check
git-svn-id: trunk@51070 -
2015-12-28 20:35:59 +00:00
zeljko
b981df5ee5 Gtk2: reverted previous commit. it's not good since without drawable we can use context for text measuring etc etc
git-svn-id: trunk@48342 -
2015-03-14 11:42:26 +00:00
zeljko
4a95b24ae8 Gtk2: do not return true from IsValidDC() if drawable is nil and we are trying to paint over widget. issue #18524
git-svn-id: trunk@48341 -
2015-03-14 11:34:20 +00:00
mattias
f414c5cdd3 lcl: comments
git-svn-id: trunk@46955 -
2014-11-22 09:32:38 +00:00
zeljko
c348278854 Qt, Gtk2: fixed crash with popup window when form is maximized. issue #26670
git-svn-id: trunk@46115 -
2014-09-03 10:38:42 +00:00
juha
9d30244f6a LCL: Fix TGtk2WidgetSet.AppInit. Issue #26649, patch from ocean.
git-svn-id: trunk@46104 -
2014-09-01 20:55:03 +00:00
zeljko
e92a302d5b Gtk2: fixed showing of popup window over fsStayOnTop forms.issue #26018
git-svn-id: trunk@44723 -
2014-04-14 16:33:50 +00:00