53286 Commits

Author SHA1 Message Date
83673ed3db Merge pull request #112135 from akien-mga/4.0-fix-gcc-warnings
[4.0] CI: Fix build with latest MinGW-GCC 15 and Xcode 16
2025-10-30 11:07:40 +01:00
318a9721b8 MessageQueue: Fix destructor accessing Message properties after free
This was raised as a -Wmaybe-uninitialized warning by MinGW-GCC 15.2.1.
2025-10-29 13:09:03 +01:00
0687d5f29f Core: Sidestep GCC false-positives
(cherry picked from commit acdb8667b5)

Adds some more fixes for 4.5.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2025-10-29 13:08:51 +01:00
1bcfe5dd09 Fix build warning with memset value being too large
Should resolve issue #83342

(cherry picked from commits b97cb5ec59
and 21ae69a1de)
2025-10-29 12:12:20 +01:00
006b514f53 zlib/minizip: Update to version 1.3.1
Minizip includes previously backported fix for CVE-2023-45853,
and a Debian patch for CVE-2014-9485 was also upstreamed.

(cherry picked from commit 8ead8d2ddb)
2025-10-29 12:12:20 +01:00
72b08a0df0 zlib/minizip: Update to version 1.3
Upstreams the fix from #73310, so we can remove that patch.

The `OF` macro was also removed so I can drop the patch where I yell
at Gentoo developers.

(cherry picked from commit e0e1f2e4a2)
2025-10-29 12:12:20 +01:00
5702e88d08 Fix ZIPReader failing to open empty zip files
(cherry picked from commit 071499ac0d)
2025-10-29 12:12:20 +01:00
40c4e416c7 libpng: Update to 1.6.43
(cherry picked from commit 41268d7faa)
2025-10-29 12:12:19 +01:00
58a8ae62e4 libpng: Update to upstream 1.6.40
(cherry picked from commit 0baca62734)
2025-10-29 12:12:19 +01:00
49c9a8126f Vulkan: Apply patch from 1.3.258 to fix build with latest Apple LLVM
(cherry picked from commit 5637ef1a6c)
2025-10-29 12:12:19 +01:00
c3a277097a Move Vulkan includes to a central godot_vulkan.h header
Also fixes Vulkan build problem with recent Clang.

(cherry picked from commit 146ba4106f)
2025-10-29 12:12:19 +01:00
ef9f0beafd [Windows] Rename PKEY_Device_FriendlyName to avoid duplicate symbols with newer MinGW SDKs.
(cherry picked from commit c363e13051)
2025-10-28 22:34:39 +01:00
ea2e40ec89 Revert "CI: Pin Xcode version to 15.3, as default 15.0.1 is broken"
This reverts commit 3d94d7436a.

The default changed and 15.3 is no longer available on GHA.
2025-10-28 22:34:39 +01:00
06a0eface3 macOS: Fix support for latest VulkanSDK .app name in install script
(cherry picked from commit efde4ae853)
2025-05-06 19:05:20 +02:00
a11b4be882 Merge pull request #105749 from akien-mga/4.0-ci-sync-with-4.4
[4.0] CI: Sync configuration with 4.4 branch
2025-04-25 17:20:57 +02:00
2fea5c0a66 Style: Apply fixes from clang-format 18.1.3 2025-04-25 16:11:26 +02:00
9a8b5848d8 Style: Apply fixes from black and codespell 2025-04-25 16:09:46 +02:00
580d87b837 AudioEffectPitchShift: 3rd attempt at fixing -Wstringop-overflow warning
(cherry picked from commit 80359d3577)
2025-04-25 16:09:46 +02:00
6138b72529 miniupnpc: Disable socket timeout on Windows, matching upstream
Fixes #88471.

(cherry picked from commit f695de7c68)
2025-04-25 16:09:46 +02:00
76b1b33604 CI: Sync configuration with 4.4 branch
Includes cherry-pick of warning fixes from 8d1462c748
and template builds unit tests fixes from 17929a3443.

Also a Windows MSVC detection fix for SCons 4.6.0+ from f682406cf2.
2025-04-25 16:09:46 +02:00
e7d56e32fd Update MoltenVK install script to include version number in installer name.
(cherry picked from commit c63955b3eb)
2025-03-04 15:52:43 +01:00
f990a2875d [Misc] Check for the available and installed Vulkan SDK versions before downloading and installing.
(cherry picked from commit db1c1d43e3)
2025-03-04 15:52:42 +01:00
f073c4f960 CI: Hotfix for build error with newer clang++
It will be included in the next release at some point.
- https://github.com/RenderKit/embree/issues 486
  "fix output operator"

[ 30%] Compiling thirdparty/embree/kernels/common/accelset.cpp ...
In file included from thirdparty/embree/kernels/common/device.cpp:12:
In file included from thirdparty/embree/kernels/common/scene_curves.h:10:
thirdparty/embree/kernels/common/../subdiv/bezier_curve.h:138:56:
error: no member named 'u' in 'QuadraticBezierCurve<V>'
  138 |         return cout << "QuadraticBezierCurve ( (" << a.u.lower << ", "
  << a.u.upper << "), " << a.v0 << ", " << a.v1 << ", " << a.v2 << ")";
 ...

(cherry picked from commit c24ea0ecca)
2025-01-30 10:34:33 +01:00
5551d270b3 Add missing cstdint includes for GCC 15
(cherry picked from commit 1823460787)
2025-01-30 10:03:17 +01:00
a02c70743f certs: Sync with Mozilla bundle as of Oct 19, 2024
4d3fe6683f

Document matching mozilla-release changeset.

(cherry picked from commit eb41ff0fee)
2024-11-05 21:10:56 +01:00
6f6154d3b1 [macOS] Update Vulkan SDK install script.
(cherry picked from commit 74df6f192a)
2024-11-05 17:03:13 +01:00
6c99b77a81 Fix GCC 14 -Wtemplate-id-cdtor warnings
Fixes #91206.

(cherry picked from commit a8ff47b6d6)
2024-04-26 12:07:19 +02:00
a0bf366068 SCons: Fix Python 3.12 SyntaxError with regex escape sequences
(cherry picked from commit b362976504)
(cherry picked from commit df0ebc6dfc)
2024-04-26 12:07:19 +02:00
3196113206 Fix compilation on gcc13
(cherry picked from commit 41890ff9c3)
2024-04-26 12:07:19 +02:00
3d94d7436a CI: Pin Xcode version to 15.3, as default 15.0.1 is broken
Not needed in later Godot branches as we merged workarounds for the 15.0/15.0.1
broken linker, but there's too many commits to track down and backport with
care to avoid breaking Xcode 14 support too.
2024-04-25 16:40:38 +02:00
1d979a9e95 [CI] [macOS] Build for both arm64 and x86_64
Creates a universal build, to catch discrepancies on different
architectures

(cherry picked from commit 24ad73b13f)
2024-04-25 14:43:28 +02:00
7d966c9f5e Fix warning in MSVC
(cherry picked from commit fe8c217b7c)
2024-03-10 21:02:10 +01:00
cd118f80c6 Fix audio crackling issues due to incorrect WASAPI buffer size
(cherry picked from commit 179b0786c6)
2024-03-10 00:20:27 +01:00
60867e63be Delete .lgtm.yml
LGTM has been acquired by Github, and all its features is replaced by Github Code Scanning.
So seems .lgtm.yml is no longer used.

(cherry picked from commit ee6cec1649)
2024-01-23 12:43:31 +01:00
7b55630c90 [macOS] Fix MoltenVK SDK detection after file location changes in 1.3.275.0.
(cherry picked from commit a2c1c01941)
2024-01-18 10:48:27 +01:00
1088dd5c33 Bump version to 4.0.5-rc
We don't necessarily plan a 4.0.5 release at this stage, but might still do
some cherrypicks for critical issues.
2023-10-25 14:27:02 +02:00
dc0e9a7779 Merge pull request #81246 from AThousandShips/future_proof_4_0
[4.0] Future proof links in docs
2023-09-06 18:44:46 +02:00
6a7e8fe367 Future proof links in docs 2023-09-02 10:53:16 +02:00
455aa77d6e Merge pull request #80496 from sk757a/4.0
[4.0] Fix tween_cheatsheet 404 in Tween.xml
2023-08-18 09:27:02 +02:00
59bd0ea48e Fix tween_cheatsheet 404 in Tween.xml
Co-Authored-By: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2023-08-14 23:41:45 +05:00
fc0b241c9b Bump version to 4.0.4-stable 4.0.4-stable 2023-08-02 14:51:12 +02:00
e6a21778de CI: Extract godot-cpp testing into its own job
This ensures that the godot-cpp job has plenty of resources
to run its build and avoid being affected by the main build.

Additionally:
- Extract test tasks into dedicated actions.
- Upload artifacts as early as possible.
- Ensure that we check master cache before random cache.

(cherry picked from commit deb6025781)
2023-08-02 14:51:12 +02:00
1fe01a7741 CI: Free disk space on Linux runners
Removing the Android toolchain saves 14 GiB, which gives us more room
for growth and to avoid running into out-of-space errors in the Linux
sanitizers + debug symbols builds.

Related to #79919, though the caches were just one part of the problem,
the real issue is that our Linux sanitizers builds take 12 GiB, and
adding godot-cpp on top with 2 GiB leaves only a few GiB left for the
cache itself.

(cherry picked from commit 611123f7fd)
2023-08-02 14:51:12 +02:00
a0a5cbad57 Revert "Fix get_bone_pose_global_no_override()"
This reverts commit 9307d851a9.
2023-08-02 14:25:50 +02:00
cfedb0a7a6 Merge pull request #79708 from YuriSizov/4.0-cherrypicks
Cherry-picks for the 4.0 branch (future 4.0.4) - 3rd batch
2023-07-20 17:46:13 +02:00
c945ec71d3 Add changelog for 4.0.4 2023-07-20 14:58:02 +02:00
2120fcee1c [ENet] Update to upstream master.
(cherry picked from commit 35b70681e7)
2023-07-20 14:56:44 +02:00
96a480feac [Net] Explicitly handle buffer errors in send/recv
(cherry picked from commit 28001b9ef6)
2023-07-20 14:56:44 +02:00
07ec20b8fa Fix disabled slider highlighting
(cherry picked from commit 4394936392)
2023-07-20 13:46:46 +02:00
82ea4b4718 Fix a typo in the String.to_float description
(cherry picked from commit 9744657bb8)
2023-07-20 13:46:46 +02:00