Age | Commit message (Collapse) | Author |
|
Implement error macros that come with an error message, replacing ERR_EXPLAIN.
|
|
replace ERR_EXPLAIN usage.
|
|
Hopefully fix the random crashes with threads
|
|
Add FuncRef.call_funcv
|
|
Closes #31143
|
|
The match test was inverted. The rest of the changes
are documentation and cleanup.
Fixes #26346 and fixes #31192.
|
|
Add Image.save_exr()
|
|
|
|
Change some code proposed by Coverity and Cppcheck
|
|
|
|
Cap the number of warnings/errors per second rather than per frame
|
|
|
|
Use is_zero_approx(), avoid a negative, and also rename "rng" to "range".
|
|
This reproduces the behavior used for printing when using the remote
debugger. The default limit is 100 errors and 100 warnings per second,
which makes it possible to display much more GDScript warnings
before overflowing.
This also adds a "Too many warnings" message, so that warnings
don't look like errors when overflowing anymore.
This closes #21896.
|
|
|
|
These silently fail, so they should be removed. I accidentally added most of these last year, trying to make everything else consistent with Quat, sorry!
Also, a few tiny nitpicking changes are included, like whitespace and misspellings.
|
|
Fixes this warning:
```
./core/os/dir_access.h:74:17: warning: 'virtual String DirAccess::get_next(bool*)' was hidden [-Woverloaded-virtual]
```
Part of #30790.
|
|
Inspector: Make default float step configurable
|
|
This was a regression in 3.1 and later from the new inspector, where
PROPERTY_HINT_SPRITE_FRAME was not fully re-implemented. It's meant to
be a normal PROPERTY_HINT_RANGE which also automatically increments its
value when keyed in the animation player.
To avoid code duplication, I made the frames properties use the actual
PROPERTY_HINT_RANGE and introduced a PROPERTY_USAGE_KEYING_INCREMENTS
usage flag instead.
|
|
Added String.count method
|
|
|
|
|
|
Also allow lifting the decimal step formatting with a hint range step
of 0. A new `range_step_decimals()` is added for this to avoid breaking
compatibility on the general purpose `step_decimals()` (which still
returns 0 for an input step of 0).
Supersedes #25470.
Partial fix for #18251.
|
|
Fix some code found by Coverity Scan and PVS Studio
|
|
|
|
|
|
Previously it was a runtime error message.
|
|
Added lerp_angle built-in function
|
|
Changed some code reported by LGTM and Coverity
|
|
Co-authored-by: Xrayez <https://github.com/Xrayez>
Co-authored-by: DleanJeans <https://github.com/DleanJeans>
|
|
|
|
MultiNodeEdit now only shows properties with the exact same PropertyInfo data
|
|
Add integer posmod and rename default arg names
|
|
Expose "meta" to the Inspector
|
|
"posmod" is the integer version of "fposmod". We do not need a "mod" because of the % operator.
I changed the default arg names from "x" and "y" to "a" and "b" because they are not coordinates. I also changed pow's arg names to "base" and "exp". Also, I reorganized the code in the VS built-in funcs switch statement.
|
|
Add access to interpolation fraction for fixed timestep interpolation
|
|
when doing Vector3 slerp it is not necessary to have it normalized.
|
|
Addresses #30068
This is a prerequisite for allowing proper support for fixed timestep interpolation, exposing the interpolation fraction to the engine, modules and gdscript.
The interpolation fraction is the fraction through the current physics tick at the time of the current frame.
|
|
Pass by reference to const
|
|
|
|
Method Binding Free Function Support
|
|
first parameter) to method bindings
|
|
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.
|