d94252cf98
Merge pull request #110926 from syntaxerror247/version-bump-and-page-size-update
...
[4.4] Android version bumps and page size update
2025-11-26 22:56:50 +01:00
4191df3f72
Windows: Migrate godot.manifest to platform/windows
...
• Ensure file is included as proper dependency
(cherry picked from commit d48f255074 )
2025-09-30 11:45:02 -05:00
43566d9462
Fix the issue preventing installing C# binaries on Android devices with api <= 29
2025-09-26 17:16:42 +05:30
c5db2cfec2
[.NET] Require net9.0 for Android exports
...
To ensure Android exports are compatible with the new Play Store
requirement that all `.so` libraries included are aligned to 16k,
we now require C# projects to target `net9.0` which uses the
correct alignment (as opposed to the current one of 4k).
The thirdparty jar library has also been updated to the one from
the 9.0.4 runtime package so it's compatible with non-gradle
builds targeting `net9.0`.
Non-android projects are not affect, the minimum TFM is still
`net8.0`.
2025-09-26 17:11:31 +05:30
8f2ad2eb42
Update to the AAB directory layout
...
Follow-up to https://github.com/godotengine/godot/pull/106152 to address the regression described in https://github.com/godotengine/godot/issues/106582
2025-09-26 16:26:43 +05:30
cc7fbe6aec
Bump the NDK to version 28.1.13356709
...
Doing so automatically adds support for 16kib page to the Godot Android shared libraries.
See https://developer.android.com/guide/practices/page-sizes#compile-16-kb-alignment for details.
2025-09-26 16:24:04 +05:30
731fa536fe
Update the project NDK to the latest LTS version (r27c)
2025-09-26 16:22:47 +05:30
0e7b067701
[Android] Store native libraries uncompressed in APK
2025-09-26 16:06:33 +05:30
284d0332dd
Annual versions bump for the Android platform
...
- gradle: 8.2 -> 8.11.1
- androidx.constraintlayout:constraintlayout: 2.1.4 -> 2.2.1
- Android gradle plugin: 8.2.0 -> 8.6.1
- Android compile sdk: 34 -> 35
- Android target sdk: 34 -> 35
- Android build tools: 34.0.0 -> 35.0.0
- kotlin: 1.9.20 -> 2.1.20
- androidx.fragment:fragment: 1.7.1 -> 1.8.6
- OpenXR vendors plugin: 3.1.2-stable -> 4.0.0-stable
2025-09-26 16:04:19 +05:30
66774cb689
[Windows] Try reading GPU driver information directly from registry.
...
(cherry picked from commit 9f8626ccaa )
2025-09-16 10:01:25 -05:00
3e17d7f028
Workaround X11 crash issue
...
(cherry picked from commit 6842a5861b )
2025-09-16 09:59:49 -05:00
1b8ccb2ecc
Update links to the contributing section of the docs to the appropriate new sections.
...
(cherry picked from commit 4c0026b053 )
2025-09-12 09:26:27 -05:00
9622b4b681
Update the zipalign implementation to properly align APKs with uncompressed .so libraries
2025-05-12 15:54:50 -07:00
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