summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | x11: Don't set NET_WM_PID when sandboxedMatthias Clasen2018-05-292-13/+19
| | | | | | | | | | | | | | | | | | | | | It is not useful, and some window managers misinterpret it and add some "runs as root" indication to the window decoration. See https://github.com/mate-desktop/marco/issues/301
* | | gdk: Add a private api to find sandboxesMatthias Clasen2018-05-292-1/+15
| | | | | | | | | | | | This will be used in more places in the future.
* | | Update Spanish translationDaniel Mustieles2018-05-281-344/+1858
| | |
* | | gdkdnd: Fix 2 typos in docsDaniel Boles2018-05-271-2/+2
| | |
* | | ci: update the docker image to fedora 28Christoph Reiter2018-05-273-3/+3
| | | | | | | | | | | | So we get a newer pango
* | | Merge branch 'gtk-3-24' into 'gtk-3-24'Matthias Clasen2018-05-271-2/+2
|\ \ \ | | | | | | | | | | | | | | | | icontheme: Keep dir_mtimes in order See merge request GNOME/gtk!162
| * | | icontheme: Keep dir_mtimes in orderJan Alexander Steffens (heftig)2018-05-231-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't reverse the order each time we insert a theme. Reverse it only once, after all themes have been loaded. Fixes https://gitlab.gnome.org/GNOME/gtk/issues/1115
* | | | Update Polish translationPiotr Drąg2018-05-272-495/+1977
| | | |
* | | | Update POTFILES.in and POTFILES.skipPiotr Drąg2018-05-272-1/+5
| | | |
* | | | SpinButton: Fix an obviously wrong arg descriptionDaniel Boles2018-05-261-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | :climb-rate is not about what you get when you single-click on a button, as this implied: it's what happens if you hold down a button or a key. Fix the description of @climb_rate to new(), and while here, mention the key in the blurb of :climb-rate itself.
* | | | GdkWin: Avoid leak if bailing from process_updatesDaniel Boles2018-05-251-1/+2
| | | | | | | | | | | | | | | | | | | | There is no point creating the list if we don't need to because we are failing out, and even less point in leaking it in that case.
* | | | StyleContext: Add a missing apostropheDaniel Boles2018-05-251-1/+1
| | | | | | | | | | | | | | | | | | | | (or rather, the right single quote dictated by the HIG, which is semantically not an apostrophe at all! I will die on this hill.)
* | | | wayland: check native window for crossing eventsOlivier Fourdan2018-05-251-62/+54
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gdk_wayland_*_grab()/ungrab() would emit crossing events which translate as focus_in/focus_out events for keyboard. However, the ungrab() functions compare the native toplevel as this is what gets the Wayland pointer enter/leave events with the grab window, so if the grab is issued on a child gdk window, those won't match and we would emit more focus_out events than focus_in events. This means that a widget such as spice-gtk which issues a keyboard grab whenever the pointer enters the window and releases the grab when it leaves the window would get uneven numbers of focus_in/focus_out events. Also, gdk_wayland_seat_ungrab() would not emit crossing events for keyboard devices, whereas gdk_wayland_device_ungrab() does, which adds even more potential discrepancies between focus_in/focus_out events. To solve this problem, introduce two new helper functions which check the relevant native windows to emit crossing events when needed that get called evenly from both gdk_wayland_seat_grab()/ungrab() and gdk_Wayland _device_grab()/ungrab() APIs. Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=780422 Fixes: https://gitlab.gnome.org/GNOME/gtk/issues/792
* | | StyleContext: Don't advise using invalidate()Daniel Boles2018-05-211-5/+2
| | | | | | | | | | | | It's deprecated. Also, set_screen() is not used/needed in the demo cited
* | | Remove the "without parent" warningMatthias Clasen2018-05-211-3/+0
| | | | | | | | | | | | | | | | | | We've had it for a long time, and it hasn't really made a difference. And I don't think we are prepared to turn this into a hard error. So just drop it.
* | | Range: Up should only mean ++ if we are a GtkScaleDaniel Boles2018-05-211-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The last round of patches to get the desired direction of value move in response to scrolls/keypresses on scales had the inadvertent side effect of giving the opposite direction on scrollbars. Seeing as gtkrange.c is already a collection of hacks, add another so that fix only holds if the instance is a GtkScale, since that is what those patches were aimed at. Close https://gitlab.gnome.org/GNOME/gtk/issues/1065
* | | ProgressBar: Fix typo in doc commentDaniel Boles2018-05-211-1/+1
| | |
* | | font chooser: Support font variationsfont-chooser-backportsMatthias Clasen2018-05-184-12/+299
| | | | | | | | | | | | Add sliders for the axes on the tweak page.
* | | font chooser: Add properties for font features and languageMatthias Clasen2018-05-185-0/+68
| | | | | | | | | | | | | | | | | | These can't be returned as part of the font description, so we need new api for them. For now, this is just readonly properties. Maybe these should be writable too, eventually.
* | | font chooser: Add font featuresMatthias Clasen2018-05-1811-6/+1194
| | | | | | | | | | | | Populate the tweak page with OpenType font features.
* | | font chooser: Add a tweak pageMatthias Clasen2018-05-185-127/+421
| | |
* | | font chooser: introduce font chooser levelsMatthias Clasen2018-05-186-4/+140
| | | | | | | | | | | | | | | This is a more systematic approach to reducing the level of detail in the font chooser.
* | | Bump the pango requirementMatthias Clasen2018-05-181-1/+1
| | | | | | | | | | | | We want to use the new font variation api in pango 1.41.
* | | Add a flatpak manifest for widget-factoryMatthias Clasen2018-05-171-0/+45
|/ / | | | | | | This makes it easier to build GTK+.
* | Merge branch ↵Matthias Clasen2018-05-171-0/+9
|\ \ | | | | | | | | | | | | | | | | | | '1053-scroll-cursor-gets-left-behind-if-a-child-widget-steals-the-scroll' into 'gtk-3-22' Resolve "Scroll cursor gets left behind if a child widget steals the scroll" See merge request GNOME/gtk!134
| * | ScrolledWindow: Unset cursor if child takes scroll1053-scroll-cursor-gets-left-behind-if-a-child-widget-steals-the-scrollDaniel Boles2018-05-051-0/+9
| | | | | | | | | | | | https://gitlab.gnome.org/GNOME/gtk/issues/1053
* | | textview: Don't scroll for pastes in another viewMatthias Clasen2018-05-171-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GtkTextView scrolls to the insertion point when the text buffer signals a paste is done. This is wrong when there are multiple views on the same buffer, and the paste happened in another view. To fix this, flip the handling of the scroll_after_paste boolean to only be TRUE if we know that we want to scroll.
* | | Merge branch ↵Benjamin Otte2018-05-161-2/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | '1069-thread-1-glade-received-signal-sigfpe-arithmetic-exception' into 'gtk-3-22' Resolve "Thread 1 "glade" received signal SIGFPE, Arithmetic exception." See merge request GNOME/gtk!151
| * | | GtkBox: do not divide by zero on gtk_box_size_allocate_with_center()1069-thread-1-glade-received-signal-sigfpe-arithmetic-exceptionJuan Pablo Ugarte2018-05-121-2/+2
| | | | | | | | | | | | | | | | https://gitlab.gnome.org/GNOME/gtk/issues/1069
* | | | appchooserdialog: Fix memory leakMohammed Sadiq2018-05-131-0/+1
| | | |
* | | | appchooserdialog: Don't fire notify::heading twiceMohammed Sadiq2018-05-131-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | The gtk_app_chooser_dialog_set_heading() function do emit notify::heading. Since the setter simply calls the function, the setter itself shouldn't emit a notify signal by itself.
* | | | textview: Always show select-all button in touch popupMohammed Sadiq2018-05-131-2/+1
| | | | | | | | | | | | | | | | | | | | "Select all" action is possible regardless of the text selection state or if the text is editable or not.
* | | | textview: Simplify creating bubble action buttonsMohammed Sadiq2018-05-131-7/+3
|/ / / | | | | | | | | | Buttons can be created simply with gtk_button_new_from_icon_name().
* | | Visual Studio 2008 builds: Generate gtk/gtktypefuncs.cChun-wei Fan2018-05-122-0/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | This is the updates to the Visual Studio 2008 projects to generate gtk/gtktypefuncs.c using the preprocessor and the gentypefuncs.py that was adapted from master. Unfortunately we could not clean up the projects as we did for the 201x ones due to the differences in project file format.
* | | Visual Studio 201x builds: Clean up project filesChun-wei Fan2018-05-126-62/+561
| | | | | | | | | | | | | | | | | | Combine repetitive parts, and unify using $(PythonDir) for all builds, which the paths set in the property sheets are now based on the Visual Studio version and platform combination.
* | | Visual Studio 201x builds: Fix previous commitChun-wei Fan2018-05-121-1/+1
| | | | | | | | | | | | | | | | | | Not that it will make a difference, but to be consistent with the autotools builds. Include gtkx.h instead of gtk.h when we generate the source to feed to the preprocessor.
* | | Visual Studio 201x builds: Generate gtk/gtktypefuncs.cChun-wei Fan2018-05-125-1/+72
| | | | | | | | | | | | | | | | | | | | | We now need to generate gtktypefuncs.c by ourselves, so modify the gentypefuncs.py script from master, and add a custom build step in the projects to generate gtktypefuncs.c. The custom build step for the 2008 projects will be added later.
* | | Merge branch 'wip/restart-cursor-animation-gtk-3' into 'gtk-3-22'Matthias Clasen2018-05-111-4/+11
|\ \ \ | | | | | | | | | | | | | | | | wayland: Fix restarting cursor animation See merge request GNOME/gtk!150
| * | | wayland: Fix restarting cursor animationJonas Ådahl2018-05-091-4/+11
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | When an animated cursor was set and the previous cursor animation delay happened to be the same, we wouldn't restart the animation timeout and just return G_SOURCE_CONTINUE assuming the timer would continue. This assumption is however only valid if the function was called from the timeout, which is not the case. Instead also arm the timer also if there is no previous timer active.
* | | gtk/Makefile.am: Fix Visual Studio project generationChun-wei Fan2018-05-111-1/+2
| | | | | | | | | | | | | | | We now need the generated sources to be included explicitly in the list so that they get listed in the project files to be built.
* | | [Quartz] Hardcode screen resolution for text at 96.0.John Ralls2018-05-081-7/+11
|/ / | | | | | | | | | | It seems that CoreText is internally calibrated for this, see https://bugzilla.gnome.org/show_bug.cgi?id=787867 for a detailed discussion.
* | gtk: Fix reserved pointersBenjamin Otte2018-05-073-12/+12
| | | | | | | | | | | | So gcc stops complaining about unnecessary parenthesis. Closes #1059
* | Range: Bin pointless check before emitting signalBjörn Lindqvist2018-05-061-11/+5
| | | | | | | | | | | | | | | | | | In scroll_event(), there is no need to check whether we are realized before emitting ::change-value, as we must be when receiving an event. Git-formatted/rebased/cleaned up by Daniel Boles <dboles.src@gmail.com> Close https://gitlab.gnome.org/GNOME/gtk/issues/292
* | Menu: cleanups for previous commit and nearbyDaniel Boles2018-05-061-11/+11
| | | | | | | | | | | | | | • #include <math.h> for the new uses of floor() • Move the new ints and popdown_data into the scopes where they are used • Don’t pointlessly init other ints to 0 as they always get reassigned • Burninate gint
* | Menu: Fix broken navigation triangle/hysteresisSam Douglas2018-05-061-6/+11
|/ | | | | | | | | | This issue was caused when mouse coordinates were changed to floating point values in commit e8b38fedbd8961df4aaaa75b122a06ddc68e75f2. This patch floors the event->x_root and event->y_root values when setting the navigation region, so the previous behaviour is restored. https://gitlab.gnome.org/GNOME/gtk/issues/450
* x11: Set a transparent background on windows by defaultBenjamin Otte2018-05-041-0/+3
| | | | This avoids black flicker on compositing WMs when a window is first shown.
* emoji chooser: Match search terms betterMatthias Clasen2018-05-041-1/+1
| | | | | | | | Use g_str_match_string for better results. cherry-pick of be2853e5deb60274e43352352de74dc458908fe2 https://gitlab.gnome.org/GNOME/gtk/issues/898
* Merge branch 'wip/lantw/gtk3-use-dev-evdev-input-h-on-freebsd' into 'gtk-3-22'Matthias Clasen2018-05-022-3/+11
|\ | | | | | | | | wayland: Use dev/evdev/input.h on FreeBSD (GTK3) See merge request GNOME/gtk!132
| * wayland: Use dev/evdev/input.h on FreeBSDTing-Wei Lan2018-05-012-3/+11
| | | | | | | | | | | | | | | | | | | | | | The header linux/input.h used by GDK is specific to Linux. It is possible to get a few Linux headers on FreeBSD by installing v4l_compat, but it is usually better to use the one shipped with FreeBSD. We prefer dev/evdev/input.h to linux/input.h here, so it will always use dev/evdev/input.h on FreeBSD regardless of v4l_compat. https://svnweb.freebsd.org/changeset/ports/465644
* | Update Finnish translationJiri Grönroos2018-05-011-406/+419
|/