799 Commits

Author SHA1 Message Date
Rémi Verschelde
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
Rémi Verschelde
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
RedworkDE
5702e88d08 Fix ZIPReader failing to open empty zip files
(cherry picked from commit 071499ac0d)
2025-10-29 12:12:20 +01:00
Jakub Marcowski
40c4e416c7 libpng: Update to 1.6.43
(cherry picked from commit 41268d7faa)
2025-10-29 12:12:19 +01:00
Rémi Verschelde
58a8ae62e4 libpng: Update to upstream 1.6.40
(cherry picked from commit 0baca62734)
2025-10-29 12:12:19 +01:00
Rémi Verschelde
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
Gergely Kis
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
Daniel Opitz
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
Rémi Verschelde
5551d270b3 Add missing cstdint includes for GCC 15
(cherry picked from commit 1823460787)
2025-01-30 10:03:17 +01:00
Rémi Verschelde
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
Fabio Alessandrelli
2120fcee1c [ENet] Update to upstream master.
(cherry picked from commit 35b70681e7)
2023-07-20 14:56:44 +02:00
Rémi Verschelde
b11499edce Add missing stdint.h includes for GCC 13+
Fixes #77927.

(cherry picked from commit 10676e78e3)
2023-06-29 16:03:22 +02:00
DeeJayLSP
d6d232a881 Update certs (2023.06 revision)
(cherry picked from commit 504e002224)
2023-06-16 17:22:13 +02:00
Rémi Verschelde
142e648000 msdfgen: Sync with upstream 1.10
(cherry picked from commit 3c25dfe0e4)
2023-06-16 17:22:13 +02:00
Rémi Verschelde
e027c44fe6 brotli: Sync with upstream commit ed1995b6b
ed1995b6bd
(cherry picked from commit 7770e4447d)
2023-06-16 17:19:16 +02:00
Rémi Verschelde
84b9202d87 recast: Update to upstream version 1.6.0
Release notes:
- https://github.com/recastnavigation/recastnavigation/releases/tag/v1.6.0

(cherry picked from commit 2058b63067)
2023-06-16 17:19:16 +02:00
Rémi Verschelde
d5d02b9a85 wslay: Sync with upstream 0e7d106ff
0e7d106ff8

Just a couple style fixes. Updating only so we know we don't have to review changes
since upstream development seems dormant.

(cherry picked from commit adfc46db4d)
2023-06-16 17:19:16 +02:00
Rémi Verschelde
b686a30a2c zstd: Update to upstream version 1.5.5
Release notes:
- https://github.com/facebook/zstd/releases/tag/v1.5.3
- https://github.com/facebook/zstd/releases/tag/v1.5.4
- https://github.com/facebook/zstd/releases/tag/v1.5.5

(cherry picked from commit 6100b4bd33)
2023-06-16 17:19:16 +02:00
Rémi Verschelde
5f60f4cdbf tinyexr: Sync with upstream 1.0.5
(cherry picked from commit 56d85149e5)
2023-06-16 17:19:15 +02:00
bitsawer
b845bf8adc tinyexr: Sync with upstream 1.0.4
(cherry picked from commit ca55c455ad)
2023-06-16 17:19:15 +02:00
Rémi Verschelde
3e2c9077dc tinyexr: Sync with upstream 1.0.2
Fixes a bunch of bugs, notably addressing fuzzer reports (crashes).
https://github.com/syoyo/tinyexr/releases/tag/v1.0.2

(cherry picked from commit c5834eb972)
2023-06-16 17:19:15 +02:00
Lyuma
e9ee7bdc9b Fix Node class in MSVC debugger for dev_build
(cherry picked from commit b3a83b7c4e)
2023-06-16 17:19:15 +02:00
Fabio Alessandrelli
238b8357a3 [TLS] Fix crashes trying to use TLS when not available.
If no StreamPeerTLS implementation is available, HTTPClient and
WebSocketPeer will now correctly refuse to connect using TLS returning
ERR_UNAVAILABLE.

Similarly, ENetConnection will refuse to setup DTLS when PacketPeerDTLS
is not available.

(cherry picked from commit eeac6f8c7f)
2023-05-18 19:22:23 +02:00
Rémi Verschelde
52c314501c doctest: Update to 2.4.11
(cherry picked from commit 3091c6e9e9)
2023-05-12 12:31:24 +02:00
Rémi Verschelde
30b1c7fc1f astcenc: Update to 4.4.0
> The 4.4.0 release is a minor release with image quality improvements,
> a small performance boost, a few new quality-of-life features, and a
> few minor fixes for uncommon build configurations.

https://github.com/ARM-software/astc-encoder/releases/tag/4.4.0
(cherry picked from commit 5a3f955e05)
2023-05-12 12:31:24 +02:00
Rémi Verschelde
a227de0898 basis_universal: Update to 1.16.4
Almost no change in practice since the previous commit we tracked,
but now this is a tagged release.

(cherry picked from commit 0ff337d20f)
2023-05-12 12:31:24 +02:00
Rémi Verschelde
dfba9ad739 certs: Sync with Mozilla bundle as of Mar 23, 2023
8bcd1092d2
(cherry picked from commit d1c59b47e4)
2023-05-12 12:31:23 +02:00
Martin Capitanio
9e11b78d1c Update ThorVG to v0.9.0
https://github.com/thorvg/thorvg/releases/tag/v0.9.0
Fixes #72478

(cherry picked from commit 5db751832d)
2023-05-12 12:31:23 +02:00
Rémi Verschelde
878367b3ac mbedtls: Update to upstream version 2.28.3
Rediff patch from PR 1453, lstrlenW is no longer used upstream so
that part of the patch was dropped.

(cherry picked from commit 1fde2092d0)
2023-04-26 14:14:07 +02:00
RedworkDE
4cc8a689ba Update thorvg to 0.8.4
(cherry picked from commit cfed867da1)
2023-04-07 17:44:36 +02:00
Rémi Verschelde
9e5e6568b7 Vulkan: Fix VMA build with GCC 13
Fixes #74647.

(cherry picked from commit b113e6d4ff)
2023-03-14 13:59:04 +01:00
clayjohn
f7e72d1f3d Remove CVTT upstream changes to packing unpacking of BC6H formats
This fixes the quality regression without impacting performance
2023-02-22 13:20:26 -08:00
Rémi Verschelde
e2fc0acd36 Fix includes of thirdparty libs which can be unbundled on Linux
Changes `builtin_icu` and `builtin_recast` to match the folder names in
`thirdparty`.
2023-02-16 15:52:13 +01:00
Rémi Verschelde
ac68330130 Merge pull request #72045 from DeeJayLSP/update_libwebp
libwebp: Sync with upstream 1.3.0
2023-02-10 18:44:23 +01:00
Rémi Verschelde
cf9df3b5d4 meshoptimizer: Sync with upstream commit 4a287848f
4a287848fd
2023-01-31 22:27:49 -08:00
Fabio Alessandrelli
adba870534 [NET] Refactor TLS configuration.
Use a TLSOptions configuration object which is created via static
functions.

- "TLSOptions.client": uses the standard CA and common name verification.
- "TLSOptions.client_unsafe": uses optional CA verification (i.e. if specified)
- "TLSOptions.server": is the standard server configuration (chain + key)

This will allow us to expand the TLS configuration options to include
e.g. mutual authentication without bloating the classes that uses
StreamPeerTLS and PacketPeerDTLS as underlying peers.
2023-01-28 11:08:02 +01:00
DeeJayLSP
d8e8517d11 libwebp: Sync with upstream 1.3.0 2023-01-25 10:38:03 -03:00
Riteo
acb78384d8 Fix builtin alsa headers building on musl
For some reason it doesn't use the POSIX `poll.h`, instead resorting to
`sys/poll.h`. Musl doesn't really like this at all, throwing a warning
and, thus, halting compilation.
2023-01-23 20:31:22 +01:00
bruvzg
5c4fe6339b [Linux/BSD] Include headers for dynamically loaded libraries to simplify build dependencies. 2023-01-23 16:37:43 +02:00
Rémi Verschelde
53dcdf5401 astcenc: Fix build with SSE3 but no SSSE3
Fixes #71700.
Patch submitted upstream.
2023-01-19 23:56:05 +01:00
K. S. Ernest (iFire) Lee
696346f4cc Add ASTC compression and decompression with Arm astcenc.
Co-authored-by: Gordon A Macpherson <gordon.a.macpherson@gmail.com>
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2023-01-19 16:27:59 +01:00
DeeJayLSP
93409b8e64 zlib/minizip: Update to version 1.2.13, remove zlib from freetype
Security update, fixes CVE-2022-37434 in zlib.

Only applications exposing/using `inflateGetHeader()` seem to be affected,
which is not our case, so this is not critical for Godot.

Remove duplicated copy of zlib in freetype sources to force using the updated
version in `thirdparty/zlib/`.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2023-01-07 13:03:06 +01:00
Rémi Verschelde
d95794ec8a One Copyright Update to rule them all
As many open source projects have started doing it, we're removing the
current year from the copyright notice, so that we don't need to bump
it every year.

It seems like only the first year of publication is technically
relevant for copyright notices, and even that seems to be something
that many companies stopped listing altogether (in a version controlled
codebase, the commits are a much better source of date of publication
than a hardcoded copyright statement).

We also now list Godot Engine contributors first as we're collectively
the current maintainers of the project, and we clarify that the
"exclusive" copyright of the co-founders covers the timespan before
opensourcing (their further contributions are included as part of Godot
Engine contributors).

Also fixed "cf." Frenchism - it's meant as "refer to / see".
2023-01-05 13:25:55 +01:00
Rémi Verschelde
d0398f62f0 Revert "pcre2: Update to upstream version 10.42"
This reverts commit 62c3e4ab9c.

Needs more work, see comments about `_regex_free` errors in #70447.
2022-12-23 11:29:11 +01:00
Rémi Verschelde
62c3e4ab9c pcre2: Update to upstream version 10.42
Changelog: https://github.com/PCRE2Project/pcre2/blob/pcre2-10.42/ChangeLog

This should also fix support for RISC-V architectures, at least in the sljit
library.
2022-12-22 16:34:29 +01:00
Rémi Verschelde
27b637ce38 Merge pull request #70395 from akien-mga/mbedtls-2.28.2
mbedtls: Update to upstream version 2.28.2
2022-12-21 18:38:27 +01:00
Rémi Verschelde
6e65244b6b mbedtls: Update to upstream version 2.28.2 2022-12-21 12:05:54 +01:00
Rémi Verschelde
925ad18e1a libpng: Update to upstream 1.6.39 2022-12-21 11:47:53 +01:00
bruvzg
d4fbe1ef06 HarfBuzz: Update to version 6.0.0 2022-12-17 00:19:09 +02:00
Rémi Verschelde
cb7984e411 Merge pull request #70010 from akien-mga/graphite-mit
graphite: Update to latest Git, switch to MIT license
2022-12-13 10:13:16 +01:00