summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* gizmo: Chain up in css_changedfix-scrollbar-sizingMatthias Clasen2021-02-151-0/+2
| | | | | | | | css_changed is a vfunc that *must* chain up. Failure to do so broke the resizing of overlay scrollbars, amongst other things. This bug was introduced in 39f72b38341d2ff2d67.
* Merge branch 'lenient-compose-parsing' into 'master'Matthias Clasen2021-02-151-18/+17
|\ | | | | | | | | imcontext: Be more lenient in parsing Compose See merge request GNOME/gtk!3201
| * imcontext: Improve compose table parsinglenient-compose-parsingMatthias Clasen2021-02-151-13/+15
| | | | | | | | | | | | Avoid leaking value in error cases, and actually emit a warning for a missing quote. Pointed out by Peter Bloomfield.
| * imcontext: Be more lenient in parsing ComposeMatthias Clasen2021-02-141-5/+2
| | | | | | | | | | | | | | X11 allows keysyms to be specified in addition to strings. We only support the strings. In the past, we ignored everything after the string. Go back to doing that, but issue a warning that we've ignored the keysym.
* | Merge branch 'wip/jimmac/larger-smaller-scrollbar-gtk4' into 'master'Matthias Clasen2021-02-151-5/+9
|\ \ | | | | | | | | | | | | | | | | | | Adwaita: Scrollbar transitions and size Closes #1886 See merge request GNOME/gtk!3204
| * | Adwaita: Scrollbar transitions and sizewip/jimmac/larger-smaller-scrollbar-gtk4Jakub Steiner2021-02-151-5/+9
| | | | | | | | | | | | | | | | | | | | | - tone down the size of the controller again - transition between the indicator and control fluidly Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/1886
* | | Update Catalan translationJordi Mas2021-02-142-916/+926
| |/ |/|
* | Merge branch 'fix-compose-comments' into 'master'Matthias Clasen2021-02-144-10/+34
|\ \ | | | | | | | | | | | | | | | | | | Fix compose comments Closes #3664 See merge request GNOME/gtk!3199
| * | imcontext: Fix a regression in Compose file parsingMatthias Clasen2021-02-143-10/+29
| | | | | | | | | | | | | | | | | | | | | We accidentally dropped the handing of # comments. Bring it back. Test included. Fixes: #3664
| * | testsuite: Add a missing fileMatthias Clasen2021-02-141-0/+5
| | |
* | | Merge branch 'popup-shadow-width' into 'master'Matthias Clasen2021-02-1414-48/+440
|\ \ \ | | | | | | | | | | | | | | | | Support shadows on popovers See merge request GNOME/gtk!3089
| * | | window: Add some more details to css docspopup-shadow-widthMatthias Clasen2021-02-141-4/+6
| | | | | | | | | | | | | | | | Mention more of the supported style classes.
| * | | Update popover css docsMatthias Clasen2021-02-141-3/+4
| | | | | | | | | | | | | | | | Mention that shadows are now possible.
| * | | macos: Apply popup shadow widthMatthias Clasen2021-02-141-0/+6
| | | |
| * | | win32: Apply popup shadow widthMatthias Clasen2021-02-141-0/+18
| | | |
| * | | x11: Apply popup shadow withMatthias Clasen2021-02-141-0/+6
| | | |
| * | | popover: Handle shadow changesMatthias Clasen2021-02-141-0/+10
| | | | | | | | | | | | | | | | | | | | When the box-shadow css property of the contents widget changes, queue a resize on the popover.
| * | | gizmo: Add a css_changed functionMatthias Clasen2021-02-142-1/+26
| | | | | | | | | | | | | | | | | | | | | | | | In a break from the current gizmo api, add a separate setter, since the calls with long argument lists full of NULL are getting out of hand.
| * | | Add a test for popover positioningMatthias Clasen2021-02-142-0/+132
| | | | | | | | | | | | | | | | | | | | This is useful for testing the interaction of arrows, shadows or offsets with popover positioning.
| * | | popover: Support shadowsMatthias Clasen2021-02-141-25/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use gdk_popup_layout_set_shadow_width to take shadows into account when positioning popovers, and set the input region to exclude the shadow, since we aren't doing interactive resizing and the like. When the popover has a beak, we make the surface size be content size + shadow + tail, and then position the content according to the final position inside this slightly too large surface. The surface being too large doesn't matter, since we set up an input region.
| * | | wayland: Set shadow width on popup surfacesMatthias Clasen2021-02-141-14/+40
| | | | | | | | | | | | | | | | Take the shadow width from the popup layout into account.
| * | | popuplayout: Add shadow widthMatthias Clasen2021-02-134-1/+89
| |/ / | | | | | | | | | | | | | | | Add shadow width to the GdkPopupLayout struct. This information is needed by the compositor to make correct positioning decisions about popups.
* | | Merge branch 'antoniof-master-patch-32022' into 'master'Matthias Clasen2021-02-141-1/+1
|\ \ \ | |/ / |/| | | | | | | | docs: Mark heading in migration guide See merge request GNOME/gtk!3198
| * | docs: Mark heading in migration guideAntónio Fernandes2021-02-141-1/+1
|/ / | | | | This heading was missing from the index because it was not marked as one
* | Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2021-02-141-1/+3
|\ \ | | | | | | | | | | | | Matthiasc/for master See merge request GNOME/gtk!3197
| * | popover: Queue a resize when position changesMatthias Clasen2021-02-131-0/+2
| | | | | | | | | | | | | | | At least with an arrow, changing the position requires a resize
| * | popover: CosmeticsMatthias Clasen2021-02-131-1/+1
| | |
* | | Update Hungarian translationBalázs Meskó2021-02-141-965/+1863
|/ /
* | Merge branch 'revert-82ab039a' into 'master'Matthias Clasen2021-02-122-11/+4
|\ \ | | | | | | | | | | | | Revert "Merge branch 'disable-macos-ci' into 'master'" See merge request GNOME/gtk!3192
| * | Stop passing introspection=false to grapheneMatthias Clasen2021-02-121-8/+2
| | | | | | | | | | | | | | | This should no longer be possible (and the introspection option is no longer a boolean.
| * | ci: Add debug spew on macosMatthias Clasen2021-02-121-0/+1
| | |
| * | Revert "Merge branch 'disable-macos-ci' into 'master'"Bartłomiej Piotrowski2021-02-121-3/+1
|/ / | | | | This reverts merge request !3183
* | Merge branch 'win32.surface.resize' into 'master'Matthias Clasen2021-02-122-33/+36
|\ \ | | | | | | | | | | | | Some fixes for resizing of GDK/Win32 surfaces See merge request GNOME/gtk!3144
| * | Gdk/Win32: Fix resizing surfaceswin32.surface.resizeChun-wei Fan2021-02-022-25/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | This attempts to fix the counter-intuitive resizing of surfaces in GTK4 where the surface grows or shrinks at the right and/or bottom edge when the window resized from the top and/or left edge(s). This is not yet perfect as the window stutters upon resizing from the top and/or left edges, but at least makes resizing more intuitive.
| * | gdkwin32surface.[c|h]: Clean up code a bitChun-wei Fan2021-02-022-8/+2
| | | | | | | | | | | | | | | | | | Remove the 'resized' member from the GdkWin32Surface structure, as we already have a structure with a member that keeps track of whether a surface is being resized, so we can just use that and avoid some confusion in the process
* | | Merge branch 'flatpak-tweaks' into 'master'Matthias Clasen2021-02-1215-112/+101
|\ \ \ | | | | | | | | | | | | | | | | Flatpak tweaks See merge request GNOME/gtk!3187
| * | | flatpak: Try harder to disable sasscflatpak-tweaksMatthias Clasen2021-02-123-0/+3
| | | |
| * | | Add devel styling to nightly flatpaksMatthias Clasen2021-02-123-3/+6
| | | | | | | | | | | | | | | | | | | | Pass -Dprofile=devel to the gtk build for our nightly flatpaks, so they pick up devel styling.
| * | | demos: Add devel stylingMatthias Clasen2021-02-1212-19/+92
| | | | | | | | | | | | | | | | | | | | Add a -Dprofile=devel meson option, and add some visual hints to the demos that you are running a nightly build.
| * | | flatpak: No need to build sassc anymoreMatthias Clasen2021-02-113-90/+0
| | | | | | | | | | | | | | | | | | | | We should be able to do a gtk build without rebuilding css nowadays.
* | | | Merge branch 'ci-fedora-33' into 'master'Matthias Clasen2021-02-123-7/+4
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | ci: Update the Fedora image to F33 See merge request GNOME/gtk!3188
| * | | | ci: Update the Fedora image to F33ci-fedora-33Matthias Clasen2021-02-113-7/+4
| |/ / /
* | | | Merge branch 'wip/baedert/for-master' into 'master'Matthias Clasen2021-02-122-8/+1
|\ \ \ \ | |/ / / |/| | | | | | | | | | | Wip/baedert/for master See merge request GNOME/gtk!3189
| * | | nativedialog: Remove unused run stateTimm Bäder2021-02-121-7/+0
| | | |
| * | | build: Check for mallinfo2 instead of mallinfoTimm Bäder2021-02-121-1/+1
|/ / / | | | | | | | | | | | | | | | | | | Similar to https://github.com/llvm/llvm-project/commit/e89fcbfad6a3edb203ebdc2b1ead275fe909281a but the tests we use mallinfo() in really aren't important to not worth the effort to differentiate between mallinfo and mallinfo2. Only check for mallinfo2().
* | | Merge branch 'fix-network-places' into 'master'Matthias Clasen2021-02-111-11/+11
|\ \ \ | | | | | | | | | | | | | | | | placesview: Avoid use-after-free See merge request GNOME/gtk!3186
| * | | placesview: Avoid use-after-freefix-network-placesMatthias Clasen2021-02-111-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The places view has questionable code for handling 'destroy', which seems to trigger use-after-free in some cases. Clean this up a bit by acknowledging the cancellation fully, rather than relying on the destroyed flag.
* | | | Merge branch 'wip/jimmac/tiled-shadow-fix-fix-gtk4' into 'master'Matthias Clasen2021-02-111-2/+8
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adwaita: bring borders for tiled Closes #3661 See merge request GNOME/gtk!3184
| * | | | Adwaita: bring borders for tiledwip/jimmac/tiled-shadow-fix-fix-gtk4Jakub Steiner2021-02-111-2/+8
| |/ / / | | | | | | | | | | | | Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3661
* | | | Merge branch 'ebassi/memdup2' into 'master'Matthias Clasen2021-02-1125-52/+129
|\ \ \ \ | |/ / / |/| | | | | | | | | | | Use g_memdup2() See merge request GNOME/gtk!3157