Matthias Clasen
771437acf9
Go back to fribidi master
...
Fribidi 1.0.12 does not work as a subproject :(
2023-05-02 06:22:44 -04:00
Matthias Clasen
a3da58133e
Don't build fribidi docs
...
There's no need for that. This matches what pango does.
2023-05-02 06:22:24 -04:00
Matthias Clasen
182dccb8f0
Use pango main as subproject
...
This is necessary to get the latest pango docs
built in ci.
2023-05-01 23:55:21 -04:00
Matthias Clasen
17d2ba94d6
stop using deprecated pango api
2023-05-01 23:49:42 -04:00
Matthias Clasen
5bac4f13a0
ci: Add mutter to the fedora image
...
This is in preparation for trying to use mutter --headless
in ci.
2023-05-01 21:11:01 -04:00
Matthias Clasen
64f9d82506
Merge branch 'gsk-flip-tests' into 'main'
...
more gsk tests
See merge request GNOME/gtk!5811
2023-05-01 21:06:32 +00:00
Matthias Clasen
b83f3d871f
Merge branch 'matthiasc/for-main' into 'main'
...
Cosmetics: Unset baseline too
See merge request GNOME/gtk!5904
2023-05-01 20:41:13 +00:00
Matthias Clasen
a235b59089
Skip some tests with small textures
...
When textures are too large, we will scale them down
to fit the max texture size, which will cause comparisons
to fail.
2023-05-01 16:29:45 -04:00
Matthias Clasen
0ca6471df4
Cosmetics: Unset baseline too
...
We set width and height to 0 when unrealizing
a widget. No reason to let the baseline value
linger.
2023-05-01 16:15:11 -04:00
Matthias Clasen
98dde97f20
Merge branch 'better-switch-docs' into 'main'
...
switch: Expand the docs
See merge request GNOME/gtk!5903
2023-05-01 20:03:44 +00:00
Matthias Clasen
9bd9847b3f
switch: Expand the docs
...
Add more text and explanation around active vs state,
since people seem easily confused by it.
2023-05-01 15:15:53 -04:00
Matthias Clasen
b79d4a3a22
gsk: Fix rendering big textures with offsets
...
When slicing the texture, the GL renderer was
forgetting to apply the viewport origin. This
shows up when rendering things with negative
scales, leading to negative origins.
2023-05-01 14:46:30 -04:00
Matthias Clasen
33ab588d4e
Improve test coverage
...
Check that our two rounded rect intersection functions agree.
2023-05-01 13:58:42 -04:00
Matthias Clasen
7200a93a88
gsk: Give up on one test
...
The rounded-clip-in-clip-3d test fails in GL when
flipped. Given that it was already excluded from cairo,
and also fails cairo when flipped, give up on it for now.
2023-05-01 13:45:20 -04:00
Matthias Clasen
319762b908
gsk: Extract scales properly from 2D transforms
...
We have the code to do it properly.
2023-05-01 13:45:20 -04:00
Matthias Clasen
e453a989df
Improve rounded rect intersection
...
Move the rounded rect/rect intersection code to
gskroundedrect.c, make it more precise, and add
tests for it.
Update the callers in the GL renderer.
2023-05-01 13:45:20 -04:00
Matthias Clasen
f56328a6cc
gsk: Fix mask transform handling
...
We must reset the modelview transform when
offscreen, or else we end up applying
it twice.
2023-05-01 13:45:20 -04:00
Matthias Clasen
f29b24517e
Add a test for rotated blend nodes
2023-05-01 13:45:20 -04:00
Matthias Clasen
552df197c4
gsk: Fix blend transform handling
...
We must reset the modelview transform when
rendering offscreen, or else we end up applying
it twice.
2023-05-01 13:45:20 -04:00
Matthias Clasen
f6e47b7eb0
Add a test for rotated cross-fade nodes
...
This one checks that we don't apply the modelview
transform twice with cross-fades.
2023-05-01 13:45:13 -04:00
Matthias Clasen
4214067d52
gsk: Fix cross-fade transform handling
...
We must reset the modelview transform when
rendering offscreen, or else we end up applying
it twice.
2023-05-01 13:44:55 -04:00
Matthias Clasen
d9a2b74b4a
gsk: More fixes
...
Work towards handling negative scales and
denormalized rects everywhere.
2023-05-01 13:43:33 -04:00
Matthias Clasen
21df62f428
Add another test
2023-05-01 13:43:33 -04:00
Matthias Clasen
4e501d2d44
gsk: Transform rounded rects better
2023-05-01 13:43:33 -04:00
Matthias Clasen
5afd5cfec7
Add another gsk test
2023-05-01 13:43:33 -04:00
Matthias Clasen
ad65db901a
gsk: Normalize rects in GLSL
...
Our coverage computation only works for well-behaved
rects and rounded rects. But our modelview transform
might flip x or y around, causing things to fail.
Add functions to normalize rects and rounded rects,
and use it whenever we transform a rounded rect in GLSL.
2023-05-01 13:43:33 -04:00
Matthias Clasen
406b1e2e03
testsuite: Fix gsk test
...
The repeated tests were not careful enough to produce
the correct reference image to match what the repeat
node does.
With these changes, all cairo tests pass.
2023-05-01 13:43:33 -04:00
Matthias Clasen
f1729affa8
testsuite: Add more gsk tests
...
Add separate suites for running the gsk compare-render
tests with the --flip, --rotate or --repeat options.
A bunch of these fail currently, and need diagnosis.
2023-05-01 13:35:35 -04:00
Matthias Clasen
3b2ba8ed99
Add more gsk tests
...
Add options to the gsk compare-render test for
modifying the node (and do a matching change to
the reference image).
flip: negative scale flipping things horizontally
rotate: 90 degree rotation
repeat: 2x2 grid
2023-05-01 13:35:35 -04:00
Matthias Clasen
386c3ac34f
Add another transform test
...
Test that transforming bounds with negative scales
works as expected.
2023-05-01 13:35:22 -04:00
Matthias Clasen
d92c6406d1
Merge branch 'displaymanager-warning-fix' into 'main'
...
Avoid a bad warning
See merge request GNOME/gtk!5901
2023-05-01 16:56:40 +00:00
Matthias Clasen
d666f4ab7f
Avoid a bad warning
...
This isn't what we intended, and it breaks CI for
various projects.
2023-05-01 10:40:26 -04:00
Georges Basile Stavracas Neto
5df360f436
Merge branch 'alatiera/vulkan-headers-fix' into 'main'
...
vulkan: Correct error enum version guards
See merge request GNOME/gtk!5900
2023-05-01 14:00:43 +00:00
Jordan Petridis
0197149ba3
vulkan: Correct error enum version guards
...
Vulkan 218 introduced these errors by they were marked as
the beta till version 238.
00671c64ba (diff-e222ae95c2b0d5082b94d6086fb1c24da18ee31384c1a39840df3b9152023ee6)
Followup to f9b2d3104a
2023-05-01 09:41:35 +03:00
Matthias Clasen
b310ab7304
Merge branch 'matthiasc/for-main' into 'main'
...
docs: Migration guide updates
See merge request GNOME/gtk!5899
2023-04-30 22:39:57 +00:00
Matthias Clasen
062e3da57d
Merge branch 'emojichooser-variation-fix' into 'main'
...
emojichooser: Avoid extraneous variation selectors
See merge request GNOME/gtk!5898
2023-04-30 22:29:11 +00:00
Matthias Clasen
cdbd931dba
docs: Migration guide updates
...
Mention various widget size apis going away.
2023-04-30 18:21:46 -04:00
Matthias Clasen
2f96a08b3f
gsk: Plug a few memory leaks
2023-04-30 18:21:23 -04:00
Matthias Clasen
c1fc6c35cf
emojichooser: Avoid extraneous variation selectors
...
Only add a variation selector if there isn't one already.
2023-04-30 11:56:43 -04:00
Daniel Boles
060992aeba
migrating-3to4: Fix unescaped ptr * used as italic
2023-04-30 16:55:31 +01:00
Daniel Boles
2c15d563e2
gtk-demo/listbox: Fix 0 space between nick & date,
...
by restoring the right-alignment that gtk-3-24 has here, but we had lost
– I guess because we dropped the default child expand and pack-end props
2023-04-30 16:39:16 +01:00
Daniel Boles
2dd7ab2a50
Inscription|InfoBar: Fix small cosmetic issue@docs
2023-04-30 16:05:11 +01:00
Daniel Boles
0736fef585
Merge branch 'dboles/expander-css-nodes-doc' into 'main'
...
Expander: Clarify/format “CSS nodes” documentation
See merge request GNOME/gtk!5896
2023-04-30 11:37:55 +00:00
Daniel Boles
0442fc2b55
Expander: Clarify/format CSS nodes documentation
...
Use backticks to highlight the node names, mention the box, and clarify
that the arrow referred to in the last sentence is the `expander` node.
2023-04-30 11:56:07 +01:00
Matthias Clasen
27c621695e
Merge branch 'deprecated-get-allocated-width' into 'main'
...
Deprecated get allocated width
See merge request GNOME/gtk!5894
2023-04-29 18:55:45 +00:00
Matthias Clasen
1a237ef6a8
Merge branch 'box-baseline-child' into 'main'
...
boxlayout: Add a baseline child property
See merge request GNOME/gtk!5891
2023-04-29 18:30:59 +00:00
Matthias Clasen
e7ba8e7e9a
Deprecate gtk_widget_get_allocated_width
2023-04-29 14:30:21 -04:00
Matthias Clasen
14279785e6
tests: Stop using gtk_widget_get_allocated_width
2023-04-29 14:30:21 -04:00
Matthias Clasen
5b6f8d7002
gtk4-demo: Stop using gtk_widget_get_allocated_size
2023-04-29 14:30:21 -04:00
Matthias Clasen
71a752490a
popover: Stop using gtk_widget_get_allocated_width
2023-04-29 14:30:21 -04:00