Commit Graph

53157 Commits

Author SHA1 Message Date
Raul Santos c99f67105f C#: Fix dictionary key lookup documentation
The method to check if a key exists in the dictionary is called `ContainsKey`.

(cherry picked from commit 6723b4e8c3)
2023-06-16 15:13:00 +02:00
Violet Johnson 4c34531499 Update C# code example to fix an error
Update doc/classes/AnimationNodeStateMachinePlayback.xml

Co-authored-by: Raul Santos <raulsntos@gmail.com>
(cherry picked from commit cb7fdad3b4)
2023-06-16 15:13:00 +02:00
rainlizard 8df97cf368 Specify how to use the global animation library in gdscript
(cherry picked from commit bf7adc8670)
2023-06-16 15:13:00 +02:00
Max Hilbrunner 1a1095f986 Docs: Add FileAccess.close, remove dupl. example
(cherry picked from commit aaf43a260e)
2023-06-16 15:12:59 +02:00
TechnicalSoup 62d7797cbf Update HTTPRequest Class Documentation
Reword the timeout member definition to indicate that example timeout values are suggestions.
Add definition for timeout constant.

Apply suggestions from code review

Co-authored-by: Yuri Sizov <11782833+YuriSizov@users.noreply.github.com>
(cherry picked from commit d185220b32)
2023-06-16 15:12:59 +02:00
Ninni Pipping 0e697e102b Add more info on the nature of NAN
(cherry picked from commit 5e3c625e24)
2023-06-16 15:12:59 +02:00
mara a44409bf54 Clarify doc for Color.hex and C# Color()
The "alpha channel first" seems misleading to me. It doesn't match with
the examples, so remove it. Add a more detailed specification of the
expected number format in hex.

(cherry picked from commit 779ac20bb9)
2023-06-16 15:12:59 +02:00
Hugo Locurcio 484a39c34d Document seamless caveats on small textures in NoiseTexture2D and NoiseTexture3D
This also harmonizes "normal map" spelling across the class reference.

(cherry picked from commit 9e21647578)
2023-06-16 15:12:36 +02:00
PoolloverNathan e72e24b3cc Update outdated syntax in `JavaScriptBridge` doc
According to `JavaScriptBridge`, thus takes a Callable, not an object/string pair.

(cherry picked from commit 04480f196a)
2023-06-16 15:12:20 +02:00
archsolar 3c2e30b319 Docs: Fix SurfaceTool example caps typo
(cherry picked from commit 6719fea8dc)
2023-06-16 15:12:20 +02:00
Devin 412d947dc3 Updated Object's class reference documentation for set_meta to indicate metadata's name must be a valid identifier
(cherry picked from commit cdc2e6d872)
2023-06-16 15:12:20 +02:00
VolTer b118d89eed Overhaul the top sections of the class reference (Core classes)
(cherry picked from commit 04562662d3)
2023-06-16 15:12:10 +02:00
VolTer 2792b520a7 Overhaul the top sections of the class reference (GUI classes)
(cherry picked from commit 151a4ba6a5)
2023-06-16 14:56:34 +02:00
Rindbee fd08e35cd3 Add instructions for configuring CheckBox as a radio button
(cherry picked from commit 3dc487b450)
2023-06-16 14:56:16 +02:00
Ninni Pipping 465f363c77 Minor grammar fixes to documentation
(cherry picked from commit 17fb77223c)
2023-06-16 14:44:53 +02:00
Haoyu Qiu 605b6e568f Fix code tag typo in class reference
(cherry picked from commit 85f137912d)
2023-06-16 14:44:53 +02:00
Silc Lizard (Tokage) Renew c5c27e64ea Remove out-dated lines from class reference of Skeleton3D
(cherry picked from commit 26cc4bbd82)
2023-06-16 14:44:52 +02:00
VolTer a4e8ba9b5d Overhaul the top sections of the class reference (Animation classes)
(cherry picked from commit 4af3fc7e26)
2023-06-16 14:44:52 +02:00
Yuri Sizov 0934545d23 Validate code tags in documentation for potential params
Adds a check to make_rst to look for matches
between the text inside of the [code][/code] tag
and known param identifiers.
Fixes most of what was revealed.

(cherry picked from commit 391eccca76)
2023-06-16 14:44:52 +02:00
Dipal Zambare 3aea815a05 Fix typo in CS notification example of the Object class
(cherry picked from commit 41ac5a406e)
2023-06-16 14:37:53 +02:00
Ninni Pipping 41b10f1222 Clarify range of various ID values are 32 bit
(cherry picked from commit 8cf98dda23)
2023-06-16 14:37:53 +02:00
skyace65 a7ba5e9939 Fix incorrect Polygon2D description
(cherry picked from commit 7d9a0f1fe7)
2023-06-16 14:37:53 +02:00
FranckRJ d6e73cabad Replaced "mirror" by "repeat" in doc of ParallaxLayer::motion_mirroring
Also added a warning explaining that despite its name the texture isn't mirrored.

(cherry picked from commit 4e06f611b8)
2023-06-16 14:37:52 +02:00
jess3jane 3fbf460a9f Accurately document StringName comparisons
(cherry picked from commit 2f9121dea6)
2023-06-16 14:37:52 +02:00
Ninni Pipping dce1b9ce14 Fix `StringName` comparison
(cherry picked from commit d2ddd8b228)
2023-06-16 14:37:52 +02:00
Rémi Verschelde 4ba4ed6528
Merge pull request #78270 from RedworkDE/net-version-define-4.0
[4.0] C#: Add version defines to help users deal with breaking changes
2023-06-15 15:53:38 +02:00
RedworkDE 6a4bf0a9ad C#: Add version defines to help users deal with breaking changes 2023-06-15 13:22:08 +02:00
Rémi Verschelde 11df2a8f22
Merge pull request #78137 from akien-mga/4.0-regex-nullptr-free
[4.0] regex: Add nullptr check in `_regex_free`, needed with PCRE2 10.42
2023-06-12 17:07:08 +02:00
Rémi Verschelde 290db4a0b6
regex: Add nullptr check in `_regex_free`, needed with PCRE2 10.42
Fixes #76174.
2023-06-12 15:19:55 +02:00
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