Commit Graph

7775 Commits

Author SHA1 Message Date
Thaddeus Crews 2c5bdd1f9c Merge pull request #119510 from van800/shakhov/fixes
open_dynamic_library(String(), library, &data) should only be called for apple
2026-05-18 11:06:26 -05:00
Thaddeus Crews 819cae99f8 Merge pull request #119331 from norepro/fix-x11-release-pressed-events
Release X11 pressed events on true focus loss
2026-05-18 11:06:26 -05:00
Thaddeus Crews 8ae90e9442 Merge pull request #119495 from m4gr3d/fix_main_path_use_for_android
[Android] Fix the use of `--main-pack` in template builds
2026-05-18 11:06:25 -05:00
Ivan Šachov e744959de5 avoiding an incorrect ERR_FILE_NOT_FOUND report when the DLL exists but fails to load for another reason
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2026-05-16 21:55:33 +02:00
Fredia Huya-Kouadio 948032c89c [Android] Fix the use of --main-pack 2026-05-15 23:03:54 -07:00
Thaddeus Crews 7af66e02ef Merge pull request #119448 from buresu/fix-wayland
Wayland: Fix incorrect fallback value for height in _xdg_popup_on_configure
2026-05-15 15:42:05 -05:00
Michael Alexsander 088cd1faa4 Fix wrong path in EditorExportPlugin._export_begin() when zipping 2026-05-14 19:44:40 -03:00
Naoto Kondo 814d08d77f Wayland: Fix incorrect fallback value for height in _xdg_popup_on_configure 2026-05-14 10:44:44 +09:00
Thaddeus Crews 9a33066a27 Merge pull request #119297 from m4gr3d/misc_bug_fixes
[Android] Miscellaneous bug fixes
2026-05-13 09:53:54 -05:00
Thaddeus Crews e333258f94 Merge pull request #119433 from bruvzg/win_await
[Windows] Remove `await` MSVC flags.
2026-05-13 09:53:53 -05:00
Pāvels Nadtočajevs a9088880c2 [Windows] Remove await MSVC flags. 2026-05-13 10:51:51 +03:00
Anish Kumar 1f5c3cbb7f Fix Android plugin signal regression 2026-05-13 04:29:11 +05:30
norepro 800223a043 Release X11 pressed events on true focus loss
There are two "focus lost" signals in the Godot X11 display server:

1. `FocusOut` - native X11 signal

2. `NOTIFICATION_APPLICATION_FOCUS_OUT` - Godot signal after 250ms of
no other window getting focus.

When focus is lost, the intent is to clear any input pressed events so
that, when focus returns, we have a clean slate.

The bug is that the pressed events are (attempted to be) cleared on the
first signal, X11's `FocusOut`. This is always a no-op because it
returns early if the application still has focus. Godot's X11 server
only sets that flag after the second signal, not the first.

Move the pressed event clearing from the first signal handler to the
second. This makes clearing pressed events do what it says.

This does not affect Wayland because it does not have the 250ms grace
period.

Simple repro is to load any 3D scene, hold 'W' and, while 'W' is held,
click on any non-Godot window. Release 'W', click back to Godot, and
hold RMB. It will zoom forward as if 'W' is still pressed.

After the fix, the same test has RMB look around as expected when no
other keys are pressed.

Fixes #118897
2026-05-08 00:41:20 -07:00
Thaddeus Crews ee4e7e51bc Merge pull request #119303 from norepro/x11-xsync-badwindow-errors
Fix some X11 BadWindow errors not being ignored
2026-05-07 11:13:31 -05:00
Aaron Franke 7ffda5c701 LinuxBSD crash handler: Move addr2line finding to its own function 2026-05-07 00:14:50 -07:00
norepro 3ffec30d51 Fix some X11 BadWindow errors not being ignored
Godot suppresses X11 BadWindow errors during some operations because
they can occur with normal usage.

X11 errors are asynchronous. Sometimes, when a BadWindow error is sent,
it is dequeued after the original non-BadWindow-suppressing error
handler has been restored. This results in an error callstack being
shown to the user.

Call `XSync` before restoring the original error handler. This ensures
that any queued BadWindow errors go to the suppressing handler.

Fixes #117814
2026-05-06 22:55:31 -07:00
Fredia Huya-Kouadio ca46bafc51 Fix the command line parsing logic for the --main-pack argument 2026-05-06 13:11:35 -07:00
Thaddeus Crews b786c890b6 Merge pull request #119252 from deralmas/wl/embedder-mods
Wayland Embedder: Track keyboard modifier keys
2026-05-06 14:56:32 -05:00
Thaddeus Crews fddd45ea1c Merge pull request #119091 from ArchercatNEO/context-driver-surface-supports-hdr
HDR: Implement checking if surface supports HDR output.
2026-05-06 14:56:27 -05:00
ArchercatNEO 3f29efc8a2 HDR: Implement surface supports HDR output.
Previously the Wayland display server would attempt to enable
HDR output and try to detect if it failed afterwards which had some issues.
Now we can query the rendering driver for support and avoid ever enabling
HDR output when this would fail.
2026-05-06 19:51:54 +01:00
Thaddeus Crews cb490e6e23 Merge pull request #119172 from syntaxerror247/gabe-ready-for-release
Remove experimental warning from `Use Gradle Build` option on Android
2026-05-06 10:53:35 -05:00
Thaddeus Crews 952d4860b2 Merge pull request #119278 from bruvzg/win2019_fx
[Windows] Force supported SDK with MSVC 2019, add Scons option to set SDK version.
2026-05-06 10:53:35 -05:00
Pāvels Nadtočajevs 6e9d66d923 [Windows] Force supported SDK with MSVC 2019, add option Scons option to set SDK version. 2026-05-06 15:01:34 +03:00
Anish Kumar 9ecaf9307f Remove experimental warning from Use Gradle Build option on Android 2026-05-06 17:23:31 +05:30
Pāvels Nadtočajevs 873131973a Fix incorrect feature overrides when exporting for Linux. 2026-05-06 10:23:18 +03:00
Fredia Huya-Kouadio 51876c561c Set the Game window to a different task affinity than the Editor window.
This allows to distinguish between both running activities in the `Recent Apps` screen.
2026-05-05 17:54:17 -07:00
Anish Kumar 7338c3475b Fix Android plugin regression 2026-05-05 20:17:57 +05:30
Anish Kumar d8cfa71eaf Add tests to validate Android plugin signal 2026-05-05 20:17:57 +05:30
Dery Almas ef5a2569e7 Wayland Embedder: Track keyboard modifier keys
The Wayland spec says:

> The compositor must send the wl_keyboard.modifiers event after this
event.

We did not during "fake" focus changes (e.g. from/to embedded
applications), effectively resetting the modifier state.

This patch simply tracks keyboard modifiers and informs clients whenever
we send custom enter events.
2026-05-05 12:49:26 +02:00
Thaddeus Crews 1963b2f126 SCons: Drop VS2017 support, use C17 universally 2026-04-30 10:07:06 -05:00
Thaddeus Crews d8227b7a78 Merge pull request #118860 from syntaxerror247/editor-minsdk-revert
Revert Android Editor minSdk bump to 24
2026-04-27 12:05:42 -05:00
Thaddeus Crews a02cead472 Merge pull request #118942 from syntaxerror247/opengl-default-minsdk
Android: Set the default minSdk for compatibility renderer to 24
2026-04-27 12:05:40 -05:00
Thaddeus Crews ad6ead96a2 Merge pull request #118893 from realybin/fix/imm-windows
[Windows] Fix IME candidate window misalignment by setting composition font
2026-04-27 12:05:38 -05:00
Thaddeus Crews 714d71f247 Merge pull request #118798 from bruvzg/dyn_coremsg
[Windows] Dynamically load `coremessaging`.
2026-04-27 12:05:34 -05:00
Anish Kumar bb63952a5f Revert Android Editor minSdk bump to 24 2026-04-25 22:24:53 +05:30
Anish Kumar b236b0950b Android: Set the default minSdk for compatibility renderer to 24 2026-04-25 10:59:35 +05:30
Thaddeus Crews 7a8adcf4d8 Merge pull request #117913 from allenwp/hdr-output-allow-request
Fix behavior of `window_is_hdr_output_supported` for Wayland and adjust warnings.
2026-04-24 15:43:32 -05:00
realybin 8cf3b63ac2 [Windows] Fix IME candidate window misalignment by setting composition font 2026-04-24 02:26:06 +08:00
Thaddeus Crews 7ffe0a57cc Merge pull request #118777 from NoctemCat/web_reenable_proxy_to_pthread
[Web] Remove flags that prevent `proxy_to_pthread` from building
2026-04-23 08:34:57 -05:00
realybin 579b5a92ce [Windows] Fix inconsistent update logic between IME composition and the candidate window 2026-04-22 16:41:53 +08:00
Thaddeus Crews 72853b13eb Merge pull request #117018 from NoctemCat/fix_web_assertions_in_release
[Web] Fix assertions wrongly affecting release template, make it configurable
2026-04-21 16:46:13 -05:00
Thaddeus Crews 1df8f1d386 Merge pull request #118689 from syntaxerror247/embedded-window-fix
Fix embedded window minimum size bug on Android
2026-04-21 08:48:04 -05:00
NoctemCat ba3401f81f Fix assertions wrongly affecting release template, make it configurable 2026-04-21 21:26:30 +09:00
Pāvels Nadtočajevs 14f67419a4 [Windows] Dynamically load coremessaging. 2026-04-21 07:56:50 +03:00
Allen Pestaluky 4309120a4a Fix DisplayServerWayland::window_is_hdr_output_supported to check rendering device for HDR output support and adjust warnings/errors. 2026-04-20 11:11:01 -04:00
Thaddeus Crews 22969efdbe Merge pull request #118760 from bruvzg/onecore_lang
[Windows] Fix OneCore TTS language code formatting.
2026-04-20 09:15:37 -05:00
Thaddeus Crews 2a8b3d6618 Merge pull request #118742 from bruvzg/msvc_angle
Add missing `angle` check to MSVC branch.
2026-04-20 09:15:33 -05:00
Thaddeus Crews 54f1178d3c Merge pull request #118676 from bruvzg/crash_mod+fmt
[macOS/Linux] Add module information to the crash handler.
2026-04-20 09:15:31 -05:00
NoctemCat d4091df7ac Remove deprecated values that prevent proxy_to_pthread from building 2026-04-20 20:39:50 +09:00
Pāvels Nadtočajevs a1d0c3229d [Windows] Fix OneCore TTS language code formatting. 2026-04-19 22:22:17 +03:00