Rémi Verschelde
1c7ef74f4f
Merge pull request #113346 from deralmas/wl-keyboard-saga/unify-keys
...
Wayland: Unify key handling logic
2025-12-01 11:50:11 +01:00
Rémi Verschelde
4d072556ef
Merge pull request #113302 from LanzaSchneider/fix-wayland-logging-invalid-format
...
LinuxBSD: Fixes a formatting error when running Godot editor with Wayland prefer enabled.
2025-12-01 11:50:02 +01:00
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
Fredia Huya-Kouadio
d85dbee766
Fix apk install after gradle build for the Android editor
2025-12-01 02:08:29 -08:00
Fredia Huya-Kouadio
0f160c7293
Fix Android build regression introduced by https://github.com/godotengine/godot/pull/110829
2025-12-01 01:21:32 -08:00
Fredia Huya-Kouadio
74d80f485c
Disable Android devices mirroring for the Android editor
2025-11-30 21:57:51 -08:00
Dery Almas
9a814b4444
Wayland: Unify key handling logic
...
Previously we had different logic for direct key presses and client-side
key repetition, as one queued up input events and the other dispatched
them directly (client-side key repetition is run from the main thread).
I kinda figured out that this difference doesn't really matter, as we
can queue them up before the thread message dispatching logic. That's
exactly what we do now, which allows us to make a single method for both
of them, making the code much clearer and simplifying future maintenance.
This patch also includes a tiny fixup in the compose logic, which checks
for the validity of the generated key event before actually working with
it. The cases in which we can end up with an invalid reference are very
few, so it's not the end of the world, but it's still absolutely a good
idea to check, to avoid nasty surprises down the line.
2025-11-30 05:11:40 +01:00
LanzaSchneider
3a965d50fe
Fix incorrect format specifier for bool in Wayland libdecor
2025-11-29 10:20:27 +08:00
Micky
4dec66859e
Fix miscellaneous oddities around the class reference (part 7)
2025-11-28 18:19:45 +01:00
Lukas Tenbrink
acefbbbbcd
Add support for profiling GDScript with tracy.
...
This adds macro `GodotProfileZoneGroupedFirstScript`, and uses interning for speedy lookups.
Co-authored-by: Samuel Nicholas <nicholas.samuel@gmail.com>
2025-11-28 16:36:36 +01:00
Pāvels Nadtočajevs
17fa5219a9
[macOS] Do not use `openApplicationAtURL` for headless instances.
2025-11-28 14:23:08 +02:00
Riteo Siuga
f90a9ad659
Destroy XKB keymap and state on seat capability change
...
Wasn't that much of a concern as it would have been disposed of next
time a keyboard got added, but it's still a good thing to do.
2025-11-27 23:02:08 +01:00
Dery Almas
a79239e332
Wayland: Add default keyboard repetition values
...
The `wl_keyboard::repeat_info` event got introduced in version 4. On
versions older than that, we defaulted to 0 delay, which means no
repetition. That's a veeery old version and basically everything offers
it, but it doesn't hurt to add a reasonable default.
2025-11-27 22:37:28 +01:00
Dery Almas
b0a42784f1
Wayland: Fix SIGFPE with repeat rate of 0
...
We always divided by the rate, which could be zero, which is a valid
value (it means "disable key repeating").
2025-11-27 22:37:28 +01: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
Haoyu Qiu
f694c64ac4
X11: Skip Motif function hints when borderless
2025-11-27 21:53:28 +08: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
Anish Kumar
60d20ab038
Android: Implement Storage Access Framework (SAF) support
2025-11-26 02:37:30 +05:30
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
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
Benjamin Dobell
84365402f8
Android: Fixed assets:// access i.e. fixed .pck from assets://
2025-11-07 23:42:22 +11:00
Pāvels Nadtočajevs
281c74550a
Make `utterance_id` 64-bit.
2025-11-07 10:21:20 +02:00
Pāvels Nadtočajevs
c231c8c41d
Fix "Unexpected NUL character" errors on Wine.
2025-11-07 08:08:12 +02:00
Thaddeus Crews
0cad83f7e7
Merge pull request #112398 from LanzaSchneider/patch-5
...
Fix compile error with android export plugin
2025-11-06 08:13:14 -06:00
Thaddeus Crews
2d7380c3ff
Merge pull request #111493 from deralmas/racing-the-thread
...
Wayland: Defer event thread initialization to late initialization
2025-11-06 08:13:13 -06:00
Lanza
8d6a76154e
Fix compile error with android export plugin
2025-11-06 09:03:41 +08:00
Thaddeus Crews
62edbc2ae5
Merge pull request #112437 from mhilbrunner/android-buildtools-bump
...
Update Android build tools to version 35.0.1
2025-11-05 11:48:04 -06:00
Skyth
613c9fb86f
Improve rendering driver fallback on Windows.
2025-11-05 17:49:43 +03:00
Max Hilbrunner
5e07b74bf5
Update Android build tools to version 35.0.1
2025-11-05 14:29:56 +01:00
Thaddeus Crews
a6e7084b40
Merge pull request #112383 from bruvzg/mm_enter_spam
...
[macOS] Fix mouse enter events sent to wrong popup window.
2025-11-04 16:32:56 -06:00
Thaddeus Crews
f3c30408d4
Merge pull request #112344 from blueskythlikesclouds/d3d12-transparent-background-fix
...
Create HWND swap chain when window transparency is disabled on D3D12.
2025-11-04 16:32:48 -06:00
Thaddeus Crews
90cab74af9
Merge pull request #110248 from KoBeWi/unexpected_include_hell
...
Misc cleanup in EditorExportPlatform
2025-11-04 16:32:39 -06:00
Thaddeus Crews
38eefbab28
Merge pull request #112297 from UrbanHelix/borderless-border-bug
...
[Windows] Fix legacy border when toggling borderless while fullscreen
2025-11-04 16:32:37 -06:00
Thaddeus Crews
700aa5cee2
Merge pull request #112036 from MBCX/report-supported-api-android
...
Change API 21 references to API 24
2025-11-04 16:32:35 -06:00
Thaddeus Crews
c5e6fde0c7
Merge pull request #112142 from timothyqiu/motif-wm-hints
...
X11: Fix minimize/maximize buttons can't be hidden
2025-11-04 16:32:24 -06:00
Pāvels Nadtočajevs
03c544fb2b
[macOS] Fix mouse enter events sent to wrong popup window.
2025-11-04 13:03:48 +02:00