Commit graph

6520 commits

Author SHA1 Message Date
Rémi Verschelde
58e4e34564
Merge pull request #103176 from 0xcafeb33f/theora-asm-opt
Fix libtheora optimizations causing errors in calling function for x86_64 Windows
2025-02-23 12:13:13 +01:00
Rémi Verschelde
545ca2538e
Merge pull request #103122 from syntaxerror247/fix-crash
Android: Fix excessive `getRotation` calls
2025-02-23 12:13:02 +01:00
Rémi Verschelde
17b3be9473
Merge pull request #103117 from syntaxerror247/black-bars-bug
Android Editor: Fix expand button black bar issue
2025-02-23 12:12:55 +01:00
Rémi Verschelde
05c56e8393
Merge pull request #103052 from Hilderin/fix-embedded-game-mouse-over-not-focused-windows
Fix Embedded Game does not focus when mouse over on Windows
2025-02-23 12:12:47 +01:00
cafebeef
5201dfb34c Windows x86_64 GCC: Disable Theora assembly optimizations
Co-authored-by: Bernat Arlandis <berarma@hotmail.com>
2025-02-22 17:20:55 -06:00
Anish Mishra
ee4e809d4c Android: Fix excessive getRotation calls 2025-02-21 20:32:54 +05:30
Anish Mishra
129ffce06a Android Editor: Fix expand button black bar issue 2025-02-21 13:00:49 +05:30
Hilderin
c7bc322bf6 Fix Embedded Game does not focus when mouse over on Windows 2025-02-20 16:28:18 -05:00
Rémi Verschelde
702eb39ab8
Revert "Workaround mingw-gcc LTO ICE by re-adding some dead code..."
This reverts commit e12a424bc5.
This is no longer needed after 26fd3458f9.
2025-02-20 17:47:37 +01:00
Rémi Verschelde
26fd3458f9
Windows: Configure MinGW LTO with -fno-use-linker-plugin -fwhole-program
- Works around and closes #102867.
- Works around and closes #102982.

Co-authored-by: Hein-Pieter van Braam-Stewart <hp@tmm.cx>
2025-02-20 17:47:26 +01:00
Thaddeus Crews
70eb62faf2
Merge pull request #103021 from Hilderin/fix-embedded-game-start-location-windows
Fix Embedded Game startup location on Windows
2025-02-19 16:54:09 -06:00
Thaddeus Crews
e91493fb7b
Merge pull request #102993 from bruvzg/fix_cb_win_erase
Prevent pending input event callbacks from erasing the window in the middle of a loop.
2025-02-18 20:47:53 -06:00
Hilderin
224d9bfe3f Fix Embedded Game startup location on Windows 2025-02-18 19:05:15 -05:00
Thaddeus Crews
e948f52ea9
Merge pull request #102983 from bruvzg/fix_flash
[Window] Fix flashing subwindows.
2025-02-18 07:56:08 -06:00
Pāvels Nadtočajevs
f710781b16 Prevent pending input event callbacks from erasing the window in the middle of a loop. 2025-02-18 15:26:13 +02:00
bruvzg
f86a24fcfd [Window] Fix flashing subwindows. 2025-02-18 08:14:54 +02:00
Adam Scott
030e7d4e2d
[Web] Fix issue when pausing an non-started sample 2025-02-17 09:49:50 -05:00
David Snopek
5d69d20059 JavaClassWrapper: Allow handling exceptions (rather than just crashing) 2025-02-14 09:45:14 -06:00
Rémi Verschelde
7feab02599
Merge pull request #102827 from bruvzg/win_err
[Windows] Fix missing argument in non-console logger call.
2025-02-13 23:35:24 +01:00
Rémi Verschelde
3787cc4901
Merge pull request #102802 from syntaxerror247/fix_orientation_handling
Android Editor: Fix embed mode orientation handling
2025-02-13 23:35:12 +01:00
Rémi Verschelde
9f2b673c61
Merge pull request #102719 from adamscott/optimize-mouse-mode-set
[Web] Refactor `mouse_mode` setters in display server
2025-02-13 23:35:08 +01:00
Adam Scott
61344dc5ac
[Web] Refactor mouse_mode setters in display server 2025-02-13 17:25:35 -05:00
Pāvels Nadtočajevs
ae61b2f655 [Windows] Fix missing argument in non-console logger call. 2025-02-14 00:09:51 +02:00
Anish Mishra
4a22e007f6 Android Editor: Fix embed mode orientation handling 2025-02-13 22:22:50 +05:30
Thaddeus Crews
d333159669
Merge pull request #102801 from bruvzg/tab_detect
[Windows] Read Wacom config to check if Windows Ink is disabled and auto switch to WinTab.
2025-02-13 10:15:43 -06:00
Thaddeus Crews
1229b997f0
Merge pull request #102772 from m4gr3d/bump_xr_editor_dependencies
Bump the version of the openxr vendors plugin dependency
2025-02-13 10:15:39 -06:00
bruvzg
3f2a29cd9d [Windows] Read Wacom config to check if Windows Ink is disabled and auto switch to WinTab. 2025-02-13 15:10:16 +02:00
Thaddeus Crews
78f1918bd4
Merge pull request #102668 from jkirsteins/janiskirsteins/ios-aspect-fill-splash
[iOS] Sync the boot splash and the launch screen image scale modes
2025-02-12 12:56:26 -06:00
Fredia Huya-Kouadio
8ed8b4a89d Bump the version of the openxr vendors plugin dependency 2025-02-12 09:51:07 -08:00
Jānis Kiršteins
0e266b0099
[iOS] Sync the boot splash and the launch screen image scale modes 2025-02-12 17:41:18 +01:00
Rémi Verschelde
2fd6c635d5 Merge pull request #102744 from Hilderin/fix-floating-window-freeze-when-moving
Fix Game and editor freeze when clicking on the game's title bar
2025-02-12 11:21:11 +01:00
Rémi Verschelde
bd87c3a76b Merge pull request #102247 from Hilderin/fix-embedded-game-modal-dialog
Fix Modal Dialog with Embedded Game
2025-02-12 11:21:01 +01:00
Hilderin
e9fef1c833 Fix Game and editor freeze when clicking on the game's title bar 2025-02-11 21:41:03 -05:00
Rémi Verschelde
66d66807ab Merge pull request #102715 from adamscott/remove-pool-return-false
[Web] Remove position pool system and return false when done instead
2025-02-11 23:59:29 +01:00
Rémi Verschelde
8d909f86d3 Merge pull request #102669 from m4gr3d/fix_method_signature_change
Revert finalizing `GodotHost#getCommandLine()` public API
2025-02-11 23:59:15 +01:00
Rémi Verschelde
a8a1009468 Merge pull request #102641 from Riteo/modifying-spacetime-itself
Wayland: Unstuck keys with same keycode
2025-02-11 23:59:12 +01:00
Fredia Huya-Kouadio
2a66335ec2 Address API regression from https://github.com/godotengine/godot/pull/101050 2025-02-11 10:19:47 -08:00
Adam Scott
cdb6fc7f74
[Web] Remove position pool system and return false when done instead 2025-02-11 10:43:34 -05:00
Thaddeus Crews
427d8086f2
Merge pull request #102492 from m4gr3d/android_editor_support_game_tab
Add support for embedding game process in the Android Editor
2025-02-11 09:13:05 -06:00
Riteo
54755a27e9 Wayland: Unstuck keys with same keycode
This fixes once and for all the core issue of different Godot `keycode`s
released from the same raw XKB keycode.

The `InputEventKey` `keycode` value _should_ map to the "unmodified"
key, but unfortunately there's an ambiguity with their encoding for
"special" keys ("delete", "insert", etc.), in witch they ignore their
unicode representation. This means that a key that is special when plain
but a character when modified would never be properly picked up, so we
do indeed change its keycode. As a consequence of this exception, some
Godot keys never receive release events and get "stuck".

This patch adds an extra check through an `HashMap` to "unstuck" keys
that changed while having the same keycode.

I also could not resist simplifying a bit the regular key event
generation method but this makes things more consistent and predictable
IMO.
2025-02-11 13:16:16 +01:00
Fredia Huya-Kouadio
7495a8a02e Add support for embedding game process in the Android Editor
- Implement Android editor specific `EmbeddedGodotGame` to support embedding the game window in the Android editor
2025-02-11 02:20:18 -08:00
Rémi Verschelde
e912241f4d Merge pull request #102674 from Riteo/waiting-for-frame
Wayland: Fix engine stalls while waiting frames
2025-02-11 10:54:28 +01:00
Riteo
cbd68eb403 Wayland: Fix engine stalls wihle waiting frames
There were two edge cases in the frame waiting logic (aka manual frame
throttling or emulated vsync) which would cause the editor to stall in
one way or another:

 1. Waiting right after starting the editor would cause a deadlock
between both threads until something happened in the Wayland event
queue, in turn unblocking the Wayland thread and kickstartin the whole
thing;

 2. Starting the editor (and probably other long-loading stuff) without
low consumption mode would suspend the window and never commit its
surfaces, thus never signaling the compositor that we want frame events.
2025-02-11 01:33:36 +01:00
Rémi Verschelde
19a30bb723 Wayland: Fix build config with so_wrap disabled
We should only include the vendored headers for Wayland and libdecor-0 when
we use `so_wrap`, i.e. when we *don't* build against system libraries.

The libdecor-0 pkg-config file includes the `libdecor-0/` prefix already,
so its header should be included without it, and likewise in our so wrappers.
Fixes #102671.
2025-02-10 21:42:25 +01:00
Thaddeus Crews
4b644ed1f5
Merge pull request #102341 from SheepYhangCN/rendering-driver-fallback-moltenvk
Implement Fallback to Vulkan for MoltenVK
2025-02-10 12:21:33 -06:00
Thaddeus Crews
c90fd7f3da
Merge pull request #98066 from TCROC/fix-android-mono-export
Fix Android mono export with 2 or more cpu architectures fails
2025-02-10 12:21:32 -06:00
Thaddeus Crews
0b9fd7e190
Merge pull request #102627 from raulsntos/dotnet/android-export-validate-tfm
C#: Validate project TFM for Android template exports
2025-02-10 12:21:30 -06:00
Raul Santos
70ff213de5
C#: Validate project TFM for Android template exports
The C# Android export template includes `.jar` dependencies from .NET 8.0, so other TFMs are not supported.
2025-02-10 17:19:05 +01:00
Travis Lange
5e2fd7b1d7 fix android mono export causing conflicts 2025-02-10 10:09:52 -05:00
SheepYhangCN
c0eec97e98 macOS: Implement fallback from Metal to Vulkan for x86_64 2025-02-10 13:23:46 +01:00