Commit graph

35584 commits

Author SHA1 Message Date
Rémi Verschelde
98fe7f4a30
Merge pull request #81112 from akien-mga/3.x-cherrypicks
Cherry-picks for the 3.x branch (future 3.6) - 14th batch
2023-08-29 15:24:48 +02:00
Ben Rog-Wilhelm
b19469a08e
Add static check for overzealous .gitignores.
(cherry picked from commit 7ea171adca)
2023-08-29 13:54:56 +02:00
Rémi Verschelde
0e2bfdc3a3
Remove too greedy GCOV ignores from .gitignore
This would cause `updown.png` to be ignored in our default theme in 3.x.

These ignores were added in #36800 for #36572 (see that PR for usage
instructions).

From a quick test, using `--output-file` for `lcov` and `--output-directory`
for genhtml let us output the files in a way that won't conflict with the
Git repository (e.g. in `bin/`, or outside the Git repo).

(cherry picked from commit 5c38e42161)
2023-08-29 13:54:56 +02:00
A Thousand Ships
4b205afd3d Add check to ensure registered classes are declared
Checks that all classes registered to `ClassDB` have been properly declared with `GDCLASS`
2023-08-29 13:13:42 +02:00
Danil Alexeev
0213cbbf20
[3.x] Core: Add recursion level check for VariantWriter::write() 2023-08-29 14:10:11 +03:00
Ben Rog-Wilhelm
1e2e3b21f3
Fix: incorrectly .gitignored files.
(cherry picked from commit 90f3992036)
2023-08-29 12:55:44 +02:00
Rémi Verschelde
1a29530a99
SCons: Enable /WX on LINKFLAGS for MSVC with werror=yes
(cherry picked from commit 30bdb23f03)
2023-08-29 12:42:10 +02:00
Rémi Verschelde
b08e61640f
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-29 12:42:10 +02:00
bruvzg
5eca175816
[macOS] Bump min. version to 10.13, and remove deprecated code.
(cherry picked from commit fd3e7e25e8)
2023-08-29 12:42:10 +02:00
Hugo Locurcio
8a5fb8c69b
Update PCK embedding SCons warning message to mention mold linker
mold is now part of the SCons `linker` option.

(cherry picked from commit 074d87d718)
2023-08-29 12:42:10 +02:00
Fredia Huya-Kouadio
6d1bf81e01
Address kotlin build warnings
(cherry picked from commit 242ffb72b8)
2023-08-29 12:42:10 +02:00
Riteo
a0961d64e4
Make PIE relocation detection glibc-only
Musl doesn't compile with it, and by looking online I think that this is
a glibc only thing.

(cherry picked from commit 2a6ce37910)
2023-08-29 12:42:10 +02:00
Ekaterina Vaartis
8bc325d991
Alter linux debug stacktraces handling to support more environments
- Use -gdwarf-4 to support both LLVM and GCC when calling addr2line
- Subtract position-independant execuable relocation when passing the
  address to addr2line

(cherry picked from commit 5e041eee11)
2023-08-29 12:42:10 +02:00
yedpodtrzitko
886cc22e9b
ci: wait for static check results before starting builds
(cherry picked from commit 93b7bcb33d)
2023-08-29 12:42:08 +02:00
Haoyu Qiu
aea0c1235d Fix TouchScreenButton not redrawn when texture changes
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2023-08-29 18:08:28 +08:00
Yuri Rubinsky
c269e9243b
Fix crash when calling fill method on an empty Image
(cherry picked from commit adec51cde8)
2023-08-29 12:03:30 +02:00
Ben Rog-Wilhelm
07214b9791
Fix .gitignore ignores part of the committed repo.
(cherry picked from commit 37d68929e8)
2023-08-29 11:56:56 +02:00
Rémi Verschelde
c1a84c685b
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-08-29 11:50:10 +02:00
Rémi Verschelde
c320b2a181
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-08-29 11:49:21 +02:00
Rémi Verschelde
88e60dd625
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-08-29 11:46:46 +02:00
Rémi Verschelde
69a6d7f179
pcre2: Update to upstream version 10.42 (take two)
Changelog: https://github.com/PCRE2Project/pcre2/blob/pcre2-10.42/ChangeLog

This fixes support for RISC-V architectures in the sljit library, so we
enable the module's compilation for `rv64` too.

(cherry picked from commit e289cf7085)
2023-08-29 11:45:59 +02:00
Rémi Verschelde
1e05769151
miniupnpc: Update to version 2.2.5
No change for the files we ship, so just bumping the version number.

(cherry picked from commit 74f21cb666)
2023-08-29 11:42:01 +02:00
Rémi Verschelde
c85eff5a69
libpng: Update to upstream 1.6.40
(cherry picked from commit 0baca62734)
2023-08-29 11:40:39 +02:00
Rémi Verschelde
980101a8d2
brotli: Sync with upstream commit ed1995b6b
ed1995b6bd
(cherry picked from commit 7770e4447d)
2023-08-29 11:21:08 +02:00
Rémi Verschelde
3c7114e1c1
Merge pull request #81078 from akien-mga/3.x-cherrypicks
Cherry-picks for the 3.x branch (future 3.6) - 13th batch
2023-08-29 09:42:58 +02:00
SysError99
8ac91f813f [3.x] Fix JavaScript callback memory leak 2023-08-29 03:12:53 +07:00
SysError99
2b3d52a7d0 [3.x] Don't warn about RETURN_VALUE_DISCARDED by default 2023-08-29 02:47:33 +07:00
Rémi Verschelde
b92b3911f7
SCons: Disable misbehaving MSVC incremental linking
Fixes #77968.

(cherry picked from commit bc1aef88ee)
2023-08-28 20:37:27 +02:00
Ricardo Subtil
d0d2680245
Ensure joy_connection_changed is emitted on the main thread
(cherry picked from commit 1bb73b0689)
2023-08-28 17:27:17 +02:00
Rémi Verschelde
5c80d42561
Add missing stdint.h includes for GCC 13+
Fixes #77927.

(cherry picked from commit 10676e78e3)
2023-08-28 17:27:17 +02:00
Rémi Verschelde
f3cc601e6c
libwebp: Sync with upstream 1.3.1
https://chromium.googlesource.com/webm/libwebp/+/1.3.1/NEWS
(cherry picked from commit 2529ad6a64)
2023-08-28 17:27:17 +02:00
DeeJayLSP
a9d19a97ec
libwebp: Sync with upstream 1.3.0
(cherry picked from commit d8e8517d11)
2023-08-28 17:27:17 +02:00
Rémi Verschelde
807e9038d2
mbedtls: Update to upstream version 2.28.4
(cherry picked from commit 1f6340bc46)
2023-08-28 17:27:17 +02:00
Rémi Verschelde
b7fe3c9c38
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-08-28 17:27:16 +02:00
Riteo
1850325666
Build JoypadLinux sandbox detection method only with udev
Fixes an `unused-function` warning when building with `udev=no`.

(cherry picked from commit 51dfdfab96)
2023-08-28 17:27:16 +02:00
Hiroki Taira
4c00ecd146
Add support for DPAD Center key of Android TV remote controller
(cherry picked from commit 9dc84e3581)
2023-08-28 17:27:16 +02:00
Rémi Verschelde
bebe1436fe
tinyexr: Sync with upstream 1.0.7
(cherry picked from commit b70e2af3b7)
2023-08-28 17:27:16 +02:00
Rémi Verschelde
cdef832453
tinyexr: Sync with upstream 1.0.5
(cherry picked from commit 56d85149e5)
2023-08-28 17:27:16 +02:00
bitsawer
4746eaba83
tinyexr: Sync with upstream 1.0.4
(cherry picked from commit ca55c455ad)
2023-08-28 17:27:16 +02:00
Rémi Verschelde
3bc6822caa
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-08-28 17:27:16 +02:00
DeeJayLSP
76f2a07c8b
Update certs (2023.06 revision)
(cherry picked from commit 504e002224)
2023-08-28 17:27:16 +02:00
Rémi Verschelde
ee24af9547
certs: Sync with Mozilla bundle as of Mar 23, 2023
8bcd1092d2
(cherry picked from commit d1c59b47e4)
2023-08-28 17:27:15 +02:00
Hugo Locurcio
174851755c
Document the database for Input.get_joy_name() and Input.get_joy_guid()
(cherry picked from commit 922d2b7034)
2023-08-28 17:27:15 +02:00
Dominik
e62f087bf8
Added a few additional GUIDs to list of hardcoded IDs in is_xinput_device
(cherry picked from commit 19ce63d875)
2023-08-28 17:27:15 +02:00
kobewi
6e4cee09dc
Add mono audio support to WASAPI
(cherry picked from commit 8d010b44c1)
2023-08-28 17:27:15 +02:00
HK-SHAO
52832053a0
Fix the Python type error when creating the .sln file
(cherry picked from commit 19a8efc875)
2023-08-28 17:27:15 +02:00
Alex Drozd
cd18ba3fce
add venv and .venv to the .gitignore
(cherry picked from commit a6fda19e85)
2023-08-28 17:27:15 +02:00
stmSi
96d658638a
Added note to used set_deferred while setting scroll values in _ready function.
(cherry picked from commit 83626ab90d)
2023-08-28 17:27:15 +02:00
Omar Shehata
42d2187f38
Fix double tap & drag on Android
(cherry picked from commit 0c94750642)
2023-08-28 17:27:15 +02:00
Roman Vasilyev
93913e8d5c
ios splash screen rotation fix
(cherry picked from commit 8fcca194a1)
2023-08-28 17:27:14 +02:00