Commit graph

35421 commits

Author SHA1 Message Date
Rémi Verschelde
ddba96755f
Merge pull request #82009 from bruvzg/xc15_ld_bug3
[macOS, 3.x] Workaround Xcode 15 linker bug.
2023-09-20 23:40:17 +02:00
Rémi Verschelde
806482db77
Merge pull request #82007 from bruvzg/pcre_fix
[macOS, 3.x] Change target version to 11.0+ to fix PCRE SLJIT build.
2023-09-20 23:39:54 +02:00
Rémi Verschelde
06401129bc
Merge pull request #80764 from mrezai/improve-lightprobes-performance
Improve BakedLightmap's lightprobes performance
2023-09-20 23:39:26 +02:00
bruvzg
fad3fced8f
[macOS, 3.x] Workaround Xcode 15 linker bug. 2023-09-20 23:18:32 +03:00
bruvzg
233f21108b
[macOS] Change target version to 11.0+ to fix PCRE SLJIT build. 2023-09-20 23:03:53 +03:00
Rémi Verschelde
1d7a417aff
Merge pull request #81902 from lawnjelly/fix_particle_zero_scale
[3.x] Fix zero scale in particle shader
2023-09-19 09:49:31 +02:00
lawnjelly
1f4a6e43df Fix zero scale in particle shader
Fixes the lower bounding of scale when given zero input.

The previous bug was due to `sign` returning 0 with 0.0 input, rather than 1.
2023-09-19 08:30:50 +01:00
Rémi Verschelde
501517a97d
Merge pull request #80931 from lawnjelly/cpuparticles2d_mega_pr
[3.x] `CPUParticles2D` - Add ability to follow physics interpolated target
2023-09-18 19:17:58 +02:00
lawnjelly
3e19cf834a CPUParticles2D - Add ability to follow physics interpolated target
Allows a non-interpolated particle system to closely follow an interpolated target without tracking ahead of the target, by performing fixed timestep interpolation on the particle system global transform, and using this for emission.
2023-09-18 16:05:03 +01:00
lawnjelly
bc1426dd70 CPUParticles2D - non-interpolated global mode use global space
Changes the implementation of non-interpolated global mode particles so that the vertices are specified in proper global space instead of local space (vertices were previously back transformed by the inverse of the parent transform).
2023-09-18 16:05:03 +01:00
Rémi Verschelde
1b4bae595e
Merge pull request #80955 from lawnjelly/fti2d_more_resets
[3.x] Physics Interpolation - automatic resets for Camera2D and TileMap
2023-09-18 17:00:05 +02:00
Rémi Verschelde
cc48c1825f
Merge pull request #80887 from lawnjelly/cpuparticles2d_fix_double_xform
[3.x] CPUParticles2D - fix interpolated transforms and culling
2023-09-18 17:00:00 +02:00
Rémi Verschelde
9eb4d5d5de
Merge pull request #80827 from lawnjelly/fix_cpu_particles_notif_transform
[3.x] CPUParticles - fix non-interpolated `NOTIFICATION_TRANSFORM`
2023-09-18 16:59:57 +02:00
Rémi Verschelde
86dee6ee13
Merge pull request #81442 from bruvzg/gl_mt
[macOS, 3.x] Disable live resize in multithreaded rendering mode.
2023-09-18 15:03:56 +02:00
Rémi Verschelde
47a93ba451
Merge pull request #81717 from Calinou/limits-settings-require-restart
[3.x] Mark debugger limits settings as requiring a restart
2023-09-18 11:36:45 +02:00
Rémi Verschelde
d6c2a4bf68
Merge pull request #81352 from MJacred/3.x
[3.x] Fix cursor after last character INDEX in line counting as a character outside of the viewing area
2023-09-18 11:36:12 +02:00
Rémi Verschelde
269749580d
Merge pull request #80935 from m4gr3d/fix_hardware_keyboard_input_routing_3x
[3.x] Fix Android input routing logic when using a hardware keyboard
2023-09-18 11:35:24 +02:00
Rémi Verschelde
ccf662c8b8
Merge pull request #79544 from panreyes/3.x
[3.x] Add support for repackaging the generated UWP APPX file with `makeappx`
2023-09-18 11:34:34 +02:00
Hugo Locurcio
f84a202235
Mark debugger limits settings as requiring a restart
These settings are only read once on engine initialization.
2023-09-16 00:31:35 +02:00
Fredia Huya-Kouadio
620fdd1f07 Fix Android input routing logic when using a hardware keyboard
When a hardware keyboard is connected, all key events come through so we can route them directly to the engine.
This is not the case for soft keyboards, for which the current logic was designed as it requires extra processing.
2023-09-14 04:29:15 -07:00
DESKTOP-UT43QTQ\Garrigan-Desktop
2a319ab6fc Backporting #76859 to 3.x
Co-authored-by: HolonProduction <holonproduction@gmail.com>
2023-09-12 09:45:23 -05:00
BlueCube3310
7aa0ce5702
[3.x] Fix grayscale dds loading 2023-09-12 15:22:42 +02:00
Rémi Verschelde
db8700e8f8
Merge pull request #81469 from timothyqiu/separator
[3.x] Remove extra separator in node context menu
2023-09-12 08:59:55 +02:00
Haoyu Qiu
4fd5f22a49 Remove extra separator in node context menu
Probably a backport mistake. The separator is indeed required in Godot
4. But in 3.x, it is redundant because the menu item is arranged in a
different location.
2023-09-09 08:41:11 +08:00
bruvzg
dfa509a3b4
[macOS] Disable live resize in multithreaded rendering mode. 2023-09-08 08:39:47 +03:00
Rémi Verschelde
4461f38c0b
Merge pull request #81409 from timothyqiu/social-distance
[3.x] Fix PopupMenu icon and text not having separation
2023-09-07 13:24:34 +02:00
Rémi Verschelde
9434c69efd
Merge pull request #81401 from akien-mga/mbedtls-fix-uwp-arm
[3.x] mbedtls: Fix UWP arm32 build after 2.28.3 enabled AES-NI intrinsics on MSVC
2023-09-07 13:24:12 +02:00
Rémi Verschelde
b9aa89dd06
Merge pull request #81113 from AThousandShips/texture_button_fix_3_x
[3.x] Make `TextureButton` and `Button` update on texture change
2023-09-07 13:23:44 +02:00
Haoyu Qiu
78a11ea48c Fix PopupMenu icon and text not having separation 2023-09-07 18:14:44 +08:00
Rémi Verschelde
a9710a2a9b
mbedtls: Fix UWP arm32 build after 2.28.3 enabled AES-NI intrinsics on MSVC 2023-09-07 10:27:41 +02:00
A Thousand Ships
d0a98e1ddc Make TextureButton and Button update on texture change 2023-09-06 16:44:12 +02:00
Rémi Verschelde
7ce807a9c5
Merge pull request #74986 from Rubonnek/fix-audio-effect-leak
[3.x] Fix AudioEffectRecord circular reference
2023-09-06 15:12:33 +02:00
Rémi Verschelde
5279566a1b
Merge pull request #81117 from AThousandShips/object_register_fix_3_x
[3.x] Add check to ensure registered classes are declared
2023-09-06 13:04:46 +02:00
Rémi Verschelde
2a6c7fc9f0
Merge pull request #81114 from dalexeev/3.x-core-add-recursion-check-for-variant-writer
[3.x] Core: Add recursion level check for `VariantWriter::write()`
2023-09-06 13:04:23 +02:00
Rémi Verschelde
46b44f8a1b
Merge pull request #81100 from timothyqiu/watch-out-3
[3.x] Fix TouchScreenButton not redrawn when texture changes
2023-09-06 13:04:00 +02:00
Rémi Verschelde
10120783d6
Merge pull request #81090 from SysError99/3.x-fix-js-callback-mem-leak
[3.x] Fix JavaScript callback memory leak
2023-09-06 13:03:31 +02:00
MJacred
55cdaebdf9 Fix cursor after last character in line counting as a character outside of the viewing area
The cursor column can be after the last_visible_char index and still be visible.
2023-09-05 19:36:17 +02:00
Rémi Verschelde
54738d3195
Revert "Backport implement loading DDS textures at run-time"
This reverts commit 22468ea1d3.
See #81126 for rationale.
2023-09-01 08:47:25 +02:00
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