Matthias Clasen
27071b5cfb
Merge branch 'matthiasc/for-master' into 'master'
...
wayland: Complete our buffer format listing
See merge request GNOME/gtk!3207
2021-02-16 04:33:08 +00:00
Matthias Clasen
19b9c42562
Merge branch 'fix-scrollbar-sizing' into 'master'
...
gizmo: Chain up in css_changed
See merge request GNOME/gtk!3206
2021-02-15 21:43:47 +00:00
Matthias Clasen
bf6a40f39b
wayland: Complete our buffer format listing
...
The debug spew for printing out supported buffer
formats was missing a bunch, among them the fp16
formats that are interesting for HDR support.
Add them.
Note that we still only support ARGB8888. But
at least we can print out what don't support.
2021-02-15 16:42:17 -05:00
Matthias Clasen
bb0a1b0cfe
gizmo: Chain up in css_changed
...
css_changed is a vfunc that *must* chain up.
Failure to do so broke the resizing of overlay scrollbars,
amongst other things.
This bug was introduced in 39f72b3834
.
2021-02-15 14:26:52 -05:00
Matthias Clasen
2ac5c3282f
Merge branch 'lenient-compose-parsing' into 'master'
...
imcontext: Be more lenient in parsing Compose
See merge request GNOME/gtk!3201
2021-02-15 18:08:45 +00:00
Matthias Clasen
6b3c356eb7
Merge branch 'wip/jimmac/larger-smaller-scrollbar-gtk4' into 'master'
...
Adwaita: Scrollbar transitions and size
Closes #1886
See merge request GNOME/gtk!3204
2021-02-15 18:06:00 +00:00
Jakub Steiner
5c5cd34c2f
Adwaita: Scrollbar transitions and size
...
- tone down the size of the controller again
- transition between the indicator and control fluidly
Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/1886
2021-02-15 12:25:09 +01:00
Matthias Clasen
2f43b8dc49
imcontext: Improve compose table parsing
...
Avoid leaking value in error cases, and actually
emit a warning for a missing quote. Pointed out
by Peter Bloomfield.
2021-02-15 01:46:00 -05:00
Jordi Mas
7b4cfd38bc
Update Catalan translation
2021-02-14 21:52:55 +01:00
Matthias Clasen
d2e074e36b
imcontext: Be more lenient in parsing Compose
...
X11 allows keysyms to be specified in addition to strings.
We only support the strings. In the past, we ignored everything
after the string. Go back to doing that, but issue a warning
that we've ignored the keysym.
2021-02-14 12:56:00 -05:00
Matthias Clasen
2623932886
Merge branch 'fix-compose-comments' into 'master'
...
Fix compose comments
Closes #3664
See merge request GNOME/gtk!3199
2021-02-14 17:25:58 +00:00
Matthias Clasen
b0a82b1dfe
Merge branch 'popup-shadow-width' into 'master'
...
Support shadows on popovers
See merge request GNOME/gtk!3089
2021-02-14 17:22:50 +00:00
Matthias Clasen
f15aa2f3e5
imcontext: Fix a regression in Compose file parsing
...
We accidentally dropped the handing of # comments.
Bring it back. Test included.
Fixes : #3664
2021-02-14 11:56:24 -05:00
Matthias Clasen
5d6792137d
testsuite: Add a missing file
2021-02-14 11:56:24 -05:00
Matthias Clasen
52a2891933
window: Add some more details to css docs
...
Mention more of the supported style classes.
2021-02-14 11:22:44 -05:00
Matthias Clasen
7ebc3a9489
Update popover css docs
...
Mention that shadows are now possible.
2021-02-14 11:14:23 -05:00
Matthias Clasen
04fb1421dc
Merge branch 'antoniof-master-patch-32022' into 'master'
...
docs: Mark heading in migration guide
See merge request GNOME/gtk!3198
2021-02-14 15:59:29 +00:00
Matthias Clasen
a4f17eaa8b
macos: Apply popup shadow width
2021-02-14 10:52:33 -05:00
Matthias Clasen
e0c48e74bd
win32: Apply popup shadow width
2021-02-14 10:52:33 -05:00
António Fernandes
a810f600bf
docs: Mark heading in migration guide
...
This heading was missing from the index because it was not marked as one
2021-02-14 15:20:54 +00:00
Matthias Clasen
ad9c813ed1
x11: Apply popup shadow with
2021-02-14 10:12:10 -05:00
Matthias Clasen
aa1d08687d
popover: Handle shadow changes
...
When the box-shadow css property of the contents
widget changes, queue a resize on the popover.
2021-02-14 10:12:10 -05:00
Matthias Clasen
39f72b3834
gizmo: Add a css_changed function
...
In a break from the current gizmo api, add a separate
setter, since the calls with long argument lists full
of NULL are getting out of hand.
2021-02-14 10:12:10 -05:00
Matthias Clasen
7332b4f1d9
Add a test for popover positioning
...
This is useful for testing the interaction of arrows, shadows
or offsets with popover positioning.
2021-02-14 10:11:17 -05:00
Matthias Clasen
b948799778
popover: Support shadows
...
Use gdk_popup_layout_set_shadow_width to take shadows into
account when positioning popovers, and set the input region
to exclude the shadow, since we aren't doing interactive
resizing and the like.
When the popover has a beak, we make the surface size be
content size + shadow + tail, and then position the content
according to the final position inside this slightly too large
surface. The surface being too large doesn't matter, since we
set up an input region.
2021-02-14 10:11:17 -05:00
Matthias Clasen
aec738745a
wayland: Set shadow width on popup surfaces
...
Take the shadow width from the popup layout into account.
2021-02-14 10:11:17 -05:00
Matthias Clasen
ea19f7c360
popuplayout: Add shadow width
...
Add shadow width to the GdkPopupLayout struct. This
information is needed by the compositor to make correct
positioning decisions about popups.
2021-02-13 21:01:46 -05:00
Matthias Clasen
0222d389ee
Merge branch 'matthiasc/for-master' into 'master'
...
Matthiasc/for master
See merge request GNOME/gtk!3197
2021-02-14 01:59:35 +00:00
Matthias Clasen
b3a055a9b7
popover: Queue a resize when position changes
...
At least with an arrow, changing the position
requires a resize
2021-02-13 20:27:01 -05:00
Matthias Clasen
bd877ccf06
popover: Cosmetics
2021-02-13 20:26:54 -05:00
Balázs Meskó
a8d87f80f3
Update Hungarian translation
2021-02-14 00:07:07 +00:00
Matthias Clasen
6601d79b2d
Merge branch 'revert-82ab039a' into 'master'
...
Revert "Merge branch 'disable-macos-ci' into 'master'"
See merge request GNOME/gtk!3192
2021-02-12 21:29:08 +00:00
Matthias Clasen
5ff843f97d
Stop passing introspection=false to graphene
...
This should no longer be possible (and the introspection
option is no longer a boolean.
2021-02-12 16:04:15 -05:00
Matthias Clasen
b1c1e02c28
ci: Add debug spew on macos
2021-02-12 15:24:27 -05:00
Bartłomiej Piotrowski
0ce0402edf
Revert "Merge branch 'disable-macos-ci' into 'master'"
...
This reverts merge request !3183
2021-02-12 19:40:57 +00:00
Matthias Clasen
5d13bb7aa2
Merge branch 'win32.surface.resize' into 'master'
...
Some fixes for resizing of GDK/Win32 surfaces
See merge request GNOME/gtk!3144
2021-02-12 14:07:07 +00:00
Matthias Clasen
c5e69e83b5
Merge branch 'flatpak-tweaks' into 'master'
...
Flatpak tweaks
See merge request GNOME/gtk!3187
2021-02-12 14:03:54 +00:00
Matthias Clasen
bcfca52e9e
Merge branch 'ci-fedora-33' into 'master'
...
ci: Update the Fedora image to F33
See merge request GNOME/gtk!3188
2021-02-12 13:46:14 +00:00
Matthias Clasen
919e06a831
Merge branch 'wip/baedert/for-master' into 'master'
...
Wip/baedert/for master
See merge request GNOME/gtk!3189
2021-02-12 12:45:51 +00:00
Timm Bäder
0d5957b97a
nativedialog: Remove unused run state
2021-02-12 08:39:40 +01:00
Timm Bäder
6e4bba3d75
build: Check for mallinfo2 instead of mallinfo
...
Similar to e89fcbfad6
but the tests we use mallinfo() in really aren't important to not worth
the effort to differentiate between mallinfo and mallinfo2. Only check
for mallinfo2().
2021-02-12 08:39:40 +01:00
Matthias Clasen
3e426e4c5b
flatpak: Try harder to disable sassc
2021-02-12 00:26:10 -05:00
Matthias Clasen
8d4f4af8ef
Add devel styling to nightly flatpaks
...
Pass -Dprofile=devel to the gtk build for our nightly
flatpaks, so they pick up devel styling.
2021-02-12 00:10:30 -05:00
Matthias Clasen
3aa3c21d69
demos: Add devel styling
...
Add a -Dprofile=devel meson option, and add some visual
hints to the demos that you are running a nightly build.
2021-02-12 00:08:55 -05:00
Matthias Clasen
9a540841fd
flatpak: No need to build sassc anymore
...
We should be able to do a gtk build without rebuilding
css nowadays.
2021-02-11 23:00:19 -05:00
Matthias Clasen
0a3fa40923
ci: Update the Fedora image to F33
2021-02-11 22:02:39 -05:00
Matthias Clasen
9f10f9a595
Merge branch 'fix-network-places' into 'master'
...
placesview: Avoid use-after-free
See merge request GNOME/gtk!3186
2021-02-11 19:41:10 +00:00
Matthias Clasen
560e27a3f4
Merge branch 'wip/jimmac/tiled-shadow-fix-fix-gtk4' into 'master'
...
Adwaita: bring borders for tiled
Closes #3661
See merge request GNOME/gtk!3184
2021-02-11 17:04:47 +00:00
Matthias Clasen
4df7cc948c
Merge branch 'ebassi/memdup2' into 'master'
...
Use g_memdup2()
See merge request GNOME/gtk!3157
2021-02-11 17:02:00 +00:00
Emmanuele Bassi
b74a9445af
tests: Move from g_memdup() to g_memdup2()
...
The g_memdup() function is replaced by a safer version in newer versions
of GLib.
2021-02-11 14:22:23 +00:00