Benjamin Otte
e3299e38df
cairo: Handle clipped blur content
...
This is the result of experimenting with corner cases when blurring.
The result is a test that tests when the child of a blur node is
clipped out but the blurred child is not, the blurred parts are still
visible.
This immediately broke the cairo renderer, so the fix is included.
2023-12-11 07:33:24 +01:00
Benjamin Otte
8fd02f6fa2
subsurface: Do not punch holes for subsurfaces that are above
...
If a subsurface is not below, it is visible no matter what the opaque
region is.
Also, we don't need to care about transparency in the subsurface if we
ignore it anyway. So this is a win-win.
2023-12-11 07:32:06 +01:00
Benjamin Otte
9bc0ad9a13
gdk: Handle subsurface opaque region with transparency
...
We accept transparent subsurfaces for passthrough now, when they are
above the surface.
But we did not unset the opaque region to empty when the texture is
transprent.
2023-12-11 07:32:06 +01:00
Benjamin Otte
19171c7a89
testsuite: Add a test for opacity + color-matrix nodes
...
These are 2x2 combinations that:
1. Use a texture child node vs a color child node
This should force an offscreen vs straight up use a texture.
2. Switch opacity and color-matrix
Either put the color matrix into the opacity node or put the opacity
into the color matrix.
This is worth testing because renderers often combine opacity into the
color matrix to avoid offscreens.
And they do that because applications often create faded out symbolic
images, which end up as a combination of these nodes.
2023-12-09 19:32:39 +01:00
Benjamin Otte
abf942efe5
dmabuf: Don't leak the display
2023-12-09 19:32:39 +01:00
Matthias Clasen
0b0a5a52af
Merge branch 'docs_clarify_gtk_drop_down_get_selected_item' into 'main'
...
docs: Clarify how to obtain strings from GtkDropDown
See merge request GNOME/gtk!6647
2023-12-08 10:20:12 +00:00
Matthias Clasen
75d259eedf
Merge branch 'fix-label-docs' into 'main'
...
Docs: Fix unfenced HTML tag in GtkLabel docs
See merge request GNOME/gtk!6650
2023-12-08 10:17:59 +00:00
FeRD (Frank Dana)
6fec018cbd
Docs: Fix unfenced HTML tag in GtkLabel docs
2023-12-08 02:29:10 -05:00
Matthias Clasen
6d9c950b82
Merge branch 'ebassi/inhibit-reason-fallback' into 'main'
...
Add fallback string for empty inhibit reason
See merge request GNOME/gtk!6648
2023-12-08 04:06:11 +00:00
Emmanuele Bassi
0933ea63c5
Add fallback string for empty inhibit reason
...
The public gtk_application_inhibit() API allows a NULL reason argument,
and we have a fallback in place when going through the session manager
proxy; when using the inhibit D-Bus API directly, though, we're just
passing a potentially NULL value to g_variant_new_string(), which will
rightfully complain.
2023-12-07 11:55:20 +00:00
Logan Rathbone
8cb594696e
docs: Clarify how to obtain strings from GtkDropDown
2023-12-07 00:03:04 -05:00
Matthias Clasen
9d7389aea7
Merge branch 'emoji-15.1' into 'main'
...
emoji: Update data to CLDR v44
See merge request GNOME/gtk!6642
2023-12-06 11:26:05 +00:00
Jeremy Bícha
76a1f1714d
emoji: Update data to CLDR v44
...
Based on emojibase v15.3.0
Contains the changes in Unicode 15.1
https://unicode.org/versions/Unicode15.1.0/
https://cldr.unicode.org/index/downloads/cldr-44
https://github.com/milesj/emojibase/blob/emojibase-data%4015.3.0/packages/data/CHANGELOG.md
2023-12-03 16:32:42 -05:00
Yaron Shahrabani
9af08e17e0
Update Hebrew translation
2023-12-03 13:32:37 +00:00
Boyuan Yang
276afbca92
Update Chinese (China) translation
2023-12-03 01:40:50 +00:00
Yaron Shahrabani
0342d23dbe
Update Hebrew translation
...
(cherry picked from commit cde309d9fa
)
2023-12-02 22:12:14 +00:00
Matthias Clasen
1c10837b21
Merge branch 'matthiasc/for-main' into 'main'
...
Revert "Merge branch 'rgba-new-from-string' into 'main'"
See merge request GNOME/gtk!6640
2023-12-02 05:43:12 +00:00
Matthias Clasen
7cc5d5c7a5
Revert "Merge branch 'rgba-new-from-string' into 'main'"
...
This reverts commit 77f40d7508
, reversing
changes made to b969f4649d
.
It turns out we did not have agreement on this after all.
2023-12-02 10:55:35 +05:45
Matthias Clasen
6a59326dbf
Merge branch 'emoji-15' into 'main'
...
emoji: Update data to CLDR v43
See merge request GNOME/gtk!6639
2023-12-02 02:12:17 +00:00
Yaron Shahrabani
1968f331d9
Update Hebrew translation
2023-12-01 21:02:25 +00:00
Jeremy Bícha
bf35836350
emoji: Update data to CLDR v43
...
Based on emojibase v15.2.0
Contains the changes in Unicode 15.0
https://unicode.org/versions/Unicode15.0.0/
https://cldr.unicode.org/index/downloads/cldr-43
https://github.com/milesj/emojibase/blob/emojibase-data%4015.2.0/packages/data/CHANGELOG.md
2023-12-01 15:57:02 -05:00
Daniel Rusek
036629a491
Update Czech translation
2023-11-30 18:26:58 +00:00
Arjan Molenaar
8cabf59cf3
Merge branch 'macos-secure-restore' into 'main'
...
macos: Add method that denotes secure restorable state
See merge request GNOME/gtk!6632
2023-11-30 15:17:04 +00:00
Arjan Molenaar
6a4b238641
macos: Add method that denotes secure restorable state
...
Fix process injection vulnerability on macOS.
2023-11-29 12:30:30 +01:00
Matthias Clasen
d4d0239ae7
Merge branch 'macos-fix-function-signature' into 'main'
...
Fix function signature warning on macOS
See merge request GNOME/gtk!6628
2023-11-29 00:53:31 +00:00
Matthias Clasen
a30f32db8d
Merge branch '6236_fix_modify_textbuffer_in_irreversible' into 'main'
...
gtktexthistory: allow setting the modified flag in irreversible action
Closes #6236
See merge request GNOME/gtk!6626
2023-11-28 23:51:51 +00:00
Arjan Molenaar
6948a74d72
Fix function signature warning
...
No arguments -> void
2023-11-28 21:24:10 +01:00
Matthias Clasen
14ec255812
Merge branch 'gles-texture-slice-fixes' into 'main'
...
gsk: Be more careful about texture slice formats
See merge request GNOME/gtk!6627
2023-11-28 20:07:44 +00:00
Matthias Clasen
00ebd51d06
gsk: Be more careful about texture slice formats
...
We need to make sure that all our textures have the same memory
format, or we'll run into trouble in the upload code, at least
on GLES, which isn't as forgiving about format mismatches.
Related: #6238
2023-11-28 14:16:21 -05:00
g.willems
7de528b487
gtktexthistory: allow set modified in irreversible action
...
Allow setting the modified flag, but skip propagating the history state update
as it will be done by gtk_text_history_end_irreversible_action().
Fixes #6236
Closes #6236
2023-11-28 19:57:11 +01:00
Matthias Clasen
77f40d7508
Merge branch 'rgba-new-from-string' into 'main'
...
Add convenience function gdk_rgba_new_from_string()
See merge request GNOME/gtk!6599
2023-11-28 17:56:21 +00:00
Danial Behzadi
b969f4649d
Update Persian translation
2023-11-28 08:47:40 +00:00
FeRD (Frank Dana)
f4f25e584c
Fix docs function reference
2023-11-27 21:16:44 -05:00
FeRD (Frank Dana)
b049a3501a
Additional review fixes
2023-11-27 19:44:24 -05:00
Emmanuele Bassi
0114fad8a5
Style/doc fixes from review
2023-11-28 00:42:19 +00:00
Matthias Clasen
afafac6878
Merge branch 'matthiasc/for-main' into 'main'
...
Use O_CLOEXEC instead of FD_CLOEXEC
See merge request GNOME/gtk!6624
2023-11-27 23:10:35 +00:00
Matthias Clasen
108eb43b01
gsk: Add some more proiler marks
...
These should help us determine if time is spent converting or
uploading textures.
2023-11-27 17:50:28 -05:00
Matthias Clasen
6961c1fe4a
Use O_CLOEXEC instead of FD_CLOEXEC
...
GLib is complaining vocally about this.
2023-11-27 17:50:18 -05:00
Matthias Clasen
606d150e0b
Merge branch 'matthiasc/for-main' into 'main'
...
wayland: Be more careful when loading cursors
See merge request GNOME/gtk!6622
2023-11-27 21:01:16 +00:00
Matthias Clasen
96f7bb99a7
css: Fix opacity handling
...
We were using the invert value for opacity.
2023-11-27 15:30:37 -05:00
Matthias Clasen
b937c17985
wayland: Be more careful when loading cursors
...
Make sure we don't access the cursor_images array out of bounds.
Related: #6234
2023-11-27 13:58:38 -05:00
Emmanuele Bassi
79cb370f81
Merge branch 'gtk_font_dialog_choose_font_and_features_finish_fix' into 'main'
...
GtkFontDialog: fix annotation for choose_font_and_features_finish
See merge request GNOME/gtk!6621
2023-11-27 17:53:38 +00:00
Val Och
154b73723f
GtkFontDialog: fix annotation for choose_font_and_features_finish
...
Parameters in question have callee-allocated semantics.
2023-11-27 19:48:48 +03:00
Artur S0
c0efed4e4a
Update Russian translation
2023-11-27 16:16:29 +00:00
Matthias Clasen
4402676aa2
Merge branch 'update-ci-images' into 'main'
...
ci: Update the fedora image for F39
See merge request GNOME/gtk!6620
2023-11-27 15:25:57 +00:00
Matthias Clasen
9bf4a45d47
Merge branch 'matthiasc/for-main' into 'main'
...
Matthiasc/for main
See merge request GNOME/gtk!6619
2023-11-27 14:59:30 +00:00
Matthias Clasen
85ce343816
ci: Update the fedora image for F39
...
This will hopefully help with getting the gpu renderer tests
to work.
2023-11-27 09:51:14 -05:00
FeRD (Frank Dana)
114d0621aa
Fix coding style issues
2023-11-26 16:19:06 -05:00
Matthias Clasen
d595aff52d
coding style: Mention the available stack size
2023-11-26 09:07:38 -05:00
Matthias Clasen
d72fd951e1
Quiet a compiler warning
2023-11-26 08:47:51 -05:00