Emmanuele Bassi
1896d7f463
build: Make sysprof truly optional
...
We are falling back to the sysprof subproject even if sysprof support
has been explicitly disabled.
Fixes : #3118
2020-09-04 12:02:15 +01:00
Emmanuele Bassi
927c4abf23
Merge branch 'fix-vulkan-dependency-searching' into 'master'
...
meson: Fix Vulkan dependency checking
Closes #3108
See merge request GNOME/gtk!2526
2020-09-04 10:49:50 +00:00
Chun-wei Fan
b322ddba5c
gdksurface-win32.c: Fix missed include
...
We need to include gdkdevice-win32.h for gdksurface-win32.c
2020-09-04 17:24:57 +08:00
Nirbheek Chauhan
b25871438d
meson: Fix Vulkan dependency checking
...
The dependency block was completely wrong. It was:
1. Not searching for the lib manually when -Dvulkan=enabled (default).
The else block was only hit when -Dvulkan=auto.
2. Unconditionally searching for the vulkan library in the else block
when -Dvulkan=disabled
The manual searching is also not required because Meson has a custom
'vulkan' dependency class that already supports Windows, and is more
correct than the code here. Specifically, the current code does not
support picking up the Vulkan SDK from a custom path.
Fixes #3108
2020-09-04 11:50:50 +05:30
Jordi Mas
aff3cc6194
Update Catalan translation
2020-09-04 06:26:23 +02:00
Ahmed Eldemery
f2c4ad0087
Merge remote-tracking branch 'upstream/master' into master
2020-09-03 20:24:26 +02:00
Matthias Clasen
1a131a04d3
3.99.1
2020-09-03 14:20:06 -04:00
Matthias Clasen
887539e4ff
gridview: Make constructor arguments nullable
...
I forgot to adjust the precondition when copying things
around.
2020-09-03 14:20:06 -04:00
Matthias Clasen
98440142da
Merge branch 'layout-manager-transform-demo' into 'master'
...
Layout manager transform demo
See merge request GNOME/gtk!2519
2020-09-03 14:49:31 +00:00
Matthias Clasen
acc2516b3c
Add another layout manager demo
...
This demo uses transforms to place icons on a sphere.
2020-09-03 10:09:22 -04:00
Matthias Clasen
fd7a9069ce
Cosmetic improvement to the layout manager demo
...
Give this a better title, since we will have more
than one layout manager demo soon.
2020-09-03 10:09:22 -04:00
Matthias Clasen
1a8f109af8
Add a simple testcase for transforms
...
This can help in tracking various things down,
from picking to clipping.
2020-09-03 10:09:22 -04:00
Matthias Clasen
eee6d28c67
Merge branch 'matthiasc/for-master' into 'master'
...
Matthiasc/for master
Closes #3109 and #3112
See merge request GNOME/gtk!2522
2020-09-02 19:47:40 +00:00
Matthias Clasen
30ab8b3eca
Fix picking
...
My previous change here was too hasty - this code is not
actually transforming points - it is just a convoluted
way to transform the z axis from child coordinates to
the parent.
2020-09-02 15:20:58 -04:00
Matthias Clasen
d5121af876
text widgets: Don't lose focus after Emoji
...
Make sure to grab focus back when the Emoji chooser
disappears. This prevents focus going nowhere when
the Emoji chooser is canceled.
Fixes : #3112
2020-09-02 15:20:58 -04:00
Matthias Clasen
9512e461d5
textview: Fix placement of Emoji chooser
...
If the selection extends beyond the visible range,
place the Emoji chooser over the center of the window.
Fixes : #3109
2020-09-02 15:20:58 -04:00
Matthias Clasen
70c5dee968
NEWS: Updates
2020-09-02 15:20:58 -04:00
Emin Tufan Çetin
6c9fe63a23
Update Turkish translation
2020-09-02 18:26:15 +00:00
Mario Blättermann
a909f9d0f5
Update German translation
2020-09-02 17:14:28 +00:00
Carlos Garnacho
21b9dad9e6
Merge branch 'gesture-nullable-sequence' into 'master'
...
Annotate sequence argument of GtkGesture signals as nullable
See merge request GNOME/gtk!2520
2020-09-02 11:11:54 +00:00
Sebastian Dröge
ae5d1cd161
Annotate sequence argument of GtkGesture signals as nullable
2020-09-02 13:32:20 +03:00
Matthias Clasen
f53b59533d
README: Cosmetics
2020-09-01 19:21:32 -04:00
Matthias Clasen
062822ab06
Merge branch 'checkbutton-fixes' into 'master'
...
Checkbutton fixes
See merge request GNOME/gtk!2518
2020-09-01 22:15:33 +00:00
Goran Vidović
fc333ead79
Update Croatian translation
2020-09-01 21:14:00 +00:00
Matthias Clasen
746bdd3d47
checkbutton: Don't notify write-only properties
...
Nobody is listening...
2020-09-01 16:31:07 -04:00
Matthias Clasen
c5c67cbb8c
action helper: Drop G_GNUC_INTERNAL from headers
...
We haven't needed this for a long time now.
2020-09-01 16:29:21 -04:00
Matthias Clasen
639c839ba4
Add docs about grouping via action
...
Mention this in the docs for gtk_check_button_set_group
and gtk_toggle_button_set_group.
2020-09-01 16:29:21 -04:00
Matthias Clasen
5f8769e1a8
checkbutton: Support GtkActionable properly
...
Support grouping buttons via a radio action, as well
as via explicit gtk_check_button_set_group() calls.
2020-09-01 16:29:21 -04:00
Matthias Clasen
3569360949
actionhelper: Add a getter
...
Add a getter for the GtkActionHelper:role property.
2020-09-01 16:29:20 -04:00
Aurimas Černius
7070459c40
Updated Lithuanian translation
2020-09-01 22:45:16 +03:00
Matthias Clasen
1c0bf2604c
checkbutton: Don't leak the action helper
2020-09-01 15:24:34 -04:00
Fran Dieguez
c2786fefa8
Update Galician translation
2020-09-01 19:08:43 +00:00
Matthias Clasen
1bbab5664d
Merge branch 'license-clarification' into 'master'
...
License clarification
See merge request GNOME/gtk!2517
2020-09-01 18:58:52 +00:00
Matthias Clasen
a3030d3a62
Merge branch 'matthiasc/for-master' into 'master'
...
Matthiasc/for master
Closes #3107
See merge request GNOME/gtk!2516
2020-09-01 18:26:21 +00:00
Matthias Clasen
ec6d3ead03
Add a license clarification
2020-09-01 14:25:56 -04:00
Matthias Clasen
87855dd375
Move timsort sources to a subdirectory
...
This makes it easier to identify the files that
belong together, and are under the same license.
2020-09-01 14:25:56 -04:00
Matthias Clasen
0e6eba3968
inspector: Plug another memory leak
...
Fixes : #3107
2020-09-01 13:06:20 -04:00
Matthias Clasen
aaef9bec7f
treelistrowsorter: Plug a memory leak
2020-09-01 13:01:34 -04:00
Matthias Clasen
391c05ef70
inspector: Plug a small memory leak
2020-09-01 12:57:08 -04:00
Benjamin Otte
133a9a6784
Merge branch 'listview-constructors' into 'master'
...
list widgets: Simplify the constructors
See merge request GNOME/gtk!2515
2020-09-01 16:42:09 +00:00
Matthias Clasen
b628338db3
list widgets: Simplify the constructors
...
Now that both arguments to the _new_with_factory() constructors
are nullable, there's no good reason to keep a separate _new()
around. Just make gtk_list_view_new() and gtk_grid_view_new()
take both a model and a factory.
2020-09-01 12:24:06 -04:00
Matthias Clasen
7051fdee5d
Merge branch 'projective-transform' into 'master'
...
Replace uses of graphene_matrix_transform_
See merge request GNOME/gtk!2514
2020-09-01 13:44:38 +00:00
Matthias Clasen
e36b594867
Replace uses of graphene_matrix_transform_
...
Replace our uses of graphene_matrix_transform_point,
_point3d and _bounds by our own versions that handle
projective transforms correctly.
This fixes render node bounds being incorrect for widgets
involving projective transforms (e.g. testrevealer swing
transformations), and also fixes picking on such widgets.
2020-09-01 09:18:38 -04:00
Matthias Clasen
99a7a2188a
gsk: Add some private transform apis
...
Some of the graphene_matrix_transform apis don't work
correctly with projective matrices, so add our own
variants.
2020-09-01 09:18:38 -04:00
Asier Sarasua Garmendia
3ac9f78141
Update Basque translation
2020-09-01 12:21:34 +00:00
Benjamin Otte
a8d6ba9517
Merge branch 'view-selection-model-3' into 'master'
...
list widgets: Use selection models in the api
See merge request GNOME/gtk!2512
2020-09-01 11:08:51 +00:00
Daniel Mustieles
482794515b
Updated Spanish translation
2020-09-01 11:05:08 +02:00
Matthias Clasen
9377ce984d
Merge branch 'adwaita-more-border-spacing' into 'master'
...
Adwaita: Add border-spacing to some container widgets and style classes (properly)
See merge request GNOME/gtk!2479
2020-08-31 21:17:21 +00:00
Matthias Clasen
8d79a32c50
list widgets: Use selection models in the api
...
Change the apis in GtkListView, GtkColumnView and
GtkGridView to be explicitly about GtkSelectionModel,
to make it obvious that the widgets handle selection.
Update all users.
2020-08-31 17:15:05 -04:00
Matej Urbančič
b661bd9775
Updated Slovenian translation
2020-08-31 21:53:05 +02:00