Age | Commit message (Collapse) | Author |
|
The last remaining ERR_EXPLAIN call is in FreeType code and makes sense as is
(conditionally defines the error message).
There are a few ERR_EXPLAINC calls for C-strings where String is not included
which can stay as is to avoid adding additional _MSGC macros just for that.
Part of #31244.
|
|
Condensed some if and ERR statements. Added dots to end of error messages
Couldn't figure out EXPLAINC. These files gave me trouble: core/error_macros.h, core/io/file_access_buffered_fa.h (where is it?),
core/os/memory.cpp,
drivers/png/png_driver_common.cpp,
drivers/xaudio2/audio_driver_xaudio2.cpp (where is it?)
|
|
|
|
Add __atomic_* operators support for atomic operations
|
|
|
|
IAmActuallyCthulhu/pr/remove-redundant-author-comments
Remove redundant author doc comments
|
|
|
|
Fixes issue with debug inspecing of nodes that are not in the scene tree
|
|
|
|
So far we left most temporary files lying around, so this attempts to
fix that.
I added a helper method to DirAccess to factor out the boilerplate of
creating a DirAccess, checking if the file exists, remove it or print
an error on failure.
|
|
Add Basis constants and format Transform constants
|
|
|
|
|
|
|
|
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
|