summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* GDK W32: Use SWP_NOOWNERZORDER everywhere it can be appliedlrn/zorder-324Руслан Ижбулатов2018-06-172-11/+11
| | | | | | | | There is no reason why we shouldn't pass this flag every time Z-order changes. We have separate routines that are used to maintain relative Z-order, so it should be completely OK to pass SWP_NOOWNERZORDER to let the OS know that it shouldn't try to maintain relative Z-order of the windows when raising them.
* GDK W32: Don't let TEMP surfaces cause zorder side-effectsРуслан Ижбулатов2018-06-171-1/+1
| | | | | | | | | | | | Pass SWP_NOOWNERZORDER when rising TEMP surfaces to the top. This ensures that they don't drag anything else to the top with them. The use-case for this is a tooltip (which must be on top) appearing for a non-foreground surface, causing said surface to rise above other surfaces, some of which may be foreground at the moment. https://bugzilla.gnome.org/show_bug.cgi?id=784766 Fixes issue #852
* search-bar: Fix link to search-bar exampleMohammed Sadiq2018-06-161-1/+1
| | | | | The master branch is now Gtk4. We should be linking to stable branch here.
* gtk: fix wheel scrolling for very small adjustment page_sizeMichael Natterer2018-06-122-2/+16
| | | | | | | | For very small page sizes of < 1.0, the effect of pow() is the opposite of what's intended and the scroll steps become unusably large, make sure we never get a scroll_unit larger than page_size / 2.0, which used to be the default before the pow() magic was introduced.
* gdkseatdefault: Don't hide GdkWindow on grab failureVictor Toso2018-06-111-1/+5
| | | | | | | | | | | | | | Application is not expecting that. Bug found due gdk_seat_grab() failure on Lock Screen. When user Unlock the screen, the application is visible but does not receive enter-event any more on X11/GNOME. Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1485968 Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1571422 Signed-off-by: Victor Toso <victortoso@redhat.com> Signed-off-by: Carlos Garnacho <mrgarnacho@gmail.com>
* Update Polish translationPiotr Drąg2018-06-101-165/+173
|
* Merge branch 'lrn/gks_vk_menu' into 'gtk-3-24'Matthias Clasen2018-06-081-0/+2
|\ | | | | | | | | GDK W32: Don't forget to check VK_MENU and set MK_ALT See merge request GNOME/gtk!181
| * GDK W32: Don't forget to check VK_MENU and set MK_ALTРуслан Ижбулатов2018-06-061-0/+2
| |
| * Merge branch 'gtksocket-scale-3-22' into 'gtk-3-22'Emmanuele Bassi2018-05-301-10/+13
| |\ | | | | | | | | | | | | gtksocket: Adjust X sizes by scale-factor See merge request GNOME/gtk!164
| | * gtksocket: Adjust X sizes by scale-factorJason Zaman2018-05-251-10/+13
| | | | | | | | | | | | | | | | | | | | | | | | X uses unscaled sizes, so they must be scaled properly. Otherwise GtkSockets end up twice as big as they should be. Closes: https://bugzilla.gnome.org/show_bug.cgi?id=765327 Signed-off-by: Jason Zaman <jason@perfinion.com>
| * | Merge branch 'gesture-docs' into 'master'Matthias Clasen2018-05-302-5/+8
| |/ | | | | | | | | | | | | | | | | | | | | Gesture stuff See merge request GNOME/gtk!169 (cherry picked from commit 8b24d59cde9410db28c7b61d323fa8b1f0180300) 334c7911 gesture: Fix get_last_event() docs e9765c04 gesture: Fix code snippet 4d2b39d9 gesturemultipress: Don’t fire ::released after ::cancel
| * Merge branch 'bz780422' into 'gtk-3-22'Carlos Garnacho2018-05-221-62/+54
| |\ | | | | | | | | | | | | wayland: check native window for crossing events See merge request GNOME/gtk!147
| | * wayland: check native window for crossing eventsOlivier Fourdan2018-05-091-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
| * | 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-201-1/+1
| | |
* | | Merge branch 'wip/tchaik/fontconfig-timestamp' into 'gtk-3-24'Matthias Clasen2018-06-071-0/+150
|\ \ \ | | | | | | | | | | | | | | | | wayland: Implement 'gtk-fontconfig-timestamp' & 'gtk-modules' See merge request GNOME/gtk!157
| * | | wayland: Implement'gtk-fontconfig-timestamp' & 'gtk-modules'Martin Blanchard2018-05-301-0/+150
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The 'gtk-fontconfig-timestamp' and 'gtk-modules' settings are currently not available at all on Wayland. On X11, they are implemented through xsettings maintained up-to-date by gnome-settings-daemon. This patch implements both GtkSettings for Wayland using a new dbus interface also provided by gnome-settings-daemon. Closes #886
* | | | Merge branch 'gtk-3-24' into 'gtk-3-24'Matthias Clasen2018-06-071-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Fix reference to user styles in gtkstyleprovider.h See merge request GNOME/gtk!183
| * | | | Fix reference to user styles in gtkstyleprovider.hMatijs van Zuijlen2018-06-071-1/+1
| | | | |
* | | | | font-button: Suggest non deprecated function in docsMohammed Sadiq2018-06-071-1/+1
|/ / / / | | | | | | | | | | | | | | | | gtk_font_button_get_font_name() has been deprecated in 3.22 and its public API is removed from GTK4.
* | | | Update Catalan translationJordi Mas2018-06-061-5/+5
| | | |
* | | | Update Catalan translationJordi Mas2018-06-061-236/+75
| | | |
* | | | Merge branch ↵Matthias Clasen2018-06-051-4/+12
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | '1088-getting-css-properties-defined-in-em-etc-in-px-rounds-toward-0-delivering-1-too-few-pixels' into 'gtk-3-24' Resolve "Getting CSS properties defined in em (etc.) in px rounds toward 0, delivering 1 too few pixels" See merge request GNOME/gtk!158
| * | | | CssGadget: Round px values up for min-width|heightDaniel Boles2018-06-051-4/+12
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise, requesting a min size in em where the equivalent in px had a fractional part would lead to the gadget getting allocated 1 too few px. You could see this in the CSS property vs. allocation in the Inspector. Note that margin/border/padding are left alone: the rationale is that we do as browsers do, and Benjamin said we already do that for those, whereas his tests on min-(width|height) showed otherwise. My subsequent analysis indicated it to be far less clear-cut than that, but he remains unconvinced that we should ceil() all the things! So just do these ones. https://gitlab.gnome.org/GNOME/gtk/issues/1088
* | | | docs: Add indices for 3.24 apiMatthias Clasen2018-06-052-0/+8
| | | | | | | | | | | | | | | | We have some now.
* | | | Add new fontchooser api to the docsMatthias Clasen2018-06-052-0/+15
| | | | | | | | | | | | | | | | We have docs.
* | | | Add gdk_window_move_to_rect to the docsMatthias Clasen2018-06-051-0/+1
| | | | | | | | | | | | | | | | We have docs.
* | | | Merge branch 'wip/move-to-rect-public-gtk-3-24' into 'gtk-3-24'Matthias Clasen2018-06-055-26/+17
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | gdk: Make gdk_window_move_to_rect public (gtk-3-24) See merge request GNOME/gtk!180
| * | | | gdk: Make gdk_window_move_to_rect publicJonas Ådahl2018-06-055-26/+17
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the API used by GtkMenu to properly position menus on the screen without requiring GTK to query the menu window's position or the work area of where the window is positioned. It makes it possible to position popup windows properly when using Wayland. Make this API available to external users so custom popup windows can be positioned properly as well. Closes: https://gitlab.gnome.org/GNOME/gtk/issues/997
* | | | Update NEWSMatthias Clasen2018-06-041-0/+50
| | | |
* | | | Bump version to 3.23.0Matthias Clasen2018-06-041-3/+3
| | | | | | | | | | | | | | | | Yes, we are adding some api here.
* | | | Miscellaneous font chooser fixesMatthias Clasen2018-06-043-23/+43
| | | | | | | | | | | | | | | | | | | | Fix various oversights in the backports of the font chooser features.
* | | | font chooser: Make the language property writableMatthias Clasen2018-06-046-273/+298
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is meant as an input to the font chooser. We don't want the user to select a language, but rather have fonts presented as they would work for the current language. Therefore, do away with the lang/script combo on the tweak page.
* | | | font chooser: Add examples for font featuresMatthias Clasen2018-06-041-11/+216
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For some font features, we can figure out affected glyphs, and show before/after. For some others, we hardcode typical sequences. Still to do: figure out how to find ligatures and show them.
* | | | Add a 3.24 versionMatthias Clasen2018-06-041-0/+16
| | | |
* | | | Merge branch 'gtk-3-24' into 'gtk-3-24'Matthias Clasen2018-06-031-1/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | GtkWindow: Handle non-square icons with height > width correctly See merge request GNOME/gtk!173
| * | | | GtkWindow: Handle non-square icons with height > width correctlyChristian Stadelmann2018-06-031-1/+2
|/ / / /
* | | | menu: Remove unstable annotationsMatthias Clasen2018-06-031-8/+0
| | | | | | | | | | | | | | | | These apis are not going to change in GTK+ 3.x.
* | | | Drop Ctrl-Shift-e supportMatthias Clasen2018-06-031-252/+41
| | | | | | | | | | | | | | | | | | | | | | | | Now that we have Emoji completion, drop the rather limited Ctrl-Shift-e support in GtkIMContextSimple, and leave this sequence to input methods.
* | | | widget-factory: add emoji completion to an entryMatthias Clasen2018-06-031-0/+1
| | | |
* | | | entry: Add emoji completionMatthias Clasen2018-06-031-0/+43
| | | | | | | | | | | | | | | | | | | | | | | | Pop up completions when the text in the entry matches :word: This functionality has to be enabled using the enable-emoji-completion property.
* | | | Add an emoji completion popupMatthias Clasen2018-06-036-1/+776
| | | | | | | | | | | | | | | | | | | | This widget provides entry completion-like functionality for Emoji codes like :grin: or :kiss:.
* | | | Export some entry functions privatelyMatthias Clasen2018-06-032-7/+8
| | | | | | | | | | | | | | | | This will be used in the following commits.
* | | | emoji: Hide recent section when emptyMatthias Clasen2018-06-031-0/+12
| | | | | | | | | | | | | | | | | | | | This is part of https://gitlab.gnome.org/GNOME/gtk/merge_requests/143 by Julian Sperber.
* | | | emoji: Improve section scrollingMatthias Clasen2018-06-031-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Leave some space above the section heading when scrolling. This is a part of https://gitlab.gnome.org/GNOME/gtk/merge_requests/143 by Julian Sperber.
* | | | Update Catalan translationJordi Mas2018-06-031-261/+1967
| | | |
* | | | treeview: respect expander-size style propertyChristian Hergert2018-06-011-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Without enforcement to the expander-size, we can end up rendering icons rather fuzzy. This uses the expander-size style property to determine the square for the icon, centered on what was the calculated space for the expander.
* | | | widget: Fix example code in docMohammed Sadiq2018-05-311-1/+1
|/ / /
* | | gtksocket: Adjust X sizes by scale-factorJason Zaman2018-05-301-10/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | X uses unscaled sizes, so they must be scaled properly. Otherwise GtkSockets end up twice as big as they should be. Closes: https://bugzilla.gnome.org/show_bug.cgi?id=765327 Signed-off-by: Jason Zaman <jason@perfinion.com> Close !165
* | | Merge branch 'gesture-docs' into 'master'Matthias Clasen2018-05-302-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Gesture stuff See merge request GNOME/gtk!169 (cherry picked from commit 8b24d59cde9410db28c7b61d323fa8b1f0180300) 334c7911 gesture: Fix get_last_event() docs e9765c04 gesture: Fix code snippet 4d2b39d9 gesturemultipress: Don’t fire ::released after ::cancel