Commit Graph

53077 Commits

Author SHA1 Message Date
Rémi Verschelde da3f725206
i18n: Sync translations with Weblate
Last 4.0 sync before switching Weblate to track 4.1 strings.
2023-06-12 14:35:33 +02:00
Yuri Sizov fd5dc25240
Merge pull request #77664 from RedworkDE/audiostream-preview-crash-4.0
[4.0] Fix crash in AudioStream preview
2023-06-02 12:21:33 +02:00
RedworkDE ebc3ac0934 Fix crash in AudioStream preview 2023-05-30 20:28:28 +02:00
Rémi Verschelde 70fa4d26d7
Merge pull request #77579 from dalexeev/gds-bitfield-as-int-4.0
[4.0] GDScript: Treat `BitField<Enum>` as `int` (not `Enum`)
2023-05-29 11:11:23 +02:00
Danil Alexeev 74ac827ac7
[4.0] GDScript: Treat `BitField<Enum>` as `int` (not `Enum`) 2023-05-28 18:15:51 +03:00
Max Hilbrunner 75e5bf789d Small docs syntax fixes
(cherry picked from commit a521b85976)
2023-05-19 16:15:36 +02:00
Rémi Verschelde d0c0d44cb5
Actually bump version to 4.0.4-rc :o) 2023-05-19 12:57:28 +02:00
Rémi Verschelde 97631f8aa9
Bump version to 4.0.4-rc
Error: Godot not found.
2023-05-19 09:39:54 +02:00
Rémi Verschelde 5222a99f5d
Bump version to 4.0.3-stable 2023-05-19 08:58:15 +02:00
Rémi Verschelde acc82a1d05
i18n: Sync translations with Weblate 2023-05-19 08:55:54 +02:00
Rémi Verschelde 138882742a
Merge pull request #77202 from YuriSizov/4.0-cherrypicks
Cherry-picks for the 4.0 branch (future 4.0.3) - 5th batch
2023-05-19 08:40:25 +02:00
Yuri Sizov 5fe254e8f6 Update the changelog for 4.0.3 2023-05-18 21:48:37 +02:00
Yuri Sizov eced93a3f5 Revert "Improve the UX of ViewportTexture in the editor"
This reverts commit b91b8fce43.
2023-05-18 21:46:40 +02:00
Ninni Pipping 589306a9d8 Make `TouchScreenButton` connections reference counted
Prevents errors when assigning the same texture to both slots

(cherry picked from commit 0648cc65b2)
2023-05-18 21:46:39 +02:00
Fabio Alessandrelli 238b8357a3 [TLS] Fix crashes trying to use TLS when not available.
If no StreamPeerTLS implementation is available, HTTPClient and
WebSocketPeer will now correctly refuse to connect using TLS returning
ERR_UNAVAILABLE.

Similarly, ENetConnection will refuse to setup DTLS when PacketPeerDTLS
is not available.

(cherry picked from commit eeac6f8c7f)
2023-05-18 19:22:23 +02:00
kobewi 7d5d5b7bd1 Fix crash when trying to create bones from Control
(cherry picked from commit 6a120107b3)
2023-05-18 19:22:23 +02:00
voidshine 9a88b47cb1 Document MIDI zero velocity quirk
(cherry picked from commit 06d02928b7)
2023-05-18 19:22:23 +02:00
Max Hilbrunner 7f0d8bcade Docs: Point to @GDScript in GDscript (script impl)
(cherry picked from commit ad21fb0f92)
2023-05-18 19:22:23 +02:00
Alex Drozd 3e8f0b4b75 Exclude overriden properties from Property Descriptions section
(cherry picked from commit 28f391f301)
2023-05-18 19:22:23 +02:00
kleonc 945d669da0 Fix property usage docs referring to removed network flag
(cherry picked from commit fc92ee6bf4)
2023-05-18 19:22:22 +02:00
Ninni Pipping 1f7a5f6144 Document limitations of placeholder textures
(cherry picked from commit bd2e377007)
2023-05-18 19:22:22 +02:00
VolTer c37259b181 Add WorkerThreadPool documentation
(cherry picked from commit bd257092da)
2023-05-18 19:22:22 +02:00
Samuele Panzeri 912b3afb96 Fix skeleton 3d editor crash in RC3
Control notifies a theme changed before the editor has entered the tree

(cherry picked from commit a103cd76bb)
2023-05-18 19:22:22 +02:00
Yuri Sizov fd8f38c240 Revert "Make EditorToaster's handler thread-safe"
This reverts commit 3a5bc7455e.
2023-05-18 19:22:22 +02:00
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