summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* gdkdisplay-win32.c: Don't retry WGL initializationfix-win32-shader-checkChun-wei Fan2021-09-171-7/+9
| | | | | | | | | | | | On Windows, GLES is not that widely available unless one installs wrapper libraries such as libANGLE, so GLES/EGL support on Windows is used more like a fallback mode if Desktop OpenGL (WGL) support is inadequate on the system. Hence, unless one forces WGL or EGL, we will first try to initialize WGL, and then try to initialize GLES if enabled and if WGL initialization failed, and then just return whatever the last result we can obtain from these initialization attempts, since unlike X11 EGL contexts, we do not have separate modes for WGL except for legacy and non-legacy contexts.
* gdkglcontext-win32-wgl.c: Fix Cairo fallback checkChun-wei Fan2021-09-171-1/+2
| | | | | | | | | | We were setting the WGL pixel format in GdkWin32Display too early, so the code does not bail out correctly when we retry establishing the WGL context. Fix this by pushing back setting the WGL pixel format only after it passes the shader availability check. Should fix issue #4257.
* Update Chinese (China) translationBoyuan Yang2021-09-151-1237/+1981
|
* Update Chinese (China) translationDz Chen2021-09-151-3617/+3024
|
* Updated Spanish translationDaniel Mustieles2021-09-151-2/+2
|
* Updated Spanish translationDaniel Mustieles2021-09-151-19/+19
|
* Updated Danish translation of gtk-propertiesAlan Mortensen2021-09-131-7796/+7834
|
* Updated Danish translationAlan Mortensen2021-09-131-8009/+8100
|
* Update German translationPhilipp Kiemle2021-09-121-1754/+1809
|
* Update German translationPhilipp Kiemle2021-09-121-1066/+1151
|
* Update Hungarian translationBalázs Meskó2021-09-121-681/+680
|
* Update Hungarian translationBalázs Meskó2021-09-111-1517/+818
|
* Update French translationGuillaume Bernard2021-09-111-1018/+1096
|
* Update French translationGuillaume Bernard2021-09-111-1742/+1777
|
* Update Croatian translationGoran Vidović2021-09-101-2/+2
|
* Update Croatian translationGoran Vidović2021-09-101-1909/+1960
|
* Update Croatian translationGoran Vidović2021-09-101-3584/+3935
|
* Update Turkish translationEmin Tufan Çetin2021-09-101-277/+314
|
* Update Slovenian translationMatej Urbančič2021-09-071-1230/+1991
|
* Update Slovenian translationMatej Urbančič2021-09-071-2889/+2369
|
* Update Persian translationDanial Behzadi2021-09-061-4646/+5535
|
* Update Romanian translationDaniel Șerbănescu2021-09-051-537/+549
|
* Update Romanian translationDaniel Șerbănescu2021-09-051-464/+510
|
* Update Swedish translationAnders Jonsson2021-09-051-539/+585
|
* Update Basque translationAsier Sarasua Garmendia2021-09-041-1046/+1133
|
* Update Basque translationAsier Sarasua Garmendia2021-09-041-1756/+1787
|
* Update Korean translationChangwoo Ryu2021-09-041-1734/+1740
|
* Update Korean translationChangwoo Ryu2021-09-041-3195/+3925
|
* Update Swedish translationAnders Jonsson2021-09-031-1746/+1778
|
* Merge branch 'backports-for-4-4' into 'gtk-4-4'Matthias Clasen2021-09-0327-123/+275
|\ | | | | | | | | windowhandle: Quiet a compiler warning See merge request GNOME/gtk!3915
| * Fix build against pango mainMatthias 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/+77
| | | | | | | | | | | | 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
|