2fea5c0a66
Style: Apply fixes from clang-format 18.1.3
2025-04-25 16:11:26 +02:00
9a8b5848d8
Style: Apply fixes from black and codespell
2025-04-25 16:09:46 +02:00
6138b72529
miniupnpc: Disable socket timeout on Windows, matching upstream
...
Fixes #88471 .
(cherry picked from commit f695de7c68 )
2025-04-25 16:09:46 +02:00
7d966c9f5e
Fix warning in MSVC
...
(cherry picked from commit fe8c217b7c )
2024-03-10 21:02:10 +01:00
1088dd5c33
Bump version to 4.0.5-rc
...
We don't necessarily plan a 4.0.5 release at this stage, but might still do
some cherrypicks for critical issues.
2023-10-25 14:27:02 +02:00
33618f25fd
Fix SVG font rendering after ThorVG update.
...
(cherry picked from commit 35b0354577 )
2023-07-20 13:38:12 +02:00
a3292d6891
C#: Always decode dotnet output as UTF-8
...
(cherry picked from commit e0efa3c357 )
2023-06-29 16:03:22 +02:00
f05e3712d6
C#: Synchronize adding ScriptInstances
...
(cherry picked from commit 8fdebb85ef )
2023-06-29 16:03:22 +02:00
5fbf1c230f
Reinstate NoiseTexture2D icon
...
(cherry picked from commit ac8a9df2bf )
2023-06-29 16:03:22 +02:00
b63db1e6fc
Fix extraction of chained tr() calls
...
(cherry picked from commit 3e88c4cd5c )
2023-06-29 16:03:22 +02:00
5366970863
C#: Fix SendToScriptDebugger crash
...
(cherry picked from commit fa14b6d212 )
2023-06-29 16:03:21 +02:00
03ce3f5027
C#: Automatically generate version defines
2023-06-28 21:55:24 +02:00
09dc11bff5
Add missing script_type nullptr check
...
Co-authored-by: Fabio Alessandrelli <fabio.alessandrelli@gmail.com >
(cherry picked from commit 1236302388 )
2023-06-16 20:55:24 +02:00
506734cae1
Link the right build property to REAL_T_IS_DOUBLE
...
(cherry picked from commit 178cd046bb )
2023-06-16 20:55:23 +02:00
156862bddb
Fix CSGPolygon3D in path mode disappearing at runtime.
...
(cherry picked from commit da7e54ec17 )
2023-06-16 20:55:23 +02:00
2054141848
GDScript: Fix validate_call_arg() for unresolved datatype
...
(cherry picked from commit 7da3110e6b )
2023-06-16 20:55:23 +02:00
72d561c89f
Fix C# glue generation for enums with negative values
...
(cherry picked from commit 45659ce2d9 )
2023-06-16 20:55:23 +02:00
d00eb58381
GDScript: Fix warning ignoring for member variables
...
(cherry picked from commit c2fbb40e9a )
2023-06-16 20:55:20 +02:00
0e697e102b
Add more info on the nature of NAN
...
(cherry picked from commit 5e3c625e24 )
2023-06-16 15:12:59 +02:00
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
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
b118d89eed
Overhaul the top sections of the class reference (Core classes)
...
(cherry picked from commit 04562662d3 )
2023-06-16 15:12:10 +02:00
2792b520a7
Overhaul the top sections of the class reference (GUI classes)
...
(cherry picked from commit 151a4ba6a5 )
2023-06-16 14:56:34 +02:00
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
6a4bf0a9ad
C#: Add version defines to help users deal with breaking changes
2023-06-15 13:22:08 +02:00
290db4a0b6
regex: Add nullptr check in _regex_free, needed with PCRE2 10.42
...
Fixes #76174 .
2023-06-12 15:19:55 +02:00
74ac827ac7
[4.0] GDScript: Treat BitField<Enum> as int (not Enum)
2023-05-28 18:15:51 +03:00
97631f8aa9
Bump version to 4.0.4-rc
...
Error: Godot not found.
2023-05-19 09:39:54 +02:00
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
7f0d8bcade
Docs: Point to @GDScript in GDscript (script impl)
...
(cherry picked from commit ad21fb0f92 )
2023-05-18 19:22:23 +02:00
f93a4287cf
Enable shadow warnings and fix raised errors
...
(cherry picked from commit 71ee65dc57 )
2023-05-12 13:56:48 +02:00
09c5a8fe49
adjusting step size for fastnoise frequency hint
...
(cherry picked from commit 2b053e4e4c )
2023-05-12 12:31:59 +02:00
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
b2364048d2
LSP: don't send empty completion command
...
(cherry picked from commit 5715d3eb59 )
2023-05-12 12:31:21 +02:00
35fa05fa51
Document caveats related to exported project binary resource conversion
...
(cherry picked from commit febc674f48 )
2023-05-12 12:31:21 +02:00
dcca6485d0
gltf: Permit sparse accessors without a bufferView.
...
(cherry picked from commit 72d131899b )
2023-05-12 12:31:21 +02:00
3a90fa677b
Fix incorrect HTC action map entries
...
(cherry picked from commit e15358dc67 )
2023-05-12 12:07:02 +02:00
4b63ce83d2
Fixed various typos across the docs
...
(cherry picked from commit 8106d33d0f )
2023-05-12 12:07:02 +02:00
9d257f10c0
Use DXT1 when compressing PNGs with RGB format
...
This results in much smaller file sizes with the same quality
(cherry picked from commit f84c6df8d1 )
2023-05-12 12:07:00 +02:00
268b60ddd6
Fix infinite loop in Build2DFaces::_find_edge_intersections
...
(cherry picked from commit 1ac2c537da )
2023-05-12 12:06:59 +02:00
0c312c7a08
Fix CSG edge case causing intersection line to hit on common edge of 2 triangles.
...
The previous implementation assumed that the intersection entered or exited a
shape when it hit right on the common edge of 2 triangles. However, there is
also a case where it just "skirts" the other shape on the outside.
To fix this, we added code to check the intersection distance and if the
normals of the faces are pointed in the same direction as the intersection or
not (e.g. inner product > 0). This handles the case where the intersection
line hits the common edge of 2 triangles and skirts the other shape on the
outside.
Extended code to cover a third case.
Fixes #58637 .
Co-authored-by: OldBelge <StevenGeens@users.noreply.github.com >
(cherry picked from commit eaa84bc682 )
2023-05-12 12:06:59 +02:00
21bb5b9c0e
GDScript: Don't fail when freed object is return
...
This is check is a bit too eager. The user should be able to handle the
return value even if it's a freed object.
(cherry picked from commit abbdf80643 )
2023-04-27 08:49:29 +02:00
aff0340486
GDScript: Fix wrong increment for disassembly of lambda
...
(cherry picked from commit 5b49382d38 )
2023-04-27 08:49:29 +02:00
ee9a268fd7
GDScript: Use default path in test generator if not provided
...
Since it's almost always used with the same path, assume it is running
from the Godot source root.
(cherry picked from commit 221deb1cc1 )
2023-04-27 08:41:36 +02:00
0132c29953
Fix wrong file on function call error
...
(cherry picked from commit 464a299d2e )
2023-04-26 14:50:59 +02:00
e03ee06d74
Fix GDScript LSP variable rename
...
(cherry picked from commit 10fe6f14bb )
2023-04-26 14:32:22 +02:00
4d38529284
Fix for mixed tabs and spaces in gdscript
...
(cherry picked from commit fecbc12d17 )
2023-04-26 14:29:27 +02:00
f1505fe98b
Fix NavigationMesh baking for HeightMapShape
...
Fixes NavigationMesh baking for HeightMapShape.
(cherry picked from commit 71c453a426 )
2023-04-26 14:14:06 +02:00
769daf79e2
Fix multi-line string highlighting with single quotes.
...
(cherry picked from commit bdb7045e2c )
2023-04-26 14:14:05 +02:00
e6478f5be3
Fix typo when parsing LSP function parameters
...
(cherry picked from commit 879791e305 )
2023-04-24 17:08:56 +02:00