Commit Graph

31874 Commits

Author SHA1 Message Date
Wilson E. Alvarez 2106c5175a
Expose autotile_coord parameter in TileMap.set_cellv
(cherry picked from commit 4106f95f30)
2022-01-12 16:03:02 +01:00
follower 74b1560672
Fix the "AudioEffectRecord" descriptions.
The `AudioEffectRecord` effect has no microphone capture-specific functionality--it can be used with any audio bus.

This patch attempts to clarify this fact (so people like me who want to capture audio output know they're in the right place) while still providing a pointer use of the effect with `AudioStreamMicrophone` for microphone capture.

(cherry picked from commit 022f49437b)
2022-01-12 16:01:18 +01:00
Rémi Verschelde dd002197db
i18n: Sync editor translations with Weblate (last 3.4 sync)
Next sync will be with the `3.x` branch to prepare the 3.5 translations.
2022-01-07 12:44:59 +01:00
Rémi Verschelde 2e8fdd0112
Fix typos with codespell
Using codespell 2.1.0.

Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
curvelinear
dof
doubleclick
fave
findn
GIRD
leapyear
lod
merchantibility
nd
numer
ois
ony
que
readded
seeked
statics
synching
te
uint
unselect
webp
EOF

$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```

(cherry picked from commit b197de6f5f)
2022-01-07 00:17:47 +01:00
Aaron Franke f6090226dc
Skip formatting .bat files in file_format.sh
These are supposed to have CRLF because Windows, so we'll just skip this file type in the script.

(cherry picked from commit 4cdc75915f)
2022-01-06 21:31:47 +01:00
bruvzg cb6d82a111
Fix multiple missing UTF-8 decoding.
(cherry picked from commit c69e0d16bc)
2022-01-06 21:30:41 +01:00
Rémi Verschelde 35cfe4160a
CI: Update links to regression test project and prebuilt SwiftShader
qarmin's repository has been moved to the godotengine organization.

(cherry picked from commit 94232dcb48)

Also changes target branch to `3.4`.
2022-01-06 12:14:12 +01:00
Rémi Verschelde 4a299aa73b
Merge pull request #56535 from akien-mga/3.4-cherrypicks
Cherry-picks for the 3.4 branch (future 3.4.3) - 1st batch
2022-01-06 01:59:20 +01:00
PucklaMotzer09 1ef1a84c22
Unfocus Control on NOTIFICATION_EXIT_TREE
(cherry picked from commit be2d59fa0a)
2022-01-06 00:58:33 +01:00
kobewi 7324ad6462
Fix get_v_scroll() desctiption in ItemList
(cherry picked from commit f97ab4a0e4)
2022-01-06 00:58:33 +01:00
Lertsenem e807d2e6f0
Fix error in Vector2.reflect() description
The description was probably copied from Vector3.reflect(), and
unfortunately did not match the 2D behaviour (where n is apparently the
direction vector of the symmetry line, not the normal).

(cherry picked from commit e1bf428cdc)
2022-01-06 00:58:33 +01:00
bruvzg 0868f6af62
Fix decoding UTF-8 filenames on unzipping.
(cherry picked from commit d2573c1636)
2022-01-06 00:58:32 +01:00
Max Hilbrunner 2927494d7e
Fix docs links in 3.x after docs reorg
(cherry picked from commit 717801c9cb)
2022-01-06 00:58:32 +01:00
Hugo Locurcio 02b549e9ea
Document keyboard ghosting caveats in Input and InputEvent
This also adds recommendations for choosing between
`is_physical_key_pressed()` and `is_key_pressed()`.

(cherry picked from commit d01e22f187)
2022-01-06 00:58:32 +01:00
Hugo Locurcio dd0206c5ad
Improve the CameraServer and CameraFeed class documentations
This closes https://github.com/godotengine/godot-docs/issues/3255.

(cherry picked from commit 73ec2c6ece)
2022-01-06 00:58:32 +01:00
Brian Semrau 50178ea5c3
Fix GPU particles transform feedback for WebGL 2
(cherry picked from commit 2c60c29340)
2022-01-06 00:58:32 +01:00
Hugo Locurcio a954c212eb
Improve `lerp()`, `lerp_angle()` and `inverse_lerp()` documentation
This clarifies that `lerp()` can be used both for interpolation
and extrapolation.

(cherry picked from commit a6db1c758a)
2022-01-06 00:58:32 +01:00
Marcel Admiraal ecb283009e
Fix tablet tilt values returning bad values
(cherry picked from commit 913855926d)
2022-01-06 00:58:32 +01:00
RedMser 48c90cb905
Fix glTF scene export crash on null normal texture
Also removes a redundant get_texture call directly below
the modified code block.

Fixes #56379

(cherry picked from commit 0e36d5e782)
2022-01-06 00:58:31 +01:00
Hugo Locurcio 575b2a23fa
Document the expected format of anisotropy flowmaps in SpatialMaterial
(cherry picked from commit 9937f7f50d)
2022-01-06 00:58:31 +01:00
SaracenOne 721bbfd4c8
Clean preview_node of all none VisualInstances
(cherry picked from commit 5935cee298)
2022-01-06 00:58:31 +01:00
skyace65 2ebe0e48b9
Add warning to only use convex hull points when setting the point property for convex polygon shape
(cherry picked from commit 6b18614de7)
2022-01-06 00:58:31 +01:00
Cnidarias 39cdd57114
Fix http limitation for large "content-length"
When a request was issued to a server that returned "content-length" header
whose value was greater than that of an "int" we ran into overflow
problems. The fix for this was rather simple by increasing the data
type to `int64_t`

(cherry picked from commit 69a532414c)
2022-01-06 00:58:31 +01:00
Yuri Sizov 1908e3fe9e
Make the theme editor correctly stop updating after it was hidden
(cherry picked from commit b32acc57f3)
2022-01-06 00:58:31 +01:00
Raul Santos 99353a2aee
Fix getting properties state when reloading C#
When reloading C# classes and keep their properties values they are
retrieved and stored in a state list.
Retrieving the properties was only getting the fields of the C# class
and not inherited fields so those properties values were lost on reload.
Now we also try to find the field in the parent classes.

(cherry picked from commit 907e709f9d)
2022-01-06 00:58:31 +01:00
skyace65 51f99586ee
State that get static memory usage only works in debug
(cherry picked from commit 32b4edbe4e)
2022-01-06 00:58:30 +01:00
kobewi f054563bf4
Improve docs about plugin registration
(cherry picked from commit 4fc795194b)
2022-01-06 00:58:30 +01:00
Haoyu Qiu 702bff0b42
Use tool instead of at-tool in 3.x documentation
(cherry picked from commit 7b83b5ea3c)
2022-01-06 00:58:30 +01:00
Haoyu Qiu 6bbfec2e9d
Alpha channel indicates opacity, not transparency
(cherry picked from commit bb1eb84da4)
2022-01-06 00:58:30 +01:00
skyace65 f726bf49dd
Improve mouse input event class reference
(cherry picked from commit 37dfe5c706)
2022-01-06 00:58:30 +01:00
kobewi 0c2e919567
Fix TabContainer not setting layout immediately
(cherry picked from commit a7a41a3431)
2022-01-06 00:58:30 +01:00
Kodi febc1aa7d2
add missing emit_changed() to set update mode function
(cherry picked from commit 51db86d789)
2022-01-06 00:58:30 +01:00
Raul Santos b096c4b05f
Fix `KeyValuePairAt` memory leak
(cherry picked from commit 1fdfc379b6)
2022-01-06 00:58:30 +01:00
Omar El Sheikh 6b0b5d2093
Fix Blend Shapes when Octahedral Compression is Used
Blend shapes did not take into account octahedral compressed vertex
attribute layouts and this resulted in incorrect lighting on the
resulting blended mesh

Now make the blend_shapes shader octahedral compression aware!

(cherry picked from commit 50ed674ec2)
2022-01-06 00:58:29 +01:00
belzecue 3adc308254
Update CharFXTransform: explain "relative index"/"absolute index" (previously identical)
Confusingly, these two properties had identical descriptions even though they measure different things.

"relative_index" measures character count from the custom effect's bbcode opening tag.
"absolute_index" measures character count from the start of the bbcode text that includes the custom effect.

See the code author's own explanation here: https://github.com/godotengine/godot/pull/23658

NOTE: Doco for CharFXTransform.xml has changed significantly in 4.0, where terminology has changed to "glyph".  Therefore, proposing this change for 3.x branch only.
(cherry picked from commit 89cebd79e8)
2022-01-06 00:58:29 +01:00
snailrhymer 94ef24dd88
Fix descriptions of set_cell and set_cellv in TileMap.xml
Swap the first lines of the descriptions for set_cell and set_cellv to correctly describe which accepts x and y as separate arguments and which accepts a Vector2.

Fix not relevant to master branch due to changes to TileMap.

(cherry picked from commit 73f4531c97)
2022-01-06 00:58:29 +01:00
Bastiaan Olij 150eb3533b
Fix issue with external textures being freed by Godot
(cherry picked from commit 5fbc24f3e0)
2022-01-06 00:58:29 +01:00
kleonc a5d7d6ff29
EditorAtlasPacker Fix incorrectly deducing zero height in some cases
(cherry picked from commit 46eebf11ca)
2022-01-06 00:58:29 +01:00
Hugo Locurcio 08256e0e16
Improve the CanvasItem class documentation
(cherry picked from commit ccd8cdc363)
2022-01-06 00:58:29 +01:00
Nick Swoboda 56e06648ab
Improve error messages related to failing to open files
(cherry picked from commit bf8f763524)
2022-01-06 00:58:22 +01:00
Rémi Verschelde b4d7d87666
Bump version to 3.4.3-rc 2021-12-22 13:12:53 +01:00
Rémi Verschelde 45eaa2daf1
Bump version to 3.4.2-stable 2021-12-21 12:57:28 +01:00
Rémi Verschelde 8ac75669c1
Add changelog for Godot 3.4.2 2021-12-21 12:56:18 +01:00
Rémi Verschelde eb4816ee13
i18n: Sync classref translations with Weblate 2021-12-21 12:23:51 +01:00
Rémi Verschelde dbfe36728e
i18n: Remove line numbers from classref PO files
It's useful context for translators but it generates very spammy diffs whenever
a line is added or removed, changing the comments for hundreds or thousands of
msgids needlessly.

We still have the file names so it's relatively easy to search in file to find
the location of the source string.
2021-12-21 12:23:45 +01:00
Rémi Verschelde 0fe94ee6e5
i18n: Sync editor translations with Weblate 2021-12-21 12:23:20 +01:00
Marcel Admiraal fbf32c1ea2
Revert "[3.x] Fixed event spam when using the Nintendo Switch controller"
(cherry picked from commit 9f250e8370)
2021-12-21 12:23:20 +01:00
Zae d55deabae7
[3.x]Fix BaseButton's localization for tooltip text with shortcut
(cherry picked from commit 23aaf78391)
2021-12-21 12:23:20 +01:00
Fabio Alessandrelli 3dd3f2211b
Bump mbedtls to 2.16.12
Remove upstreamed patches.
Re-apply padlock and uwp patches.

NOTE: We could replace our padloack patch with mbedtls 3452.
(cherry picked from commit 36d316876b)
2021-12-21 12:23:19 +01:00
Raul Santos 9520c6b953
Check a csproj exists before trying to edit it
When folders are moved/removed from the file system, the `.csproj`
may need to be edited to update the path of C# scripts or remove them.
If a C# solution has not been created, the `.csproj` file does not exist
and therefore there is no need to edit it.

(cherry picked from commit cf98ff248a)
2021-12-21 12:23:19 +01:00