Commits on Source (86)
-
Cédric Krier authored
Closes #2345
238bb382 -
because filesystem readdir order is indeterministic. Without this patch, building openSUSE's balsa package had variations between builds in /usr/share/balsa/icon-theme.cache (cherry picked from commit b364827a ) Signed-off-by:
Emmanuele Bassi <ebassi@gnome.org>
85076827 -
Matthias Clasen authored
Reproducible icon cache See merge request !3293
5edac966 -
Matthias Clasen authored
We were always setting group to 0, causing accelerator interpretation to always go off the first configured layout, not the active one. Fixes: #1825
1ce5494f -
Matthias Clasen authored
wayland: Pass layout information in key events See merge request !3302
f1f5cbd8 -
5b0a1441
-
Matthias Clasen authored
For sequences like `x, where we don't have a compose sequence, we still want to commit "`x", and not silently eat the keys.
c26525f8 -
Matthias Clasen authored
For sequences like ``, we want to commit the first deadkey and then continue preedit with the second. The alternative is to do chained deadkeys, where entering ~~a yields ̃̀̃̃a. But we don't do that, and I think that would be more controversial.
a0cdd25b -
Matthias Clasen authored
Make this script parse gtk-compose-remove.txt for sequences to remove from the xorg Compose file. This will be used for removing some deadkey combinations that we can handle better in code. Also, make this script explicitly python2. I tried porting it to python3, but gave up in the end.
7b3c387a -
Matthias Clasen authored
This reduces the clutter in gtk/.
41c3e987 -
Matthias Clasen authored
Update our compose sequences based on the current update xorg Compose.pre file. Beyond that, remove some deadkey sequences that we are now handling (better) in code.
59397005 -
Matthias Clasen authored
Better dead keys 3 See merge request !3330
0f5ae954 -
Olivier Fourdan authored
The DnD code for X11 adds the composite overlay window (aka COW) to the cache. Yet the X11 requests to get and release the COW may trigger XErrors that we ought to ignore otherwise the client will abort. Fixes: #3715
39db7847 -
Matthias Clasen authored
[gtk3] x11/dnd: Ignore XErrors from the COW See merge request !3335
c22d4a66 -
Daniel van Vugt authored
Although the surface already has the device scale set, that doesn't apply to the offset which is in raw device units. So we need to scale the device offset explicitly. Fixes: https://gitlab.com/rastersoft/desktop-icons-ng/-/issues/119
86da4e0c -
Matthias Clasen authored
cssshadowvalue: Apply device scale to the offset when blurring text See merge request !3343
da7a511a -
Matthias Clasen authored
Only check for combinations of up to 2 dead keys with a base character. We don't want to spend ages generating all permutations of long sequences.
58b3145c -
Matthias Clasen authored
Reshuffle things to allow for a limited amount of dead key 'chaining'. We keep up to 2 dead keys in the preedit, so you can type <dead_acute> <dead_cedilla> <c> to produce ḉ, while still getting ```c with <dead_grave> <dead_grave> <dead_grave> <c>.
8c784673 -
Matthias Clasen authored
Double dead keys 3 See merge request !3354
4c794417 -
Matthias Clasen authored3c6d9698
-
Matthias Clasen authored23db3508
-
Matthias Clasen authored
GDK quartz: Keep window without decoration miniaturizable See merge request !3281
71c64e65 -
d8fb8db3
-
Matthias Clasen authored
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.
ba8c1801 -
Matthias Clasen authored
Labels were not reacting when the screen resolution changes, as e.g. when turning "Large Text" on of off.
316aa85b -
Matthias Clasen authored
label: Fix reacting to screen resolution changes See merge request GNOME/gtk!3368
162243c7 -
Matthias Clasen authored
Interpret input where the characters have numeric values. See #3387
fa69e5f4 -
Matthias Clasen authored
spinbutton: Interpret localized digits See merge request GNOME/gtk!3369
9a2382be -
Robert Mader authored
... until all globals have been received. The dependency tracking introduced in 4e9be395 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
86ef0e60 -
Jonas Ådahl authored
gdk/wayland: Defer processing of globals closures See merge request !3357
4ac8889d -
Alice Mikhaylenko authored
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
27d38eca -
Carlos Garnacho authored
scrolledwindow: Cancel overshoot on dimension changes See merge request !3333
0ec077bc -
Matthias Clasen authored
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
ed9b3f50 -
Matthias Clasen authored
Revert Compose sequence changes See merge request !3387
6a60ce7c -
98bf543a
-
d03bf414
-
René de Hesselle authored
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.
8627a9a5 -
Matthias Clasen authored
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.
a3ff6e27 -
Matthias Clasen authored
wayland: Improve font setting fallback See merge request !3406
c3280c6b -
Matthias Clasen authored
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
dfea8c31 -
Matthias Clasen authored
wayland: Improve font setting fallback more See merge request !3409
550b7fe8 -
b7cb2818
-
8b74d5f9
-
CEO of Programming authored475a4c82
-
Matthias Clasen authored
Fix typo on gtklistbox.c's docs See merge request !3418
3cfd1e1f -
Matthias Clasen authored
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.
eaabc372 -
Emmanuele Bassi authored
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
3377dc7d -
Matthias Clasen authored
scale: Fix sporadic criticals See merge request !3421
728d6cd5 -
Matthias Clasen authored
docs: Remove any reference to GtkGrid in Gtk[HV]Box See merge request !3422
5b13ae1b -
Matthias Clasen authored
The "level", "font-features" and "language" were annotated with the wrong version. Fixes: #1830
3fb5890e -
Matthias Clasen authored
fontchooser: Fix some since annotations See merge request !3428
222c6c66 -
Matthias Clasen authored
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.
c3503fcc -
Eli Schwartz authored
Installing them even when manpages are enabled, but the demos are disabled, produces manpages for unavailable programs...
-
Matthias Clasen authored
x11: Be quiet on exit by default See merge request !3437
4334f961 -
Matthias Clasen authored
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.
a926f217 -
Matthias Clasen authored
[3.24] meson: only build demo manpages when demos are enabled See merge request !3439
d9a3e07b -
Matthias Clasen authored
imcontext: Eat key events during preedit See merge request !3442
915d0b39 -
Chun-wei Fan authored
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.
416e6b9c -
Chun-wei Fan authored
This eliminates the C4098 warnings ('void' function returning a value), which is considered by GLib-2.68.x or later to be an error.35fee660 -
Chun-wei Fan authored
This way, things will continue to build on older compilers
da651ca7 -
Chun-wei Fan authored
This way, things will continue to build on older compilers
b69790a7 -
Matthias Clasen authored
gtkimcontextsimple.c, updateiconcache.c: Fix build on older compilers See merge request !3444
a0a18a7b -
Matthias Clasen authored
GTK-3.x: Fix builds against latest stable GLib with Visual Studio See merge request !3445
a1aa4a97 -
Matthias Clasen authored
Explain that widgets with their own windows need to have gdk_window_set_pass_through called on them. Fixes: #3861
3aa742d7 -
John Ralls authored
Not supported on earlier versions.
3d53204c -
Matthias Clasen authored
Don't try to create local cups printers before CUPS 2.2 See merge request !3448
39935683 -
Matthias Clasen authored
Fix building on OS X El Capitan 10.11 See merge request !3402
3a70781d -
John Ralls authored
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
242b76a7 -
Matthias Clasen authored
Add a public header for Cocoa access functions. See merge request !3450
610f52b1 -
... 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.
25879ea3 -
Matthias Clasen authored
scrolledwindow: Always add other scrollbar size... See merge request GNOME/gtk!3456
191433bf -
Matthias Clasen authored
g_file_get_basename can return NULL. Deal with it somehow. Fixes: #3883
536da7a1 -
Matthias Clasen authored
Fix a possible crash in gtk_show_uri See merge request GNOME/gtk!3458
c7147397 -
Matthias Clasen authored
This can trigger BadAccess, and we don't want that. Fixes: #3862
9c84f764 -
Matthias Clasen authored
x11: Don't beep on untrusted displays See merge request !3462
ca6794b2 -
Ondrej Holy authored
Some locations have to be mounted, but their mounts are not user-visible (e.g. smb-browse). Though this is maybe a bit weird, it is how it works for years. The problem is that the commit 267ea755, which tries to get the default location for opening, caused regression as it doesn't expect such possibility. Before this commit, such locations were opened without any issue, but nothing happens currently after clicking to "Connect" except of clearing the "Connect to Server" entry. Let's fallback to the original location if the mount was not found to fix this regression. Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/1811
4fe7b3ec -
Matthias Clasen authored
placesview: Open location even if mount was not found See merge request GNOME/gtk!3465
8bbaa7d0 -
Matthias Clasen authored
We don't have this icon, so don't put it in the desktop file, or tools will get upset.
a7a10aa6 -
ehwat authored
Previously it was impossible to compose characters on higher levels of some keyboard layouts as pressing the level selection key would just exit compose mode. Examples for affected keyboard layouts include the Latvian apostrophe-variant "lv(apostrophe)" (latched third level), the extended German keyboard layout "de(e1)" (latched fifth level) as well as the multilingual Canadian keyboard layout "ca(multix)" and the German neo-layout "de(neo)" and its descendants (shifted fifth level). To reproduce, set a compose key and select the Latvian apostrophe layout. Notice that you now can input [ by pressing first the ' and then the 8-key. Then pressing <compose>'8'8 should produce ⟦, but prior to this patch it did not.
-
Matthias Clasen authored
imcontextsimple: Ignore more modifiers in compose (gtk3) See merge request GNOME/gtk!3469
b1a34e0b -
Matthias Clasen authored
iconbrowser: Don't use a nonexistent icon See merge request !3466
5e673e94 -
djrenren authored42d4e6de
-
Matthias Clasen authored
gtk_im_context_get_preedit_string is documented to return the cursor position as a character offset, not a byte count. So return that. Fixed: #3885
d6c45d0e -
Matthias Clasen authored
Allow GtkListBox multiple selection to be extended repeatedly See merge request GNOME/gtk!3459
9b0eec55 -
Matthias Clasen authored1dc428dc
-
Matthias Clasen authored
gdk/quartz/gdkquartz-cocoa-access.h
0 → 100644