Commit Graph

51405 Commits

Author SHA1 Message Date
John Ralls
a12931b9f8 Silence compiler type warnings about converting enums to gboolean. 2019-08-28 19:54:58 -07:00
Jordi Mas
54bdac6331 Update Catalan translation 2019-08-28 19:35:23 +02:00
Luca Bacci
72baf988ee
autotools: dist the subprojects directory
See Merge Request !1069
2019-08-28 18:35:10 +02:00
Christoph Reiter
52be6acb89 build: remove unused HAVE__NSGETENVIRON and HAVE_CRT_EXTERNS_H
Looks like this is a leftover from gdkspawn/gtk2
2019-08-26 20:42:42 +02:00
Christoph Reiter
8809fab111 gtkiconcache: use _fstat64 under 64bit mingw to match GStatBuf
With the switch to meson we no longer built with _FILE_OFFSET_BITS which
results in fstat being the 32 bit variant, not matching GStatBuf, which is
_stat64 on 64bit mingw builds.

This makes things use _fstat64 in this case, to match GStatBuf.
2019-08-26 20:13:48 +02:00
Changwoo Ryu
352948fcdf Update Korean translation 2019-08-26 11:17:02 +00:00
Christoph Reiter
31a57fe389 Drop the mir backend
It depends on libcontent-hub-glib which was dropped from Ubuntu in mid 2017:
https://bugs.launchpad.net/ubuntu/+source/content-hub/+bug/1712874

It was patched downstream to still build until it was disabled at the beginning
of 2018: https://launchpad.net/ubuntu/+source/gtk+3.0/3.22.28-1ubuntu3

This likely means no one has built gtk with mir in 2 years, and there is no plan
to change that, so just remove it.
2019-08-25 22:46:28 +02:00
Fran Dieguez
5493efdb41 Update Galician translation 2019-08-25 16:53:23 +00:00
Fran Dieguez
98b1c94027 Update Galician translation 2019-08-25 16:07:19 +00:00
Charles Monzat
6e0d1fc23c Update French translation 2019-08-25 15:49:34 +00:00
Matthias Clasen
8f955baf93 Merge branch 'gtk-3-24' into 'gtk-3-24'
gtkprintbackend:backend_create: avoid strdup+free (3.24)

See merge request GNOME/gtk!996
2019-08-25 12:03:03 +00:00
Matthias Clasen
64fe119643 Merge branch 'wip/carlosg/ensure-selection-notify' into 'gtk-3-24'
Ensure to emit GDK_SELECTION_NOTIFY on all circumstances

See merge request GNOME/gtk!1057
2019-08-25 11:54:46 +00:00
Matthias Clasen
3857077701 Merge branch 'build-remove-xiproto-xreply-check' into 'gtk-3-24'
autotools: remove NEED_XIPROTO_H_FOR_XREPLY check

See merge request GNOME/gtk!1058
2019-08-25 11:46:40 +00:00
Balázs Úr
91b862a527 Update Hungarian translation 2019-08-24 20:22:03 +00:00
Matej Urbančič
67d4369b6c Updated Slovenian translation 2019-08-24 20:07:30 +02:00
Rūdolfs Mazurs
a5cb933e30 Update Latvian translation 2019-08-24 11:18:18 +00:00
Rūdolfs Mazurs
9ef0e03a20 Update Latvian translation 2019-08-24 11:14:16 +00:00
Matthias Clasen
a579083b17 Merge branch 'fix-opengl-profiling' into 'gtk-3-24'
Fix profiling output when rendering with OpenGL

See merge request GNOME/gtk!1060
2019-08-24 09:52:00 +00:00
Alexander Larsson
e417fa1b7a Fix profiling output when rendering with OpenGL
I was not getting any gtk+ profile markers output from the frame clock
when I was profiling an OpenGL app (gnome-hexgl). I debugged this and
it turns out that the profiling depends on getting the _NET_WM_FRAME_TIMINGS
event from the compositor, and once we switched to OpenGL rendering
this never appeared.

It turns out the reason it didn't is that the compositor only does
so if the client increases the counter tied to the window, and the
x11 gdk code has this optimization where if we do a draw pass
but nothing is actually drawn we don't update the counter.

Unfortunately the detection of whether something was draw or not
is based on some cairo surface hack that breaks when we render with
OpenGL instead. The fix is to just always update the counter if
we're drawing with OpenGL.
2019-08-23 23:18:32 +03:00
Carlos Garnacho
022d0044cc Merge branch 'fix-2070' into 'gtk-3-24'
Fixes incorrect crossing emulation of proximity events in Wayland

See merge request GNOME/gtk!1044
2019-08-21 22:23:10 +00:00
Марко Костић
a4cfe61106 Update Serbian translation 2019-08-21 19:48:44 +00:00
Christoph Reiter
a1c1c788c9 autotools: remove NEED_XIPROTO_H_FOR_XREPLY check
This was added with https://bugzilla.gnome.org/show_bug.cgi?id=148032
to make gtk compile against X11R5, see commit 3b9a31df0

That release is >20 years old now, so we can safely remove it.

The motivation for this is to remove any checks that we don't have in the
meson build.
2019-08-21 20:39:15 +02:00
Julius Lehmann
94960b828f Add slave device option for emulated crossing events under Wayland
This fixes an issue where stylus proximity in/out events emulate enter/leave events.
The emulated events didn't contain the correct slave device and therefore the
resulting device class was set incorrectly. Crossing event emulation now also
works with slave devices.

Closes #2070
Fixes #2070
Closes: https://gitlab.gnome.org/GNOME/gtk/issues/2070
2019-08-21 16:23:45 +02:00
Carlos Garnacho
6841c73808 gdk/wayland: Unset clipboard/primary if giving up selection ownership
If gdk_selection_owner_set() is called with a NULL window, we should unset
the related data source for the current selection.
2019-08-20 23:51:04 +02:00
Carlos Garnacho
f43f6900c9 gdk/wayland: Emit GDK_SELECTION_NOTIFY on all failure/unset paths
Either on failure, or when replacing a selection buffer due to a new
wl_offer. We should emit one event for each pending requestor then.
2019-08-20 23:51:04 +02:00
Jordi Mas
7101cfe468 Update Catalan translation 2019-08-16 13:37:27 +02:00
Asier Sarasua Garmendia
775e4a2da0 Update Basque translation 2019-08-16 08:03:31 +00:00
Asier Sarasua Garmendia
4862fa2e0f Update Basque translation 2019-08-16 07:56:27 +00:00
Benjamin Otte
c654573ba2 Merge branch 'headerbar-buttons-a11y' into 'gtk-3-24'
a11y: Include window management buttons in headerbar

See merge request GNOME/gtk!1054
2019-08-15 11:36:05 +00:00
Benjamin Otte
bc1c0584b7 a11y: Include window management buttons in headerbar 2019-08-15 13:09:07 +02:00
Daniel Șerbănescu
1e8d46352e Update Romanian translation 2019-08-14 09:07:20 +00:00
Daniel Șerbănescu
10603f9598 Update Romanian translation 2019-08-14 06:30:03 +00:00
Matthias Clasen
7913a6f0b6 Merge branch '948-patch-renaming-a-file-can-make-it-to-loose-selection_GTK3' into 'gtk-3-24'
filechooser: keep file selected after being renamed

See merge request GNOME/gtk!1052
2019-08-13 21:20:13 +00:00
Matthias Clasen
f04d654ae7 Merge branch 'wip/clamp-x11-on-resize-too' into 'gtk-3-24'
gdk/x11: Clamp window size both when creating and resizing

See merge request GNOME/gtk!1046
2019-08-13 21:08:32 +00:00
Jordi Mas
7e8c4f9c68 Update Catalan translation 2019-08-13 08:35:04 +02:00
Daniel Șerbănescu
f9acfa1bd8 Update Romanian translation 2019-08-13 04:37:04 +00:00
Nelson Benítez León
aff5c7ede6 filechooser: keep file selected after being renamed
Because otherwise when the file list is sorted "by name"
and the new name causes the file to be re-sorted to another
row, the selection stays in the old row which is now
occupied by a different file.

Fixed by keeping track of the renamed file and revealing
it in the "row-changed" signal handler, which gets emitted
after a file is renamed.

Fixes issue #948
2019-08-12 16:24:35 -04:00
Daniel Șerbănescu
9737c40982 Update Romanian translation 2019-08-12 06:52:57 +00:00
Daniel Șerbănescu
7415ef8749 Update Romanian translation 2019-08-11 21:29:35 +00:00
Daniel Șerbănescu
75938ceda8 Update Romanian translation 2019-08-10 07:23:28 +00:00
Carles Ferrando Garcia
b5f033306f Update Catalan translation 2019-08-09 16:01:36 +00:00
Aurimas Černius
46e3550823 Updated Lithuanian translation 2019-08-09 14:19:31 +03:00
Benjamin Otte
1f4fd2b532 Merge branch 'wip/gtk-icon-theme-no-svg-loader-gtk-3' into 'gtk-3-24'
gtk/icon-theme: Handle lack of SVG loader gracefully

See merge request GNOME/gtk!1050
2019-08-08 07:25:21 +00:00
Jonas Ådahl
77bc2dc87c gtk/icon-theme: Handle lack of SVG loader gracefully
When loading a SVG icon from a gresource file only containing SVG icons,
but without having a SVG loader available in gdk-pixbuf, we would crash
when trying to eventually load the resource. Fix this by gracefully
handling this by simply failing to load the icon, while the first time
it happens, log a warning.

https://gitlab.gnome.org/GNOME/gtk/issues/2084
2019-08-08 09:05:17 +02:00
Emmanuele Bassi
01d2ef6c66 Merge branch 'fix-deprecation-warning-in-menu' into 'gtk-3-24'
menu: Modernize code

See merge request GNOME/gtk!1048
2019-08-07 11:01:41 +00:00
Benjamin Otte
1d1059550c menu: Modernize code
No functional changes, just don't call valist functions anymore.
2019-08-07 13:32:49 +03:00
Simon McVittie
fbb3c146ea CI: Optionally run distcheck, but without actually running the tests
This can be used to verify that we can build a release tarball using
Autotools, without being subject to known-failing tests (which are less
straightforward to fix). Since commit 44a2d5d6 the Meson build skips
the failing a11y tests, but we don't have an equally easy mechanism
to skip those on Autotools.

Signed-off-by: Simon McVittie <smcv@debian.org>
2019-08-06 14:30:43 +01:00
Simon McVittie
e18e9a7064 CI: Enable X11 and Wayland backends for Autotools
Enabling one backend (Broadway, in commit 1882ff9b) implicitly disabled
all the others, which was probably not intentional. Bring the Autotools
build into line with Meson.

Signed-off-by: Simon McVittie <smcv@debian.org>
2019-08-06 14:29:13 +01:00
Tim Sabsch
0fe1432a6c Update German translation 2019-08-06 11:16:14 +00:00
Jonas Ådahl
9dd198e53f gdk/x11: Clamp window size both when creating and resizing
We clamp to 32767 when creating a new X11 GdkWindow due to larger sizes
not being supported, but still try to resize to larger when
gdk_window_resize() is called. Fix this by clamping in both places.

This fixes an issue in mutter where ridiculously sized Java windows
would not show up.
2019-08-06 11:13:55 +02:00