1047 Commits

Author SHA1 Message Date
Arctis-Fireblight
759b2e5cc5 Merge remote-tracking branch 'godot/master' into Godot-Sync-2dd26a0 2025-09-09 04:42:00 -05:00
Pāvels Nadtočajevs
76433b0ede Fix Wayland build with OpenGL disabled. 2025-09-06 18:37:49 +03:00
Arctis-Fireblight
00692349f5 Merge commit godotengine/godot@4ebf67c 2025-08-27 23:18:33 -05:00
Pāvels Nadtočajevs
0edb6bd4a0 [Linux/BSD] Initialize DBus only once. 2025-08-22 09:26:11 +03:00
Pāvels Nadtočajevs
98bef37f55 Use org.a11y.Status/ScreenReaderEnabled on Linux. 2025-08-18 17:36:49 +03:00
Spartan322
4f08ff1a11 Merge commit godotengine/godot@a3b42d85d2 2025-08-13 19:56:49 -04:00
Spartan322
a14b50a1b4 Merge commit godotengine/godot@037956dbc9 2025-08-01 22:26:32 -04:00
Nintorch
0e19ad507e Fix the usage of libudev and dbus with SDL
Previously, libudev was ignored if SOWRAP_ENABLED was defined (it is defined by default) because otherwise it would crash CI builds due to a missing header, and dbus was always linked dynamically. This commit should fix this issue and make libudev usable again
2025-07-31 15:05:06 +05:00
Thaddeus Crews
9471a4ace7 Merge pull request #108659 from jdavasligil/x11-unicode-keysym-fix
Add keypad codes to the keysym unicode map.
2025-07-23 13:27:09 -05:00
Pāvels Nadtočajevs
e407f55fbf Fix editor one-click icons not showing. 2025-07-21 12:18:44 +03:00
Spartan322
cd86012a9d Merge commit godotengine/godot@71a9948157 2025-07-19 14:15:00 -04:00
jdavasligil
93cd0a136f Add keypad codes to the keysym unicode map #74578 2025-07-18 14:30:28 -07:00
Dery Almas
98537b2e0c Wayland: Fix error condition in window_get_current_screen
Leftover from when the Wayland backend was single-window only.
2025-07-14 15:56:43 +02:00
A Thousand Ships
f11aff3841 Editor: Restructure editor code
Moving various editor files into sub folders to reduce clutter
2025-07-04 18:18:22 +02:00
Spartan322
0a87a7b475 Merge commit godotengine/godot@e1b4101e34 2025-07-01 06:43:54 -04:00
Haoyu Qiu
9051b546c6 X11: Fix memory leak when using window embedding 2025-06-28 22:50:51 +08:00
Pāvels Nadtočajevs
71dd7b5712 Fix SDL threading on macOS/Linux.
And fixup pkg-config check for SDL on Linux.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2025-06-25 10:36:39 +02:00
Nintorch
0b3496fb4f Add support for SDL3 joystick input driver
Made possible by EIREXE, xsellier and the SDL team.

This commit includes statically linked SDL3 for Windows, Linux and macOS.
The vendored copy of SDL3 was setup to only build the required subsystems
for gamepad/joystick support, with some patches to be able to make it as
minimal as possible and reduce the impact on binary size and code size.

Co-authored-by: Álex Román Núñez <eirexe123@gmail.com>
Co-authored-by: Xavier Sellier <xsellier@gmail.com>
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2025-06-25 01:28:50 +02:00
Spartan322
63bd691bb9 Merge commit godotengine/godot@88b9932ce1 2025-06-23 16:28:53 -04:00
Riteo Siuga
b60b68055f Wayland: Fix division by zero when scale is less than 1
The `Vector2i` division operator casts doubles down to `int32_t`. It
would thus truncate the fractional scale factor to 0 if less than 1,
resulting in a FPE on x86_64.
2025-06-21 03:09:51 +02:00
Spartan322
7f9872092c Merge commit godotengine/godot@5abed52fd9 2025-06-20 03:57:56 -04:00
Thaddeus Crews
856d7108e0 Merge pull request #106414 from Riteo/unexpected-frame
Wayland: Fix stuck pointer buttons on window leave
2025-06-18 18:13:45 -05:00
Spartan322
9023767920 Merge commit godotengine/godot@1bbfe637c6 2025-06-10 22:00:50 -04:00
Thaddeus Crews
fda6faeebf Merge pull request #107356 from ArchercatNEO/wayland-protocols-scsub
Wayland: Simplify including protocols
2025-06-10 19:22:42 -05:00
Rémi Verschelde
cc9761c3f0 Merge pull request #107188 from berarma/moviewriter-add-theora
Add Ogg Theora support to MovieWriter
2025-06-10 16:22:57 +02:00
Bernat Arlandis
a16b04fe07 Add Ogg Theora support to MovieWriter
Movie Maker mode can now record files in `.ogv` format, which can be
directly viewed in Godot's VideoStreamPlayer node along with most
video players. This is a lossy format with inter-frame compression,
unlike AVI + MJPEG which only performs intra-frame compression.

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
Co-authored-by: Leo de Penning <leo.depenning@illuminoo.com>
2025-06-10 15:52:24 +02:00
ArchercatNEO
367cabf692 Wayland: Simplify including protocols 2025-06-10 08:39:20 +01:00
Rémi Verschelde
c596d93478 Merge pull request #106175 from akien-mga/linux-build-no-dbus
Linux: Fix build with `dbus=no` or `threads=no`
2025-06-09 00:44:12 +02:00
Pāvels Nadtočajevs
1484771f26 Fix native file dialog crash with invalid filter. 2025-06-06 09:24:42 +03:00
Spartan322
0e99b001ac Merge commit godotengine/godot@5dd76968d8 2025-06-05 23:07:30 -04:00
Thaddeus Crews
57bf364f36 Merge pull request #107058 from mihe/script-backtrace-deadlock
Fix various race conditions with capturing of script backtraces
2025-06-03 15:30:16 -05:00
Thaddeus Crews
12b97c250d Merge pull request #104907 from bruvzg/scr_ids
Cleanup and unify `DisplayServer` screen methods and documentation.
2025-06-02 18:51:45 -05:00
Mikael Hermansson
6929823838 Fix various race conditions with capturing of script backtraces 2025-06-02 19:46:19 +02:00
kobewi
b41d6ecf8c Allow to override editor settings per project 2025-06-02 17:51:26 +02:00
Pāvels Nadtočajevs
2d93e004b9 Cleanup and unify DisplayServer screen methods and documentation. 2025-06-02 08:03:48 +03:00
Spartan322
b666f4fc15 Merge commit godotengine/godot@de37627404 2025-05-29 05:22:55 -04:00
Thaddeus Crews
de37627404 Merge pull request #102552 from DarioSamo/shader-baker
Add shader baker to project exporter.
2025-05-28 17:09:38 -05:00
Thaddeus Crews
6228c7c762 Merge pull request #105451 from bruvzg/x11_splash
Fix X11 boot splash scaling.
2025-05-28 09:47:42 -05:00
Thaddeus Crews
bb47f01481 Merge pull request #106390 from akien-mga/linux-drop-ppc32
Linux: Drop `ppc32` (32-bit PowerPC) architecture support
2025-05-28 09:47:34 -05:00
Dario
5a30a7e7cd Add shader baker to project exporter.
Metal Support contributed by Migeran (https://migeran.com) and Stuart Carnie.

Co-authored-by: Stuart Carnie <stuart.carnie@gmail.com>
Co-authored-by: Gergely Kis <gergely.kis@migeran.com>
2025-05-27 12:45:27 -03:00
Riteo
67c317c58d Wayland: Add missing return in selection logic
Fixup to "Wayland: Check selection devices before using them"

This slipped under the radar... until for some reason optimized builds
started crashing, perhaps due to timing-related shenanigans, no idea.
2025-05-26 20:36:15 +02:00
Spartan322
3f2a63752f Add animated WebP import
Add animated WebP file loading
Add animated WebP image frames load test assertions
Add libwebpdemux for local libwebp to linuxbsd/detect.py
2025-05-23 19:36:37 -04:00
Spartan322
38fb5272ad Merge commit godotengine/godot@7a0ab9d561 2025-05-22 14:03:25 -04:00
Thaddeus Crews
202b1176a4 Merge pull request #106251 from ArchercatNEO/wayland-cursor-shape
[Wayland] Implement the cursor-shape-v1 protocol
2025-05-16 10:29:02 -05:00
Thaddeus Crews
902d2b45bb Merge pull request #106400 from RandomShaper/win_compat
Improve platform compatibility of Windows and Direct3D 12
2025-05-15 10:22:16 -05:00
ArchercatNEO
3cd7b5b9a8 [Wayland] Implement the cursor-shape-v1 protocol
Related #106229. The cursor-shape protocol allows us to not have to deal with cursor theming and instead depend on the
compositor for it.
This still does not quite solve the issue when the compositor doesn't implement the protocol
(or running under the x11 backend) but for gnome/kde and a few more this should resolve things.
2025-05-15 15:42:48 +01:00
Pedro J. Estébanez
820380817a Exclude RD creation test functions from templates 2025-05-15 10:12:38 +02:00
Riteo
a3913b045d Wayland: Fix stuck pointer buttons on window leave
This issue came from the frame-based refactoring done in the multiwin
PR.

It looks like some (all?) compositors group certain events alongside
`wl_pointer::leave`, which I absolutely did not expect. The docs don't
seem to mention it either from what I can tell.

We now fall-back on the old pointed window if and only if the current
window is invalid and the old one isn't. Each state fetch is guarded
with an `ERR_FAIL_NULL` so this should still catch any potentially
corrupted window with missing data but a valid ID.

I also added the usual big comment so that this "quirk" does not get
lost to time.
2025-05-14 23:30:16 +02:00
Spartan322
63f2d58fcf Merge commit godotengine/godot@428a762e98 2025-05-14 14:16:55 -04:00
mara
d213e72866 wayland: Unbreak build with libdecor=no
In #101774, some libdecor-specific code was added, but without adding the guards. This broke the build with
`libdecor=no`.

Add `#ifdef` guard as necessary.
2025-05-14 13:36:45 +00:00