summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* x11: Notify on surface scale changessurface-scaleMatthias Clasen2021-01-161-0/+2
| | | | | Emit property notification when the surface scale changes.
* wayland: Notify on surface changesMatthias Clasen2021-01-161-3/+13
| | | | | When the width, height or scale of a surface changes, emit property change notification.
* native: Listen for scale changesMatthias Clasen2021-01-161-0/+16
| | | | | | | | Connect to change notification for the surface scale-factor property, and update the widgets when it changes. Fixes: #3578
* surface: Add a scale-factor propertyMatthias Clasen2021-01-161-0/+12
| | | | This will allow us to notify when the scale changes.
* inspector: Add a legend for the layout overlayMatthias Clasen2021-01-162-6/+130
| | | | Colors are more useful if you know what they represent.
* Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2021-01-161-12/+1
|\ | | | | | | | | overlaylayout: Set the child type in the class See merge request GNOME/gtk!3082
| * overlaylayout: Set the child type in the classMatthias Clasen2021-01-151-12/+1
|/ | | | | | We don't need to override create_layout_child here, and setting the child type has the advantage that the layout properties are showing up in the inspector.
* Merge branch 'rtl-margins' into 'master'Matthias Clasen2021-01-164-1/+85
|\ | | | | | | | | | | | | Flip margin-start and -end in RTL Closes #3583 See merge request GNOME/gtk!3081
| * Add a reftest for box flippingrtl-marginsMatthias Clasen2021-01-153-0/+81
| | | | | | | | | | | | | | | | Test that a horizontal box changes the order of its children in RTL, and that widget margins flip start and end. This tests the fix in d89ff7181941d202d2.
| * Flip margin-start and -end in RTLMatthias Clasen2021-01-151-1/+4
|/ | | | | | | We lost this at some point, but the widget margins are still meant to be relative to the text direction. Fixes: #3583
* Merge branch 'macos-ci-cairo' into 'master'Matthias Clasen2021-01-151-2/+2
|\ | | | | | | | | Revert "Fix the cairo build on OS X" See merge request GNOME/gtk!3080
| * Revert "Fix the cairo build on OS X"macos-ci-cairoMatthias Clasen2021-01-151-2/+2
|/ | | | | | This reverts commit 710ef00dfea4853d99e1c7f7201733d81d2b846d. The cairo change has been merged.
* Updated Czech translationMarek Černocký2021-01-151-1342/+1311
|
* Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2021-01-154-4/+6
|\ | | | | | | | | Matthiasc/for master See merge request GNOME/gtk!3078
| * Make HighContrastInverse a dark variantMatthias Clasen2021-01-144-4/+5
| | | | | | | | | | | | Make HighContrastInverse available as the dark variant of HighContrast, in addition to being a standalone theme. This regularizes our theme variants, and doesn't hurt.
| * Make Adwaita-dark available as a themeMatthias Clasen2021-01-141-0/+1
|/ | | | | This makes Adwaita-dark available as a standalone theme.
* Merge branch 'wip/carlosg/mark-valid-portal-settings' into 'master'Matthias Clasen2021-01-141-0/+1
|\ | | | | | | | | gdk/wayland: Mark matched settings from the portal as valid See merge request GNOME/gtk!3076
| * 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