Age | Commit message (Collapse) | Author |
|
SCons: Fix MBEDTLS_CONFIG_FILE string escape
|
|
Fixes #30431, regression from #30277.
|
|
This is actually expected by the function although it was apparently
working in GCC without the terminator, it breaks (at least some) clang
versions.
|
|
Add TCP connect timeout.
|
|
Default timeout is 30 seconds (i.e. after 30 seconds of calling
connect_to_host if the TCP peer is not connected the connection will
error out).
This value can be configured in project settings:
`network/limits/tcp/connect_timeout_seconds`
|
|
Removed a redundant check in PoolVector
|
|
Fixes minor issues found by static analyzer
|
|
The set method of PoolVector<T> performs an indexing check twice.
|
|
|
|
Some small optimizations in core/math/geometry.h.
|
|
By combining all scalar factors we can get rid of a scalar * vector
multiplication and a square root operation, since the resulting formula
only uses the squared length.
|
|
For clarity, assign-to-release idiom for PoolVector::Read/Write
replaced with a function call.
Existing uses replaced (or removed if already handled by scope)
|
|
Re-write mono module editor code in C#
|
|
Enhance game export
|
|
We make sure the resource dir path ends with a trailing '/' for safety reasons, so we must make sure the path we compare it to does so as well.
|
|
Make the build system automatically build the C# Api assemblies to be shipped with the editor.
Make the editor, editor player and debug export templates use Api assemblies built with debug symbols.
Always run MSBuild to build the editor tools and Api assemblies when building Godot.
Several bugs fixed related to assembly hot reloading and restoring state.
Fix StringExtensions internal calls not being registered correctly, resulting in MissingMethodException.
|
|
Expose ResourceImporter to the scripting API
|
|
Show icons for code completion options
|
|
|
|
Fixes #30127
|
|
Use wslay as a WebSocket library
|
|
Both client and server are supported on native builds (as usual).
SSL server is still not supported, but will soon be possible with this
new library.
The API stays the same, we just need to work out potential issues due to
this big library switch.
|
|
|
|
The basic point is as in 2.1 (appending the PCK into the executable), but this implementation also patches a dedicated section in the ELF/PE executable so that it matches the appended data perfectly.
The usage of integer types is simplified in existing code; namely, using plain `int` for small quantities.
|
|
|
|
|
|
|
|
It's the recommended way to set those, and is more portable
(automatically prepends -D for GCC/Clang and /D for MSVC).
We still use CPPFLAGS for some pre-processor flags which are not
defines.
|
|
The fix for EditorNode is a bit hacky, but the handling of the buttons
and features there is hacky too (based on enums that might not reflect
the actual state).
|
|
CryptoCore class to access to base crypto utils.
|
|
Godot core needs MD5/SHA256/AES/Base64 which used to be provided by
separate libraries.
Since we bundle mbedtls in most cases, and we can easily only include
the needed sources if we so desire, let's use it.
To simplify library changes in the future, and better isolate header
dependencies all functions have been wrapped around inside a class in
`core/math/crypto_base.h`.
If the mbedtls module is disabled, we only bundle the needed source
files independently of the `builtin_mbedtls` option.
If the module is enabled, the `builtin_mbedtls` option works as usual.
Also remove some unused headers from StreamPeerMbedTLS which were
causing build issues.
|
|
Add editor screenshot on control - f12.
|
|
Remove thread to prevent memory leak
|
|
|
|
|
|
Fix some editor crashes
|
|
Remove unnecessary code and add some error explanations
|
|
|
|
|
|
Replace ` + "/" + ` with `String::file_add()`
|
|
Otherwise we end up fetching values from the current OS instance
when running doctool, so they would change based on the system or
even simply due to changes to the system clipboard.
|
|
|
|
Applied some of FALLTHROUGH macro usage from #30122
|
|
compiler that this is intended.
|
|
Also, fix crash in PluginScript destructor.
|
|
AStar get_current_point enabled consideration
|
|
Add default values to the editor help, docs, and generated RST
|
|
|
|
Add encrypted files support to ConfigFile
|
|
Fix small memory leak in OS.cpp
|