Commit Graph

1212 Commits

Author SHA1 Message Date
0bf9d88797 Merge pull request #106167 from Faless/mbedtls/fix_enable_threading
mbedTLS: Fix concurrency issues with TLS
2025-05-09 11:29:17 -05:00
2c789788c0 mbedTLS: Fix concurrency issues with TLS
When we first integrated mbedTLS, we decided not to enable
MBEDTLS_THREADING_C (which adds mutex locking to calls modifying the
state), and instead to simply create separate contexts ("states") for
each connection.

This worked fine until recently.
Sadly, mbedTLS 3 added a global state for the new PSA crypto
functionalities (which are required to support TLSv1.3).
This results in TLSv1.3 connections to access and modify the global
state concurrently when running in threads.

This commit enables MBEDTLS_THREADING_C, and MBEDTLS_THREADING_C_ALT to
provide a generic Godot implementation using the engine Mutex class.
2025-05-08 11:45:00 +02:00
9419ef2f34 basis_universal: Add missing ctype.h include to fix MSVC build
Seems like latest MSVC tweaked some headers and we no longer have definitions
for `isdigit` and `isalpha` without an explicit include.
2025-05-07 23:21:53 +02:00
a0cc41b5ed Use libjpeg-turbo for improved jpg compatibility and speed
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2025-05-02 11:47:56 +02:00
c00e6c83f1 Merge pull request #105856 from akien-mga/basis_universal-rediff-patches
basis_universal: Rediff patches, remove Windows encoding fix
2025-04-30 16:51:50 -05:00
be0bf71506 doctest: Patch for clang warning about replacing <ciso646> by <version> 2025-04-29 13:17:21 -04:00
151e2ecc4b basis_universal: Rediff patches, remove Windows encoding fix
Convert the file to UTF-8 properly instead.
2025-04-28 10:27:32 +02:00
be994d59c9 Merge pull request #103968 from Chubercik/basis_universal-1.60
basis_universal: Update to 1.60
2025-04-27 19:21:17 -05:00
ea5548f7d5 Merge pull request #101348 from akien-mga/libwebp-1.5.0
libwebp: Update to 1.5.0
2025-04-25 11:35:59 -05:00
ffdffe03c4 Merge pull request #101345 from akien-mga/embree-4.3.3
embree: Update to 4.4.0
2025-04-25 11:35:57 -05:00
57b127cad3 Merge pull request #104912 from akien-mga/mbedtls-msan-disable-asm
mbedtls: Disable ASM when compiling with LLVM MemorySanitizer (MSAN)
2025-04-24 17:18:49 -05:00
57640dd806 embree: Update to 4.4.0 2025-04-24 17:51:03 +02:00
01f88ff138 libwebp: Update to 1.5.0 2025-04-24 16:24:51 +02:00
07fcb82958 32-bit MinGW g++ doesn't call the correct overload for the new operator when a type is 16 bytes aligned.
It uses the non-aligned version, which on 32 bit platforms usually returns an 8 byte aligned block. We therefore default to 16 byte aligned allocations when the regular new operator is used.

Fixes: godotengine/godot#105455
2025-04-23 22:12:43 +02:00
e90fb666a2 Merge pull request #105093 from Chubercik/thorvg-0.15.12
thorvg: Update to 0.15.12
2025-04-11 09:51:05 -05:00
0863a11cee thorvg: Update to 0.15.12 2025-04-10 22:29:18 +02:00
44190d4060 Merge pull request #105096 from Chubercik/ufbx-0.18.0
ufbx: Update to 0.18.0
2025-04-09 18:11:52 -05:00
4310cb82b8 AccessKit integration for macOS, Linux, and Windows. 2025-04-08 20:25:47 +03:00
533daa5552 ufbx: Update to 0.18.0 2025-04-06 15:04:27 +02:00
2fe029ded8 Merge pull request #104449 from mihe/jolt/v5.3.0
Jolt: Update to 5.3.0
2025-04-04 09:29:20 -05:00
072e77ab40 mbedtls: Disable ASM when compiling with LLVM MemorySanitizer (MSAN) 2025-04-02 12:16:58 +02:00
d032c1170a Merge pull request #104521 from Chubercik/pcre2-10.45
pcre2: Update to 10.45
2025-03-25 11:09:11 -05:00
0b0655aee4 mbedTLS: Update to version 3.6.3 2025-03-24 19:11:37 +01:00
2c3e302c75 pcre2: Update to 10.45 2025-03-23 17:22:09 +01:00
75ce42d463 Update astcenc to the upstream 5.3.0 release
This is mostly a maintenance update that brings the compressor inline
with the recently published Khronos Data Format Specification 1.4
release which clarified some ambiguity in the specification. This update
also gives minor codec optimizations, bug fixes, and image quality
improvements.

The biggest improvement for Godot is that builds using MSVC cl.exe will
now correctly default to the SSE2-optimized backend rather than the
reference C backend. This makes compression more than 3 times faster.
Builds using other compilers (GCC, LLVM/Clang) were not impacted by the
underlying issue, and see no performance uplift.
2025-03-21 16:02:50 -07:00
5d00161040 Jolt: Update to 5.3.0 2025-03-21 17:17:55 +01:00
8e2b05e507 thorvg: Update to 0.15.11 2025-03-18 09:50:25 +01:00
69b072072c libpng: Update to 1.6.47 2025-03-17 13:21:03 +01:00
a25696fd90 ICU4C: Update to version 77.1 2025-03-14 07:50:02 +02:00
246b062bd6 basis_universal: Update to 1.60 2025-03-11 13:43:00 +01:00
1202eee590 Merge pull request #102661 from Chubercik/clipper2-1.5.2
clipper2: Update to 1.5.2
2025-03-10 21:05:51 -05:00
d7c9c3a5f6 Merge pull request #102538 from Chubercik/ufbx-0.16.0
ufbx: Update to 0.17.1
2025-03-10 21:05:50 -05:00
3f759f488d Merge pull request #103491 from bruvzg/hb1040
Update HarfBuzz to 10.4.0
2025-03-10 21:05:48 -05:00
669b055d68 Merge pull request #103492 from bruvzg/ft2133
Update FreeType to 2.13.3
2025-03-10 21:05:47 -05:00
134da37497 Merge pull request #102859 from berarma/theora_yuv_fix
Theora: Fix YUV422/444 to RGB conversion
2025-03-05 12:08:12 -06:00
0882702827 Theora: Fix YUV422/444 to RGB. Fixes #87705
The last line wasn't being converted thus was missing in the resulting frame.
2025-03-04 22:49:18 +01:00
89ea5b3d00 Update to latest version of Swappy
Fixes #103294
2025-03-03 20:43:14 -03:00
c5011d860d Update FreeType to 2.13.3 2025-03-03 08:17:09 +02:00
ec10d38d2f Update HarfBuzz to 10.4.0 2025-03-03 07:55:00 +02:00
100001c807 ufbx: Update to 0.17.1 2025-03-02 11:37:32 +01:00
af0bc17c4f [mbedTLS] Integrate TLS handshake defragmentation PR
Upstream PR GH-9981
2025-02-24 13:44:40 +01:00
961207dc6f Fix view->base pointer overwrite. 2025-02-15 23:25:43 +02:00
bacab7f822 Revert "libbacktrace: Update to upstream commit 1db85642e"
This reverts commit 51730391c6.
2025-02-15 23:25:43 +02:00
0c15c106e0 thorvg: Update to 0.15.10 2025-02-14 13:04:11 +01:00
100225c081 clipper2: Update to 1.5.2 2025-02-10 16:42:41 +01:00
3e608b8b14 No longer limiting max voided features/delayed results 2025-02-09 11:52:19 +01:00
91907a89f7 Thirdparty: Harmonize patches to document downstream changes 2025-02-06 01:40:03 +01:00
ceea97fc05 Betsy: Consolidate documentation in module folder and cleanup SCsub
Also remove unused `UavCrossPlatform_piece_all.glsl`.
2025-01-31 23:45:37 +01:00
4462363e1e jpeg-compressor: Fix include when compiling with Clang and FORTIFY_SOURCE >= 1 2025-01-31 10:35:28 +01:00
1823460787 Add missing cstdint includes for GCC 15 2025-01-25 14:59:28 +01:00