henry
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
Matthias Clasen
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
liulinsong
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
Sabri Ünal
379512c092
Update Turkish translation
2023-05-29 12:18:38 +00:00
Matthias Clasen
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
liiulinsong
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
Matthias Clasen
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
Matthias Clasen
3ce4f4ea78
Post-release version bump
2023-05-21 22:24:57 -04:00
Matthias Clasen
3e6fd55ee0
3.24.38
2023-05-21 22:22:08 -04:00
Matthias Clasen
f1602ef833
Disable a few failing reftests
2023-05-21 22:22:08 -04:00
Leônidas Araújo
0e3cb4b84d
Update Brazilian Portuguese translation
2023-05-15 12:30:13 +00:00
Gianvito Cavasoli
294249a8bd
Update Italian translation
2023-05-14 10:38:47 +00:00
John Ralls
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
John Ralls
acb183ef7c
[quartz] Remove unused variable.
2023-05-09 13:58:22 -07:00
John Ralls
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
Matthias Clasen
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
Matthias Clasen
a76ae3eb85
Fix a crash
...
Fix an oversight from fc1643956b
.
2023-04-29 06:40:50 -04:00
Matthias Clasen
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
Matthias Clasen
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
Yosef Or Boczko
2a7877277e
Update Hebrew translation
2023-04-21 09:12:18 +00:00
Fran Dieguez
4986c622c1
Update Galician translation
2023-04-13 16:57:52 +00:00
Мирослав Николић
b6dc66159d
Update Serbian translation
2023-04-09 11:36:47 +00:00
Alexander Shopov
d3aaf9ed03
Update Bulgarian translation
2023-04-07 16:28:17 +00:00
Luca Bacci
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
Luca Bacci
71fcbce0d7
OLE2 DND: Check if move is supported
2023-04-06 14:18:30 +02:00
Nart Tlisha
afeded7e95
Update Abkhazian translation
2023-04-05 09:38:22 +00:00
Nart Tlisha
f0c12ee7b8
Update Abkhazian translation
2023-04-05 09:03:53 +00:00
Danial Behzadi
d6f42d167a
Update Persian translation
2023-04-03 12:54:19 +00:00
Aleksandr Melman
7f74f15b5e
Update Russian translation
2023-04-03 07:28:04 +00:00
Aurimas Černius
77216107dd
Update Lithuanian translation
2023-04-02 19:44:42 +00:00
Matthias Clasen
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
Phil Stopford
60d197fca8
Address issue 5711 by checking that the context is not NULL.
2023-03-30 22:34:55 +00:00
Matthias Clasen
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
Michael Catanzaro
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
Matthias Clasen
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
Matthias Clasen
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
Matthias Clasen
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
Gaël Bonithon
a40126e1f9
gdkscreen-wayland: Notify initial setting change from org.gtk.Settings
2023-03-27 22:08:59 +02:00
Emin Tufan Çetin
58b91ca254
Update Turkish translation
2023-03-27 12:19:30 +00:00
Guillaume Bernard
2c3388112e
Update French translation
2023-03-27 08:48:03 +00:00
Matthias Clasen
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
Emmanuele Bassi
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
Emmanuele Bassi
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
Nathan Follens
2e09856d63
Update Dutch translation
2023-03-26 13:25:07 +00:00
Asier Sarasua Garmendia
1ce6c7f73c
Update Basque translation
2023-03-26 08:31:38 +00:00
Jordi Mas
3bf883b979
Update Catalan translation
2023-03-26 08:48:06 +02:00
Kukuh Syafaat
ac882269a5
Update Indonesian translation
2023-03-26 06:40:13 +00:00
John Ralls
f2c8b8b0d2
Merge branch 'issue5593' into gtk-3-24
2023-03-25 13:41:08 -07:00
Alexander Shopov
007299ccc8
Update Bulgarian translation
2023-03-25 17:26:16 +00:00