Commit Graph

7308 Commits

Author SHA1 Message Date
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
0cc88f34da Add support for delta encoding to patch PCKs 2025-11-26 13:52:19 +01:00
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
0ebb11041b Merge pull request #113138 from deralmas/embedder-oopsies
Wayland: Fix Wayland driver in export templates
2025-11-25 07:06:59 -06:00
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
e1b3387513 Merge pull request #108704 from wjt/xdg-portal-inhibit
Support XDG Inhibit portal
2025-11-24 15:59:56 -06:00
0892983225 Merge pull request #113013 from bruvzg/hid_hook
Fix EnumDevices stall using IAT hooks.
2025-11-24 10:21:44 -06:00
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
8ced63315a Wayland: Implement compose and dead key support 2025-11-22 23:30:23 +01:00
4dd5c83f72 Wayland: compile with libdecor=no 2025-11-22 08:29:05 +00:00
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
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
cb7d00efad Correctly mark frame start for profilers (Tracy/Perfetto) on Linux 2025-11-21 14:59:55 -06:00
efa1056a3a Merge pull request #101255 from metamuffin/load-exr-image
Add `Image.load_exr_from_buffer`
2025-11-21 14:46:45 -06:00
6145b0ca29 Add Image.load_exr_from_buffer and enable tinyexr by default 2025-11-21 18:58:26 +01:00
985dfa7cda Fix EnumDevices stall using IAT hooks.
Co-authored-by: Davi <davicr38@gmail.com>
2025-11-21 11:21:46 +02:00
3206e28c8d Ensure that the Android editor properly passes hybrid data when switching mode 2025-11-20 19:13:02 -08:00
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
a7358ddd12 Add error message when trying to load project from CWD. 2025-11-20 23:19:09 +02:00
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
688a6d02b2 Merge pull request #107435 from deralmas/wl-proxy
Wayland: Implement game embedding
2025-11-20 11:10:51 -06:00
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
65a0ace3bc Fix typo in MacOS and iOS export settings 2025-11-19 13:05:57 -05:00
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
c056cae437 OpenXR add core support for Khronos loader 2025-11-19 11:54:25 +11:00
f3233372f1 Fix pressed keys resetted when hiding a window on Windows 2025-11-18 10:23:56 -06:00
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
8f60f9de69 add permissions/manage_media to android export 2025-11-17 12:05:02 -08:00
acdace4f00 Android Editor: Fix padding for display cutout in fullscreen mode 2025-11-17 19:00:37 +05:30
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
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
e46c2ea3fa Merge pull request #112379 from bruvzg/tts64id
Make `utterance_id` 64-bit.
2025-11-14 14:23:17 -06:00
c36e846fb1 Merge pull request #112760 from Benjamin-Dobell/fix/android/gamepad-connect-on-startup
Android: Fix crash when gamepad connects immediately upon app startup
2025-11-14 14:23:16 -06:00
c6fe923e33 Merge pull request #108516 from KoBeWi/file_graveyard
Remove unnecessary cpp files after cleanup
2025-11-14 14:23:06 -06:00
353c871160 Add support for Android XR devices to the Godot XR Editor 2025-11-14 11:54:53 -08:00
585389af24 Fix crash when gamepad connects immediately upon Android app startup 2025-11-15 01:13:17 +11:00
cf0d2d724e Merge pull request #112585 from syntaxerror247/fix-ui-issue
Android: Fix root window shrinking when keyboard appears
2025-11-13 20:52:13 -06:00
ccf5be0dda Merge pull request #112679 from m4gr3d/add_front_door
[Android] Make use of activity-alias as the primary launcher mechanism
2025-11-13 20:52:11 -06:00
2ed51e00a1 Make use of activity-alias as the launcher mechanism for the Godot editor and the Godot app template 2025-11-13 10:17:43 -08:00
69401d6eb1 Fix crash when using ANGLE OpenGL on Windows. 2025-11-13 12:24:11 +03:00
04bc282ae7 Merge pull request #104851 from Ivorforce/tracy
Add `profiler` option to `SCons` builds, with support for `tracy` and `perfetto`.
2025-11-12 11:24:15 -06:00
5cb5eb59f9 Fix Chinese characters were not displayed correctly in DBusMessage
On OS with Chinese locale, you might receive the following message
when running an editor using the `--verbose` option:

```
ERROR: Error on D-Bus communication: æªæ	¾å°è¯·æ±ç
                                                         设置
   at: read_setting (platform/linuxbsd/freedesktop_portal_desktop.cpp:144)
```
2025-11-11 08:18:07 +08:00
9eaa7051ec Merge pull request #112534 from Noojuno/fix-windows-minimize-bug
Windows: Fix window_get_size_with_decorations returning an invalid size when restoring from minimize
2025-11-10 17:47:06 -06:00
3497a5dbf5 Windows: Fix window_get_size_with_decorations returning an invalid size when minimizing by storing previous value 2025-11-11 09:22:29 +13:00
2d86b69bf1 Merge pull request #112507 from Benjamin-Dobell/fix/android-assets-pck-loading
Android: Fix loading sparse `.pck` from `assets://`
2025-11-10 08:20:25 -06:00
57311e717a Merge pull request #112556 from m4gr3d/fix_editor_crash_on_exit
[Android editor] Fix editor crash on exit
2025-11-10 08:20:07 -06:00
941aff3c06 Android: Fix root window shrinks when keyboard shows 2025-11-09 20:07:43 +05:30
8c469be225 Fix editor crash on exit 2025-11-08 10:57:19 -08:00
b8a8f8b35a Allow localizing the application name with project translations 2025-11-08 13:06:55 +08:00
c3747884da Add some important profiling hooks. 2025-11-08 00:08:48 +01:00