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
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
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
Christoph Reiter
81ef7eb30b
Revert "CI: Disable building man pages in MSYS2 to work around docbook.xsl breakage"
...
This reverts commit 09ec272d47
.
This got fixed in MSYS2
2020-02-19 07:40:48 +01:00
Jakub Steiner
0ae09a2d44
Merge branch 'wip/fmuellner/circular-osd-buttons' into 'gtk-3-24'
...
Adwaita: Leave .circular .osd buttons alone!
See merge request GNOME/gtk!1448
2020-02-18 21:34:17 +00:00
Florian Müllner
dc6ba8d688
Adwaita: Leave .circular .osd buttons alone!
...
.osd suggests a particular color/background/hover style, while .circular
only suggests roundness. So for buttons that use both classes, make sure
the former takes precedence with regard to background/hover.
2020-02-18 20:37:53 +01:00
Emmanuele Bassi
369fd7734b
Merge branch 'infobar-content-area-type' into 'gtk-3-24'
...
[3.24] GtkInfoBar/GtkDialog: Add `type Gtk.XXX` annotations for headerbar/action_area/content_area getters
See merge request GNOME/gtk!1446
2020-02-18 10:57:48 +00:00
Sebastian Dröge
d9fc2bffdd
GtkDialog: Add type Gtk.XXX
annotations for return values of action_area/headerbar getters
2020-02-18 10:51:20 +02:00
Sebastian Dröge
1f96d57a0f
GtkInfoBar: Add type Gtk.Box
annotation for action_area/content_area getters
2020-02-18 10:45:34 +02:00
Matthias Clasen
fab213a5f9
3.24.14
2020-02-17 12:30:04 -05:00
Ignacio Casal Quinteiro
63b061684d
Merge branch 'gtk-3-24-fix-runtime-assertions' into 'gtk-3-24'
...
Prevent Quartz/CoreGraphics runtime assertion failures. (GTK 3)
See merge request GNOME/gtk!1442
2020-02-17 15:49:42 +00:00
David Hogan
a1720b97a4
Prevent Quartz/CoreGraphics runtime assertion failures.
...
gdk_window_impl_quartz_release_context () can be called with a NULL CGContextRef. This causes CoreGraphics assertion failures when debugging a Gtk application in Xcode, as the code was blindly passing that NULL to CGContextRestoreGState () and CGContextSetAllowsAntialiasing (). Given that the matching pair of CGContextSaveGState () and CGContextSetAllowsAntialiasing () calls are already checking for a NULL CGContextRef, it seems reasonable to wrap these calls in a NULL check.
2020-02-17 10:02:50 +11:00
Asier Sarasua Garmendia
1c4d5fbe20
Update Basque translation
2020-02-16 20:03:14 +00:00
Claude Paroz
878be85d0c
Update French translation
2020-02-16 19:59:25 +00:00