summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* x11: Don't beep on untrusted displaysuntrusted-beep-3Matthias Clasen2021-04-202-0/+6
| | | | | | | This can trigger BadAccess, and we don't want that. Fixes: #3862
* Merge branch 'fix-non-overlay-scrollbars-3' into 'gtk-3-24'Matthias Clasen2021-04-192-8/+26
|\ | | | | | | | | scrolledwindow: Always add other scrollbar size... See merge request GNOME/gtk!3456
| * scrolledwindow: Always add other scrollbar size...Timm Bäder2021-04-192-8/+26
|/ | | | | | | ... if we're not using indicators and the policy may be visible. Not doing this if the policy may be invisible is incorrect as we need to reserve the space anyway in case the scrolledwindow is allocated at minimum size and the child size increases to show the scrollbar.
* Merge branch 'cocoa-access-header' into 'gtk-3-24'Matthias Clasen2021-04-1711-13/+50
|\ | | | | | | | | Add a public header for Cocoa access functions. See merge request GNOME/gtk!3450
| * Add a public header for Cocoa access functions.John Ralls2021-04-1611-13/+50
|/ | | | | | | | | | | Some applications need to access gdk_quartz_window_get_nsview, gdk_quartz_window_get_nswindow, and gdk_quartz_event_get_nsevent so move these from the private gdkquartz-gtk-only.h to a new header gdkquartz-cocoa-access.h. Don't include this header in gdkquartz.h so that user code that doesn't need to access these functins isn't required to compile with Objective C/C++. Closes https://gitlab.gnome.org/GNOME/gtk/-/issues/1737
* Merge branch 'fix_elcapitan_support' into 'gtk-3-24'Matthias Clasen2021-04-162-2/+2
|\ | | | | | | | | Fix building on OS X El Capitan 10.11 See merge request GNOME/gtk!3402
| * Fix building on OS X El Capitan 10.11René de Hesselle2021-04-052-2/+2
| | | | | | | | | | | | | | | | The preprocessor directives for proper OS version support are missing their last digit, rendering the checks defunct. Improves on https://gitlab.gnome.org/GNOME/gtk/-/issues/3592 but does not fully fix as other issues have surfaced down the line.
* | Merge branch 'cups-local-printer-2.2-only' into 'gtk-3-24'Matthias Clasen2021-04-161-1/+12
|\ \ | | | | | | | | | | | | Don't try to create local cups printers before CUPS 2.2 See merge request GNOME/gtk!3448
| * | Don't try to create local cups printers before CUPS 2.2John Ralls2021-04-161-1/+12
|/ / | | | | | | Not supported on earlier versions.
* | overlay: Clarify pass-through docsMatthias Clasen2021-04-161-0/+5
| | | | | | | | | | | | | | Explain that widgets with their own windows need to have gdk_window_set_pass_through called on them. Fixes: #3861
* | Merge branch 'latest.glib.msvc-3' into 'gtk-3-24'Matthias Clasen2021-04-162-38/+38
|\ \ | | | | | | | | | | | | GTK-3.x: Fix builds against latest stable GLib with Visual Studio See merge request GNOME/gtk!3445
| * | gtkcsscustomgadget.c: Fix build with latest stable GLib with MSVClatest.glib.msvc-3Chun-wei Fan2021-04-161-9/+9
| | | | | | | | | | | | | | | This eliminates the C4098 warnings ('void' function returning a value), which is considered by GLib-2.68.x or later to be an error.
| * | gdkglcontext-win32.c: Avoid C4715 warningChun-wei Fan2021-04-161-29/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | We can just group the code for the desktop GL codepath and the EGL codepath a bit so that we can just have a single location where we return TRUE upon a successful setup of our WGL/EGL context, and avoid the C4715 warning that is considered an error when building with GLib-2.68.x or later using Visual Studio, when we are building without EGL support.
* | | Merge branch 'pre.c99' into 'gtk-3-24'Matthias Clasen2021-04-162-3/+4
|\ \ \ | |/ / |/| | | | | | | | gtkimcontextsimple.c, updateiconcache.c: Fix build on older compilers See merge request GNOME/gtk!3444
| * | gtkimcontextsimple.c: Declare variables at top-of-blockpre.c99Chun-wei Fan2021-04-161-1/+3
| | | | | | | | | | | | This way, things will continue to build on older compilers
| * | update-icon-cache.c: Declare variables at top-of-blockChun-wei Fan2021-04-161-2/+1
|/ / | | | | | | This way, things will continue to build on older compilers
* | Merge branch 'im-context-event-leak-3' into 'gtk-3-24'Matthias Clasen2021-04-151-7/+22
|\ \ | | | | | | | | | | | | imcontext: Eat key events during preedit See merge request GNOME/gtk!3442
| * | imcontext: Eat key events during preeditMatthias Clasen2021-04-151-7/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid passing through random key press or release events while we are showing preedit. That prevents 'accidents' like typing Ctrl-. bringing up the Emoji chooser during preedit, or hitting Ctrl-a after the Compose key moving the 'dot' around in vim in terminals.
* | | Merge branch 'demo-manpages-3.24' into 'gtk-3-24'Matthias Clasen2021-04-151-4/+9
|\ \ \ | |/ / |/| | | | | | | | [3.24] meson: only build demo manpages when demos are enabled See merge request GNOME/gtk!3439
| * | meson: only build demo manpages when demos are enabledEli Schwartz2021-04-131-4/+9
| | | | | | | | | | | | | | | Installing them even when manpages are enabled, but the demos are disabled, produces manpages for unavailable programs...
* | | Merge branch 'x11-quiet-exit-3' into 'gtk-3-24'Matthias Clasen2021-04-141-17/+6
|\ \ \ | |/ / |/| | | | | | | | x11: Be quiet on exit by default See merge request GNOME/gtk!3437
| * | x11: Be quiet on exit by defaultx11-quiet-exit-3Matthias Clasen2021-04-131-17/+6
|/ / | | | | | | | | | | | | The condition we check for to catch X servers going away may not be accurate anymore, and the warning shows up in logs, causing customers to be concerned. So, be quiet by default, unless the user explicitly asked for a message.
* | Merge branch 'fontchooser-since-fix' into 'gtk-3-24'Matthias Clasen2021-04-121-3/+3
|\ \ | | | | | | | | | | | | fontchooser: Fix some since annotations See merge request GNOME/gtk!3428
| * | fontchooser: Fix some since annotationsMatthias Clasen2021-04-111-3/+3
|/ / | | | | | | | | | | | | The "level", "font-features" and "language" were annotated with the wrong version. Fixes: #1830
* | Merge branch 'ebassi/hvbox-docs' into 'gtk-3-24'Matthias Clasen2021-04-112-8/+4
|\ \ | | | | | | | | | | | | docs: Remove any reference to GtkGrid in Gtk[HV]Box See merge request GNOME/gtk!3422
| * | docs: Remove any reference to GtkGrid in Gtk[HV]Boxebassi/hvbox-docsEmmanuele Bassi2021-04-102-8/+4
| | | | | | | | | | | | | | | | | | | | | | | | GtkBox is not going away, so there's not point in making things more confusing for those who are still porting their code from GTK2 to GTK3 10 years after GTK 3.0 was released. Fixes: #3854
* | | Merge branch 'fix-scale-critical' into 'gtk-3-24'Matthias Clasen2021-04-111-7/+10
|\ \ \ | |/ / |/| | | | | | | | scale: Fix sporadic criticals See merge request GNOME/gtk!3421
| * | scale: Fix sporadic criticalsfix-scale-criticalMatthias Clasen2021-04-101-7/+10
|/ / | | | | | | | | | | | | gtk_css_node_update_layout_attributes can cause us to free priv->layout, and then bad things happen. Therefore, we must call that function on a new layout *before* setting priv->layout.
* | Merge branch 'ceo_of_programming-gtk-3-24-patch-54089' into 'gtk-3-24'Matthias Clasen2021-04-101-1/+1
|\ \ | | | | | | | | | | | | Fix typo on gtklistbox.c's docs See merge request GNOME/gtk!3418
| * | Update gtklistbox.cCEO of Programming2021-04-101-1/+1
|/ /
* | Update Nepali translationPawan Chitrakar2021-04-091-1963/+1937
| |
* | Update Nepali translationPawan Chitrakar2021-04-091-1727/+3159
| |
* | Merge branch 'font-settings-fallback' into 'gtk-3-24'Matthias Clasen2021-04-071-0/+8
|\ \ | | | | | | | | | | | | wayland: Improve font setting fallback more See merge request GNOME/gtk!3409
| * | wayland: Improve font setting fallback moreMatthias Clasen2021-04-071-0/+8
|/ / | | | | | | | | | | | | | | We may get a response from the portal that contains no useful settings at all. In that case, we should fallback as well. Fixes: #3838
* | Merge branch 'font-settings-fallback' into 'gtk-3-24'Matthias Clasen2021-04-071-6/+6
|\ \ | |/ |/| | | | | wayland: Improve font setting fallback See merge request GNOME/gtk!3406
| * wayland: Improve font setting fallbackMatthias Clasen2021-04-071-6/+6
|/ | | | | | | When we don't get stettings from the portal, the current fallback is 'awful fonts'. There is no need for that. Instead, set the fallback values to grayscale antialiasing with slight hinting.
* Update Chinese (Taiwan) translationChao-Hsiung Liao2021-04-041-635/+1277
|
* Update Dutch translationNathan Follens2021-04-021-253/+369
|
* Merge branch 'us-intl-compose-for-3' into 'gtk-3-24'Matthias Clasen2021-04-013-48/+43
|\ | | | | | | | | Revert Compose sequence changes See merge request GNOME/gtk!3387
| * Revert Compose sequence changesMatthias Clasen2021-04-013-48/+43
|/ | | | | | | | | | | This was breaking muscle memory of people with the us intl keyboard layout, for important keys such as '. The unfortunate side-effect is that our handling of <dead_acute> is a bit hampered by sequences that don't fit the pattern. But such is life. Fixes: #3807
* Merge branch 'wip/exalm/overshoot-changes-gtk3' into 'gtk-3-24'Carlos Garnacho2021-04-013-0/+79
|\ | | | | | | | | scrolledwindow: Cancel overshoot on dimension changes See merge request GNOME/gtk!3333
| * scrolledwindow: Cancel overshoot on dimension changesAlexander Mikhaylenko2021-04-013-0/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | If we scroll down in a list that's still being filled, we hit the edge and initiate overshoot, and then the adjustment's upper value increases. This leads to an unwanted bounce back. Additionally, if in a similar situation the upper value decreases, the overscroll glow gets stuck. Update kinetic scrolling upper and lower value on changes, and immediately cancel it if dimensions on that side change. Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3752
* | Merge branch 'issue3791' into 'gtk-3-24'Jonas Ådahl2021-03-301-17/+13
|\ \ | | | | | | | | | | | | gdk/wayland: Defer processing of globals closures See merge request GNOME/gtk!3357
| * | gdk/wayland: Defer processing of globals closuresRobert Mader2021-03-301-17/+13
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... until all globals have been received. The dependency tracking introduced in 4e9be39518 only allows to specify required globals and processes the closures as soon as the requirements have been met. There are, however, also optional dependencies - most notably the primary_selection protocol. Currently we rely on the fact that compositors like Mutter announce it before `wl_seat`, even though the order is not specified in the spec. Process globals closures only after all globals have been announced, so optional dependencies can be accommodated. Closes https://gitlab.gnome.org/GNOME/gtk/-/issues/3791
* | Merge branch 'spinbutton-localized-digits-3' into 'gtk-3-24'Matthias Clasen2021-03-301-4/+33
|\ \ | | | | | | | | | | | | spinbutton: Interpret localized digits See merge request GNOME/gtk!3369
| * | spinbutton: Interpret localized digitsMatthias Clasen2021-03-291-4/+33
| | | | | | | | | | | | | | | | | | Interpret input where the characters have numeric values. See #3387
* | | Merge branch 'fix-large-text-3' into 'gtk-3-24'Matthias Clasen2021-03-301-0/+6
|\ \ \ | |/ / |/| | | | | | | | label: Fix reacting to screen resolution changes See merge request GNOME/gtk!3368
| * | label: Fix reacting to screen resolution changesMatthias Clasen2021-03-291-0/+6
|/ / | | | | | | | | Labels were not reacting when the screen resolution changes, as e.g. when turning "Large Text" on of off.
* | imcontext: Look for Compose file in the right placeMatthias Clasen2021-03-291-1/+1
| | | | | | | | | | | | | | The documentation states that GTK will load a Compose file from ~/.config/gtk-3.0/Compose. Unfortunately, backports changed this unintentionally to look in the gtk-4.0 directory. Change it back.
* | Update Swedish translationAnders Jonsson2021-03-271-61/+62
| |