Commit Graph

7718 Commits

Author SHA1 Message Date
Thaddeus Crews 77caa1c178 Merge pull request #117891 from stuartcarnie/macos_embedded_scaling_fixes
macOS: Fix embedded window scaling issues when hiDPI is disabled
2026-04-16 21:46:49 -05:00
Thaddeus Crews a6dccbf731 Merge pull request #118339 from bruvzg/winrt_color
[Windows] Add support for `AdvancedColorInfo` info and change callback.
2026-04-16 09:41:19 -05:00
Thaddeus Crews f4c839f7b3 Merge pull request #118417 from syntaxerror247/resize-and-move
Allow moving and resizing the embedded game window on Android
2026-04-16 09:41:10 -05:00
Thaddeus Crews 21dbe711c5 Merge pull request #113886 from deralmas/wl-touch
Wayland: Implement touch support
2026-04-15 14:02:35 -05:00
Anish Kumar eb3d2940e3 Allow moving and resizing the embedded game window on Android 2026-04-15 22:18:12 +05:30
Rémi Verschelde 972d21ebf4 Merge pull request #118283 from m4gr3d/deprecate_and_remove_obb
Android: Remove deprecated Google Play OBB support
2026-04-15 12:40:59 +02:00
Rémi Verschelde 96c2ddf39a Merge pull request #117060 from AThousandShips/fix_symbols_linux
[Linux] Improve crash trace symbols
2026-04-15 12:40:35 +02:00
Pāvels Nadtočajevs 778e0a7879 [Windows] Add support for AdvancedColorInfo info and change callback.
Co-authored-by: Allen Pestaluky <allenpestaluky@gmail.com>
2026-04-15 09:02:33 +03:00
Thaddeus Crews 8e0030b4ee Merge pull request #118554 from deralmas/wl/complex-pointer-frames
Wayland: Handle complex pointer event frames
2026-04-14 07:11:03 -05:00
A Thousand Ships 8fe002819e [Linux] Improve crash trace symbols
Uses `addr2line` to also demangle symbols when available.
2026-04-14 12:51:58 +02:00
Dery Almas 3883ba2a34 Wayland: Handle complex pointer event frames
From the spec:

> The wl_pointer.enter and wl_pointer.leave events are logical events
> generated by the compositor and not the hardware. These events are
> also grouped by a wl_pointer.frame. When a pointer moves from one
> surface to another, a compositor should group the wl_pointer.leave
> event within the same wl_pointer.frame. However, a client must not
> rely on wl_pointer.leave and wl_pointer.enter being in the same
> wl_pointer.frame. Compositor-specific policies may require the
> wl_pointer.leave and wl_pointer.enter event being split across
> multiple wl_pointer.frame groups.

From my understanding™ this means that a compositor SHOULD group
leave/enter events together. Is this common? From my testing... Not
really. Notably, (only?) KDE does this.

Our pointer frame event assumed that we would be working with the
currently pointed window but since all events must be logically grouped
together I think it can really only group "normal" events related to the
*leave* event.

Now, whenever there's a pointer focus change, we send everything to the
old window, if it exists, otherwise the currently pointed one.

This approach seems to handle complex event frames with both leave and
enter events properly now, with good results on all compositors.

This patch also and makes it harder to get to a null check when the
window simply does not exists (the error was meant only for existing but
invalid windows), along with an helper method to aid in this.
2026-04-14 01:18:55 +02:00
Thaddeus Crews 50cc2823d5 Merge pull request #118404 from Rindbee/set-ime_active-to-false-when-the-IME-stops
Set `ime_active` to `false` when the IME stops on X11
2026-04-13 11:46:10 -05:00
Thaddeus Crews 2ee7ef7196 Merge pull request #118385 from Rindbee/warn-only-once-when-the-input-method-stops
Warn only once when the input method stops
2026-04-13 11:46:05 -05:00
Thaddeus Crews 8d80b74623 Merge pull request #118514 from bruvzg/be
Remove unused and broken big endian support code.
2026-04-13 11:46:02 -05:00
Pāvels Nadtočajevs cdd274199e Remove unused and broken big endian support code. 2026-04-13 12:41:46 +03:00
风青山 52e79da660 Warn only once when the input method stops on X11
An input method is not required for the application to run.

However, it is still assumed that the user requires an input method
for text input; therefore, in order to avoid generating spam, a warning
is issued only once whenever the input method becomes inactive.
2026-04-13 17:05:19 +08:00
Fredia Huya-Kouadio f06290bbfa Enable 'perfetto' by default for Android debug builds. 2026-04-12 12:41:50 -07:00
风青山 045c16b596 Set ime_active to false when the IME stops 2026-04-11 14:44:56 +08:00
Fredia Huya-Kouadio 31b595cd5e Deprecate and remove obb support
The current obb support was specific to the Google Play store which has deprecated the format in favor on Android bundle and Play asset delivery.
For projects that still have a dependency on the Play store obb support, the deprecated logic has been moved into a separate Godot Obb Android plugin.
2026-04-10 12:25:44 -07:00
Anish Kumar ee82a8f69d Android: Add export options to customize splash screen 2026-04-09 11:39:36 +05:30
Fredia Huya-Kouadio 50f6eff29b [Android] Clean up Godot.kt by moving natively accessed methods to the (new) GodotNativeBridge.kt internal class 2026-04-08 10:24:37 -07:00
Thaddeus Crews 9dd0719d30 Merge pull request #117341 from FarizzDev/add-android-export-etc2-astc-error-message
Android export: Add error message when ETC2/ASTC compression is not enabled
2026-04-08 09:25:20 -05:00
FarizzDev c454b4aebf Android export: add error message when ETC2/ASTC compression is not enabled
When `rendering/textures/vram_compression/import_etc2_astc` is disabled
in Project Settings, the Android export would silently fail with only a
generic "configuration errors" message, giving no indication of what
needed to be fixed.

This was especially problematic for headless/CI exports where there is
no visual feedback at all.
2026-04-08 13:57:40 +00:00
Thaddeus Crews 6b5a8733f7 Merge pull request #118287 from bruvzg/angle_fix_path
[ANGLE] Fix build with manually set path.
2026-04-07 18:21:52 -05:00
Thaddeus Crews 01fa8cc2d2 Merge pull request #116351 from bruvzg/onecore_emopick
[Windows] Use OneCore/WinRT emoji picker when available.
2026-04-07 18:21:48 -05:00
Thaddeus Crews 82e3e44bb2 Merge pull request #117837 from allenwp/hdr-remove-sdr-white-level-polling
[Windows] Remove polling of SDR white level when HDR output is enabled.
2026-04-07 18:21:46 -05:00
Thaddeus Crews 5c2b6814ea Merge pull request #117653 from m4gr3d/fix_back_navigation_handling
[Android] Fix handling of back navigation when targeting API level 36
2026-04-07 18:21:45 -05:00
Pāvels Nadtočajevs 2939aabf16 [ANGLE] Fix build with manually set path. 2026-04-07 22:37:06 +03:00
Fredia Huya-Kouadio ea070aceec [Android] Fix handling of back navigation when targeting API level 36 2026-04-07 10:03:28 -07:00
Allen Pestaluky abfd33b413 [Windows] Remove polling of SDR white level when HDR output is enabled. 2026-04-07 10:15:03 -04:00
Pāvels Nadtočajevs 0a0ff94d15 [Windows] Use OneCore/WinRT emoji picker when available. 2026-04-07 15:26:58 +03:00
Thaddeus Crews 223c9417bd Merge pull request #115632 from akien-mga/gles3-split-platform-egl
GLES3: Split EGL includes in `platform_egl.h`
2026-04-07 06:44:49 -05:00
Thaddeus Crews f3dfd4bf33 Merge pull request #118244 from bruvzg/winrt_fixes
[Windows] WinRT build improvements.
2026-04-07 06:44:47 -05:00
Thaddeus Crews cd32d9949f Merge pull request #118083 from allenwp/hdr-macos-vulkan
Add HDR output support to Vulkan on macOS.
2026-04-07 06:44:43 -05:00
Rémi Verschelde 7567211e8b GLES3: Split EGL includes in platform_egl.h
EGL brings in platform-specific headers such as the dreaded `windows.h`,
and `platform_gl.h` is used throughout `drivers/gles3` for basic OpenGL
types such as `GLuint`. We don't want `windows.h` pollution there.

Note for Android: EGL seems used explicitly only via `rasterizer_gles3.cpp`
to enable GL debug printing, and some custom stuff in `config.cpp`.
2026-04-07 12:07:22 +02:00
Pāvels Nadtočajevs f867029abf [Windows] WinRT build improvements.
Adds warning and link to the script when winrt headers are missing.
Adds CXXFLAG to fix build with old (Windows 10) SDKs.
Moves WinRT from `github.com/bruvzg/winrt_mingw` to `github.com/godotengine/winrt_mingw`.
2026-04-07 12:01:03 +03:00
Allen Pestaluky 0810756a9f Add HDR output support to Vulkan on macOS.
Co-authored-by: Josh Jones <kilauea.jones@gmail.com>
Co-authored-by: Stuart Carnie <stuart.carnie@gmail.com>
2026-04-06 11:11:18 -04:00
Dery Almas ac913816d4 Wayland: Initialize libdecor earlier
It has its own bookkeeping which would not immediately initialize in
certain setups, leading to crashes.
2026-04-04 23:09:22 +02:00
Thaddeus Crews e37b5c4035 Merge pull request #118076 from allenwp/output-max-linear-value-events
[Apple, Wayland] HDR Output: Emit window events when HDR state changes
2026-04-03 11:52:22 -05:00
Thaddeus Crews a70b7ad1e6 Merge pull request #115666 from DarkKilauea/rendering/hdr-output-changed
[Windows] HDR Output: Emit window events when HDR state changes
2026-04-03 11:52:20 -05:00
ArchercatNEO 1d14370d55 Wayland: Fix building with libdecor=no 2026-04-03 10:08:11 +01:00
Allen Pestaluky f9145cbc72 Add HDR events for Wayland and Apple display servers
Co-authored-by: ArchercatNEO <tururu.pompella@gmail.com>
2026-04-02 12:50:38 -04:00
Thaddeus Crews a490c267a2 Merge pull request #115498 from m4gr3d/add_javaclasswrapper_proxy_interfaces
Android: Allow implementing java interfaces from GDScript
2026-04-01 12:55:15 -05:00
Thaddeus Crews 0dabee78c7 Merge pull request #116349 from bruvzg/onecore_opt
[Windows] Implement OneCore TTS support using C++/WinRT (no deps).
2026-03-31 10:46:51 -05:00
Stuart Carnie 8a7230132d macOS: Fix embedded window scaling issues when hiDPI is disabled
Closes #116120
Closes #116563
2026-03-31 05:49:56 +11:00
Fredia Huya-Kouadio 70c684a063 Allow implementing java interfaces from GDScript 2026-03-30 11:49:43 -07:00
Thaddeus Crews 0f51ed6099 Merge pull request #113543 from bruvzg/win_icons
[DisplayServer] Add per window icon support.
2026-03-30 13:35:47 -05:00
Thaddeus Crews 3672cd2ebf Merge pull request #115502 from bruvzg/ios_int_mod
[iOS] Reintegrate camera module to the main repo.
2026-03-30 13:35:41 -05:00
Thaddeus Crews 521e442754 Merge pull request #115896 from bruvzg/trace_x
[CrashHandler] Always print frame PCs and main module load address for retrace.
2026-03-30 13:35:29 -05:00
Thaddeus Crews 5ee90d8e82 Merge pull request #117873 from deralmas/wl/send-reinforcements
Wayland: Unify clipboard sending code
2026-03-30 13:35:26 -05:00