summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* linedisplaycache: special case left-most binary searchwip/chergert/special-case-displaycache-y-is-zeroChristian Hergert2020-08-071-0/+12
| | | | | | | If we have a y index of 0, we always want to look at the left-most position instead of wasting time on a binary search for edges. This is an extremely common case when loading or syntax highlighting a buffer such as from GtkSourceView.
* Merge branch 'wip/jimmac/vte-bg-color' into 'master'Jakub Steiner2020-08-072-0/+7
|\ | | | | | | | | | | | | Wip/jimmac/vte bg color Closes vte#226 See merge request GNOME/gtk!2403
| * Adwaita: add public color for text viewsJakub Steiner2020-08-071-0/+3
| | | | | | | | | | | | | | - define @text_view_bg to complement @theme_text_color for high contrast legible text views. Fixes https://gitlab.gnome.org/GNOME/vte/-/issues/226
| * Adwaita: force circular imagebuttons to be squareJakub Steiner2020-08-071-0/+4
|/ | | | Addresses https://gitlab.gnome.org/GNOME/gnome-clocks/-/merge_requests/123#note_884741
* Merge branch 'demo-highlighting' into 'master'Matthias Clasen2020-08-071-354/+93
|\ | | | | | | | | gtk-demo: Modernize source highlighting See merge request GNOME/gtk!2401
| * gtk-demo: Modernize source highlightingMatthias Clasen2020-08-071-354/+93
|/ | | | | | | | Drop the homegrown highlighting code, and just use highlight to produce Pango markup. When using an external highlighter, we can also highlight css, xml, headers, at least.
* Merge branch 'wip/dont-leak-toplevel-present-callback' into 'master'Matthias Clasen2020-08-071-2/+1
|\ | | | | | | | | wayland/toplevel: Don't leak wl_callback used during present() See merge request GNOME/gtk!2399
| * wayland/toplevel: Don't leak wl_callback used during present()Jonas Ådahl2020-08-071-2/+1
| |
* | Merge branch 'wip/oholy/gtkmountoperation-newline' into 'master'Matthias Clasen2020-08-071-9/+6
|\ \ | |/ |/| | | | | gtkmountoperation: Drop the new line character when splitting a message See merge request GNOME/gtk!2397
| * gtkmountoperation: Drop the new line character when splitting a messageOndrej Holy2020-08-071-9/+6
| | | | | | | | | | | | | | | | | | | | | | | | When asking for a password, the message string is split on primary and secondary if it contains a newline character. However, the newline character is currently part of both strings, which creates weird spacing between the GtkLabels. I suppose this is bug, which was not visible as in most cases (if not all) the message string hasn't contained the new line characters so far. But we are going to change that now, see GNOME/gvfs!82. Let's drop the new line character similarly as it is done when asking for a question, or showing processes in order to fix the weird spacing.
* | Merge branch 'wip/fix-wayland-toplevel-present-callback' into 'master'Matthias Clasen2020-08-071-2/+4
|\ \ | |/ |/| | | | | | | | | Fix Wayland toplevel present callback issues Closes #3026 See merge request GNOME/gtk!2395
| * wayland/surface: Destroy toplevel present callback if ignoredJonas Ådahl2020-08-071-0/+3
| | | | | | | | | | | | | | | | We might break the loop early, e.g. if we're unmapped before the round trip finishes, and to avoid the callback to write to invalid stack memory, destroy the callback so it won't be invoked. Fixes: #3026
| * wayland/surface: Fix toplevel present roundtrip conditionJonas Ådahl2020-08-071-2/+1
|/ | | | | We should round trip until we both have received callback and have ensured we received the initial configuration.
* Merge branch 'about-polish' into 'master'Matthias Clasen2020-08-075-6/+58
|\ | | | | | | | | About polish See merge request GNOME/gtk!2394
| * aboutdialog: Make margins more uniformMatthias Clasen2020-08-061-2/+4
| | | | | | | | Use similar margins in the Credits and System tabs.
| * demos: Brush up about dialogsMatthias Clasen2020-08-064-4/+54
|/ | | | Show OS info, and generally polish this here and there.
* Merge branch 'gtk-demo-leaks' into 'master'Matthias Clasen2020-08-072-1/+3
|\ | | | | | | | | Gtk demo leaks See merge request GNOME/gtk!2393
| * gtk-demo: Plug a big memory leakMatthias Clasen2020-08-061-1/+1
| | | | | | | | The colors demo was leaking all its colors. Oops.
| * gtk-demo: Plug a small memory leakMatthias Clasen2020-08-061-0/+2
| | | | | | | | The settings demo was leaking a GtkBuilderScope.
* | Merge branch 'wip/otte/for-master' into 'master'Matthias Clasen2020-08-072-9/+9
|\ \ | | | | | | | | | | | | Wip/otte/for master See merge request GNOME/gtk!2392
| * | demo: fix memleakBenjamin Otte2020-08-071-0/+1
| | |
| * | treeview: Use gtk_snapshot_append_border()Benjamin Otte2020-08-071-8/+4
| | | | | | | | | | | | No need to construct the node manually.
| * | demo: Don't crash when closing words demoBenjamin Otte2020-08-071-1/+4
|/ / | | | | | | | | | | Make sure the stringlist we're loading into doesn't go away. It'd be better to have a cancellable, but I'm lazy.
* | Merge branch 'dnd-leaks' into 'master'Matthias Clasen2020-08-074-12/+14
|\ \ | |/ |/| | | | | Dnd leaks See merge request GNOME/gtk!2391
| * widgetpaintable: Clear an idle in disposeMatthias Clasen2020-08-061-10/+8
| | | | | | | | | | | | | | | | We were not removing the pending_update idle in dispose, which is at least suspicious, if not deadly. Move the idle cleanup code into unset_widget(), which we are already calling in dispose().
| * wayland: Don't leak content formatsMatthias Clasen2020-08-061-0/+2
| | | | | | | | We were not unreffing the formats here.
| * drop: Don't leak the surface and formatsMatthias Clasen2020-08-061-0/+2
| |
| * contentdeserializer: Add some missing annotationsMatthias Clasen2020-08-061-2/+2
| |
* | Merge branch 'scroll-compression-leak' into 'master'Matthias Clasen2020-08-061-0/+2
|\ \ | | | | | | | | | | | | Fix a leak in scroll event compression See merge request GNOME/gtk!2390
| * | Fix a leak in scroll event compressionMatthias Clasen2020-08-061-0/+2
| |/ | | | | | | | | We were leaking the last event in a sequence of scroll events.
* | Merge branch 'cairo-node-leak' into 'master'Matthias Clasen2020-08-061-0/+3
|\ \ | | | | | | | | | | | | gsk: Don't leak cairo nodes See merge request GNOME/gtk!2389
| * | gsk: Don't leak cairo nodesMatthias Clasen2020-08-061-0/+3
| |/ | | | | | | Not chaining up in finalize is a leak, after all.
* | Merge branch 'focus-workaround' into 'master'Matthias Clasen2020-08-061-0/+1
|\ \ | |/ | | | | | | gridview: Work around unexpected focus changes See merge request GNOME/gtk!2387
| * gridview: Work around unexpected focus changesMatthias Clasen2020-08-061-0/+1
|/ | | | | | | | As things currently stand, we get events for focus changes before the widget is allocated, and try to scroll in response. Therefore, leaving n_columns at 0 until size-allocate leads to plenty of division-by-zero. Just set it to 1 initially to avoid that. This is a workaround for #3025.
* Merge branch 'toplevel-size-declaration' into 'master'Matthias Clasen2020-08-061-5/+2
|\ | | | | | | | | gdk/toplevel: fix declarations of GdkToplevelSize See merge request GNOME/gtk!2386
| * gdk/toplevel: fix declarations of GdkToplevelSizeAndreas Persson2020-08-061-5/+2
|/ | | | | GDK_AVAILABLE_IN_ALL was missing from gdk_toplevel_size_get_bounds and gdk_toplevel_size_set_max_size was declared though it doesn't exist.
* Merge branch 'rsvg-check' into 'master'Emmanuele Bassi2020-08-061-1/+1
|\ | | | | | | | | Specify version for optional librsvg dependency See merge request GNOME/gtk!2385
| * Specify version for optional librsvg dependencyAndreas Persson2020-08-061-1/+1
|/ | | | | | The testsvg test uses a method in librsvg that was introduced in 2.46.0. The test is now skipped if the librsvg version is too old. (It was previously already skipped if librsvg wasn't found.)
* Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2020-08-061-0/+36
|\ | | | | | | | | testsvg: Some additions See merge request GNOME/gtk!2383
| * testsvg: Some additionsMatthias Clasen2020-08-051-0/+36
|/ | | | | Load a file from the commandline, and implement intrinsic width/height.
* Merge branch 'svg-viewer' into 'master'Matthias Clasen2020-08-062-0/+216
|\ | | | | | | | | Add an svg test See merge request GNOME/gtk!2382
| * Add an svg testMatthias Clasen2020-08-052-0/+216
|/ | | | | tests/testsvg is a minimal paintable implementation wrapped around RsvgHandle.
* Merge branch 'fix-puzzle-keynav' into 'master'Matthias Clasen2020-08-062-2/+40
|\ | | | | | | | | | | | | Fix puzzle keynav Closes #3023 See merge request GNOME/gtk!2381
| * gtk-demo: Fix keynav in the puzzle demoMatthias Clasen2020-08-051-2/+2
| | | | | | | | Fixes: #3023
| * NEWS: UpdatesMatthias Clasen2020-08-051-0/+38
|/
* Merge branch 'wip/carlosg/stop-spinbutton-stop' into 'master'Matthias Clasen2020-08-053-2/+7
|\ | | | | | | | | | | | | Let spinbuttons stop Closes #3016 See merge request GNOME/gtk!2380
| * gtkspinbutton: Claim button gestures when starting to spinCarlos Garnacho2020-08-061-0/+2
| | | | | | | | | | | | | | The gesture should be acknowledged by the spin button, in order to guarantee it will also receive the button release. Fixes: https://gitlab.gnome.org/GNOME/gtk/-/issues/3016
| * gtkbutton: Don't claim gesture till emissionCarlos Garnacho2020-08-061-2/+1
| | | | | | | | That means waiting till button release.
| * gtkgesture: ::cancel if a claimed sequence goes deniedCarlos Garnacho2020-08-061-0/+4
| | | | | | | | | | | | The regular paths just emit ::end, which isn't the whole thing. This gives an opportunity to gestures that are stolen the sequence to clean themselves up.
* | Merge branch 'msys2-ccache-setup-first' into 'master'Christoph Reiter2020-08-051-4/+4
|\ \ | |/ |/| | | | | CI: move ccache setup before building anything See merge request GNOME/gtk!2379