summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* gsk: Add GSK_DEBUG=no-ditherwip/otte/dithered-gradientsBenjamin Otte2022-05-284-9/+21
| | | | | | Allows turning off dithering in the GLSL compilers. Useful for comparing images, for benchmarking differences and potentially for the testsuite.
* gsk: Change noise function to be more randomBenjamin Otte2022-05-281-5/+6
| | | | | | Use the first result from shadertoy which has a noise function by David Hoskins that produces noise that looks less periodic than the previous noise function.
* gsk/gl: Apply dither to gradients and shadowsSebastian Wick2022-05-2810-55/+153
|
* Update Chinese (China) translationLuming Zh2022-05-281-439/+484
|
* Merge branch 'headerbar-demo-upgrade' into 'main'Matthias Clasen2022-05-271-1/+2
|\ | | | | | | | | Make our demos more likable See merge request GNOME/gtk!4769
| * Make our demos more likableMatthias Clasen2022-05-271-1/+2
|/ | | | | Nobody likes Facebook. Everybody loves the Eagles.
* Merge branch 'wayland-cursor-scale2' into 'main'Matthias Clasen2022-05-271-38/+54
|\ | | | | | | | | wayland: scale cursors to the right size See merge request GNOME/gtk!4766
| * wayland: scale cursors to the right sizeMatthias Clasen2022-05-271-38/+54
| | | | | | | | | | | | | | | | | | | | | | | | When loading cursors at scale, we expect the cursor images to have a size of scale * size. If we don't find such images, load them at their unscaled size and scale them up ourselves. Without this, cursors will appear in unexpected sizes depending on scales and themes. Related: #4746
* | Merge branch 'main' into 'main'Matthias Clasen2022-05-271-1/+1
|\ \ | | | | | | | | | | | | | | | | | | GtkIMContextSimple: array bounds was not correctly checked Closes #4771 See merge request GNOME/gtk!4748
| * | GtkIMContextSimple: array bounds was not correctly checkedVĂ­ctor Marzo2022-05-191-1/+1
| | | | | | | | | | | | Fixes #4771
* | | Merge branch 'use-flathub-link' into 'main'Matthias Clasen2022-05-271-5/+3
|\ \ \ | |_|/ |/| | | | | | | | Make the formatted link more neutral See merge request GNOME/gtk!4765
| * | Make the formatted link more neutralMatthias Clasen2022-05-271-5/+3
| | | | | | | | | | | | | | | | | | | | | There have been complaints about company names in our demos. Lets use something else. Part of: #4716
* | | Merge branch 'update-initial-layout' into 'main'Matthias Clasen2022-05-271-1/+1
|\ \ \ | | | | | | | | | | | | | | | | vulkan: Set initial layout to undefined See merge request GNOME/gtk!4706
| * | | vulkan: Set initial layout to undefinedTestingPlant2022-05-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Having the initial layout set to VK_IMAGE_LAYOUT_GENERAL causes issues when going from the final layout to the initial layout since the image layout is expected to be the general layout. Setting the initial layout to undefined doesn't have this restriction.
* | | | Merge branch 'update-command-buffer-freeing' into 'main'Matthias Clasen2022-05-271-4/+5
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | vulkan: Don't attempt to free 0 command buffers See merge request GNOME/gtk!4705
| * | | vulkan: Don't attempt to free 0 command buffersTestingPlant2022-05-081-4/+5
| |/ / | | | | | | | | | vkFreeCommandBuffers can't be called with commandBufferCount set to 0.
* | | Merge branch 'wayland-cursor-scale' into 'main'Matthias Clasen2022-05-272-17/+50
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | wayland: Sanity check cursor image size Closes #4746 See merge request GNOME/gtk!4761
| * | | wayland: Make cursors have the right sizeMatthias Clasen2022-05-261-12/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Wayland protocol requires that width and height of cursor surfaces is an integer multiple of the surface scale. Make it so. Fixes: #4746
| * | | wayland: Sanity check cursor image sizeMatthias Clasen2022-05-261-5/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Wayland it is a protocol violation to upload buffers with dimensions that are not an integer multiple of the buffer scale. Until recently, Mutter did not enforce this. When it started doing so, some users started seeing crashes in GTK apps because the cursor theme ended up with e.g. a 15x16 pixel image at scale of 2. Add a small sanity check for this case.
* | | | Merge branch 'TTMaZa-LGPL-vs-GPL' into 'main'Matthias Clasen2022-05-262-2/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | GDK is LGPL-2.1-or-later not GPL-2.1-or-later, right? See merge request GNOME/gtk!4755
| * | | | Update docs/reference/gdk/gdk4-x11.toml.inManuel Zabelt2022-05-241-1/+1
| | | | |
| * | | | GDK is LGPL-2.1-or-later not GPL-2.1-or-later, right?Manuel Zabelt2022-05-241-1/+1
| | | | |
* | | | | Merge branch 'wip/chergert/fix-sysprof-wrapper' into 'main'Matthias Clasen2022-05-261-10/+10
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | build: fix sysprof default options See merge request GNOME/gtk!4759
| * | | | | build: fix sysprof default optionsChristian Hergert2022-05-251-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sysprof just recently cleaned up it's meson_options.txt and this makes the tracking of the master branch match the new values.
* | | | | | Merge branch 'wip/otte/for-main' into 'main'Matthias Clasen2022-05-261-1/+1
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | x11: Always update shadow size Closes #4136 See merge request GNOME/gtk!4758
| * | | | | x11: Always update shadow sizeBenjamin Otte2022-05-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Not updating shadow size unconditionally would lead to shadow size not being set on map, which would lead mutter to think that we are a Window without extents and then become confused when we suddenly set some. Make sure that doesn't happen by always having shadows set on map, just like GTK3. Fixes #4136
* | | | | | Merge branch 'fix-stack-page-at-spi-parent' into 'main'Emmanuele Bassi2022-05-251-1/+5
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a11y: Realize GtkStackPage parent context before trying to get a ref Closes #4944 See merge request GNOME/gtk!4757
| * | | | | | a11y: Realize GtkStackPage parent context before trying to get a refSebastian Keller2022-05-251-1/+5
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a context is not realized, calling gtk_at_spi_context_to_ref() will return a null ref, because its path has not been initialized yet. This was already done for all other cases in get_parent_context_ref(), but was missing for the GtkStackPage case. Fixes: https://gitlab.gnome.org/GNOME/gtk/-/issues/4944
* | | | | | Merge branch 'pkgconfig' into 'main'Matthias Clasen2022-05-241-33/+14
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Meson: Simplify pkgconfig file generator See merge request GNOME/gtk!4756
| * | | | | | Meson: Simplify pkgconfig file generatorXavier Claessens2022-05-241-33/+14
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Meson knows all private dependencies itself when passing the library as first positional argument, no need to specify them manually. Also simplify backend specific files by simply requiring gtk4, just like unix-print already did. This should fix generated gtk4-uninstalled.pc, see Meson bug report: https://github.com/mesonbuild/meson/issues/10415
* | | | | | Merge branch 'remove-emulated-scroll-events' into 'main'Luca Bacci2022-05-246-37/+7
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | Drop pointer_emulated discrete scroll events See merge request GNOME/gtk!4694
| * | | | | Drop pointer_emulated discrete scroll eventsLuca Bacci2022-05-246-26/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GTK4 has had smooth scroll events since the beginning, so we prefer not to emit emulated discrete scroll events at all
| * | | | | Wayland: Only send smooth scroll events for tablet toolsLuca Bacci2022-05-241-11/+0
|/ / / / /
* | | | | Merge branch 'scroll-surface-unit-dpi-scale' into 'main'Luca Bacci2022-05-241-2/+6
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | DirectManipulation: Account for DPI scale See merge request GNOME/gtk!4749
| * | | | DirectManipulation: Account for DPI scaleLuca Bacci2022-05-241-2/+6
| | | | |
* | | | | Merge branch 'blink-assertion' into 'main'Matthias Clasen2022-05-231-1/+7
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Remove an assertion that we hit See merge request GNOME/gtk!4753
| * | | | | Remove an assertion that we hitMatthias Clasen2022-05-231-1/+7
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It appears that we mess up accounting for blinking cursors sometimes, and can hit blink_cb when there is a nonempty selection. Instead of asserting, warn and stop blinking. Related: #4767
* | | | | Merge branch 'otte-main-patch-30652' into 'main'Matthias Clasen2022-05-231-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | gesturedrag: Fix docs See merge request GNOME/gtk!4752
| * | | | | gesturedrag: Fix docsBenjamin Otte2022-05-221-1/+1
| |/ / / / | | | | | | | | | | Leftover from GTK3. Coordinates are widget relative everywhere now.
* | | | | Merge branch 'ci-meson-bump' into 'main'Matthias Clasen2022-05-232-2/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | CI: bump meson version from 0.59 to 0.60.3 See merge request GNOME/gtk!4751
| * | | | | CI: bump meson version from 0.59 to 0.60.3Christoph Reiter2022-05-222-2/+2
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We pull in glib main via a submodule in CI and glib has recently bumped its meson requirement to >= 0.60: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2641 Install 0.60.3 where needed to make things build again.
* | | | | Update Russian translationAleksandr Melman2022-05-231-441/+492
| |/ / / |/| | |
* | | | Update German translationChristian Kirbach2022-05-221-190/+191
|/ / / | | | | | | | | | (cherry picked from commit 7703aa5cd301f7dcff75db08b4acb2fa9b11c7d3)
* | | Merge branch 'fix-memory-leak' into 'main'Luca Bacci2022-05-191-0/+2
|\ \ \ | |_|/ |/| | | | | | | | GdkWin32: Plug memory leak See merge request GNOME/gtk!4747
| * | GdkWin32: Plug memory leakLuca Bacci2022-05-191-0/+2
|/ /
* | Merge branch 'wip/otte/for-main' into 'main'Benjamin Otte2022-05-184-6/+31
|\ \ | | | | | | | | | | | | nodeparser: Fix parsing of color-matrix node See merge request GNOME/gtk!4745
| * | nodeparser: Fix parsing of color-matrix nodeBenjamin Otte2022-05-184-6/+31
| | | | | | | | | | | | | | | Negative offsets in the color matrix were inverted because it used the rect parser.
* | | Merge branch 'wip/otte/for-main' into 'main'Benjamin Otte2022-05-182-0/+5
|\ \ \ | |/ / | | | | | | | | | CI: Include reftest nodes in artifacts See merge request GNOME/gtk!4743
| * | CI: Include reftest nodes in artifactsBenjamin Otte2022-05-182-0/+5
|/ /
* | Update Portuguese translationHugo Carvalho2022-05-181-443/+490
| |