Commit Graph

6545 Commits

Author SHA1 Message Date
52e84ae83e Update mouse-entered state when subwindow closes (macOS display server)
(cherry picked from commit f3c54c1a32)
2025-03-19 12:58:34 +01:00
efb3cf1db4 [macOS/iOS] Fix system font family descriptor leak.
(cherry picked from commit c5dcecc6f7)
2025-03-19 12:57:11 +01:00
6ef29a0e55 Convert compress_native_libraries to a basic export option
(cherry picked from commit f3155412af)
2025-03-18 14:06:16 +01:00
9f30ad69e3 JavaClassWrapper: Fix mistake in last fix for org.godotengine.godot.Dictionary conversion
(cherry picked from commit 2091899d55)
2025-03-18 14:06:15 +01:00
e9ff9e9644 update logo/run icon path in README
(cherry picked from commit 25a8b808d3)
2025-03-12 14:59:04 +01:00
14d7775217 [Linux/BSD] Offload RenderingDevice creation test to subprocess.
(cherry picked from commit 6ed12bfc5d)
2025-03-12 14:59:03 +01:00
bdf4f38ac4 Fix Android mouse capture issues
- Allow mouse capture to be enabled in `_ready`
- Update the input handler logic to avoid dropping mouse captured motion events

(cherry picked from commit bea6472ea4)
2025-03-12 14:59:02 +01:00
69faae9b36 Android: Fix build with disable_3d
Fixes #103516.

(cherry picked from commit a7dd4ad5f8)
2025-03-12 14:59:02 +01:00
0461469113 Fix crash after changing device language
The app was restarting unexpectedly due to missing configChanges flags.
Added "locale|layoutDirection" to AndroidManifest.xml to prevent activity recreation.

(cherry picked from commit 1c02316365)
2025-03-12 14:59:02 +01:00
2bf9dc71da Update to latest version of Swappy
Fixes #103294

(cherry picked from commit 89ea5b3d00)
2025-03-12 14:59:02 +01:00
b734db834a JavaClassWrapper: Fix conversion to/from org.godotengine.godot.Dictionary that regressed
(cherry picked from commit f52b2e4db4)
2025-03-12 14:59:02 +01:00
9abd46f1d1 JavaClassWrapper: Fix converting returned arrays to Godot types
(cherry picked from commit bbc66056a8)
2025-03-12 14:59:02 +01:00
ab700d0e18 JavaClassWrapper: Improve handling of typed array arguments
(cherry picked from commit d7672128b5)
2025-03-12 14:59:02 +01:00
38f4c278f5 Fix check for is_maximized in x11 to require both horizontal and vertical
Fixes #103522

Persistent window state doesn't work if your window is 'tiled' in X11
gnome

3.x checks for `horz && vert`
4396e98834/platform/x11/os_x11.cpp (L1708)

4.x also checked `horz && vert` until this change where it was switched
to `horz || vert`
524f061c01 (diff-05f85bc3bf96d384f6b96260c758e63e10bbdd52b04f8ccb34649372e7bc1f48R1382)

The corrected logic is:
Check `horz && vert` for 'is_maximized'
Check `horz || vert` for 'can_maximize'

(cherry picked from commit 4f14f722b8)
2025-03-12 14:59:02 +01:00
275f6317b6 [iOS export] Restore one-click deploy device enumeration using Xcode.
(cherry picked from commit 4187c48a15)
2025-03-12 14:59:02 +01:00
40e3cec9e0 Use more efficient sleep approach on Windows when low-processor mode is enabled
This aims to fix the idle CPU utilization regression from 4.3 to 4.4
by reverting to the previous approach, but only when low-processor mode
is enabled.

(cherry picked from commit 03b4e0dd58)
2025-03-12 14:59:02 +01:00
7fb37a088b Add checks to prevent crashes when accessing the GameMenu api
This should address crashes reported on the Play store. Note that those crashes lack debug symbols which reduces our ability to narrow down the exact cause of the crash. We aim to resolve that in Godot 4.5.
2025-02-27 13:20:23 -08:00
53faed5351 Merge pull request #103339 from Hilderin/adjustment-error-message-embedded-game
Replace error to info messages for embedded game
2025-02-27 12:40:39 +01:00
ddd807ff7d Add (void *) cast directly to GetProcAddress calls. 2025-02-27 12:30:04 +02:00
0c384e7217 Replace error to info messages for embedded game 2025-02-26 19:32:25 -05:00
82aacc129f Merge pull request #103245 from bruvzg/rd_helper
[Windows] Offload `RenderingDevice` creation test to subprocess.
2025-02-25 15:28:06 +01:00
ab717497ef [Windows] Offload RenderingDevice creation test to subprocess. 2025-02-24 19:40:10 +02:00
1f5f96c47f [Windows] Fix unused variable error in DisplayServerWindows 2025-02-24 18:08:13 +01:00
28d1dccf63 Android: Fix export and runtime logic to check if using Vulkan
Also fix iOS export logic that would force a min target of iOS 14.0 (for Metal)
even when targeting the Compatibility renderer.

Co-authored-by: Pāvels Nadtočajevs <7645683+bruvzg@users.noreply.github.com>
2025-02-23 12:28:59 +01:00
b77423370a Fix cross-platform configuration of rendering driver settings
Simpler alternative to #103026 which avoids breaking compatibility.

Instead of introducing a new `auto` default value, we ensure that all
supported drivers are registered regardless of the editor's host platform,
and that the defaults are the intended ones.

This solves the following issues:
- macOS exports are meant to default to Metal in 4.4, but they would
  default to Vulkan if exported from Linux, Windows, or Android editors.
- Windows exports couldn't be made with Direct3D 12 from Linux, macOS, or
  Android editors, as the option couldn't be selected outside Windows.

Unlike #103026, it doesn't solve the issue of not always saving the
rendering drivers to `project.godot`, but now the defaults are at least
consistent between editor platforms.

Co-authored-by: Pāvels Nadtočajevs <7645683+bruvzg@users.noreply.github.com>
2025-02-23 12:28:59 +01:00
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
545ca2538e Merge pull request #103122 from syntaxerror247/fix-crash
Android: Fix excessive `getRotation` calls
2025-02-23 12:13:02 +01:00
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
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
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
ee4e809d4c Android: Fix excessive getRotation calls 2025-02-21 20:32:54 +05:30
129ffce06a Android Editor: Fix expand button black bar issue 2025-02-21 13:00:49 +05:30
c7bc322bf6 Fix Embedded Game does not focus when mouse over on Windows 2025-02-20 16:28:18 -05:00
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
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
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
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
224d9bfe3f Fix Embedded Game startup location on Windows 2025-02-18 19:05:15 -05:00
e948f52ea9 Merge pull request #102983 from bruvzg/fix_flash
[Window] Fix flashing subwindows.
2025-02-18 07:56:08 -06:00
f710781b16 Prevent pending input event callbacks from erasing the window in the middle of a loop. 2025-02-18 15:26:13 +02:00
f86a24fcfd [Window] Fix flashing subwindows. 2025-02-18 08:14:54 +02:00
030e7d4e2d [Web] Fix issue when pausing an non-started sample 2025-02-17 09:49:50 -05:00
5d69d20059 JavaClassWrapper: Allow handling exceptions (rather than just crashing) 2025-02-14 09:45:14 -06:00
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
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
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
61344dc5ac [Web] Refactor mouse_mode setters in display server 2025-02-13 17:25:35 -05:00
ae61b2f655 [Windows] Fix missing argument in non-console logger call. 2025-02-14 00:09:51 +02:00
4a22e007f6 Android Editor: Fix embed mode orientation handling 2025-02-13 22:22:50 +05:30
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