1
0
Fork 0
Commit Graph

7306 Commits

Author SHA1 Message Date
Pāvels Nadtočajevs 4334fff230
[macOS] Add missing "move" system cursor. 2025-11-26 13:59:27 +02: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
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
Thaddeus Crews 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
Thaddeus Crews c6fe923e33
Merge pull request #108516 from KoBeWi/file_graveyard
Remove unnecessary cpp files after cleanup
2025-11-14 14:23:06 -06:00
Fredia Huya-Kouadio 353c871160 Add support for Android XR devices to the Godot XR Editor 2025-11-14 11:54:53 -08:00
Benjamin Dobell 585389af24 Fix crash when gamepad connects immediately upon Android app startup 2025-11-15 01:13:17 +11:00
Thaddeus Crews 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
Thaddeus Crews 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
Fredia Huya-Kouadio 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
Skyth 69401d6eb1 Fix crash when using ANGLE OpenGL on Windows. 2025-11-13 12:24:11 +03:00
Thaddeus Crews 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
Thaddeus Crews 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
Jono Kemball 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
Thaddeus Crews 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
Thaddeus Crews 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
Anish Kumar 941aff3c06 Android: Fix root window shrinks when keyboard shows 2025-11-09 20:07:43 +05:30
Fredia Huya-Kouadio 8c469be225 Fix editor crash on exit 2025-11-08 10:57:19 -08:00
Haoyu Qiu b8a8f8b35a Allow localizing the application name with project translations 2025-11-08 13:06:55 +08:00
Lukas Tenbrink c3747884da Add some important profiling hooks. 2025-11-08 00:08:48 +01:00
Lukas Tenbrink e80194e31f Add `profiler` option to `SCons` builds.
Add `tracy` option to `profiler`. If set, a tracy profiling client will be injected into the Godot binary.

# Conflicts:
#	platform/linuxbsd/godot_linuxbsd.cpp
2025-11-08 00:08:45 +01:00
Thaddeus Crews ee7722181f
Merge pull request #112496 from bruvzg/nullcert
Fix "Unexpected NUL character" errors on Wine.
2025-11-07 10:32:33 -06:00