summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix build against pango mainbackports-for-4-4Matthias Clasen2021-09-024-0/+22
| | | | Handle (and ignore) new Pango attributes.
* media: Check for gstreamer verion instead of using cc.links()Xavier Claessens2021-09-021-11/+3
| | | | | This fix error when gstgl_dep comes from a subproject because in that case it cannot be used in compiler checks.
* editable: Clarify the docsMatthias Clasen2021-09-021-1/+5
| | | | | | Make it clear that your class must have all the editable properties already before you call the (confusingly named) function gtk_editable_install_properties.
* gdk: Make GDK_DEBUG=default-settings unconditionalMatthias Clasen2021-09-023-5/+5
| | | | | Our tests use this settings, so we should respect it in non-debug builds as well.
* compose: Update sequences from libX11 1.7.2Simon McVittie2021-09-024-3/+13
| | | | | | | | This adds support for sequences like <Compose>,G,u -> capital G with breve. Previously, only a capital U was accepted for E, G, I and O (but a lower-case u was accepted for A and U for some reason). Signed-off-by: Simon McVittie <smcv@debian.org>
* compose: Document how to get compose-parse input from libX11 sourceSimon McVittie2021-09-021-0/+1
| | | | Signed-off-by: Simon McVittie <smcv@debian.org>
* compose: Generate endian-dependent compact Compose dataSimon McVittie2021-09-025-9/+31
| | | | | | | | | | | | | | The GtkComposeTable cache is always in big-endian format and is byteswapped on load for the more common little-endian CPUs, but init_builtin_table() in GtkIMContextSimple can't byteswap the built-in data without copying it, which is undesirable. Pregenerate both big- and little-endian compose data, and compile the correct flavour into each build of GTK. This fixes failure of the composetable test when building for a big-endian architecture such as s390x and (traditional, big-endian) powerpc. Resolves: https://gitlab.gnome.org/GNOME/gtk/-/issues/4217 Signed-off-by: Simon McVittie <smcv@debian.org>
* stylecontext: Remove unneeded headersBenjamin Otte2021-09-021-16/+1
|
* fontbutton: Destroy dialog in unrealize()Benjamin Otte2021-09-021-3/+11
| | | | | | This way, we can be sure it's always using the right display. We can also be sure that it doesn't leak.
* fontbutton: Make sure the window is on the same displayBenjamin Otte2021-09-021-0/+1
| | | | | We don't want the font buttons created by the inspector to run on the default display.
* build: Check that introspection is enabled for docs buildBenjamin Otte2021-09-021-0/+4
|
* docs: Fix vfunc referencesBenjamin Otte2021-09-021-5/+5
| | | | | vfunc references should just use the object name, not the class/interface/iface name.
* ngl: Avoid a coordinate overflowMatthias Clasen2021-09-021-1/+4
| | | | | | | This was showing up as big text selections going missing sporadically. Fixes: #4214
* x11: Fix handling of `RRScreenChangeNotify`/`RRNotify` eventsIan Douglas Scott2021-09-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | It seems these are sent with `xwindow` set to the root window, so this was failing to find a surface and get the screen from that. I'm not sure if there's a reason not to get the screen this way elsewhere in the function, but it seems this should be correct. This fixes the behavior of `gdk_x11_display_get_monitors()`, which wasn't correctly changing when monitors were added or removed. For instance, this python code was always showing the same number of monitors when one was turned off and on, but updates correctly with this change applied: ```python import gi gi.require_version("GLib", "2.0") gi.require_version("Gdk", "4.0") gi.require_version("Gtk", "4.0") from gi.repository import GLib, Gdk, Gtk def f(): print(len(Gdk.Display.get_default().get_monitors())) return True GLib.timeout_add_seconds(1, f) GLib.MainLoop().run() ```
* window: Prefer menu bars when handling F10Florian Müllner2021-09-021-8/+6
| | | | | | Focusing the first widget in the titlebar is a good fallback, but a "real" menubar or :primary menu button should take precedence.
* textview: Apply font features from cssMatthias Clasen2021-09-023-60/+78
| | | | | | We were forgetting to propagate these values from CSS to the default attributes. Share the code for getting these values out of a GtkCssStyle.
* textview: Apply line decoration from cssMatthias Clasen2021-09-021-0/+83
| | | | | We were forgetting to propagate these values from CSS to the default attributes.
* textview: Don't forget to collect css letterspacingMatthias Clasen2021-09-021-0/+2
| | | | | | There are more properties missing, this is just the start. Fixes: #4207
* windowhandle: Quiet a compiler warningMatthias Clasen2021-09-021-1/+1
| | | | gesture was left uninitialized in the default case.
* Update Finnish translationJiri Grönroos2021-09-021-1061/+1109
|
* Updated Lithuanian translationAurimas Černius2021-09-022-3034/+2961
|
* Update Persian translationDanial Behzadi2021-09-011-32/+32
|
* Updated Spanish translationDaniel Mustieles2021-09-011-23/+6
|
* Update Kazakh translationBaurzhan Muftakhidinov2021-08-291-1908/+1878
|
* Update Kazakh translationBaurzhan Muftakhidinov2021-08-291-1039/+1097
|
* Update Brazilian Portuguese translationEnrico Nicoletto2021-08-281-2398/+503
|
* Update Brazilian Portuguese translationEnrico Nicoletto2021-08-281-3379/+532
|
* Update Indonesian translationAndika Triwidada2021-08-261-1/+1
|
* Update Indonesian translationAndika Triwidada2021-08-261-1907/+1875
|
* Update Portuguese translationHugo Carvalho2021-08-261-467/+518
|
* Update Portuguese translationHugo Carvalho2021-08-261-548/+562
|
* Update Indonesian translationAndika Triwidada2021-08-261-1919/+1040
|
* Updated Czech translationMarek Černocký2021-08-261-1/+1
|
* Updated Czech translationMarek Černocký2021-08-262-2792/+2849
|
* Update Catalan translationJordi Mas2021-08-261-1821/+1824
|
* Update Catalan translationJordi Mas2021-08-261-1023/+1113
|
* Merge branch '4195-backport-gtk-4-4' into 'gtk-4-4'Emmanuele Bassi2021-08-251-0/+2
|\ | | | | | | | | gdkmacoseventsource: Include "gdk-private.h" (Backport to gtk-4-4) See merge request GNOME/gtk!3884
| * gdkmacoseventsource: Include "gdk-private.h"Peter Bloomfield2021-08-251-0/+2
| | | | | | | | | | | | | | _gdk_macos_event_source_new() calls g_source_set_static_name(), which for GLib versions before 2.69.1 is a macro defined in gdk-private.h. Fixes #4195
* | Updated Spanish translationDaniel Mustieles2021-08-251-1762/+1808
| |
* | Updated Spanish translationDaniel Mustieles2021-08-251-1057/+1159
|/
* Update Galician translationFran Dieguez2021-08-251-1760/+1819
|
* Update Galician translationFran Dieguez2021-08-251-1016/+1112
|
* Update Ukrainian translationYuri Chornoivan2021-08-241-194/+252
|
* Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2021-08-224-0/+15
|\ | | | | | | | | Handle new pango attribute type See merge request GNOME/gtk!3866
| * Handle new pango attribute typeMatthias Clasen2021-08-224-0/+15
|/ | | | | | | Update all the places where we switch over PangoAttrType to handle PANGO_ATTR_TEXT_TRANSFORM, and do nothing for now - text-transform support will land in 4.6.
* 4.4.04.4.0Matthias Clasen2021-08-202-2/+2
|
* Fix imcontext testsMatthias Clasen2021-08-201-0/+2
| | | | | We should force our internal im context for these tests, so we don't depend on the environment.
* Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2021-08-201-0/+2
|\ | | | | | | | | NEWS: Updates See merge request GNOME/gtk!3861
| * NEWS: UpdatesMatthias Clasen2021-08-201-0/+2
|/
* Merge branch 'cut-shortcut-activation-short' into 'master'Matthias Clasen2021-08-201-1/+8
|\ | | | | | | | | | | | | shortcutcontroller: Only do round-robin for mnemonics Closes #4130 See merge request GNOME/gtk!3824