summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* gdk/wayland: Mark matched settings from the portal as validwip/carlosg/mark-valid-portal-settingsCarlos Garnacho2021-01-141-0/+1
| | | | | | | | | | | | | | Commit e6209de9625 added some checks on TranslationEntry.valid in order to figure out whether using the new font settings or the old g-s-d ones. However that's only set in the non-sandboxed case. This makes sandboxed applications fallback to the old (and also non-existing with modern g-s-d) settings, possibly resulting in ugly defaults being picked. Fix this by also marking TranslationEntry elements as valid when using the settings portal, precisely those entries that we are able to read and match with our own table.
* Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2021-01-141-6/+14
|\ | | | | | | | | Matthiasc/for master See merge request GNOME/gtk!3075
| * docs: Fix a heading gotchaMatthias Clasen2021-01-141-1/+1
| | | | | | | | | | One of the many migration guide sections was too prominent.
| * doc: Clarify some migration hintsMatthias Clasen2021-01-141-5/+13
|/ | | | | | Don't mention GdkSurface::layout as replacement for GtkWindow::configure-event. Instead, explain how to save window state.
* Updated Spanish translationDaniel Mustieles2021-01-141-445/+451
|
* Updated Spanish translationDaniel Mustieles2021-01-141-248/+90
|
* Merge branch 'nacho/macos-stylus' into 'master'Christian Hergert2021-01-135-27/+679
|\ | | | | | | | | Support stylus devices on macos See merge request GNOME/gtk!3058
| * Support stylus devices on macosnacho/macos-stylusIgnacio Casal Quinteiro2021-01-115-27/+679
| |
* | Update Swedish translationAnders Jonsson2021-01-121-91/+92
| |
* | Update Swedish translationAnders Jonsson2021-01-121-504/+514
| |
* | Merge branch 'ebassi/aspect-frame-doc' into 'master'Emmanuele Bassi2021-01-121-10/+40
|\ \ | | | | | | | | | | | | Ebassi/aspect frame doc See merge request GNOME/gtk!3073
| * | Document limits of gtk_aspect_frame_get_ratio()ebassi/aspect-frame-docEmmanuele Bassi2021-01-121-1/+2
| | | | | | | | | | | | | | | The GtkAspectFrame:ratio getter will return the value set, not the actual ratio computed in case GtkAspectFrame:obey-child is TRUE.
| * | Document GtkAspectFrame propertiesEmmanuele Bassi2021-01-121-1/+31
| | |
| * | docs: GtkAspectFrame is not a GtkFrame any moreEmmanuele Bassi2021-01-121-8/+7
| | |
* | | Remove a misleading commentMatthias Clasen2021-01-121-3/+1
| | |
* | | Merge branch 'dist-css' into 'master'Matthias Clasen2021-01-122-0/+21
|\ \ \ | | | | | | | | | | | | | | | | dist: Add a dist script to generate css See merge request GNOME/gtk!3074
| * | | dist: Add a dist script to generate cssMatthias Clasen2021-01-122-0/+21
|/ / / | | | | | | | | | | | | | | | When I added the sassc option, I failed to ensure that the theme css is included in the tarballs. This is required to make tarball builds with -Dsassc=disabled work.
* | | Merge branch 'ebassi/atspi-path-sanitize' into 'master'Emmanuele Bassi2021-01-121-0/+2
|\ \ \ | |/ / |/| | | | | | | | a11y: Fix leak See merge request GNOME/gtk!3072
| * | a11y: Fix leakEmmanuele Bassi2021-01-121-0/+2
|/ / | | | | | | Introduced by me in commit 03b60a2d5e40da1b137117aba05a2c818edd09b3.
* | Merge branch 'ebassi/atspi-path-sanitize' into 'master'Emmanuele Bassi2021-01-121-1/+9
|\ \ | | | | | | | | | | | | a11y: Sanitize the AT-SPI object path further See merge request GNOME/gtk!3071
| * | a11y: Sanitize the AT-SPI object path furtherEmmanuele Bassi2021-01-121-1/+9
| |/ | | | | | | | | | | When falling back to g_get_prgname(), we need to take into account that the program name may be the full argv[0] path, which will end up messing the DBus object path.
* | Merge branch 'about-dialog-icon-size' into 'master'Benjamin Otte2021-01-114-36/+17
|\ \ | | | | | | | | | | | | About dialog icon size See merge request GNOME/gtk!3070
| * | iconhelper: Recreate the texture when neededMatthias Clasen2021-01-111-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | When the icon size changes, we want to reload themed icons. This was showing up as the GtkImage in about dialogs getting a big size with the same small icon upon changing -gtk-icon-size in the inspector.
| * | Adwaita: Make about dialog icons bigMatthias Clasen2021-01-111-0/+4
| | | | | | | | | | | | | | | Use 128 as the icon size for the image widget in about dialogs.
| * | aboutdialog: Set icon-size for the logoMatthias Clasen2021-01-111-0/+1
| | | | | | | | | | | | Make it explicit that we want large icons here.
| * | aboutdialog: Set a style classMatthias Clasen2021-01-112-0/+9
| | | | | | | | | | | | | | | | | | Add the .aboutdialog style class to toplevel widget of about dialogs, similar to what we do for e.g. GtkAssistant.
| * | about dialog: Remove manual icon sizingMatthias Clasen2021-01-111-35/+1
|/ / | | | | | | We have icon theme code to do that for us.
* | Merge branch 'wip/kalev/gcc-11' into 'master'Matthias Clasen2021-01-112-0/+21
|\ \ | | | | | | | | | | | | Avoid diagnostics for gcc-11 false positive out of bounds accesses See merge request GNOME/gtk!3064
| * | Avoid diagnostics for gcc-11 false positive out of bounds accesseswip/kalev/gcc-11Kalev Lember2021-01-112-0/+21
| | | | | | | | | | | | | | | This is a patch by Jeff Law <law@redhat.com> done in downstream Fedora to fix the build with gcc 11.
* | | Merge branch 'wip/fl/glrenderer-fixes' into 'master'Emmanuele Bassi2021-01-111-1/+1
|\ \ \ | | | | | | | | | | | | | | | | gl renderer: print fragment shader info See merge request GNOME/gtk!3069
| * | | gl renderer: print fragment shader infoFabio Lagalla2021-01-111-1/+1
| | | | | | | | | | | | | | | | It was logged twice the vertex shader info, instead
* | | | Merge branch 'wip/jimmac/adjust-for-contemporary-trends' into 'master'Jakub Steiner2021-01-11247-2264/+353
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | Wip/jimmac/adjust for contemporary trends Closes #3568 and #3560 See merge request GNOME/gtk!3060
| * | | Adwaita: update image assetsJakub Steiner2021-01-11246-2087/+262
| | | | | | | | | | | | | | | | | | | | - reflect button styling - ignore backdrop for non buttons
| * | | Adwaita: scales borderJakub Steiner2021-01-111-2/+2
| | | | | | | | | | | | | | | | | | | | - remove -alt specialcasing for a straight forward border like everything else and avoid broken :dark and HC
| * | | Adwaita: fix button border logicwip/jimmac/adjust-for-contemporary-trendsJakub Steiner2021-01-112-47/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - tint borders dark on non default / blue / red buttons - just use plain $borders_color otherwise - fixes HC/HCi - ditch -alt buttons
| * | | Adwaita: flatter, lighter buttonsJakub Steiner2021-01-111-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | - lighten up for contrast, less of an oldschool gradient Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3568
| * | | Adwaita: round progress and levelbarsJakub Steiner2021-01-111-19/+19
| | | |
| * | | Adwaita: :checked:active and checked:hover statesJakub Steiner2021-01-112-1/+24
| | | | | | | | | | | | | | | | Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3560
| * | | Adwaita: flat scales, progressbars and level barsJakub Steiner2021-01-111-7/+6
| | | |
| * | | Adwaita: remove edge highlightsJakub Steiner2021-01-112-109/+20
| | | | | | | | | | | | | | | | | | | | | | | | - flat is the name of the game - kids scream make it flat - simplify mixins
* | | | Merge branch 'otte/for-master2' into 'master'Matthias Clasen2021-01-111-6/+6
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Remove guarantees we do not intend to hold See merge request GNOME/gtk!3066
| * | | | Remove guarantees we do not intend to holdotte/for-master2Benjamin Otte2021-01-101-6/+6
| | |_|/ | |/| | | | | | | | | | | | | | | | | | The fact that we are using gdk-pixbuf for loading files currrently does not mean we will use it going forward. Also, "anything gdk-pixbuf can load" does not mean anything, because what gdk-pixbuf can load is a compile-time option. As new_from_resource() will assert() if it cannot load a resource, we must be very sure that people do not use anything but PNG and JPEG for resources and the docs were not clear on that.
* | | | Merge branch 'fix-tablet-4' into 'master'Matthias Clasen2021-01-111-11/+65
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Wayland: ignore touch/tablet events on destroyed surfaces [GTK4] See merge request GNOME/gtk!3065
| * | | | Wayland: ignore touch/tablet events on destroyed surfaceswisp3rwind2021-01-101-11/+65
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When destroying a wl_surface (e.g. when a window or menu is closed), the surface may continue to exist in the compositor slightly longer than on the client side. In that case, the surface can still receive input events, which need to be ignored gracefully. In particular, this prevents segfaulting on wl_surface_get_user_data() in that situation. Reported in https://gitlab.gnome.org/GNOME/gtk/-/issues/3296 The same issue for pointers/keyboards was reported in https://bugzilla.gnome.org/show_bug.cgi?id=693338 and fixed with in bfd7137ffbcbd8caa531d7a47d799fefb6605a5a 3625f17857328ae7e7aa43340f29efa56575a7b0 a8fc099a725543649fe3aab76943c14bdcd860fc
* | | | Merge branch 'wip/jimmac/undercorated-active' into 'master'Jakub Steiner2021-01-111-2/+2
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | Adwaita: less dramatic :active for undecorated buttons Closes #3575 See merge request GNOME/gtk!3068
| * | | Adwaita: less dramatic :active for undecorated buttonsJakub Steiner2021-01-111-2/+2
|/ / / | | | | | | | | | Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3575
* | | Merge branch 'avoid-pointer-reset-gtk4' into 'master'Carlos Garnacho2021-01-111-0/+5
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | wayland: avoid set_cursor() when unchanged or invisible Closes #3350 See merge request GNOME/gtk!3062
| * | | wayland: avoid set_cursor() when unchanged or invisiblewisp3rwind2021-01-091-0/+5
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In pointer_surface_update_scale(), only rescale the cursor surface when the scale has actually changed and the cursor is on at least one output. fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3350 Right now, this issue is not completely understood, so it might also involve some questionable handling of cursor surface by sway/wlroots. However, irrespective of that issue, this patch avoids unnecessary calls to the compositor, and there should be no drawback: Whenever the pointer enters a new output, pointer_surface_update_scale() will be called again, such that correct scaling of the cursor is still ensured. There is a slight difference: When the cursor leaves the last output, previously the image was reset to scale factor 1. Now, it keeps whatever was last. That might be more sensible than the previous behaviour, assuming that it's likely that when the cursor enter an output again, it has the same scaling. Alternatively, if one cares about resource usage at this level, it might make more sense to destroy the surface than rescaling to 1.
* | | Merge branch 'surface.compute.win32' into 'master'Matthias Clasen2021-01-113-132/+237
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | Fix surface and geometry computation for Windows (Win32) Closes #3480 See merge request GNOME/gtk!3067
| * | gdk/win32: Fix window display and resizingsurface.compute.win32Chun-wei Fan2021-01-113-59/+170
| | | | | | | | | | | | | | | | | | | | | | | | | | | Have an implementation of ->request_layout() and ->compute_size() for the Win32 surface backend so that we can properly display and move and resize the windows, as we request from the Win32 APIs. Hxndling Aerosnap properly is mostly done except for snap_up(), which needs to to be looked at later.