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
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
Matthias Clasen
78706e3fbe
Merge branch 'clarify_template_builder_docs' into 'main'
...
docs: Clarify how to refer to instances created by <template>
See merge request GNOME/gtk!6605
2023-11-25 18:03:08 +00:00
Matthias Clasen
98b796a371
Merge branch 'ci-run-less-tests' into 'main'
...
ci: Pick up reports for all test setups
See merge request GNOME/gtk!6616
2023-11-25 18:01:50 +00:00
Matthias Clasen
c99f62aef1
Merge branch 'wip/dnd-fixes' into 'main'
...
DnD fixes
See merge request GNOME/gtk!6608
2023-11-25 17:59:39 +00:00
Matthias Clasen
8754247a90
Merge branch 'wip/otte/dmabuf' into 'main'
...
dmabuf: A bunch of cleanups
See merge request GNOME/gtk!6610
2023-11-25 17:58:11 +00:00
Matthias Clasen
fd12707162
Merge branch 'doc-fixes' into 'main'
...
Docs: Misc Fixes
See merge request GNOME/gtk!6615
2023-11-25 17:55:47 +00:00
Matthias Clasen
34bca0ff56
Merge branch 'gtk4-portal-close' into 'main'
...
[gtk4] Fix file chooser and open uri portal close.
See merge request GNOME/gtk!6613
2023-11-25 17:19:31 +00:00
Matthias Clasen
c668519d07
ci: Handle deprecation warnings in report scripts
2023-11-25 11:21:48 -05:00
Matthias Clasen
454e6eadc6
ci: Rebalance test runs
...
Move x11 to the debug build, and make it a full run.
2023-11-25 11:03:15 -05:00
Matthias Clasen
e248a01fbd
ci: Run less tests
...
Our test setups are mostly about varying the rendering environment
(different backends, or renderers, etc). Therefore, we don't need
to duplicate the runs of the css or node parser or path tests.
Just run the gdk and gsk-gl tests under all setups.
2023-11-25 10:37:39 -05:00
Matthias Clasen
e2bd7defa4
ci: Tweak the run-tests script
...
The main change here is to pass the suites to run as an explicit
argument. This is in preparation for running less tests.
2023-11-25 10:37:39 -05:00
Matthias Clasen
855fa6d523
ci: Produce a junit report for asan too
2023-11-25 10:37:39 -05:00
Matthias Clasen
7c620ac2b7
ci: Pick up reports for all test setups
...
We added a wayland_gl test setup recently, and all the setups
have to be listed manually in .gitlab-ci.yml.
2023-11-25 09:21:16 -05:00
Maximiliano Sandoval R.
d96f2f54e9
stylecontext: Properly anotate Deprecated
2023-11-25 15:02:06 +01:00
Maximiliano Sandoval R.
71c2ee3530
gskenums: Add Since to missing enum values
...
Use same Since annotation as elsewhere
2023-11-25 15:01:53 +01:00
Maximiliano Sandoval R.
5e415ee916
gskenums: Don't break the docstring
2023-11-25 15:00:40 +01:00
Maximiliano Sandoval R.
e163021b8f
debug: Document missing enum
2023-11-25 15:00:14 +01:00
Benjamin Otte
1bf88f1d81
Merge branch 'wip/otte/for-main' into 'main'
...
Revert commits that disabled the testsuite
See merge request GNOME/gtk!6614
2023-11-25 12:31:21 +00:00
Benjamin Otte
72d2b8e546
Revert "ci: Tweak the run-tests script"
...
This reverts commit 9aadc2b860
.
2023-11-25 13:09:50 +01:00
Benjamin Otte
37f7f3d60c
Revert "wip: ci: rework the test runs"
...
This reverts commit c679ba9ebf
.
2023-11-25 13:09:50 +01:00
Benjamin Otte
8d1443994b
Revert "ci: Run less tests"
...
This reverts commit 5a8a839921
.
2023-11-25 13:09:49 +01:00
FeRD (Frank Dana)
39db73dff1
Add gdk_rgba_new_from_string()
...
Signed-off-by: FeRD (Frank Dana) <ferdnyc@gmail.com>
2023-11-24 22:19:39 -05:00
Emilio Cobos Álvarez
68cf5f2cf3
[gtk4] gtkopenuriportal: Fix portal close signal.
...
Same fix. The other instance of this pattern in gtkapplication-dbus.c
does it right.
2023-11-25 03:49:58 +01:00
Emilio Cobos Álvarez
77c4097c86
[gtk4] GtkFileChooserNative: Fix portal close.
...
This makes closing a portal file chooser work.
Fixes the GTK4 bits of #6225 .
2023-11-25 03:47:28 +01:00
Benjamin Otte
d7bc4c719b
dmabuf: Remove unused headers
2023-11-25 01:44:34 +01:00
Benjamin Otte
725857e15b
dmabuf: Add a fallback list of fourccs
...
That way, we can work with older libdrm versions.
The list was generated via a bit of sed and grep from the current
dmabuf-fourcc.h, which is why I put it into its own file and included
all the formats, no matter how old they are.
2023-11-25 01:44:34 +01:00
Benjamin Otte
50ee872978
dmabuf: Add gdk_dmabuf_get_fourcc()
...
Returns the fourcc for a given GdkMemoryFormat.
Not sure if this is the best name, but I didn't know a better one.
2023-11-25 01:44:34 +01:00
Benjamin Otte
b6c82c6b54
dmabuf: Add all formats
...
Add the matching GdkMemoryFormat for all dmabuf formats.
This way, we don't fall back to RGBA8 for 10- and 16-bit formats that we
don't support natively when EGL or Vulkan use them.
Also includes corrections for a few mixups.
2023-11-25 01:44:34 +01:00