Commit Graph
53053 Commits
Author SHA1 Message Date
Yuri SizovandGitHub 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 VerscheldeandYuri Sizov 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 VerscheldeandGitHub 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 788cb74cc676627b6c9b7e29a47200141cca92ff)
2023-05-12 14:14:05 +02:00
kobewiandRémi Verschelde ab2c3712e2 Add mono audio support to WASAPI
(cherry picked from commit 8d010b44c16766331aa92e1a45a03a4cef1466e0)
2023-05-12 14:14:04 +02:00
Martin BouéandRémi Verschelde fe126359f0 Fix include text when excluding resources to export
(cherry picked from commit 886e73683d2b386def3b9f8b11044bd02ce81db1)
2023-05-12 13:56:49 +02:00
Nong Van TinhandRémi Verschelde aa23e6fc5e Fixes Node arrays appear as Object arrays in the inspector
(cherry picked from commit 3ebf2264aa920b909ea1d2d35d66c36e57118197)
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 c7a5ce656cb6cb7727c5ebd7616ebc1a8fd0bdad)
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 b3bb92ae5ecae0389bbadd7c6933fbae39d74971)
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 b226f7e587c4b5093d7bf27a4b0ac687a2d1cd2e)
2023-05-12 13:56:49 +02:00
Ninni PippingandRémi Verschelde f93a4287cf Enable shadow warnings and fix raised errors
(cherry picked from commit 71ee65dc5701a0675ae6b1879a694a28c7206a63)
2023-05-12 13:56:48 +02:00
Alex DrozdandRémi Verschelde 09c5a8fe49 adjusting step size for fastnoise frequency hint
(cherry picked from commit 2b053e4e4c)
2023-05-12 12:31:59 +02:00
Hugo LocurcioandRémi Verschelde 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 SharmaandRémi Verschelde f6ed43b7d3 Make environment energy adjustable as a float in 3D editor's preview environment
(cherry picked from commit 3ce0ebb2429cac2443d6fccc8d5c188e7b19b7b2)
2023-05-12 12:31:24 +02:00
Rémi Verschelde 52c314501c doctest: Update to 2.4.11
(cherry picked from commit 3091c6e9e96261591c7d6f5ebf4949d4d5a68c18)
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 5a3f955e05f98b36faaab2192c8a3caae757f60e)
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 0ff337d20fcb6e97be652fbd7b70a53819eea1d0)
2023-05-12 12:31:24 +02:00
Rémi Verschelde dfba9ad739 certs: Sync with Mozilla bundle as of Mar 23, 2023
https://github.com/bagder/ca-bundle/commit/8bcd1092d29849d9fe0a3261ab3bb875eb410694
(cherry picked from commit d1c59b47e481042d8df776047b2c553b322a4691)
2023-05-12 12:31:23 +02:00
Aaron FrankeandRémi Verschelde 161f389f93 Rename the Debugger's stack debug section to Stack Trace
(cherry picked from commit 74361b3d50f717bd2758bb9ffe5bf79e2060bcb3)
2023-05-12 12:31:23 +02:00
Martin CapitanioandRémi Verschelde 9e11b78d1c Update ThorVG to v0.9.0
https://github.com/thorvg/thorvg/releases/tag/v0.9.0
Fixes #72478

(cherry picked from commit 5db751832d54092c9d153c0fe07f9cc4616a2d01)
2023-05-12 12:31:23 +02:00
Bram StolkandRémi Verschelde 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 4bc513edbcd49d1067e0cd70326f50f149660b89)
2023-05-12 12:31:23 +02:00
lawnjellyandRémi Verschelde 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 50c5ed4876250f785be54b8f6124e7663afa38dc)
2023-05-12 12:31:23 +02:00
RindbeeandRémi Verschelde 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 af58f1e8547c8b6a2e6b83b7de9c3ac9bc05d881)
2023-05-12 12:31:22 +02:00
kobewiandRémi Verschelde 1146172b30 Prevent errors when using ViewportTexture
(cherry picked from commit 1b9802fa8cb45e876cd90d6a174b95b270a7f934)
2023-05-12 12:31:22 +02:00
David SnopekandRémi Verschelde 2a8501e1a2 Add missing documentation for MultiplayerPeerExtension
(cherry picked from commit 4d13be3c5e)
2023-05-12 12:31:22 +02:00
Samuele PanzeriandRémi Verschelde 07128ccb9d Fix skeleton_3d & physical_bone_3d editor errors
(cherry picked from commit 679ff6da0e5c5ee6637948e51ffa1a36064b71ae)
2023-05-12 12:31:22 +02:00
PatrickandRémi Verschelde 9d9b7511a0 Fix Rotation Issue with NODE_POSITION_VIEW Visual Shader Node
(cherry picked from commit e35bbd76a314aeabf9aae79cd20bca4d9c4241a9)
2023-05-12 12:31:22 +02:00
ChibiDenDenandRémi Verschelde 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 5956aa1a6a7df8b098a12a585f5541042ee1cc6e)
2023-05-12 12:31:22 +02:00
Samuele PanzeriandRémi Verschelde 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 59f04e16b87ed5ce013c4ed184fdac796d814dc8)
2023-05-12 12:31:22 +02:00
Alex DrozdandRémi Verschelde a37f79124f add venv and .venv to the .gitignore
(cherry picked from commit a6fda19e8520b523f41655e3dd1b94cfe9bd1f3c)
2023-05-12 12:31:21 +02:00
Manik SharmaandRémi Verschelde 31a37495f3 Make sun energy adjustable as a float in the 3D editor's preview sun
(cherry picked from commit 5e1cb39101a20b58d3ea7ec8e2f2124c1b04e0fa)
2023-05-12 12:31:21 +02:00
smix8andRémi Verschelde 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
ajreckofandRémi Verschelde a42f427465 fix a test for wrapf with signed 32-bit float
(cherry picked from commit fabd9535f0b5cb3f14238d267f6ab48f245fd149)
2023-05-12 12:31:21 +02:00
stmSiandRémi Verschelde 25ab61f82a Added note to used set_deferred while setting scroll values in _ready function.
(cherry picked from commit 83626ab90db2dee1152d3e147e44aac658b92067)
2023-05-12 12:31:21 +02:00
Александр ЧерникandRémi Verschelde b2364048d2 LSP: don't send empty completion command
(cherry picked from commit 5715d3eb593322d74994a1e979b3648f1fe3d9f4)
2023-05-12 12:31:21 +02:00
Hugo LocurcioandRémi Verschelde 35fa05fa51 Document caveats related to exported project binary resource conversion
(cherry picked from commit febc674f4818dd1185b2e43e899115f70f55b4f5)
2023-05-12 12:31:21 +02:00
LyumaandRémi Verschelde dcca6485d0 gltf: Permit sparse accessors without a bufferView.
(cherry picked from commit 72d131899b60ccba1d80d3da9dd2805c7941f1b4)
2023-05-12 12:31:21 +02:00
Hugo LocurcioandRémi Verschelde 2d7228251d Improve RenderingServer, RenderingDevice, ShaderGlobalsOverride documentation
This brings the overall class reference completion percentage from 87% to 92%.

(cherry picked from commit 5056c427d32218e85ad79d51788fa7583d48e293)
2023-05-12 12:31:19 +02:00
Ninni PippingandRémi Verschelde 9a5af8e793 Clarify that event handling does not affect Input
(cherry picked from commit 732ad382a64e983c002a640f0220135835bab354)
2023-05-12 12:14:45 +02:00
Christopher FooandRémi Verschelde 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 e4d052e284c04c9fd41d42de40151451e8756a6b)
2023-05-12 12:14:30 +02:00
Omar ShehataandRémi Verschelde bab96e71d2 Fix double tap & drag on Android
(cherry picked from commit 0c94750642978df5b5a100692c7b8be8522fd668)
2023-05-12 12:14:14 +02:00
Fredia Huya-KouadioandRémi Verschelde 07af84689f Follow up to https://github.com/godotengine/godot/pull/76399 to fix input ANR in the Godot Android editor
(cherry picked from commit 367061cf9c03c88374be07d2cf2b452e2ccaf06f)
2023-05-12 12:12:05 +02:00
Pedro J. EstébanezandRémi Verschelde d07d4d90d0 Allow concurrent buffering and dispatch of input events
(cherry picked from commit f369ed9223146a644cfa3f922e0aacbb002f688c)
2023-05-12 12:11:58 +02:00
kleoncandRémi Verschelde 4b11fc65f1 Make LocalVector respect its tight template parameter
(cherry picked from commit 0b944e1a68e60f4847f0614ac48ef27f21567fb2)
2023-05-12 12:11:41 +02:00
Michael AlexsanderandRémi Verschelde b7206e25bf Improve some descriptions in the OS docs
(cherry picked from commit 6db12c5e50017940df7921e37c9a85eb376881ed)
2023-05-12 12:11:23 +02:00
Ninni PippingandRémi Verschelde 5d93de88a8 Fix size error in BitMap.opaque_to_polygons
Previous estimate of upper limit on size was incorrect

(cherry picked from commit 249784ed53ff8b2b02507d6678dd6aecf511b067)
2023-05-12 12:10:50 +02:00
Pedro J. EstébanezandRémi Verschelde 813fc0940d Allow creation of rendering buffers at any time
(cherry picked from commit d4c46f15ae9f0cbc42151dc045f4435997576176)
2023-05-12 12:10:35 +02:00
kobewiandRémi Verschelde 64b15c8ec1 Add info label to TileMap editor
(cherry picked from commit 979b53aba49b2ff76fb8db540f948ce503c91b2b)
2023-05-12 12:07:14 +02:00