summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* treeview: Remove the pixel cachegtk3-remove-pixel-cache-from-treeviewTimm Bäder2019-05-211-127/+28
| | | | | | | | | | | | | | This has caused numerous issues for users, especially in the filechooser, which have not been fixed in all the years since the pixel cache has been introduced. If anyone seriously has complaints about the treeview performance (and those did not exist with the pixel cache), feel free to revert this commit *and* fix the pixel cache issues. Closes #503 Closes #1691 Closes #466
* Merge branch 'remove-mingw-SetupDiGetDevicePropertyW-check-3-24' into 'gtk-3-24'Christoph Reiter2019-05-214-56/+0
|\ | | | | | | | | build: Remove mingw check for SetupDiGetDevicePropertyW See merge request GNOME/gtk!862
| * build: Remove mingw check for SetupDiGetDevicePropertyWChristoph Reiter2019-05-214-56/+0
| | | | | | | | | | | | | | | | | | | | It was mssing when the check was added in 2016, but was fixed upstream in https://github.com/mirror/mingw-w64/commit/9ef49367378c50553943bd shortly after. Assume everyone has updated by now. See !861 for a related change on the master branch.
* | Merge branch 'issue-302' into 'gtk-3-24'Emmanuele Bassi2019-05-211-2/+3
|\ \ | |/ |/| | | | | docs: Fix the override for GdkAtom See merge request GNOME/gtk!863
| * docs: Fix the override for GdkAtomEmmanuele Bassi2019-05-211-2/+3
|/ | | | | | | GdkAtom is a typedef to a pointer to an opaque structure. We need to tell GTK-Doc how to override it, so that the documentation is accurate. Fixes: #302
* Replace obsolete GdkScreen-based method of finding the toplevel at point.John Ralls2019-05-201-1/+8
| | | | | With the more current GdkDisplay function. Also separate the if statements with blank lines.
* Don't call g_object_ref on NULL, it whines.John Ralls2019-05-201-1/+4
| | | | Fixes https://gitlab.gnome.org/GNOME/gtk/issues/1822
* Merge branch 'fix-non-csd-menu-corners-gtk3' into 'gtk-3-24'Timm Bäder2019-05-173-6/+8
|\ | | | | | | | | Adwaita: Don't round the non-csd menu corners (GTK3) See merge request GNOME/gtk!834
| * Adwaita: Don't round the non-csd menu cornersnana-42019-05-123-6/+8
| | | | | | | | | | | | Otherwise, the menu will have ugly black corners. Fixes https://gitlab.gnome.org/GNOME/gtk/issues/1661
* | emoji chooser: populate incrementallyMatthias Clasen2019-05-161-22/+47
|/ | | | | | | It takes half a second on my system to initially populate the Emoji chooser. That is too long. Do the work in 8 millisecond chunks to give GTK a chance to get some frames done.
* Merge branch 'cups-deprecation-warnings-3-24' into 'gtk-3-24'Marek Kašík2019-05-108-238/+72
|\ | | | | | | | | Cups deprecation warnings for gtk-3-24 See merge request GNOME/gtk!833
| * Require CUPS >= 2.0 in configure.acMarek Kasik2019-05-102-12/+2
| | | | | | | | | | Require CUPS 2.0 and newer to simplify code. This removes all ifdefs dependent on CUPS version.
| * Require CUPS >= 2.0Emmanuele Bassi2019-05-106-265/+35
| | | | | | | | | | Drop support for versions of CUPS < 2.0, to simplify the backend code and drop a lot of conditional blocks.
| * cups: Use non-deprecated APIEmmanuele Bassi2019-05-103-2/+70
| | | | | | | | | | | | | | The http* family of functions was deprecated after CUPS 1.7. We can conditionally use it when built against a newer version of CUPS. The additional parameters are taken directly from the fallback values inside CUPS itself.
| * Detect CUPS ≥ 1.7Emmanuele Bassi2019-05-102-0/+6
|/ | | | | We support CUPS ≥ 1.2, but we use API that was introduced and deprecated at a later point.
* Merge branch 'gdk-win32-unimplement-vfuncs-3.24' into 'gtk-3-24'Matthias Clasen2019-05-071-1/+4
|\ | | | | | | | | GdkSurface - Don't call unimplemented NULL set_startup_id() vfunc on Win32 See merge request GNOME/gtk!826
| * GdkWindow - Don't call unimplemented NULL set_startup_id() vfunc on Win32Sebastian Dröge2019-05-071-1/+4
|/ | | | | | | | | | GdkWindow::set_startup_id() is NULL on Win32 and would cause a segfault if called. While the documentation of the main caller of set_startup_id(), gtk_window_set_startup_id(), mentions that it's not implemented on Windows it can still be automatically called via Glade and simply doing nothing on Win32 is going to be less disruptive than a segfault.
* Update Friulian translationFabio Tomat2019-05-061-545/+505
|
* Merge branch 'header-bar-leak3' into 'gtk-3-24'Matthias Clasen2019-05-061-0/+1
|\ | | | | | | | | GtkHeaderBar: Don't leak decoration layout See merge request GNOME/gtk!823
| * GtkHeaderBar: Don't leak decoration layoutGuido Günther2019-05-061-0/+1
|/ | | | | | | Currently we leak priv->decoration_layout if the layout is set multiple times. Signed-off-by: Guido Günther <agx@sigxcpu.org>
* Add a reftest for multiple font familiesMatthias Clasen2019-05-034-0/+34
| | | | | | This tests that listing multiple font families in the css font-family property works as expected.
* css: Use multiple font-family valuesMatthias Clasen2019-05-031-2/+12
| | | | | | | Pango API to support this, so we can implement this very easily. Closes: https://gitlab.gnome.org/GNOME/gtk/issues/1854
* Merge branch 'wip/ernestask/tree-view-rubberband-null-node' into 'gtk-3-24'Matthias Clasen2019-05-011-4/+2
|\ | | | | | | | | treeview: Draw rubber band rectangle more often See merge request GNOME/gtk!803
| * treeview: Draw rubber band rectangle more oftenErnestas Kulik2019-05-011-4/+2
|/ | | | | | | | If the cursor coordinates are outside of the content (the GtkRBTree), gtk_tree_view_bin_draw() will return and not draw the rubber band rectangle. Fixes https://gitlab.gnome.org/GNOME/gtk/issues/1859
* Add a few placeholder documentation block to have g-i annotationsRico Tzschichholz2019-05-011-0/+16
|
* Merge branch 'xdg-output-3-24' into 'gtk-3-24'Matthias Clasen2019-05-017-37/+176
|\ | | | | | | | | [3.24] wayland: Add support for xdg-output See merge request GNOME/gtk!750
| * wayland: Add support for xdg-outputOlivier Fourdan2019-04-167-37/+176
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, the GDK backend for Wayland would deduce the logical size of the monitors from the wl_output size and scale. With the addition of fractional scaling which advertises a larger scale value and then scale down the client surface, the computed logical size of the monitors in GDK would be wrong and confuse applications which insist on using the monitor size and position (like Firefox). The xdg-output protocol aims at describing outputs in a way which is more in line with the concept of an output on desktop oriented systems by presenting the outputs using their logical size and position appropriately transformed. Add support for the optional xdg-output protocol so that the size and position of the monitors as reported by GDK is correct even when using fractional scaling. Fixes: https://gitlab.gnome.org/GNOME/gtk/issues/1828
* | Merge branch 'ime-preedit-hidpi-3' into 'gtk-3-24'Chun-wei Fan2019-04-301-9/+12
|\ \ | | | | | | | | | | | | gtkimcontextime.c: Fix preedit window placement on HiDPI See merge request GNOME/gtk!775
| * | gtkimcontextime.c: Fix preedit window placement on HiDPIChun-wei Fan2019-04-251-9/+12
| | | | | | | | | | | | | | | | | | We must also take the scaling factor into account for placing the IME preedit window that is often used for Chinese and Japanese input on Windows.
* | | Adwaita: tone down lowres icon aidJakub Steiner2019-04-293-6/+6
| | | | | | | | | | | | Fixes https://gitlab.gnome.org/GNOME/gtk/issues/1818
* | | Merge branch 'textbuf-serialize-fix-format-string' into 'gtk-3-24'Matthias Clasen2019-04-271-1/+10
|\ \ \ | |/ / |/| | | | | | | | GtkTextBufferSerialize: Check and fix format string arguments See merge request GNOME/gtk!779
| * | GtkTextBufferSerialize: Add missing format string argumentFelix Riemann2019-04-271-1/+2
| | | | | | | | | | | | The format string has two string parameters however only one was supplied.
| * | GtkTextBufferSerialize: Add G_GNUC_PRINTF() to set_error()Felix Riemann2019-04-271-0/+8
|/ / | | | | | | This allows the compiler to warn if format string and arguments do not match.
* | Merge branch 'fix-dnd-macos' into 'gtk-3-24'Matthias Clasen2019-04-231-1/+2
|\ \ | | | | | | | | | | | | quartz: Add missing g_object_ref See merge request GNOME/gtk!768
| * | quartz: Add missing g_object_refJames Westman2019-04-221-1/+2
|/ / | | | | | | | | | | | | | | | | | | | | A g_object_ref() call was missing, sometimes causing crashes during drag-and-drop operations. The matching g_object_unref() is at gdk/gdkdnd.c:261. The logic in this function is still wrong--it finds the wrong GdkWindow under some circumstances--but this commit fixes the crash. Part of #1840.
* | Merge branch 'wip/carlosg/tablet-cursors-hidpi' into 'gtk-3-24'Matthias Clasen2019-04-181-19/+58
|\ \ | | | | | | | | | | | | gdk/wayland: Listen to wl_surface events on tablet cursors See merge request GNOME/gtk!759
| * | gdk/wayland: Listen to wl_surface events on tablet cursorsCarlos Garnacho2019-04-181-19/+58
|/ / | | | | | | | | | | | | | | And update the surface accordingly (eg. scale on hidpi). The mechanism that did that for wl_pointer has been made generic so it can be shared with tablets too. Closes: https://gitlab.gnome.org/GNOME/gtk/issues/1675
* | Merge branch 'wayland-hotspot-3' into 'gtk-3-24'Jonas Ådahl2019-04-181-0/+8
|\ \ | | | | | | | | | | | | wayland: Avoid using uninitialized memory See merge request GNOME/gtk!758
| * | wayland: Avoid using uninitialized memorywayland-hotspot-3Matthias Clasen2019-04-181-0/+8
|/ / | | | | | | | | | | | | | | | | _gdk_wayland_cursor_get_buffer was not initializing its out variables in the 'not found' case. This was showing up in protocol traces as garbage hotspots being sent to the compositor. Closes: https://gitlab.gnome.org/GNOME/gtk/issues/1328
* | state-record.c: Include header for write()/close()Chun-wei Fan2019-04-181-0/+6
| | | | | | | | | | Avoid an "implicit declaration of ..." warning/error for using close()/write().
* | meson: Add missing files to gtk3-demo to fix buildRico Tzschichholz2019-04-171-0/+5
| |
* | widget-factory: Update copyright lineMatthias Clasen2019-04-161-4/+4
| | | | | | | | Update the years to 2019, and use some better typography.
* | widget-factory: Add an Inspector menu itemMatthias Clasen2019-04-162-0/+13
|/ | | | Just because we can.
* imcontextwayland: (Hopefully) fix if expressionTimm Bäder2019-04-161-1/+1
| | | | Backport from master: f9a5a474f0e1a482cacde63
* Merge branch 'event_window' into 'gtk-3-24'Carlos Garnacho2019-04-151-4/+6
|\ | | | | | | | | gdk/wayland: Use event window to calculate coordinatess for show_window_menu() See merge request GNOME/gtk!749
| * gdk/wayland: Use event window to calculate coordinatess for show_window_menu()Robert Mader2019-04-141-4/+6
|/ | | | The previously used window always was the xdg_toplevel window.
* meson: add tools testsChristoph Reiter2019-04-133-0/+25
|
* meson: add a11y testChristoph Reiter2019-04-136-3/+117
|
* meson: underscorify immodule name when using it as a macro nameChristoph Reiter2019-04-121-1/+1
| | | | | This resulted in -DINCLUDE_IM_ti-et getting passed to gcc resulting in lots of warnings. Use underscorify() so we get the correct -DINCLUDE_IM_ti_et instead.
* Merge branch 'fix-meson-on-macos' into 'gtk-3-24'Nirbheek Chauhan2019-04-121-1/+1
|\ | | | | | | | | meson: Fix build on macOS See merge request GNOME/gtk!735