- 29 Nov, 2021 2 commits
-
-
Matthias Clasen authored
The default development branch is now `main`. This commit only exists on `master` to point people towards that.
-
Benjamin Otte authored
window: Implement height-for-width for min size See merge request !4183
-
- 28 Nov, 2021 2 commits
-
-
Matthias Clasen authored
fontchooser: Avoid setting variations needlessly See merge request !4197
-
Piotr Drąg authored
-
- 27 Nov, 2021 1 commit
-
-
Matthias Clasen authored
Setting variations to their default value causes them to show up in the serialization of the font description - a font description has no idea about the default values, so can't filter them out. Avoid that.
-
- 24 Nov, 2021 2 commits
-
-
Emmanuele Bassi authored
gesture: fix typo in docs See merge request !4191
-
alex-tee authored
-
- 22 Nov, 2021 1 commit
-
-
- 21 Nov, 2021 12 commits
-
-
Aurimas Černius authored
-
-
Try to compute a min size that matches the current aspect ratio. This means that when interactively resizing, we adapt the min size to the current window area dynamically. And that means that we always have a min size that is large enough, but users can interactively cause it to be small-width x large-height, large-width x small-width or anything inbetween.
-
Benjamin Otte authored
window: Always clamp to max size See merge request !4185
-
Emmanuele Bassi authored
Unrealize ATContext on unroot Closes #4421 See merge request !4136
-
Benjamin Otte authored
Otherwise we can end up with a window that's too small in certain corner cases after resizing.
-
Benjamin Otte authored
... and not later. Otherwise future calls to sizing fucntions will reuse an outdated cache and compute wrong values.
-
Benjamin Otte authored
When computing the window size, always try to clamp to the max size. This will shrink a window down into a sane size if it was too big before.
-
Benjamin Otte authored
Fixes Closes #4469 See merge request !4182
-
Benjamin Otte authored
Store the enum nick, not the enum value. That way the file remains human-readable. Updated reftests to new expected output.
-
Benjamin Otte authored
Testcase included Fixes #4469
-
Benjamin Otte authored
Previously, the code did not expand the size properly when a default size was already set. Reftest included.
-
- 20 Nov, 2021 16 commits
-
-
Matthias Clasen authored
Go back to using pango for glyph rendering See merge request !4181
-
Matthias Clasen authored
Using just cairo makes us lose hexboxes. So, until we implement that ourselves, go back to using pango.
-
Benjamin Otte authored
Printing the affected widget leads people to assume that it is to blame for the error. However, the widget is the object the function is being called on, not the caller. And the caller is doing it wrong. Usually the caller is the parent widget, so we could print that one, but it's only usually, it can be an issue propagating from a grandparent and it doesn't tell you from where the function is called (allocation or measuring), so you need a debugger anyway. So don't put anything there instead.
-
Matthias Clasen authored
x11: Trap error when getting CRTC info See merge request !4169
-
Samuel Thibault authored
This reverts commit 22847563.
-
Samuel Thibault authored
a11y: return -1 if parent is NULL See merge request !4179
-
-
Benjamin Otte authored
Lots of sizing fixes See merge request !4180
-
Benjamin Otte authored
That consistency check is entirely outdated and just prints confusing stuff.
-
Benjamin Otte authored
This is a quickfix to avoid infinite runtime in nested boxes with wrapped labels. Test included
-
Benjamin Otte authored
glib doesn't print debug messages by default anymore.
-
Benjamin Otte authored
For shrinking children, we would not make sure of this and just throw the current size at them.
-
Benjamin Otte authored
When the stack is homogeneous in only one direction, the other direction may produce min sizes to small for all children. Make sure to query at least the min size for those.
-
Benjamin Otte authored
-
Benjamin Otte authored
that way, we can index them by orientation.
-
Benjamin Otte authored
If halign=fill, force adjustment to height-for-width. If valign=fill, force adjustment to width-for-height. Otherwise look at request mode. This way we don't try to adapt the filled dimension and only adjust the one that is not set to fill.
-
- 19 Nov, 2021 4 commits
-
-
Benjamin Otte authored
This could lead to the wrong values being passed and computing invalid sizes which would then lead to very unhappy code. Test included.
-
Benjamin Otte authored
It's not expensive to check it because we'll cache the dfault size request anyway, and people do it wrong a lot. As a bonus, don't do any return_if_fail(), just use the min size instead.
-
-
-