summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Adwaita: scales borderJakub Steiner2021-01-111-2/+2
| | | | | | | | | | | | | | | | | | | | - remove -alt specialcasing for a straight forward border like everything else and avoid broken :dark and HC
| * | | Adwaita: fix button border logicwip/jimmac/adjust-for-contemporary-trendsJakub Steiner2021-01-112-47/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - tint borders dark on non default / blue / red buttons - just use plain $borders_color otherwise - fixes HC/HCi - ditch -alt buttons
| * | | Adwaita: flatter, lighter buttonsJakub Steiner2021-01-111-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | - lighten up for contrast, less of an oldschool gradient Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3568
| * | | Adwaita: round progress and levelbarsJakub Steiner2021-01-111-19/+19
| | | |
| * | | Adwaita: :checked:active and checked:hover statesJakub Steiner2021-01-112-1/+24
| | | | | | | | | | | | | | | | Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3560
| * | | Adwaita: flat scales, progressbars and level barsJakub Steiner2021-01-111-7/+6
| | | |
| * | | Adwaita: remove edge highlightsJakub Steiner2021-01-112-109/+20
| | | | | | | | | | | | | | | | | | | | | | | | - flat is the name of the game - kids scream make it flat - simplify mixins
* | | | Merge branch 'otte/for-master2' into 'master'Matthias Clasen2021-01-111-6/+6
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Remove guarantees we do not intend to hold See merge request GNOME/gtk!3066
| * | | | Remove guarantees we do not intend to holdotte/for-master2Benjamin Otte2021-01-101-6/+6
| | |_|/ | |/| | | | | | | | | | | | | | | | | | The fact that we are using gdk-pixbuf for loading files currrently does not mean we will use it going forward. Also, "anything gdk-pixbuf can load" does not mean anything, because what gdk-pixbuf can load is a compile-time option. As new_from_resource() will assert() if it cannot load a resource, we must be very sure that people do not use anything but PNG and JPEG for resources and the docs were not clear on that.
* | | | Merge branch 'fix-tablet-4' into 'master'Matthias Clasen2021-01-111-11/+65
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Wayland: ignore touch/tablet events on destroyed surfaces [GTK4] See merge request GNOME/gtk!3065
| * | | | Wayland: ignore touch/tablet events on destroyed surfaceswisp3rwind2021-01-101-11/+65
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When destroying a wl_surface (e.g. when a window or menu is closed), the surface may continue to exist in the compositor slightly longer than on the client side. In that case, the surface can still receive input events, which need to be ignored gracefully. In particular, this prevents segfaulting on wl_surface_get_user_data() in that situation. Reported in https://gitlab.gnome.org/GNOME/gtk/-/issues/3296 The same issue for pointers/keyboards was reported in https://bugzilla.gnome.org/show_bug.cgi?id=693338 and fixed with in bfd7137ffbcbd8caa531d7a47d799fefb6605a5a 3625f17857328ae7e7aa43340f29efa56575a7b0 a8fc099a725543649fe3aab76943c14bdcd860fc
* | | | Merge branch 'wip/jimmac/undercorated-active' into 'master'Jakub Steiner2021-01-111-2/+2
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | Adwaita: less dramatic :active for undecorated buttons Closes #3575 See merge request GNOME/gtk!3068
| * | | Adwaita: less dramatic :active for undecorated buttonsJakub Steiner2021-01-111-2/+2
|/ / / | | | | | | | | | Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3575
* | | Merge branch 'avoid-pointer-reset-gtk4' into 'master'Carlos Garnacho2021-01-111-0/+5
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | wayland: avoid set_cursor() when unchanged or invisible Closes #3350 See merge request GNOME/gtk!3062
| * | | wayland: avoid set_cursor() when unchanged or invisiblewisp3rwind2021-01-091-0/+5
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In pointer_surface_update_scale(), only rescale the cursor surface when the scale has actually changed and the cursor is on at least one output. fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3350 Right now, this issue is not completely understood, so it might also involve some questionable handling of cursor surface by sway/wlroots. However, irrespective of that issue, this patch avoids unnecessary calls to the compositor, and there should be no drawback: Whenever the pointer enters a new output, pointer_surface_update_scale() will be called again, such that correct scaling of the cursor is still ensured. There is a slight difference: When the cursor leaves the last output, previously the image was reset to scale factor 1. Now, it keeps whatever was last. That might be more sensible than the previous behaviour, assuming that it's likely that when the cursor enter an output again, it has the same scaling. Alternatively, if one cares about resource usage at this level, it might make more sense to destroy the surface than rescaling to 1.
* | | Merge branch 'surface.compute.win32' into 'master'Matthias Clasen2021-01-113-132/+237
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | Fix surface and geometry computation for Windows (Win32) Closes #3480 See merge request GNOME/gtk!3067
| * | gdk/win32: Fix window display and resizingsurface.compute.win32Chun-wei Fan2021-01-113-59/+170
| | | | | | | | | | | | | | | | | | | | | | | | | | | Have an implementation of ->request_layout() and ->compute_size() for the Win32 surface backend so that we can properly display and move and resize the windows, as we request from the Win32 APIs. Hxndling Aerosnap properly is mostly done except for snap_up(), which needs to to be looked at later.
| * | gdk/win32: Rename 'margins' to 'shadow'Chun-wei Fan2021-01-113-48/+48
| | | | | | | | | | | | This improves consistency for the code.
| * | gdkwin32-surface.c: Fix return typeChun-wei Fan2021-01-111-3/+1
| | | | | | | | | | | | gdk_win32_toplevel_present() should now be returning nothing, not a gboolean.
| * | gdksurface-win32.c: Decouple mapped state from surface creationChun-wei Fan2021-01-111-23/+19
|/ / | | | | | | | | | | In line with what is done with the Wayland backend, enable the mapped state independently as needed from the toplevel surface presentation, and also enable the mapped state if necessary when presenting the popup surface.
* | Update Basque translationAsier Sarasua Garmendia2021-01-101-1330/+1355
| |
* | Update Basque translationAsier Sarasua Garmendia2021-01-101-45/+49
| |
* | Update Polish translationPiotr Drąg2021-01-102-628/+632
|/
* 4.0.14.0.1Matthias Clasen2021-01-092-3/+20
|
* build: Add a sassc featureMatthias Clasen2021-01-092-10/+19
| | | | | | Add an option to disable css rebuilds. This allows to build GTK from release tarballs (Which are including the css) without a sassc dependency.
* Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2021-01-095-31/+30
|\ | | | | | | | | | | | | Matthiasc/for master Closes #3565 See merge request GNOME/gtk!3061
| * droptarget: Some docs cleanupsMatthias Clasen2021-01-081-13/+11
| | | | | | | | Fixes #3565, among other things.
| * gtkffmediafile.c: Use g_snprintf()Chun-wei Fan2021-01-081-1/+1
| | | | | | | | | | | | | | | | Visual Studio 2013 is just shy of being sufficiently C99-compliant to build GTK master, as it did not support snprintf() in its CRT implementation. Use g_snprintf() to cover for this.
| * gtk/gtksecurememoryprivate.h: Include glib.hChun-wei Fan2021-01-081-0/+1
| | | | | | | | | | Some compilers somehow do not have `inline` defined, so include glib.h to ensure that keyword is defined.`
| * a11y: Avoid __ prefixes for variable namesMatthias Clasen2021-01-082-17/+17
|/ | | | Seems that msvc does not like that.
* Merge branch 'nacho/seatdefault' into 'master'Matthias Clasen2021-01-091-7/+3
|\ | | | | | | | | Clean ups in seat default See merge request GNOME/gtk!3057
| * seatdefault: use g_clear_pointer to unref the toolsnacho/seatdefaultIgnacio Casal Quinteiro2021-01-081-5/+1
| |
| * seatdefault: rename dispose methodIgnacio Casal Quinteiro2021-01-081-2/+2
|/
* Merge branch 'wip/nacho/associated-device' into 'master'Matthias Clasen2021-01-071-11/+1
|\ | | | | | | | | gdkdevice: use g_set_object to set the associated device See merge request GNOME/gtk!3049
| * gdkdevice: use g_set_object to set the associated devicewip/nacho/associated-deviceIgnacio Casal Quinteiro2021-01-071-11/+1
| |
* | Merge branch 'mcatanzaro/company-unparent-warning' into 'master'Matthias Clasen2021-01-071-1/+7
|\ \ | | | | | | | | | | | | Add critical if widget has a parent during dispose See merge request GNOME/gtk!3053
| * | Add critical if widget has a parent during disposeBenjamin Otte2021-01-071-1/+7
| | | | | | | | | | | | | | | | | | This is a refcounting bug. Be very verbose about it instead of trying to call a function that releases a reference to the widget without references.
* | | Merge branch 'mcatanzaro/unparent' into 'master'Matthias Clasen2021-01-071-8/+0
|\ \ \ | | | | | | | | | | | | | | | | Remove incorrect unparenting guidance from migration guide See merge request GNOME/gtk!3050
| * | | Remove incorrect unparenting guidance from migration guideMichael Catanzaro2021-01-071-8/+0
| |/ / | | | | | | | | | | | | | | | This rule is almost always wrong, and we're having some trouble agreeing on replacement text. Let's remove the whole paragraph for now, to avoid confusion.
* | | Merge branch 'mcatanzaro/gtkbuilder-docs' into 'master'Matthias Clasen2021-01-072-6/+28
|\ \ \ | | | | | | | | | | | | | | | | Improve GtkBuilder documentation See merge request GNOME/gtk!3055
| * | | gtkbuilder: fix recommendations that no longer make sense in GTK 4Michael Catanzaro2021-01-071-6/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In GTK 3, it was pretty much always better to use gtk_builder_new_from_whatever() rather than gtk_builder_add_from_whatever(). But in GTK 4, this is no longer generally true. Let's add some context on when you want to use one or the other.
| * | | Add section on GtkBuilder API changes to GTK 4 migration guideMichael Catanzaro2021-01-071-0/+19
| |/ / | | | | | | | | | Thanks to Benjamin for helping with the language.
* | | Merge branch 'mcatanzaro/event-controller-porting-guide' into 'master'Matthias Clasen2021-01-071-0/+17
|\ \ \ | |/ / |/| | | | | | | | Expand event controller API changes section of GTK 4 porting guide See merge request GNOME/gtk!3054
| * | Expand event controller API changes section of GTK 4 porting guidemcatanzaro/event-controller-porting-guideMichael Catanzaro2021-01-071-0/+17
| |/ | | | | | | There is more to say about changes to GtkEventController.
* | Merge branch 'ebassi/ci-only' into 'master'Emmanuele Bassi2021-01-071-3/+5
|\ \ | |/ |/| | | | | ci: Specify `only` for other jobs See merge request GNOME/gtk!3052
| * ci: Only run macOS job on upstream branchesebassi/ci-onlyEmmanuele Bassi2021-01-071-0/+2
| | | | | | | | Don't run CI on macOS for forks.
| * ci: Specify `only` for other jobsEmmanuele Bassi2021-01-071-3/+3
|/ | | | Otherwise MRs will only run macOS jobs.
* Merge branch 'wip/jimmac/flat-buttons' into 'master'Matthias Clasen2021-01-072-4/+3
|\ | | | | | | | | | | | | Adwaita: fine tune flat button styling Closes #3481 See merge request GNOME/gtk!3046
| * Adwaita: fine tune flat button stylingJakub Steiner2021-01-072-4/+3
| | | | | | | | | | | | | | - enough contrast for hover and active, while noticably different in normal nad headerbar context (and both light and dark variants). Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3481
* | Merge branch 'wip/jimmac/hc-switch-border' into 'master'Matthias Clasen2021-01-071-0/+2
|\ \ | | | | | | | | | | | | | | | | | | HC: switch border color Closes #3460 See merge request GNOME/gtk!3048