Commit Graph

56014 Commits

Author SHA1 Message Date
Hugo Locurcio 3e4519fc2f
Document Bounce = 1.0 not being sufficient for infinite energy conservation
(cherry picked from commit 7ff1704b1b)
2024-03-11 15:02:53 +01:00
Lucas Clemente Vella cdf8e0e87c
Improve docs on how ParallaxLayer mirroring works.
I wrote everything I wish was written when I tried to make an
infinite scrolling background, addressing every point of every
mistake I made.

(cherry picked from commit 40813b68f0)
2024-03-11 15:02:20 +01:00
kobewi 3c76c89cc7
Clarify Tween.set_parallel()
(cherry picked from commit 207bd34aa5)
2024-03-11 15:01:25 +01:00
clayjohn a24347d041
Significantly improve the speed of shader compilation in compatibility backend
Compile the unlit version by default to save on both cache size and compile time

(cherry picked from commit f1781fe9d1)
2024-03-11 15:01:23 +01:00
Markus Sauermann 5dfaec5c29
Fix global position for `InputEventMouse` in `viewport::push_input`
Global position doesn't get adjusted within `InputEventMouse::xformed_by()`.

(cherry picked from commit 8de39911c8)
2024-03-11 15:01:23 +01:00
Rémi Verschelde 1281517746
Fix reporting exit code when command line export fails
Fixes #83042.

(cherry picked from commit 51bfda9446)
2024-03-11 15:01:23 +01:00
Mikael Hermansson 036c9715c2
Allow LSP to process multiple messages per poll
(cherry picked from commit e2485044a1)
2024-03-11 15:01:23 +01:00
AlexOtsuka 702be5e2f2
Fix audio crackling issues due to incorrect WASAPI buffer size
(cherry picked from commit 179b0786c6)
2024-03-11 15:01:23 +01:00
Rémi Verschelde 19673840fb
iOS: Enable Storyboard launch screen by default
LaunchImages are deprecated, and Storyboard is supported on all currently
supported iOS versions, so this should be the default.

LaunchImages support was removed in 4.3 with #86312.

(cherry picked from commit 91c5d1e245)
2024-03-11 15:01:23 +01:00
Jakub Marcowski f464e5d3f5
libpng: Update to 1.6.43
(cherry picked from commit 41268d7faa)
2024-03-11 15:01:22 +01:00
Jakub Mateusz Marcowski ce72cd9651
tinyexr: Update to 1.0.8
(cherry picked from commit ab14dec952)
2024-03-11 15:01:22 +01:00
Rémi Verschelde 5b493f7214
Sync controller mappings DB with SDL2 community repo
Synced with gabomdq/SDL_GameControllerDB@232c738ce0

(cherry picked from commit 10445d80d8)
2024-03-11 15:01:22 +01:00
Rémi Verschelde 8db15d9dc8
mbedtls: Update to upstream version 2.28.7
(cherry picked from commit dec635119e)
2024-03-11 15:01:22 +01:00
Rémi Verschelde 3de73d0249
mbedtls: Backport Windows fix to use bcrypt for entropy
We had a slightly older version of it for UWP, as the wincrypt API isn't allowed there.
We removed this with UWP in #81416, but since this was enabled inconditionally before,
this actually changed behavior for Windows compared to Godot 4.1 and earlier.

This change is also needed to properly supported Windows Store.

(cherry picked from commit b9d008de3d)
2024-03-11 15:01:22 +01:00
Rémi Verschelde a3e39e2f57
CI: Update actions to latest versions
(cherry picked from commit ad8d3cf1c9)
2024-03-11 15:01:22 +01:00
LinuxUserGD 5c10605295
os_linuxbsd.cpp: include `servers/rendering_server.h`
(cherry picked from commit 6307cebf37)
2024-03-11 15:01:22 +01:00
Fredia Huya-Kouadio 10f49cb758
Fix gradle build errors when the build path contains non-ASCII characters
(cherry picked from commit f1887a30f3)
2024-03-11 15:01:22 +01:00
Andreia Gaita 4182f2435a
Use an absolute path for SConsignFile so all Sconscript invocations share the same database
SConscript("some SCsub path") calls create a new context where a relative path
to the .sconsign file is interpreted as being next to the currently executing
SCsub, and not the one at the root. This breaks incremental build detection
because scons can't find the build information of dependent files outside of the
SCsub directory and just rebuilds everything every time.

(cherry picked from commit 0b43b0124f)
2024-03-11 15:01:22 +01:00
Adam Scott b11c95dc98
Add `WASM_BIGINT` linker flag to the web build
(cherry picked from commit 3ae524fa9e)
2024-03-11 15:01:22 +01:00
Rémi Verschelde 193592d532
Web: Bump closure compiler spec to ECMASCRIPT_2021
Fixes #88008.

(cherry picked from commit d29b0d90e0)
2024-03-09 23:37:49 +01:00
Fabio Alessandrelli 5b4c5c4118
[Web] Fix closure compiler builds using BIGINT
When using proxy_to_pthread we add BIGINT support (to support exchanging
64 bits integers between wasm and JS).

Bigint though, is part of ECMAScript 2020, and the closure compiler was
using ECMAScript 6 instead.

This commit update the CC configuration to use ECMAScript 2020 instead.

(cherry picked from commit e9df955e39)
2024-03-09 23:37:30 +01:00
bruvzg 8c54f7b6cd
[macOS] Check Vulkan SDK version when looking for MoltenVK libs.
(cherry picked from commit 70e328385c)
2024-03-09 23:34:53 +01:00
Adam Scott 0d75fc564b
Add basic Emacs .gitignore entries
(cherry picked from commit 2696fee3c6)
2024-03-09 23:34:25 +01:00
A Thousand Ships 49927fb64c
Fix `printf` for format checks
Prevents errors with input being invalid format strings

(cherry picked from commit 6da378afea)
2024-03-09 23:33:56 +01:00
Pedro J. Estébanez 2860ed6064
Undefine yet another macro from Windows headers
(cherry picked from commit bcc96441d6)
2024-03-09 23:33:21 +01:00
Rémi Verschelde 10da4db645
CI: Update mymindstorm/setup-emsdk to v14, should fix cache folder conflicts
https://github.com/mymindstorm/setup-emsdk/releases/tag/v14

Co-authored-by: Yuri Sizov <yuris@humnom.net>
(cherry picked from commit 35ef0b32b3)
2024-03-09 23:31:03 +01:00
bruvzg ec0ddc4633
[iOS] Update linker flags for Xcode 15.2.
(cherry picked from commit ac57f10f82)
2024-03-09 23:30:22 +01:00
Rémi Verschelde 68154d8a71
Merge pull request #79878 from HolySkyMin/editor_theme_startup_fix
[4.1] Fix editor layout breaks on startup when default custom theme is applied
2024-02-28 23:26:57 +01:00
Pedro J. Estébanez 664b2502d2
Fix warning in MSVC
(cherry picked from commit fe8c217b7c)
2024-02-27 16:40:17 +01:00
Michael Wörner e1421715e8
Fixed an issue that could cause a crash when encountering a zero-length packet in an OGG stream.
A zero-length memcpy into a null pointer itself does not fail, but for gcc with optimizations, this can cause incorrect code to be generated further down the line since the pointer is then assumed to be non-null.
Now stripping zero-length packets and pages without packets from the OggPacketSequence during import. This prevents various warning and error messages for files that end on a zero-length packet.

(cherry picked from commit a4db4ae658)
2024-02-27 16:40:16 +01:00
Rémi Verschelde 77598f0708
Merge pull request #87964 from aaronfranke/4.1-fix-gltf-crash-root-skel-imp
[4.1] Fix crash when importing a GLTF file with a skeleton as the root
2024-02-05 18:03:47 +01:00
Aaron Franke 72f00333dd
[4.1] Fix crash when importing a GLTF file with a skeleton as the root 2024-02-04 20:31:04 -06:00
Yuri Sizov b9008f3d51 Bump the version year to 2024 2024-01-24 20:50:57 +01:00
Yuri Sizov 51c0672b13 Add changelog for 4.1.4 2024-01-24 20:45:55 +01:00
Yuri Sizov c39ad18bfa
Merge pull request #87540 from YuriSizov/4.1-cherrypicks
Cherry-picks for the 4.1 branch (future 4.1.4) - 2nd batch
2024-01-24 20:09:52 +01:00
kleonc 5b05029b35 Fix Polygon2D to Skeleton2D transform calculation
(cherry picked from commit 41e4f3c215)
2024-01-24 18:54:29 +01:00
ShirenY 211dd2fb53 Transform mesh's AABB to skeleton's space when calculate mesh's bounds.
(cherry picked from commit 27f71c4e78)
2024-01-24 18:54:11 +01:00
Hugo Locurcio e2c96dc711 Document changing the window's resizable status at runtime
(cherry picked from commit d6768a17fa)
2024-01-24 18:31:41 +01:00
Micky 1ec0e4fba1 Fixing some reports to String's documentation
Closes https://github.com/godotengine/godot-docs/issues/8043
Closes https://github.com/godotengine/godot-docs/issues/8044
Mitigates https://github.com/godotengine/godot-docs/issues/8190
Closes https://github.com/godotengine/godot/issues/86734

(cherry picked from commit 46b0f3e9d6)
2024-01-24 18:31:27 +01:00
jsjtxietian f5c7a0e832 Mention CollisionPolygon2D.polygon is local to the given CollisionPolygon2D
(cherry picked from commit f5409dc132)
2024-01-24 18:30:59 +01:00
Micky 45fc8a3b43 Add missing descriptions for Image's documentation
(cherry picked from commit e01b91777a)
2024-01-24 18:30:59 +01:00
Hugo Locurcio ffed9d36b5 Make the rendering method dropdown also affect mobile if compatible
This prevents visual discrepancies between desktop and mobile platforms
after switching rendering methods using this dropdown.

The restart dialog now displays which rendering methods will be used,
and the dropdown tooltip also lists caveats related to specific platforms.

(cherry picked from commit 57f3bdb1e5)
2024-01-24 18:30:44 +01:00
Micky c02fcb4ede Add missing descriptions to TextServer's constants
(cherry picked from commit d3150c9c8f)
2024-01-24 18:27:37 +01:00
Rémi Verschelde 329f2ce49b Style: Mark clang-format 16 as supported for pre-commit hook
It only introduced a difference in a .glsl file, which I've worked
around by removing an empty line. This keeps formatting consistent
between clang-format 15 and 16.

Also added a change in the 3-to-4 project converter to fix bogus
formatting in clang-format < 17.

(cherry picked from commit 49f4860ce3)
2024-01-24 18:20:39 +01:00
Quincy Wofford 57fe32f8da corrected tooltip information Roll Influence property of VehicleWheel3D
(cherry picked from commit c979d02db2)
2024-01-24 18:20:39 +01:00
Hugo Locurcio c72c69379a Improve RichTextLabel `install_effect()` documentation
(cherry picked from commit 78fff7292c)
2024-01-24 18:20:38 +01:00
Fabio Alessandrelli e11165d7f1 [MP] Fix complete_auth notifying the wrong peer
The SceneMultiplayer complete_auth method was not configuring the
multiplayer peer correctly, causing it to potentially send the
notification to the wrong peer, on the wrong channel, and/or with an
incorrect transfer mode.

(cherry picked from commit 4826c14d20)
2024-01-24 18:20:38 +01:00
Michael Macha 0904f0affd Remove pointer to deprecated class page, from Skeleton3D
SkeletonIK3D is now deprecated, but Skeleton3D is recommending looking into its use for complicated inverse kinematics. What's worse, the removed line is not perfectly clear for non-developers and people less experienced with the engine, and could still stand to be improved.

(cherry picked from commit 0e52ffeb69)
2024-01-24 18:20:38 +01:00
LunaticInAHat afac25a3f8 Support unspecified linear size in DDS files
Not all exporters choose to populate that (optional) header field.

(cherry picked from commit a344d7f906)
2024-01-24 18:19:48 +01:00
Ricardo Subtil c8fabac8c7 Fix DAP breakpoints being cleared on closed scripts
(cherry picked from commit 760ff2e933)
2024-01-24 18:19:28 +01:00