Commit Graph

53108 Commits

Author SHA1 Message Date
06bf07bed3 Merge branch 'fix-slow-perf-x11-gl' into 'gtk-3-24'
Remove slow and unnecessary X11 code-path when using OpenGL functionality

See merge request GNOME/gtk!6042
2023-06-01 10:55:25 +00:00
7237f5d0eb This commit fixes a performance issue on X11 systems in regards to drawing on an OpenGL surface in GTK/GDK.
This commit fixes a performance issue on X11 systems making use of the gdk_cairo_draw_from_gl() function in regards
to drawing on an OpenGL surface in GTK/GDK. Specifically, this fix removes the slow X11 codepath that was used when
executing the gdk_cairo_draw_from_gl() function because it was completely uneeded. I tested the before and after on
Flutter and GTK apps making use of the OpenGL rendering and can confirm that there is no behaviour and visual
difference. This change is also specific to drawings that make use of textures. The render buffer code path has
been left completely unmodified.

Closes #4704
2023-05-31 23:05:19 +01:00
94001d49bf Merge branch 'gtk-3-24' into 'gtk-3-24'
Fix a typo

See merge request GNOME/gtk!6040
2023-05-31 14:49:39 +00:00
1659cefde7 Fix a typo
1. According to the UTF-8 spec, ASCII character's charcode is from
   0 to 127 inclusively.

2. Any charcode which is greater than or equal to 128 will be
   a multi-byte character.
2023-05-31 22:13:53 +08:00
379512c092 Update Turkish translation 2023-05-29 12:18:38 +00:00
8faa85f576 Merge branch 'gtk-3-24' into 'gtk-3-24'
Make sure that the charcode is signless

See merge request GNOME/gtk!6030
2023-05-29 11:11:20 +00:00
6dc75b46cc Make sure that the charcode is signless
1. The data with type of char is signed by default.

2. The byte value of UTF-8 is signless by default.

3. So, if a UTF-8 charcode is stored in a char array, we should cast the
type of its value from char to unsigned char.
2023-05-29 09:52:38 +08:00
c00f1a96c8 Merge branch 'backport-ftw-struct' into 'gtk-3-24'
Backport "Use correct stat struct for ftw()"

See merge request GNOME/gtk!6004
2023-05-22 10:05:53 +00:00
7e17693cce Use correct stat struct for ftw()
check_dir_mtime() is called by ftw() and is given
the real stat struct, not its glib version (which may
or may not be the same as "struct stat").

This is irrelevant for MSVC (it has no ftw()) and
works correctly for MinGW-w64 (which declares stat
structures correctly). If mingw.org complains, add
a special ifdef for it later.
2023-05-22 07:52:01 +02:00
3ce4f4ea78 Post-release version bump 2023-05-21 22:24:57 -04:00
3e6fd55ee0 3.24.38 2023-05-21 22:22:08 -04:00
f1602ef833 Disable a few failing reftests 2023-05-21 22:22:08 -04:00
0e3cb4b84d Update Brazilian Portuguese translation 2023-05-15 12:30:13 +00:00
294249a8bd Update Italian translation 2023-05-14 10:38:47 +00:00
32e5c18213 [quartz] Pad both the content rect and the window width.
Otherwise the rastering gets messed up and popup windows get badly
truncated lengthwise on non-Retina monitors when there are both
Retina and non-Retina monitors.
2023-05-09 15:39:10 -07:00
acb183ef7c [quartz] Remove unused variable. 2023-05-09 13:58:22 -07:00
ddf984f42c Finally resolve gdkquartz.h include path issue.
By using a different include path for building Gtk.
2023-05-09 13:51:28 -07:00
90472dc481 Merge branch 'application-signal-cleanup-for-3' into 'gtk-3-24'
Fix a crash

See merge request GNOME/gtk!5887
2023-04-29 11:28:00 +00:00
a76ae3eb85 Fix a crash
Fix an oversight from fc1643956b.
2023-04-29 06:40:50 -04:00
de1660132e Merge branch 'application-signal-cleanup-for-3' into 'gtk-3-24'
application: Clean up signal handlers

See merge request GNOME/gtk!5871
2023-04-26 12:38:22 +00:00
fc1643956b application: Clean up signal handlers
This is the right thing to do and might help for #5775.
2023-04-26 14:09:44 +02:00
2a7877277e Update Hebrew translation 2023-04-21 09:12:18 +00:00
4986c622c1 Update Galician translation 2023-04-13 16:57:52 +00:00
b6dc66159d Update Serbian translation 2023-04-09 11:36:47 +00:00
d3aaf9ed03 Update Bulgarian translation 2023-04-07 16:28:17 +00:00
048d23c36d Merge branch 'ole2-dnd-check-for-move' into 'gtk-3-24'
OLE2 DND: Check if move is supported

See merge request GNOME/gtk!5748
2023-04-06 12:46:11 +00:00
71fcbce0d7 OLE2 DND: Check if move is supported 2023-04-06 14:18:30 +02:00
afeded7e95 Update Abkhazian translation 2023-04-05 09:38:22 +00:00
f0c12ee7b8 Update Abkhazian translation 2023-04-05 09:03:53 +00:00
d6f42d167a Update Persian translation 2023-04-03 12:54:19 +00:00
7f74f15b5e Update Russian translation 2023-04-03 07:28:04 +00:00
77216107dd Update Lithuanian translation 2023-04-02 19:44:42 +00:00
66a94161bd Merge branch 'gtk-3-24' into 'gtk-3-24'
Address regression in 3.24.37 (issue 5711) by checking that the context is not NULL.

See merge request GNOME/gtk!5754
2023-03-30 23:35:56 +00:00
60d197fca8 Address issue 5711 by checking that the context is not NULL. 2023-03-30 22:34:55 +00:00
b497382659 Merge branch 'mcatanzaro/fix-xdg-activation' into 'gtk-3-24'
wayland: Don't crash without xdg_activation_v1

See merge request GNOME/gtk!5743
2023-03-29 01:08:39 +00:00
d8190aae3f wayland: Don't crash without xdg_activation_v1
This backports 3cdb6392102079d85ea38fa24d58c1824fe4dd37 to GTK 3.

See: #5701
2023-03-28 19:42:53 -05:00
1afbe2d08b Merge branch 'backport-mr-5721' into 'gtk-3-24'
wayland: Don't crash on cursor size 0 (Backport !5721)

See merge request GNOME/gtk!5739
2023-03-28 18:05:39 +00:00
ff892684c8 wayland: Don't crash on cursor size 0
The cursor-theme-size setting is documented as
'0 means the default size'. Make it so by using
size 24 if we see a 0. Its better than crashing.

Fixes: #5700
(cherry picked from commit 7adbbe6f35347b19319d9e4ce8c92fb0e861524b)
2023-03-28 18:38:34 +02:00
433356856e Merge branch 'notify-initial-setting-change' into 'gtk-3-24'
gdkscreen-wayland: Notify initial setting change from org.gtk.Settings

See merge request GNOME/gtk!5733
2023-03-28 13:56:55 +00:00
a40126e1f9 gdkscreen-wayland: Notify initial setting change from org.gtk.Settings 2023-03-27 22:08:59 +02:00
58b91ca254 Update Turkish translation 2023-03-27 12:19:30 +00:00
2c3388112e Update French translation 2023-03-27 08:48:03 +00:00
b5f27d2e9c Merge branch 'ebassi/issue-5691' into 'gtk-3-24'
gdk: Swap Cairo calls when reading back from a GdkWindow

See merge request GNOME/gtk!5727
2023-03-26 15:19:23 +00:00
bda80c4e41 docs: Try to steer people away from gdk_pixbuf_get_from_window()
It's a bad function, and people should feel bad about using it.
2023-03-26 15:59:14 +01:00
789d202720 gdk: Swap Cairo calls when reading back from a GdkWindow
First we flush the surface, then we mark it dirty.

Don't look at me: this makes sense in Cairo, apparently.

Fixes: #5691
2023-03-26 15:57:56 +01:00
2e09856d63 Update Dutch translation 2023-03-26 13:25:07 +00:00
1ce6c7f73c Update Basque translation 2023-03-26 08:31:38 +00:00
3bf883b979 Update Catalan translation 2023-03-26 08:48:06 +02:00
ac882269a5 Update Indonesian translation 2023-03-26 06:40:13 +00:00
f2c8b8b0d2 Merge branch 'issue5593' into gtk-3-24 2023-03-25 13:41:08 -07:00