Commit graph

7326 commits

Author SHA1 Message Date
Rémi Verschelde
b275237bbd
Merge pull request #113267 from bruvzg/mac_headless_inst
[macOS] Do not use `openApplicationAtURL` for headless instances.
2025-12-01 11:49:36 +01:00
Pāvels Nadtočajevs
17fa5219a9
[macOS] Do not use openApplicationAtURL for headless instances. 2025-11-28 14:23:08 +02:00
dependabot[bot]
a8a4faacfe
Bump js-yaml from 4.1.0 to 4.1.1 in /platform/web
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 4.1.0 to 4.1.1.
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/4.1.0...4.1.1)

---
updated-dependencies:
- dependency-name: js-yaml
  dependency-version: 4.1.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-27 21:20:15 +00:00
Rémi Verschelde
bb7054cdf2
Merge pull request #113213 from akien-mga/windows-d3d12-default
Windows: Make Direct3D 12 the default RD driver for new projects
2025-11-27 21:48:20 +01:00
Rémi Verschelde
93e83c5e98
Merge pull request #113186 from bruvzg/macos_movec
[macOS] Add missing "move" system cursor.
2025-11-27 21:48:17 +01:00
Rémi Verschelde
e28ef68957
Merge pull request #113135 from deralmas/buffer-jaywalking
Wayland: Fix trailing garbage error while using the embedder on Jay
2025-11-27 21:48:12 +01:00
Rémi Verschelde
a67116ecbb
Merge pull request #113073 from BrianPetkovsek/master
Fix documentation typos and broken links
2025-11-27 21:48:08 +01:00
David Snopek
5593a0b2b2 Enable Gradle builds on the Android editor via a dedicated build app
Co-authored-by: Logan Lang <devloglogan@gmail.com>
2025-11-27 11:03:06 -06:00
Brian Petkovsek
0d9ff70296
Fix documentation typos and broken links 2025-11-27 12:24:58 +01:00
Rémi Verschelde
b87fcf7e79
Windows: Make Direct3D 12 the default RD driver for new projects
For compatibility reasons, `vulkan` is kept as the technical default for the
setting, but projects created in Godot 4.6 and later will set `d3d12` as the
driver automatically.

Users upgrading to 4.6 are recommended to adopt `d3d12` as a default if it
fits their needs.

Enable `d3d12=yes` by default in SCons so that custom Windows builds include
Direct3D 12 support.
2025-11-27 10:26:25 +01:00
Rémi Verschelde
b22d15311c
Merge pull request #113159 from dsnopek/android-variant-to-jvalue-memory-issues
Android: Fix memory issues in `_variant_to_jvalue()`
2025-11-27 09:56:04 +01:00
Rémi Verschelde
1667e6fcce
Merge pull request #113195 from teromene/master
Include xkb-compose in `wayland_thread.h`
2025-11-26 23:44:49 +01:00
Rémi Verschelde
d5b76f733b
Merge pull request #113193 from YeldhamDev/proj_manager_wayland_fix
Fix error message when closing the project manager on Wayland
2025-11-26 23:44:41 +01:00
Rémi Verschelde
fa0293e1f1
Merge pull request #112011 from mihe/delta-encoding-zstd
Add support for delta encoding to patch PCKs
2025-11-26 23:43:36 +01:00
David Snopek
c2f8d1a29b Android: Fix memory issues in _variant_to_jvalue() 2025-11-26 11:17:34 -06:00
teromene
b8ef67586d Include xkb-compose in wayland_thread.h. Fixes builds without SOWRAP_ENABLED 2025-11-26 16:00:08 +01:00
Michael Alexsander
69ff129e33
Fix error message when closing the project manager on Wayland 2025-11-26 11:16:08 -03:00
Mikael Hermansson
0cc88f34da Add support for delta encoding to patch PCKs 2025-11-26 13:52:19 +01:00
Pāvels Nadtočajevs
4334fff230
[macOS] Add missing "move" system cursor. 2025-11-26 13:59:27 +02:00
Fredia Huya-Kouadio
023024440b Deprecate and remove vendors specific XR APIs from the Godot core Android library
Follow-up to https://github.com/GodotVR/godot_openxr_vendors/pull/380, done in order to prevent vendors specific dependencies onto the Godot core Android library.
2025-11-25 17:06:43 -08:00
Thaddeus Crews
0ebb11041b
Merge pull request #113138 from deralmas/embedder-oopsies
Wayland: Fix Wayland driver in export templates
2025-11-25 07:06:59 -06:00
Dery Almas
8fb195e20d Wayland: Fix Wayland driver in export templates
I might have accidentally put the socket connection logic inside a
`TOOLS_ENABLED` `#ifdef` xD
2025-11-25 03:36:16 +01:00
Dery Almas
1fb101f7a5 Wayland: Fix trailing garbage error while using the embedder on Jay
`send_wayland_message` takes in the number of words, not its byte size.
This meant that we were sending quite a bit of out-of-bounds stuff
alongside the four arguments required by
`xdg_positioner::set_anchor_rect`, which triggered an assertion on Jay.

This didn't pop up before because the C wayland server library does not
seem to check this, but it's a valid (and useful!) assertion
for other server implementations nonetheless.

This patch switches to the initializer_list syntax to make the intent
clearer.
2025-11-25 01:34:52 +01:00
Thaddeus Crews
e1b3387513
Merge pull request #108704 from wjt/xdg-portal-inhibit
Support XDG Inhibit portal
2025-11-24 15:59:56 -06:00
Thaddeus Crews
0892983225
Merge pull request #113013 from bruvzg/hid_hook
Fix EnumDevices stall using IAT hooks.
2025-11-24 10:21:44 -06:00
Thaddeus Crews
7477823ad5
Merge pull request #113068 from deralmas/writing-with-style
Wayland: Implement compose and dead key support
2025-11-24 10:21:31 -06:00
Dery Almas
8ced63315a Wayland: Implement compose and dead key support 2025-11-22 23:30:23 +01:00
ArchercatNEO
4dd5c83f72 Wayland: compile with libdecor=no 2025-11-22 08:29:05 +00:00
Thaddeus Crews
235a32ad11
Merge pull request #113023 from dsnopek/tracy-framemark-on-linux
Correctly mark frame start for profilers (Tracy/Perfetto) on Linux
2025-11-21 18:37:40 -06:00
Thaddeus Crews
dca2986321
Merge pull request #112844 from bruvzg/cwd_error
Add error message when trying to load project from CWD.
2025-11-21 18:37:29 -06:00
David Snopek
cb7d00efad Correctly mark frame start for profilers (Tracy/Perfetto) on Linux 2025-11-21 14:59:55 -06:00
Thaddeus Crews
efa1056a3a
Merge pull request #101255 from metamuffin/load-exr-image
Add `Image.load_exr_from_buffer`
2025-11-21 14:46:45 -06:00
metamuffin
6145b0ca29
Add Image.load_exr_from_buffer and enable tinyexr by default 2025-11-21 18:58:26 +01:00
Pāvels Nadtočajevs
985dfa7cda
Fix EnumDevices stall using IAT hooks.
Co-authored-by: Davi <davicr38@gmail.com>
2025-11-21 11:21:46 +02:00
Fredia Huya-Kouadio
3206e28c8d Ensure that the Android editor properly passes hybrid data when switching mode 2025-11-20 19:13:02 -08:00
Thaddeus Crews
b0a03edce0
Merge pull request #106891 from BastiaanOlij/openxr_core_android_loader
OpenXR add core support for Khronos loader
2025-11-20 16:47:00 -06:00
Pāvels Nadtočajevs
a7358ddd12
Add error message when trying to load project from CWD. 2025-11-20 23:19:09 +02:00
Thaddeus Crews
2c03099587
Merge pull request #103953 from bitwise-aiden/ba-fix-mac-typo
Fix typo in MacOS and iOS export settings
2025-11-20 11:10:52 -06:00
Thaddeus Crews
688a6d02b2
Merge pull request #107435 from deralmas/wl-proxy
Wayland: Implement game embedding
2025-11-20 11:10:51 -06:00
Dery Almas
bbf65ae72f Wayland: Implement game embedding
This patch introduces a new protocol proxy, which multiplxes Wayland
clients into a single connection, allowing us to redirect calls (e.g.
create toplevel -> create subsurface). Mixed with some state tracking
and emulation, we can embed a full-featured client into the editor.
2025-11-19 21:24:18 +01:00
Aiden Storey
65a0ace3bc Fix typo in MacOS and iOS export settings 2025-11-19 13:05:57 -05:00
Thaddeus Crews
2135cb1707
Merge pull request #103749 from Rindbee/fix-cannot-input-after-restarting-the-input-method-on-x11
Fix cannot input Chinese after restarting the input method on X11
2025-11-19 11:03:58 -06:00
Bastiaan Olij
c056cae437 OpenXR add core support for Khronos loader 2025-11-19 11:54:25 +11:00
Hilderin
f3233372f1
Fix pressed keys resetted when hiding a window on Windows 2025-11-18 10:23:56 -06:00
Thaddeus Crews
b6d75d7c31
Merge pull request #112881 from syntaxerror247/fix-editor-ui-reg
Android Editor: Fix padding for display cutout in fullscreen mode
2025-11-17 19:36:23 -06:00
nikitalita
8f60f9de69 add permissions/manage_media to android export 2025-11-17 12:05:02 -08:00
Anish Kumar
acdace4f00 Android Editor: Fix padding for display cutout in fullscreen mode 2025-11-17 19:00:37 +05:30
Will Thompson
1a3a254e26 Support XDG Inhibit portal
Previously, on Linux and BSD, inhibiting the screensaver was handled
using the org.freedesktop.ScreenSaver D-Bus API. Unfortunately, this API
is not available in a Flatpak sandbox. (This is because there is a
desire to tie inhibit sessions to a specific app and visible window; but
the org.freedesktop.ScreenSaver API does not support this.)

As a result, when using the Flatpak build of the Godot Editor (or a
Flatpak-ed build of a game) and using a controller to play a game, the
session will become idle after a few minutes.

The XDG desktop portal -- which is already used for color-picking, file
choosing, and querying the system theme -- has an Inhibit interface that
provides a superset of the functionality of the
org.freedesktop.ScreenSaver API, and is available to any sandboxed app.

Refactor code for making XDG portal requests that was previously
duplicated for the FileChooser and ColorPicker portal code. Check the
portal version to determine whether these portals can be used:

- FileChooser portal version 3 is required due to the use of the
  "directory" parameter.

- On the Settings portal, the only addition in version 2 is the
  ReadOne() method which is not used here, so version 1 suffices.

- On the Screenshot portal, the only addition in version 2 is the
  "interactive" parameter to the Screenshot() method; this code only
  uses the PickColor() method, so version 1 suffices.

Then, add support for the Inhibit portal. Use it if available and if
running in a sandbox. Prefer to use org.freedesktop.ScreenSaver if not
running in a sandbox, even if the portal is available, because (at least
in the GNOME 43 implementation of the portal) it does not work correctly
if the portal cannot map the request to a running app. This adds a small
amount of complexity to the implementation, but supporting both APIs is
necessary anyway (there are many systems in the wild that support
org.freedesktop.ScreenSaver but not the desktop portal).

Fixes https://github.com/godotengine/godot/issues/108634
2025-11-17 11:46:28 +01:00
Thaddeus Crews
fa451cd05b
Merge pull request #112777 from m4gr3d/add_android_xr_support
[Android editor] Add support for Android XR devices to the Godot XR Editor
2025-11-14 17:16:49 -06:00
Thaddeus Crews
e46c2ea3fa
Merge pull request #112379 from bruvzg/tts64id
Make `utterance_id` 64-bit.
2025-11-14 14:23:17 -06:00