Commit Graph

72290 Commits

Author SHA1 Message Date
Matias N. Goldberg
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
Pāvels Nadtočajevs
56ba35a431 [Windows] Fix get_modified_time on locked files.
(cherry picked from commit 6597fa24a9)
2025-03-12 14:59:02 +01:00
kobewi
14992b1341 Update script modified times when saved in EditorNode
(cherry picked from commit dade8bd66f)
2025-03-12 14:59:02 +01:00
Raul Santos
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
Hugo Locurcio
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
Hilderin
ccb325f0bc Fix headless import always emits errors
(cherry picked from commit dba92c9354)
2025-03-12 14:59:02 +01:00
Haoyu Qiu
b3caec15f5 Set editor's translation domain at root node
(cherry picked from commit 7c8f81f1d0)
2025-03-12 14:58:58 +01:00
Pāvels Nadtočajevs
9e5292c6cf Use separate WorkThreadPool for shader compiler.
(cherry picked from commit 53bb897458)
2025-03-12 12:22:46 +01:00
David Snopek
edc357633f CI: Use correct godot-cpp branch
(cherry picked from commit 70bace7482)
2025-03-12 12:14:47 +01:00
George L. Albany
e13e4612b5 Merge pull request #982 from Redot-Engine/add/redot-cpp-ci
CI: Add redot-cpp testing action
2025-03-09 15:03:38 +00:00
Spartan322
a85fa1de71 Add get_redot_version to GDExtension interface
Add more godot compatible version macros
Add `build` to `Engine::get_godot_compatible_version_info`
Update `Engine.get_godot_compatible_version_info` documentation
Fix `Engine.get_version_info` documentation for `string`

(cherry picked from commit 2ccf5447ba)
2025-03-09 10:20:11 -04:00
Spartan322
6c9e69b5bf CI: Add redot-cpp testing action 2025-03-08 04:53:00 -05:00
George L. Albany
f178ebc70f Merge pull request #974 from Spartan322/merge/4c311cb
Merge commit godotengine/godot@4c311cb
2025-03-08 09:52:14 +00:00
Spartan322
a68eb8a076 Merge commit godotengine/godot@4c311cbee6 2025-03-04 03:35:45 -05:00
Rémi Verschelde
30b0aadab6 Bump version to 4.4.1-rc 2025-03-03 18:21:20 +01:00
Rémi Verschelde
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.
godot-4.4-stable
2025-03-03 00:31:23 +01:00
Rémi Verschelde
ddcdbbb9fb Add changelog for Godot 4.4 2025-03-03 00:31:10 +01:00
Rémi Verschelde
fad2e6ded9 i18n: Sync translations with Weblate 2025-03-02 23:23:52 +01:00
Rémi Verschelde
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
Rémi Verschelde
826a0354fb CI: Run apt install before installing libxml2-utils, GHA cache got flaky 2025-03-02 22:34:34 +01:00
Rémi Verschelde
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
Rémi Verschelde
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
Rémi Verschelde
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
Rémi Verschelde
86f7821e5e Merge pull request #103391 from timothyqiu/doc-fixes
Fix various typos in the class reference
2025-03-02 22:08:08 +01:00
kobewi
cc2649acdb Validate custom type script before loading it 2025-03-02 14:55:30 +01:00
Hilderin
0c9caccb33 Fix invalid startup embedded game location and size after resizing editor main area 2025-03-02 06:22:02 -05:00
Hilderin
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
Haoyu Qiu
a79076c5b1 Fix various typos in the class reference 2025-02-28 17:58:06 +08:00
Rémi Verschelde
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
Fredia Huya-Kouadio
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
Rémi Verschelde
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
Rémi Verschelde
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
Fredia Huya-Kouadio
33a235beb8 Inform that Android sensors must be enabled for MobileVR support 2025-02-27 12:53:57 -08:00
Rémi Verschelde
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
Rémi Verschelde
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
Rémi Verschelde
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
Pāvels Nadtočajevs
f9c7d348c3 Add bound checks to Array/Packed*Array variant call get and set methods. 2025-02-27 17:54:40 +02:00
Rémi Verschelde
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
Rémi Verschelde
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
Rémi Verschelde
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
Rémi Verschelde
bb88938596 Merge pull request #103354 from bruvzg/gproc
Add `(void *)` cast directly to `GetProcAddress` calls.
2025-02-27 12:40:27 +01:00
Pāvels Nadtočajevs
ddd807ff7d Add (void *) cast directly to GetProcAddress calls. 2025-02-27 12:30:04 +02:00
Hilderin
0c384e7217 Replace error to info messages for embedded game 2025-02-26 19:32:25 -05:00
David Snopek
fd622afb1d OpenXR: Emulated alpha blend mode should override the real blend mode 2025-02-26 17:35:03 -06:00
Stuart Carnie
5312811c4d Metal: Fix SPIR-V → MSL compilation on iOS targets 2025-02-27 10:22:39 +11:00
Rémi Verschelde
3ef055fecb Update AUTHORS and DONORS list 2025-02-26 12:54:25 +01:00
Rémi Verschelde
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
Rémi Verschelde
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
Rémi Verschelde
bb634fd9e4 Merge pull request #103302 from dsnopek/missing-method-flag
Bind new core `METHOD_FLAG_VIRTUAL_REQUIRED` bitfield
2025-02-26 00:17:56 +01:00
Rémi Verschelde
bc0d58b07e i18n: Sync translations with Weblate 2025-02-26 00:05:03 +01:00