Emmanuele Bassi
e77139c6bb
Merge branch 'wip/carlosg/fix-surrounding-text' into 'gtk-3-24'
...
imwayland: Fix typo in code
See merge request GNOME/gtk!1533
2020-03-18 16:30:16 +00:00
Carlos Garnacho
965a85a0d3
imwayland: Fix typo in code
...
To find the middle of the string, we should check both cursor/anchor.
This is actually a backport of commit 8fc360dac5
in master.
Closes: https://gitlab.gnome.org/GNOME/gtk/issues/2522
2020-03-18 16:59:58 +01:00
Jakub Steiner
5be08a4d09
Adwaita: dark switches/check/radios
...
- unescape variables (gtk3 didn't raise warnings like gtk4, but it was broken)
2020-03-18 13:07:05 +01:00
Jakub Steiner
71bdf20cff
Adwaita: dark switches/check/radios
...
- lighten up radios, switches and checkboxes
Fixes https://gitlab.gnome.org/GNOME/gtk/issues/2461
2020-03-17 11:19:50 +01:00
Emmanuele Bassi
d2931309a5
Merge branch 'respect-text-len' into 'gtk-3-24'
...
imwayland: Honour len argument in gtk_im_context_wayland_set_surrounding
See merge request GNOME/gtk!1528
2020-03-16 16:10:00 +00:00
Robert Mader
3c28751dee
imwayland: Honour len argument in gtk_im_context_wayland_set_surrounding
...
Clients may pass not `NULL`-terminated strings as the function takes a
`len` argument. Use that argument.
2020-03-16 16:36:30 +01:00
Matthias Clasen
88e71646de
Merge branch 'tnum-gtk-3-doc' into 'gtk-3-24'
...
document font-feature-settings CSS property
See merge request GNOME/gtk!1483
2020-03-14 00:28:19 +00:00
Matthias Clasen
8b5c8a2d06
Merge branch 'ci-gtk3-update' into 'gtk-3-24'
...
Update the CI pipeline for GTK3
See merge request GNOME/gtk!1508
2020-03-13 18:44:18 +00:00
Matthias Clasen
41330b6c03
testsuite: Handle icontheme test better
...
Skip just the failing tests in release builds.
2020-03-13 16:31:33 +00:00
Emmanuele Bassi
aac214f1b0
testsuite/gtk: Add xfail tests
...
Some tests are expected to fail.
Some tests are expected to fail in non-debugging builds.
The icontheme test is the latter.
2020-03-13 16:30:06 +00:00
Emmanuele Bassi
b4808c187f
Silence a compiler warning
...
GCC complains with boxed out arguments that may be unset.
2020-03-13 16:05:13 +00:00
Emmanuele Bassi
db1be15699
Silence compiler warnings in release builds
...
Declare debug-only variables inside a G_ENABLE_DEBUG conditional block.
2020-03-13 16:03:08 +00:00
Emmanuele Bassi
1b255dd812
Handle a missing enumeration value
2020-03-13 15:59:46 +00:00
Emmanuele Bassi
c08908b488
Fix build when G_ENABLE_DEBUG is undefined
2020-03-13 15:51:57 +00:00
Emmanuele Bassi
7c23119e8f
Use ifdef when checking G_ENABLE_DEBUG
...
Don't use `if`, as we don't unconditionally define the symbol.
2020-03-13 15:51:57 +00:00
Emmanuele Bassi
7687f9a06f
docs: Remove redundant gtk-doc stanza
2020-03-13 15:51:57 +00:00
Emmanuele Bassi
f699a299ad
ci: Build API reference separately
...
We don't want to spend a lot of time on it just to check the build.
2020-03-13 15:51:57 +00:00
Emmanuele Bassi
b68dde91b8
ci: Add a Debian build
...
We want to test the build on multiple Linux distributions.
2020-03-13 15:51:57 +00:00
Emmanuele Bassi
e5be27f756
ci: Add a Debian-based image
...
We want to test GTK3 on Debian as well.
2020-03-13 15:51:57 +00:00
Emmanuele Bassi
8685538419
ci: Backport the changes to the Docker script
...
Use the copy from master, which has been fixed to work with Podman.
2020-03-13 15:51:57 +00:00
Emmanuele Bassi
14dba9545e
ci: Build both static and shared libraries at once
...
There's no need to have two separate CI jobs: Meson can build both
libraries at the same time.
2020-03-13 15:51:57 +00:00
Matthias Clasen
603c3ba533
Merge branch 'gtk-3-24' into 'gtk-3-24'
...
Fix for issue #2497 , see https://gitlab.gnome.org/GNOME/gtk/issues/2497
See merge request GNOME/gtk!1509
2020-03-13 13:54:28 +00:00
Mantas Kriaučiūnas
5c2ab46184
Update Lithuanian translation
2020-03-13 13:19:53 +00:00
Matthias Clasen
bf315637e4
Merge branch 'fix-issue-2503' into 'gtk-3-24'
...
Fix spelling of AppKit framework in `gdkquartz-gtk-only.h`
See merge request GNOME/gtk!1513
2020-03-11 15:34:57 +00:00
Daniel Korostil
1d5b4a80b3
Update Ukrainian translation
2020-03-10 22:05:00 +00:00
Daniel Korostil
6cf91b5bc0
Update Ukrainian translation
2020-03-10 22:02:19 +00:00
Torsten Maehne
245ea77da6
Fix spelling of AppKit framework in gdkquartz-gtk-only.h
...
gtk+-3.24.14 with quartz backend fails to compile on macOS when using
a case-sensitive file system. The cause for the compilation error is a
simple typo in line 26 of `gdk/quartz/gdkquartz-gtk-only.h`. The
AppKit framework is included there with `<Appkit/Appkit.h>` instead of
`<AppKit/AppKit.h>`, which is fixed with this commit.
References: https://trac.macports.org/ticket/60168
Fixes: https://gitlab.gnome.org/GNOME/gtk/issues/2503
2020-03-10 19:21:23 +01:00
Kjartan Maraas
6de41e9383
Update Norwegian Bokmål translation
2020-03-09 14:26:55 +00:00
sicklylife
d413bbc5f5
Update Japanese translation
2020-03-09 12:47:59 +00:00
Eivind Naess
2c85be990d
Fix for issue #2497 , see https://gitlab.gnome.org/GNOME/gtk/issues/2497
...
The 'selection-changed' signal is emitted unconditionally, even in the case
when there is no selection to be cleared. As a result, the subscriber receives
the initial signal and if he calls gtk_file_chooser_get_uri(), no value is
currently selected.
2020-03-08 18:54:10 -07:00
Tim Sabsch
d1c6766ae1
Update German translation
2020-03-07 17:35:44 +00:00
Tim Sabsch
c7b91bc7ae
Update German translation
2020-03-07 17:31:52 +00:00
sicklylife
494bc00687
Update Japanese translation
2020-03-03 12:10:47 +00:00
sicklylife
58c36527d0
Update Japanese translation
2020-03-03 12:04:55 +00:00
Lukas K
82b9be3297
theme: use tabular figures where appropriate
...
Set font-feature-settings: "tnum" on spinbuttons, progress bars and
scales
fixes #1478
2020-02-29 14:33:49 +01:00
Matthias Clasen
4c027d458b
Merge branch 'wip/hadess/fix-remote-filechooser' into 'gtk-3-24'
...
Fix crasher/warnings when browsing remote filesystems
See merge request GNOME/gtk!1489
2020-02-28 16:17:41 +00:00
Bastien Nocera
53b0c5fd88
filechooser: Fallback if content-type unavailable
...
Fallback to fast-content-type if the content-type attribute isn't
available, as is the case for most remote filesystems.
Closes : #2482
2020-02-28 16:59:19 +01:00
Bastien Nocera
22b0400f5e
filechooser: Fix crash when file has no content-type
...
This might happen for slow filesystems where a fast-content-type might
be provided instead. Don't try to manipulate that content_type if it's
NULL, otherwise we'll either throw warnings (at best) or crash (at
worse).
2020-02-28 16:56:29 +01:00
Nathan Follens
3165c3c257
Update Dutch translation
2020-02-27 11:08:52 +00:00
Danial Behzadi
78dca145f8
Update Persian translation
2020-02-26 22:59:11 +00:00
Danial Behzadi
cca54a0d93
Update Persian translation
2020-02-26 22:20:17 +00:00
Lukas K
e618a49d71
document font-feature-settings CSS property
...
introduced in 2e2b6478
2020-02-26 21:51:31 +01:00
Matthias Clasen
0c51c66bea
Merge branch 'tnum-gtk-3' into 'gtk-3-24'
...
css: add support for font-feature-settings
See merge request GNOME/gtk!1478
2020-02-26 02:03:31 +00:00
Lukas K
2e2b647833
css: add support for font-feature-settings
2020-02-25 22:54:00 +01:00
Matthias Clasen
f2d369732b
Merge branch '138-gtk3-install-valgrind-suppressions' into 'gtk-3-24'
...
Add Valgrind suppressions files
See merge request GNOME/gtk!1468
2020-02-24 00:07:29 +00:00
Philip Chimento
b47ddb09ad
Add Valgrind suppressions files
...
This copies the suppressions files from the master branch.
See: #138
2020-02-23 15:39:12 -08:00
Changwoo Ryu
4601e0e7ec
Update Korean translation
2020-02-22 10:47:35 +00:00
Matthias Clasen
429a6287e0
Merge branch 'wip/carlosg/selection-null-checks' into 'gtk-3-24'
...
Protect against NULL selection data from clients
See merge request GNOME/gtk!1452
2020-02-20 13:58:12 +00:00
Carlos Garnacho
a097ca0906
gdk/wayland: Harden against NULL selection content
...
If NULL is returned, probably the client shouldn't advertise the
mimetype. Make it sure we forget entirely about the attempt to
cache this mimetype, as it'll be mistaken as pending otherwise.
Dropping this cached selection will in consequence close the fd
of all pending readers, which seems appropriate for NULL content.
https://gitlab.gnome.org/GNOME/gtk/issues/2456
2020-02-20 14:09:00 +01:00
Carlos Garnacho
6893118510
gdk/wayland: Avoid invalid memory access on cancellation
...
The only way to have G_IO_ERROR_CANCELLED in the write callback
goes through having the array of pending writers already cleared.
It should not access the invalid AsyncWriteData and StoredSelection
in that case.
2020-02-20 14:09:00 +01:00