Commit Graph

53053 Commits

Author SHA1 Message Date
Yuri Sizov 60e8a06d4e
Merge pull request #77204 from akien-mga/4.0-ci-base-branch
[4.0] CI: Change GODOT_BASE_BRANCH to 4.0, checkout that branch for godot-cpp
2023-05-18 19:20:59 +02:00
Rémi Verschelde 2a5d5ef1f9 CI: Change GODOT_BASE_BRANCH to 4.0, checkout that branch for godot-cpp 2023-05-18 17:44:31 +02:00
Rémi Verschelde 2ac4e3bb30
Merge pull request #76998 from akien-mga/4.0-cherrypicks
Cherry-picks for the 4.0 branch (future 4.0.3) - 4th batch
2023-05-12 15:08:03 +02:00
Rémi Verschelde fa8b32cbd4
Update changelog for 4.0.3 2023-05-12 14:16:20 +02:00
Rémi Verschelde 9cd9a07c27
i18n: Sync translations with Weblate 2023-05-12 14:14:05 +02:00
Rémi Verschelde 576ca44762
Linux: Don't use udev for joypad hotloading when running in a sandbox
udev doesn't work in sandboxes, notably the new Steam container runtime
as found notably on the Steam Deck, and in Flatpak/Snap packages.

Like SDL does, when we detect such a containerized environment, we fall
back to parsing `/dev/input` directly.
See smcv's comments in #76879 for details.

Fixes #76879.

(cherry picked from commit 788cb74cc6)
2023-05-12 14:14:05 +02:00
kobewi ab2c3712e2
Add mono audio support to WASAPI
(cherry picked from commit 8d010b44c1)
2023-05-12 14:14:04 +02:00
Martin Boué fe126359f0
Fix include text when excluding resources to export
(cherry picked from commit 886e73683d)
2023-05-12 13:56:49 +02:00
Nong Van Tinh aa23e6fc5e
Fixes Node arrays appear as Object arrays in the inspector
(cherry picked from commit 3ebf2264aa)
2023-05-12 13:56:49 +02:00
Rémi Verschelde 4d7336e70f
CI: Skip codespell check if `CHANGED_FILES` is empty
This can happen when only thirdparty files are changed, since we grep them out.
Re-add `bin` and `thirdparty` to the skip list for good measure.

(cherry picked from commit c7a5ce656c)
2023-05-12 13:56:49 +02:00
Rémi Verschelde 9deaac5c60
CI: Use gh-cli for changed files, and workaround codespell skip list bug
For PRs, this should give a more accurate list, as the previous method would
diff to the tip of the `master` branch, which could include new commits (and
thus changed files) not present in the PR branch.

codespell's `--skip` option doesn't work at all with folders when used
together with an explicit list of paths to work with, so let's not use it.

(cherry picked from commit b3bb92ae5e)
2023-05-12 13:56:49 +02:00
Rémi Verschelde 47b3f95874
CI: Make codespell checks blocking, but only check changed files
(cherry picked from commit b226f7e587)
2023-05-12 13:56:49 +02:00
Ninni Pipping f93a4287cf
Enable shadow warnings and fix raised errors
(cherry picked from commit 71ee65dc57)
2023-05-12 13:56:48 +02:00
Alex Drozd 09c5a8fe49
adjusting step size for fastnoise frequency hint
(cherry picked from commit 2b053e4e4c)
2023-05-12 12:31:59 +02:00
Hugo Locurcio 7d0af7d10f
Document high performance cost of turbulence in ParticleProcessMaterial
- Mention that GPUParticlesAttractorVectorField3D can be used as an
  alternative to turbulence in 3D.

(cherry picked from commit f10759489d)
2023-05-12 12:31:58 +02:00
Manik Sharma f6ed43b7d3
Make environment energy adjustable as a float in 3D editor's preview environment
(cherry picked from commit 3ce0ebb242)
2023-05-12 12:31:24 +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
Aaron Franke 161f389f93
Rename the Debugger's stack debug section to Stack Trace
(cherry picked from commit 74361b3d50)
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
Bram Stolk ce0c61b6e3
Add missing initializations for Node3DEditor.
Do not try to format fields with garbage values in _snap_update()
Initialize grid_enable[] before use.
Initialize previewing_camera before use.
These are all cases found live, with valgrind.
Fixes #76925

(cherry picked from commit 4bc513edbc)
2023-05-12 12:31:23 +02:00
lawnjelly efbb28d09a
Make acos and asin safe
A common bug with using acos and asin is that input outside -1 to 1 range will result in Nan output. This can occur due to floating point error in the input.

The standard solution is to provide safe_acos function with clamped input. For Godot it may make more sense to make the standard functions safe.

(cherry picked from commit 50c5ed4876)
2023-05-12 12:31:23 +02:00
Rindbee b91b8fce43
Improve the UX of ViewportTexture in the editor
The associated `ViewportTexture`s will update the `viewport_path`
in time when the `Viewport`'s nodepath is changed (caused by renaming
the node names or moving in the SceneTree dock).

If the target `Viewport` is changed by resetting the `viewport_path`,
the `ViewportTexture`s will be re-setup and emit `changed` signal in
time.

(cherry picked from commit af58f1e854)
2023-05-12 12:31:22 +02:00
kobewi 1146172b30
Prevent errors when using ViewportTexture
(cherry picked from commit 1b9802fa8c)
2023-05-12 12:31:22 +02:00
David Snopek 2a8501e1a2
Add missing documentation for MultiplayerPeerExtension
(cherry picked from commit 4d13be3c5e)
2023-05-12 12:31:22 +02:00
Samuele Panzeri 07128ccb9d
Fix skeleton_3d & physical_bone_3d editor errors
(cherry picked from commit 679ff6da0e)
2023-05-12 12:31:22 +02:00
Patrick 9d9b7511a0
Fix Rotation Issue with NODE_POSITION_VIEW Visual Shader Node
(cherry picked from commit e35bbd76a3)
2023-05-12 12:31:22 +02:00
ChibiDenDen bb785cfcc0
Fix gles3 rendering on android studio emulator
Use a temporary framebuffer for screen copy from rendertarget to screen.

This solves GLES3 rendering in android studio emulator (before this change there is just a black screen)

Based on discussion in:
https://github.com/godotengine/godot/issues/74828

(cherry picked from commit 5956aa1a6a)
2023-05-12 12:31:22 +02:00
Samuele Panzeri cf0bd389cc
Support long path in file access on windows
Changed windows file access file to check for path length and use the \\?\ long format when needed

(cherry picked from commit 59f04e16b8)
2023-05-12 12:31:22 +02:00
Alex Drozd a37f79124f
add venv and .venv to the .gitignore
(cherry picked from commit a6fda19e85)
2023-05-12 12:31:21 +02:00
Manik Sharma 31a37495f3
Make sun energy adjustable as a float in the 3D editor's preview sun
(cherry picked from commit 5e1cb39101)
2023-05-12 12:31:21 +02:00
smix8 3be6a1b38e
Fix SurfaceTool::create_from_blend_shape()
Fixes SurfaceTool::create_from_blend_shape().

(cherry picked from commit 2dbc5d95eb)
2023-05-12 12:31:21 +02:00
ajreckof a42f427465
fix a test for wrapf with signed 32-bit float
(cherry picked from commit fabd9535f0)
2023-05-12 12:31:21 +02:00
stmSi 25ab61f82a
Added note to used set_deferred while setting scroll values in _ready function.
(cherry picked from commit 83626ab90d)
2023-05-12 12:31:21 +02:00
Александр Черник b2364048d2
LSP: don't send empty completion command
(cherry picked from commit 5715d3eb59)
2023-05-12 12:31:21 +02:00
Hugo Locurcio 35fa05fa51
Document caveats related to exported project binary resource conversion
(cherry picked from commit febc674f48)
2023-05-12 12:31:21 +02:00
Lyuma dcca6485d0
gltf: Permit sparse accessors without a bufferView.
(cherry picked from commit 72d131899b)
2023-05-12 12:31:21 +02:00
Hugo Locurcio 2d7228251d
Improve RenderingServer, RenderingDevice, ShaderGlobalsOverride documentation
This brings the overall class reference completion percentage from 87% to 92%.

(cherry picked from commit 5056c427d3)
2023-05-12 12:31:19 +02:00
Ninni Pipping 9a5af8e793
Clarify that event handling does not affect `Input`
(cherry picked from commit 732ad382a6)
2023-05-12 12:14:45 +02:00
Christopher Foo 28012c40fb
Ensure WindowData minimized/maximized are mutually exclusive
The window manager can break the assumption that
fullscreen/maximized/minimized values are mutually exclusive.

(cherry picked from commit e4d052e284)
2023-05-12 12:14:30 +02:00
Omar Shehata bab96e71d2
Fix double tap & drag on Android
(cherry picked from commit 0c94750642)
2023-05-12 12:14:14 +02:00
Fredia Huya-Kouadio 07af84689f
Follow up to https://github.com/godotengine/godot/pull/76399 to fix input ANR in the Godot Android editor
(cherry picked from commit 367061cf9c)
2023-05-12 12:12:05 +02:00
Pedro J. Estébanez d07d4d90d0
Allow concurrent buffering and dispatch of input events
(cherry picked from commit f369ed9223)
2023-05-12 12:11:58 +02:00
kleonc 4b11fc65f1
Make `LocalVector` respect its `tight` template parameter
(cherry picked from commit 0b944e1a68)
2023-05-12 12:11:41 +02:00
Michael Alexsander b7206e25bf
Improve some descriptions in the OS docs
(cherry picked from commit 6db12c5e50)
2023-05-12 12:11:23 +02:00
Ninni Pipping 5d93de88a8
Fix size error in `BitMap.opaque_to_polygons`
Previous estimate of upper limit on size was incorrect

(cherry picked from commit 249784ed53)
2023-05-12 12:10:50 +02:00
Pedro J. Estébanez 813fc0940d
Allow creation of rendering buffers at any time
(cherry picked from commit d4c46f15ae)
2023-05-12 12:10:35 +02:00
kobewi 64b15c8ec1
Add info label to TileMap editor
(cherry picked from commit 979b53aba4)
2023-05-12 12:07:14 +02:00