Commit graph

509 commits

Author SHA1 Message Date
DeeJayLSP
466e23a6b8
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>
(cherry picked from commit 93409b8e64)
2023-01-11 16:03:02 +01:00
Rémi Verschelde
16f6a5b139
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".

Backported from #70885.
2023-01-10 15:32:59 +01:00
Rémi Verschelde
c814e77d62
mbedtls: Update to upstream version 2.28.2
(cherry picked from commit 6e65244b6b)
2022-12-22 12:27:39 +01:00
Rémi Verschelde
23af6eb811
libpng: Update to upstream 1.6.39
(cherry picked from commit 925ad18e1a)
2022-12-22 12:26:26 +01:00
DeeJayLSP
81215fc185
Update stb libraries
(cherry picked from commit 55deecb9a3)
2022-12-13 14:18:26 +01:00
DeeJayLSP
f60382bbe3
Update miniupnpc to 2.2.4
(cherry picked from commit f592f6ba0c)
2022-12-12 14:45:22 +01:00
Rémi Verschelde
078228e0e4
miniupnpc: Update to version 2.2.3
Library code and public headers are now properly separated, we can fix include paths
to remove the redundant subfolder.

(cherry picked from commit 432ac521ef)
2022-12-12 14:45:08 +01:00
DeeJayLSP
4c16175100 Update CA certificates to 2022.10 revision
(cherry picked from commit a81c1e8a58)
2022-12-12 14:13:34 +08:00
Rémi Verschelde
b129ae2127 libwebp: Sync with upstream 1.2.4
Changes: https://chromium.googlesource.com/webm/libwebp/+/1.2.4/NEWS
(cherry picked from commit e5e34f21fc)
2022-12-12 13:26:32 +08:00
Graham Pentheny
4aa84f1083 Updated Recast to 4fef044
In some cases Godot can generate input parameters to Recast that cause it to crash.  Specifically when baking NavigationMeshes for input meshes that have axis extents less than half the NavigationMesh CellSize.

This has been fixed upstream in Recast (in 3901c5854c).  Updating Godot's Recast integration fixes this crash issue in Godot as well.

(cherry picked from commit 36de150c74)
2022-12-05 10:10:03 +08:00
DeeJayLSP
52d62f6e09 Update nanosvg to GIT (2022.11)
(cherry picked from commit d0386660cb)
2022-12-05 09:38:10 +08:00
Rémi Verschelde
831d126d41 libpng: Update to upstream 1.6.38
(cherry picked from commit 0f2dc5c5e1)
2022-09-20 10:29:38 +02:00
Martin Liska
dbcd83c7c2 Fix building VHACD with GCC 13.
Fixes the following error:
thirdparty/vhacd/inc/vhacdICHull.h:46:31: error: 'uint32_t' does not name a type
   46 |     ICHullError Process(const uint32_t nPointsCH, const double minVolume = 0.0);
      |                               ^~~~~~~~

Note the upstream version of the third party library is not affected.

(cherry picked from commit a648d831a9)
2022-09-20 10:27:56 +02:00
Rémi Verschelde
07af8a971a nanosvg: Sync with upstream bd16c4e
(cherry picked from commit 052257e9b7)
2022-08-29 17:11:47 +02:00
Rémi Verschelde
6a675563cf certs: Sync with Mozilla bundle as of Jul 19, 2022
7f33e7eb84
(cherry picked from commit d8c8ecb148)
2022-08-05 03:03:56 +02:00
Rémi Verschelde
8dc32619f2 Bullet: Don't include unused BulletInverseDynamics
Follow-up to #63143.
2022-07-19 17:57:28 +02:00
Fabio Alessandrelli
c55e8dd516 Bump mbedtls to 2.18.1 (headers).
(cherry picked from commit baa261cdc8)
2022-07-18 18:55:12 +02:00
Fabio Alessandrelli
df94010dec Bump mbedtls to version 2.18.1, update LICENSE.
Keep applying windows entropy patch.

Update thirdparty/README with correct version information.

(cherry picked from commit 9403a68853)
2022-07-18 15:38:40 +02:00
Rémi Verschelde
fe1e84ec6c Bullet: Remove unused Bullet3 and clew libraries 2022-07-18 13:15:21 +02:00
bruvzg
08579bb971
Fix FreeType crashing in GCC + LTO builds. 2022-06-08 13:48:24 +03:00
Rémi Verschelde
52da1bcdca rvo2: Sync with upstream commit bfc0486
bfc048670a
(cherry picked from commit 86cdf1f2cf)
2022-05-19 15:25:43 +02:00
Rémi Verschelde
e317b7efbb rvo2: Re-sync with upstream, properly document Godot-specific changes
Still tracking the `v1.0.1` tag for now, just reverting all the unnecessary
style changes that created a diff with upstream.

(cherry picked from commit 6c78170d8c)
2022-05-19 15:25:43 +02:00
Rémi Verschelde
f33899d5bf pcre2: Fix support for macOS < 11.0 by making JIT conditional at runtime
(cherry picked from commit 24a06a6d4a)
2022-05-18 11:57:15 +02:00
Rémi Verschelde
393c09cae8 xatlas: Sync with upstream 16ace528a
Just cleaning up unused but set variables.

16ace528ac
(cherry picked from commit 10c99d7b41)
2022-05-17 23:36:21 +02:00
Rémi Verschelde
6be616bd16 Recast: Update to upstream commit 5a870d4 (2022)
(cherry picked from commit 4635f24322)
2022-05-17 23:35:49 +02:00
Rémi Verschelde
723a65dd75 certs: Sync with Mozilla bundle as of Mar 31, 2022
39c6ac0550
(cherry picked from commit be6db612a1)
2022-05-17 23:29:05 +02:00
Rémi Verschelde
a5ee5011ca pcre2: Update to upstream version 10.40
Changelog: https://github.com/PCRE2Project/pcre2/blob/pcre2-10.40/ChangeLog
(cherry picked from commit fd6eb2c2d2)
2022-05-17 23:28:45 +02:00
Rémi Verschelde
0f3aff2d77
Merge pull request #61131 from akien-mga/3.x-freetype-2.12.1 2022-05-17 23:15:21 +02:00
bruvzg
98c7db745b FreeType: Update to version 2.12.1
(cherry picked from commit 93fba7ead3)
2022-05-17 22:28:10 +02:00
Rémi Verschelde
8e12c755d1 nanosvg: Sync with upstream 4c8f013 2022-05-17 22:17:54 +02:00
Rémi Verschelde
7515b47e8e bullet: Sync with upstream 3.24
Remove upstreamed patch.
2022-05-17 11:45:52 +02:00
Rémi Verschelde
5e693b6d84 Fix warnings found by Emscripten 3.1.10
Fix `-Wunused-but-set-variable`, `-Wunqualified-std-cast-call`, and
`-Wliteral-range` warnings.

(cherry picked from commit d8935b27a9)
2022-05-16 16:38:26 +02:00
Haoyu Qiu
153dc4d57e Backport the new Tween system as SceneTreeTween
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2022-04-29 20:01:12 +08:00
Rémi Verschelde
e1beca0232 zlib/minizip: Update to version 1.2.12
Security update, fixes CVE-2018-25032 in zlib.

Preliminary assessment doesn't show Godot as affected since we don't
seem to call `deflate` with the problematic parameters, but the extent
of the vulnerability is not fully clear upstream yet.

(cherry picked from commit 420d0d50bc)
2022-04-13 11:43:49 +02:00
bruvzg
fd2fba7c2c
Add binary MO translation file support. Add brotli decoder and WOFF2 support.
Use smaller .mo files instead of .po, if gettext is available.
Convert editor fonts to .woff2 format.
2022-03-25 19:51:39 +02:00
jfons
e66003b09a Upgrade stb_rect_pack to 1.01
Enables large rectangle support by default.

(cherry picked from commit 0395b5e414)
2022-03-02 11:00:26 +01:00
Rémi Verschelde
72e338e8e7
libwebp: Sync with upstream 1.2.2
Changes: https://chromium.googlesource.com/webm/libwebp/+/1.2.2/NEWS
(cherry picked from commit 339dcd80ae)
2022-02-11 09:50:57 +01:00
Rémi Verschelde
4f1e33b556
freetype: Update to upstream version 2.11.1
(cherry picked from commit f615926d3c)
2022-01-19 14:03:38 +01:00
Fabio Alessandrelli
d76a26e086
Bump mbedTLS version to 2.28.0 (new LTS).
Keep applying the windows entropy patch (UWP support).
Remove no longer needed padlock patch.
Update thirdparty README to reflect changes, and new source inclusion
criteria.

(cherry picked from commit e375cbd094)
2022-01-19 14:03:03 +01:00
Rémi Verschelde
a627cdafc5
Update copyright statements to 2022
Happy new year to the wonderful Godot community!
2022-01-13 15:54:13 +01:00
Rémi Verschelde
305d7bd49e
bullet: Sync with upstream 3.21
Remove upstreamed patches. Add a new patch to fix a new warning.
2022-01-06 23:51:45 +01:00
Jake Young
09bc9eb101
Backport NavigationServer with RVO2 to 3.x
Change the entire navigation system.
Remove editor prefix from nav mesh generator class. It is now used for baking
at runtime as well.
Navigation supports obstacle avoidance now with the RVO2 library.
Nav system will also automatically link all nav meshes together to form one
overall complete nav map.
2022-01-05 16:00:56 +01:00
Fabio Alessandrelli
a40b88dc2c
Bump mbedtls to 2.16.12
Remove upstreamed patches.
Re-apply padlock and uwp patches.

NOTE: We could replace our padloack patch with mbedtls 3452.
(cherry picked from commit 36d316876b)
2021-12-21 11:20:53 +01:00
Aaron Franke
7bf7bd70ac
[3.x] Misc build system fixes 2021-12-10 12:15:16 -06:00
Vincent
8a4c583538
Fix crash when loading an invalid mp3 file
(cherry picked from commit 2d0068d1cb)
2021-12-01 16:47:30 +01:00
Gergely Kis
0ba1d8d8bd
Fix debug build for iphone
printf() does not have a version that accepts std::string
as format string parameter.

(cherry picked from commit a1a3e79ea5)
2021-11-25 22:24:31 +01:00
Rémi Verschelde
5c6e39b2a6
wslay: Sync with upstream 45d22583b
45d22583b4

Mostly style changes, a couple new methods and fixes.
Tweak file structure a bit.

(cherry picked from commit a706ef3272)
2021-11-20 11:50:59 +01:00
Rémi Verschelde
38c5ba85ab
libvorbis: Sync with upstream 1.3.7
Fixes various bugs, including several ones with security relevance.

Changes: https://github.com/xiph/vorbis/releases/tag/v1.3.7
(cherry picked from commit 28ad2e8c72)
2021-11-20 11:50:45 +01:00
Rémi Verschelde
724c207005
libwebp: Sync with upstream 1.2.1
Changes: https://chromium.googlesource.com/webm/libwebp/+/1.2.1/NEWS
(cherry picked from commit 41ce417847)
2021-11-20 11:50:34 +01:00
Rémi Verschelde
d085385e60
zstd: Update to upstream version 1.5.0
Release notes: https://github.com/facebook/zstd/releases/tag/v1.5.0

(cherry picked from commit 5bea1370f0)
2021-11-20 11:50:17 +01:00