Matthias Clasen
d65f9b298c
Merge branch 'new-css-load-apis' into 'main'
...
Add new css provider load apis
See merge request GNOME/gtk!5966
2023-05-14 00:27:23 +00:00
Matthias Clasen
5c9de08159
Deprecate gtk_css_provider_load_From_data
2023-05-13 20:00:36 -04:00
Matthias Clasen
f2a297f56d
Stop using gtk_css_provider_load_from_data
2023-05-13 19:59:17 -04:00
Matthias Clasen
a1d9cb8ad6
Add new css provider load apis
...
gtk_css_provider_load_from_data has turned out
to be problematic for language bindings. Add two
new variants, from_string and from_bytes, to
replace it.
2023-05-13 19:46:29 -04:00
Emmanuele Bassi
8da911db81
Revert "Merge branch 'gbsneto/css-parser-annotation' into 'main'"
...
This reverts merge request !5964
2023-05-13 21:53:04 +00:00
Georges Basile Stavracas Neto
78f68d7992
Merge branch 'gbsneto/css-parser-annotation' into 'main'
...
gtk/css-provider: Add back array length annotation
See merge request GNOME/gtk!5964
2023-05-13 20:51:00 +00:00
Georges Basile Stavracas Neto
8a190b200b
gtk/css-provider: Add back array length annotation
...
This partially reverts commit 93a875bf20
.
Removing this annotation broke bindings, which now treat the
length of the array as a standalone parameter.
This broke Spiel, and probably other non-C apps that rely on
GtkCssProvider through bindings.
2023-05-13 17:18:21 -03:00
Matthias Clasen
e72b4ae6e2
Merge branch 'more-marshaller-cleanup' into 'main'
...
Add missing va marshallers
See merge request GNOME/gtk!5963
2023-05-13 19:46:30 +00:00
Daniel Boles
9f1f4850fe
Widget: Fix doubled word need, missing possessives
2023-05-13 18:17:17 +01:00
Matthias Clasen
0b9e5e6db4
Drop duplication between marshallers
...
gtk and gdk have their own marshallers, for historic
reasons. But there's no reason to duplicate the same
code here.
Eventually, we should just move all marshallers to
the same place.
2023-05-13 12:50:45 -04:00
Matthias Clasen
2cd5b4df1b
Add missing va marshallers
...
Whenever we pass a marshaller to g_signal_new,
call g_signal_set_va_marshaller with the corresponding
va marshaller.
2023-05-13 12:38:24 -04:00
Matthias Clasen
57a070fc8d
Merge branch 'marshaller-cleanup' into 'main'
...
Avoid generic marshallers
See merge request GNOME/gtk!5962
2023-05-13 15:35:14 +00:00
Matthias Clasen
ccc6b7165e
Drop unused marshallers
...
This list was found by a combination of
grep, sed, and sort.
2023-05-13 11:15:49 -04:00
Matthias Clasen
ff330668cf
Avoid generic marshallers
...
The libffi-based generic marshallers give sysprof
difficulties in getting good stacktraces, so avoid
them.
2023-05-13 11:15:49 -04:00
Matthias Clasen
63f9e5453d
Merge branch 'matthiasc/for-main' into 'main'
...
popover: Stop making assumptions about corners
See merge request GNOME/gtk!5961
2023-05-13 12:40:35 +00:00
Matthias Clasen
f849823a07
popover: Stop making assumptions about corners
...
The popover tail drawing code was just assuming that
the corner values are numbers. Which they won't, anymore.
2023-05-13 07:36:35 -04:00
Matthias Clasen
9a2d6d6d88
Improve css parser test coverage
2023-05-13 07:36:28 -04:00
Matthias Clasen
72c37d566c
Merge branch 'matthiasc/for-main' into 'main'
...
css: Fix transition of font features
See merge request GNOME/gtk!5957
2023-05-13 02:02:48 +00:00
Matthias Clasen
01c0d5e04b
Merge branch 'volumemedia' into 'main'
...
mediacontrols: Set valign=center on volume button
See merge request GNOME/gtk!5955
2023-05-13 01:43:59 +00:00
Matthias Clasen
57dd88ee53
testsuite: Cosmetics
2023-05-12 19:52:42 -04:00
Matthias Clasen
8c92c619de
Test the deprecation support
...
Test gtk4-builder-tool validate --deprecations
2023-05-12 19:52:42 -04:00
Matthias Clasen
78d2002965
Add tests for gtk4-builder-tool enumerate
2023-05-12 19:52:42 -04:00
Matthias Clasen
25c4acb6d2
Add tests for hsv<>rgb conversion
2023-05-12 19:52:42 -04:00
Matthias Clasen
0a3dac10c6
Improve test coverage for the css parser
2023-05-12 19:52:42 -04:00
Matthias Clasen
c9afcd31c2
css: Improve transition test coverage
2023-05-12 19:52:42 -04:00
Matthias Clasen
3565facdaf
css: Fix initial rotate transform value
2023-05-12 19:52:42 -04:00
Matthias Clasen
494cff94d6
css: Make some corner values static
...
Provide static value for uniform corners
with lengths from 0 to 8px. This covers
the majority of corners in widget-factory.
2023-05-12 15:00:13 -04:00
Matthias Clasen
17644b12a5
css: More static length values
...
Make all length values from 0px to 8px available
as static values. This will help with cutting
down on the number of corner values (we have a
lot of 5px corners).
2023-05-12 14:50:02 -04:00
Matthias Clasen
54ff5d8edd
Revert "css: Simplify default values"
...
This reverts commit 1efa39672b
.
We want to use corner values for corner properties.
2023-05-12 14:50:02 -04:00
Matthias Clasen
b18320fe05
Revert "csscornervalue: Accept other values if x == y"
...
This reverts commit 1f2f2777e1
.
It broke transitioning of corner values.
2023-05-12 14:50:02 -04:00
Jordi Mas
0ce60ad214
Update Catalan translation
2023-05-12 19:42:35 +02:00
Matthias Clasen
76642f2bf9
css: Correct initial shadow filter values
...
This was using numbers instead of lengths,
causing confusion in the transition code.
2023-05-12 13:15:35 -04:00
Guillaume Bernard
fcac150641
Update French translation
2023-05-12 13:24:14 +00:00
Matthias Clasen
4d13c61aaf
css: Fix transition of font features
...
If we store ints as values, we better use
g_hash_table_lookup_extended, or zeros will
show up as missing values.
2023-05-12 09:13:00 -04:00
Matthias Clasen
09bab2b2df
Improve css parser test coverage
2023-05-12 08:38:39 -04:00
Maximiliano Sandoval R
b44f43e996
mediacontrols: Set valign=center on volume button
...
To match the play button.
2023-05-12 11:35:53 +02:00
Daniel Boles
52fa641dff
Overlay: Add minimal doc blurb for property :child
2023-05-12 10:30:37 +01:00
Matthias Clasen
a3ebc0329d
Improve test coverage for list models
2023-05-11 23:24:23 -04:00
Matthias Clasen
8dc04d3fc8
Merge branch 'matthiasc/for-main' into 'main'
...
Add a little wait to focus tests
See merge request GNOME/gtk!5954
2023-05-12 02:41:26 +00:00
Matthias Clasen
ba64e5588d
Add a little wait to focus tests
...
I don't know exactly why, but this seems
to help the tests not fail on X11.
2023-05-11 22:24:10 -04:00
Matthias Clasen
fcdcdb7e78
Merge branch 'matthiasc/for-main' into 'main'
...
ci: Use the same options for the scan-build job
See merge request GNOME/gtk!5953
2023-05-12 02:08:37 +00:00
Matthias Clasen
3d5789a66e
Merge branch 'validate-uris' into 'main'
...
urilauncher: Validate the uri
Closes #5829
See merge request GNOME/gtk!5952
2023-05-12 00:19:07 +00:00
Matthias Clasen
59343e4efb
gtk-demo: Rename the new Settings demo
...
"v2" does not look great in the sidebar.
Lets call this "Alternative Settings".
2023-05-11 20:14:58 -04:00
Matthias Clasen
41219ae489
gtk-demo: Fix a typo
2023-05-11 19:53:42 -04:00
Matthias Clasen
7055250692
ci: Stop special-casing broadway
...
We are not running the broadway tests anymore,
so no need to special-case them in the run-test.sh
script either.
2023-05-11 19:53:03 -04:00
Matthias Clasen
98f63d09c0
ci: Use the same options for the scan-build job
...
In particular, not building the tests should
help cutting down on time spent linking.
2023-05-11 19:53:03 -04:00
Matthias Clasen
85b9a6f1b0
urilauncher: Validate the uri
...
We don't want to send nonsense to the portal.
Fixes : #5829
2023-05-11 18:34:26 -04:00
Matthias Clasen
3353eac289
Merge branch 'fix-focus-tests' into 'main'
...
spinbutton: Update baseline child
See merge request GNOME/gtk!5950
2023-05-11 22:28:46 +00:00
Matthias Clasen
cdc135f11d
Merge branch 'shortcuts-focus' into 'main'
...
theme: Show focus in shortcuts windows
See merge request GNOME/gtk!5951
2023-05-11 20:16:07 +00:00
Matthias Clasen
069ce48ac5
theme: Show focus in shortcuts windows
...
The individual items are now focusable,
so we need to show a focus ring, otherwise
this is just confusing.
2023-05-11 15:58:15 -04:00