Commit Graph

71900 Commits

Author SHA1 Message Date
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
33e0265985 Fix 2D instance params crashing using outside of main()
(cherry picked from commit 93bc18f2b0)
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
68d1e1052b Fix incorrect parameters passed to VMA
If the allocation is small enough that it enters the

if (p_size <= SMALL_ALLOCATION_MAX_SIZE) {} block, Godot would call
vmaFindMemoryTypeIndexForBufferInfo with the wrong parameters.

This can cause vmaFindMemoryTypeIndexForBufferInfo to potentially
misbehave on some cards or drivers.

Fixes regression introduced in #102830
Might potentially reopen #101850 (I doubt it, but it's possible)

Must be backported to 4.4

(cherry picked from commit c543c5615c)
2025-03-12 14:59:02 +01:00
56ba35a431 [Windows] Fix get_modified_time on locked files.
(cherry picked from commit 6597fa24a9)
2025-03-12 14:59:02 +01:00
14992b1341 Update script modified times when saved in EditorNode
(cherry picked from commit dade8bd66f)
2025-03-12 14:59:02 +01:00
10b2b76347 [.NET] Skip re-saving .csproj when TFM is unchanged
Avoids updating the platform-specific `TargetFramework` properties if they already match the minimum required version.

(cherry picked from commit 57d5b664d3)
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
ccb325f0bc Fix headless import always emits errors
(cherry picked from commit dba92c9354)
2025-03-12 14:59:02 +01:00
b3caec15f5 Set editor's translation domain at root node
(cherry picked from commit 7c8f81f1d0)
2025-03-12 14:58:58 +01:00
9e5292c6cf Use separate WorkThreadPool for shader compiler.
(cherry picked from commit 53bb897458)
2025-03-12 12:22:46 +01:00
edc357633f CI: Use correct godot-cpp branch
(cherry picked from commit 70bace7482)
2025-03-12 12:14:47 +01:00
30b0aadab6 Bump version to 4.4.1-rc 2025-03-03 18:21:20 +01:00
4c311cbee6 Bump version to 4.4-stable \o/
Another massive release with close to 3000 commits (excluding merge commits),
with a big focus on improvements to the overall workflow and usability of the
editor.

Engine features didn't want to be left out amidst this usability focus though,
and this release is absolutely feature-packed in all areas.

See the release page for details: https://godotengine.org/releases/4.4/

More than 500 contributors were involved in this new feature release,
and we want to thank them all for their amazing contributors, as well
as all users who sponsor the Development Fund, reported bugs, opened
proposals, or supported each other on our community platforms.
4.4-stable
2025-03-03 00:31:23 +01:00
ddcdbbb9fb Add changelog for Godot 4.4 2025-03-03 00:31:10 +01:00
fad2e6ded9 i18n: Sync translations with Weblate 2025-03-02 23:23:52 +01:00
c8d6fdd9a7 Merge pull request #103484 from akien-mga/ci-apt-update
CI: Run `apt install` before installing libxml2-utils, GHA cache got flaky
2025-03-02 22:57:37 +01:00
826a0354fb CI: Run apt install before installing libxml2-utils, GHA cache got flaky 2025-03-02 22:34:34 +01:00
dc128dddb6 Merge pull request #103467 from KoBeWi/the_script_you_are_looking_for_is_no_longer_here
Validate custom type script before loading it
2025-03-02 22:08:21 +01:00
d57296f850 Merge pull request #103439 from Hilderin/fix-autoloaded-scene-loses-built-in-script-when-upgrading-to-4.4
Fix autoloaded scene loses their built-in script when upgrading to 4.4
2025-03-02 22:08:18 +01:00
64456e7dd4 Merge pull request #103436 from Hilderin/fix-invalid-embedded-game-location-size
Fix invalid startup embedded game location and size after resizing editor main area
2025-03-02 22:08:14 +01:00
86f7821e5e Merge pull request #103391 from timothyqiu/doc-fixes
Fix various typos in the class reference
2025-03-02 22:08:08 +01:00
cc2649acdb Validate custom type script before loading it 2025-03-02 14:55:30 +01:00
0c9caccb33 Fix invalid startup embedded game location and size after resizing editor main area 2025-03-02 06:22:02 -05:00
847c2577ab Fix autoloaded scene loses their built-in script when upgrading from 4.3 to 4.4 2025-03-01 12:33:14 -05:00
a79076c5b1 Fix various typos in the class reference 2025-02-28 17:58:06 +08:00
15ff450680 Merge pull request #103371 from m4gr3d/add_checks_for_game_menu_utils_jni
Add checks to prevent crashes when accessing the GameMenu api
2025-02-28 01:12:11 +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
33a15a12b1 Merge pull request #103370 from m4gr3d/inform_android_sensors_mobile_vr
Inform that Android sensors must be enabled for MobileVR support
2025-02-27 22:17:07 +01:00
c01b9de703 Merge pull request #103364 from akien-mga/input-deadzone-ui-0.5
Input: Change default deadzone back to 0.5 for `ui_*` actions and axis `pressed` state
2025-02-27 22:17:01 +01:00
33a235beb8 Inform that Android sensors must be enabled for MobileVR support 2025-02-27 12:53:57 -08:00
a9c5c4db71 Merge pull request #103201 from beicause/shaders-only-convert-source-color-linear
Shaders: Only convert default value to linear color if type hint is `source_color`
2025-02-27 19:34:12 +01:00
1af42620fa Merge pull request #103362 from bruvzg/gds_get_set_bchk
Add bound checks to `Array`/`Packed*Array` variant call `get` and `set` methods.
2025-02-27 18:50:57 +01:00
672fe2487f Input: Change default deadzone back to 0.5 for ui_* actions and axis pressed state
Fixes #103360.
Partial revert of changes in #97281 and #99135.
2025-02-27 17:30:48 +01:00
f9c7d348c3 Add bound checks to Array/Packed*Array variant call get and set methods. 2025-02-27 17:54:40 +02: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
dd43d401ec Merge pull request #103338 from dsnopek/openxr-passthrough-emulation-wins
OpenXR: Emulated alpha blend mode should override the real blend mode
2025-02-27 12:40:36 +01:00
9014202366 Merge pull request #103337 from stuartcarnie/fix_ios_options
Metal: Fix SPIR-V → MSL compilation on iOS targets
2025-02-27 12:40:33 +01:00
bb88938596 Merge pull request #103354 from bruvzg/gproc
Add `(void *)` cast directly to `GetProcAddress` calls.
2025-02-27 12:40:27 +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
fd622afb1d OpenXR: Emulated alpha blend mode should override the real blend mode 2025-02-26 17:35:03 -06:00
5312811c4d Metal: Fix SPIR-V → MSL compilation on iOS targets 2025-02-27 10:22:39 +11:00
3ef055fecb Update AUTHORS and DONORS list 2025-02-26 12:54:25 +01:00
01545c995b Merge pull request #103298 from bruvzg/comque_race
Use atomic flag to prevent `flush_if_pending` from reading unlocked `command_mem`.
2025-02-26 00:27:55 +01:00
a398f4f893 Merge pull request #103303 from aaronfranke/fix-compile-arm64-linux
Fix compiling on arm64 Linux with GCC
2025-02-26 00:23:55 +01:00