Matthias Clasen
bcab0e4254
Merge branch 'none-bitfield' into 'main'
...
gdk-enums: Add GDK_NO_MODIFIER_MASK
See merge request GNOME/gtk!6602
2023-11-24 18:33:56 +00:00
Matthias Clasen
253955c017
Merge branch 'ebassi/docs-content-files' into 'main'
...
Add content_base_url to the docs project files
See merge request GNOME/gtk!6604
2023-11-24 18:19:06 +00:00
Maximiliano Sandoval R.
3a8834a437
gdk-enums: Add GDK_NO_MODIFIER_MASK
2023-11-24 18:04:56 +01:00
Emmanuele Bassi
48ea2ecac3
docs: Add content_base_url
...
Newer versions of gi-docgen support linking the rendered content files
to its source inside the repository, just like a symbol docblock.
2023-11-24 16:50:41 +00:00
Emmanuele Bassi
6d0b31128b
docs: Update the user support information
...
The IRC channel is on Libera and there's a Matrix room.
2023-11-24 16:50:41 +00:00
Emmanuele Bassi
0b519bc353
docs: Clarify title of the Initialization content file
2023-11-24 16:50:41 +00:00
Emmanuele Bassi
bb756b35a2
docs: Remove duplicate titles
2023-11-24 16:50:41 +00:00
Emmanuele Bassi
7ba7ab1e3d
docs: Fix links to the 2.x to 4 migration guide
...
The GTK3 migration guide is on docs.gtk.org, these days; and the
3.x to 4 migration guide is in the same location as this file.
2023-11-24 16:50:41 +00:00
Emmanuele Bassi
f73a7e29ca
docs: Use consistent style for content metadata
2023-11-24 16:50:41 +00:00
Emmanuele Bassi
2eb6e3d4c5
docs: Clean up the key value content file
...
Use a more descriptive title, add links to the API, add code elements,
and align the text a bit better.
2023-11-24 16:50:41 +00:00
Matthias Clasen
b28cf76f11
Merge branch 'matthiasc/for-main' into 'main'
...
Matthiasc/for main
See merge request GNOME/gtk!6603
2023-11-24 16:09:19 +00:00
Matthias Clasen
36314f28e2
gsk: Some more rect inlining
2023-11-24 10:35:57 -05:00
Matthias Clasen
b7a1b1d7ee
Fix some static analysis warnings
2023-11-24 10:35:57 -05:00
Matthias Clasen
57e382b59c
Merge branch 'sumibi-yakitori/fix-mouse-cursor-on-macos' into 'main'
...
macos: Change to send motion events to NSApp
Closes #6134
See merge request GNOME/gtk!6451
2023-11-24 13:06:53 +00:00
Matthias Clasen
a35a885902
Merge branch 'file-launcher-writable' into 'main'
...
file laucher: Add a writable property
Closes #4247
See merge request GNOME/gtk!6600
2023-11-23 00:13:19 +00:00
Matthias Clasen
5fa3a2a39f
file laucher: Add a writable property
...
If GtkFileLauncher:writable is TRUE, we ask the openuri portal
to make the file writable for the handler that it launches.
Fixes : #4247
2023-11-22 17:43:10 -05:00
Matthias Clasen
7f53b3d3f4
openuri portal: Introduce flags
2023-11-22 17:30:37 -05:00
Matthias Clasen
9b25257cbf
Merge branch 'matthiasc/for-main' into 'main'
...
Address various static analysis complaints
See merge request GNOME/gtk!6598
2023-11-22 11:49:57 +00:00
Matthias Clasen
a90a6c4517
Address various static analysis complaints
...
These were picked out of the scan_build logs in ci.
2023-11-22 00:07:47 -05:00
Matthias Clasen
e69f062c99
Merge branch 'testsuite-leaks' into 'main'
...
testsuite: Don't leak so much
See merge request GNOME/gtk!6597
2023-11-22 04:48:42 +00:00
Matthias Clasen
210c7f25ad
testsuite: Leak even less
...
A memory leak spotted by asan.
2023-11-21 23:21:55 -05:00
Matthias Clasen
9695791f7b
testsuite: Don't leak so much
...
My subsurface attach code was leaking all the nodes. Oops.
2023-11-21 23:21:55 -05:00
Matthias Clasen
ca0da0dd83
Merge branch 'matthiasc/for-main' into 'main'
...
ci: Run less tests
See merge request GNOME/gtk!6596
2023-11-22 03:41:15 +00:00
Matthias Clasen
5a8a839921
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-21 22:20:47 -05:00
Matthias Clasen
eb84171cda
Merge branch 'testsuite-improvements' into 'main'
...
ci: Tweak the run-tests script
See merge request GNOME/gtk!6587
2023-11-21 19:31:15 +00:00
Benjamin Otte
5608a8978e
Merge branch 'picture-integral-size' into 'main'
...
picture: Keep paintable size integral
See merge request GNOME/gtk!6593
2023-11-21 19:30:53 +00:00
Matthias Clasen
efefdbd5c0
Merge branch 'no-fractional-offload' into 'main'
...
wayland: Don't offload with fractional scales
See merge request GNOME/gtk!6592
2023-11-21 19:28:03 +00:00
Matthias Clasen
6bea059424
Merge branch 'subsurface-api-tweaks' into 'main'
...
subsurface: Replace place_above/below
See merge request GNOME/gtk!6595
2023-11-21 18:52:07 +00:00
Matthias Clasen
c99c06f0da
wayland: Careful offloading with fractional scales
...
Sadly, subsurface positioning is undefined in this case. We'll
trust the compositor to not mess up if the device coordinates
after applying the scale are integral, but otherwise, we'll
decline.
2023-11-21 13:47:10 -05:00
Matthias Clasen
bda8f5393d
wayland: Allow attaching (some) non-opaque textures
...
Allow translucent textures when we are raising the subsurface.
2023-11-21 13:24:04 -05:00
Matthias Clasen
160fa969d4
subsurface: Replace place_above/below
...
Instead, do it all in attach(), which becomes more and more like
ConfigureWindow. This is good, because it will let us take the
above-ness into account when making decisions about attaching.
2023-11-21 13:24:04 -05:00
Benjamin Otte
edf33a6617
Merge branch 'wip/otte/for-main' into 'main'
...
subsurface: Don't marka failure as success
See merge request GNOME/gtk!6594
2023-11-21 17:01:54 +00:00
Benjamin Otte
86587a9328
subsurface: Don't marka failure as success
...
There was one branch in the success case that turned it into a failure,
yet we were still reporting a success (and discarding the buffer).
Don't do that.
2023-11-21 17:31:40 +01:00
Matthias Clasen
8691d471d0
picture: Keep paintable size integral
...
Without this, offloading is very hit-and-miss, since you need
to hit the few size combinations where you get an exact integral
size when preserving the aspect ratio.
2023-11-21 11:14:15 -05:00
Matthias Clasen
463b6dd1fd
Merge branch 'egl-device-info' into 'main'
...
EGL: Print out the device info
See merge request GNOME/gtk!6590
2023-11-21 05:04:35 +00:00
Matthias Clasen
88e1f77f90
EGL: Print out the device info
...
This may become more relevant info, with dmabuf formats being
tied to specific devices.
2023-11-20 23:40:00 -05:00
Matthias Clasen
1ee488f445
Merge branch 'matthiasc/for-main' into 'main'
...
wayland: Move subsurface creation code
See merge request GNOME/gtk!6589
2023-11-21 00:04:02 +00:00
Matthias Clasen
eae0e15b9d
wayland: Move subsurface creation code
...
This belongs with all the other subsurface handling.
2023-11-20 18:01:09 -05:00
Matthias Clasen
00d551bda8
Merge branch 'drop-legacy-gl' into 'main'
...
Drop the gl-legacy debug value
See merge request GNOME/gtk!6585
2023-11-20 13:31:27 +00:00
Matthias Clasen
2dcec44714
Drop the nograbs debug value
...
This was only used in the x11 backend, and I haven't seen it
actively recommended for debugging anything in ages.
2023-11-20 08:02:03 -05:00
Matthias Clasen
f04c819439
Drop the gl-legacy debug value
...
The consensus is that we can do without this.
2023-11-20 08:02:02 -05:00
Matthias Clasen
c679ba9ebf
wip: ci: rework the test runs
2023-11-19 21:26:04 -05:00
Matthias Clasen
9aadc2b860
ci: Tweak the run-tests script
...
The main change here is to pass the suite to run as an explicit
argument. This is in preparation for running less tests.
2023-11-19 21:26:04 -05:00
Emmanuele Bassi
e4370cc95e
Merge branch 'matthiasc/for-main' into 'main'
...
file dialog: Return an error if no file is selected
Closes #6139
See merge request GNOME/gtk!6586
2023-11-19 18:29:57 +00:00
Matthias Clasen
22ceb018fb
file dialog: Return an error if no file is selected
...
This was brought as a problem for bindings in #6139 .
Fixes : #6139
2023-11-19 12:46:56 -05:00
Matthias Clasen
833d307695
Merge branch 'default-to-gles' into 'main'
...
Use GLES by default
Closes #6170
See merge request GNOME/gtk!6520
2023-11-19 16:14:04 +00:00
Piotr Drąg
e8afb5e210
Update Polish translation
2023-11-19 15:34:46 +01:00
Matthias Clasen
b916c4dac1
ci: Reshuffle test setups
...
Add a wayland_gl setup that explicitly uses desktop GL, and rename
wayland_gles to wayland_gles2 (since that is what it does).
In ci, make the fedora-x86_64 runner run tests with wayland_gl
and wayland_gles2, and make the fedora-release runner run test
with wayland and x11.
2023-11-19 08:24:38 -05:00
Matthias Clasen
699c6d6159
Use GLES by default
...
With the advent of dmabuf support, using GLES has become more
attractive, since we can use its external texture support to
support more dmabuf formats.
You can go back to the previous preference order by setting
GDK_DEBUG=gl-prefer-gl
2023-11-19 08:07:03 -05:00
Matthias Clasen
025b846fce
Add a debug value to prefer desktop GL
...
This will be used in the next commit, when we change the default
preference to be GLES.
2023-11-19 08:07:02 -05:00