Age | Commit message (Collapse) | Author |
|
Fix overflow and underflow checks for string conversion to int
|
|
Removed errors when List::erase() can't find the value
|
|
Current error checks for to_int and to_int64 do not issue overflow error
messages for INT64_MAX + 1, INT64_MAX + 2, and other numbers close to the
integer limits. Likewise, error checks for hex_to_int, hex_to_int64 and
bin_to_int64 issue false positive error messages for INT64_MIN or INT32_MIN.
This commit fixes these error checks.
|
|
Call CRASH_COND_MSG if key not found in HashMap get(key) functions.
|
|
Make all String integer conversion methods be 64-bit
|
|
|
|
This change makes the behavior consistent when the value
is not found between erasing from an empty list
(no error, just returning false) and erasing from a non-empty list
(previously displaying triggering an error and returning false).
Error message previously triggered:
ERROR: erase: Condition ' !p_I ' is true. returned: false
At: ./core/list.h:157.
|
|
Will allow specific platforms to override it and avoid blocking on the
main/GUI thread.
|
|
Add a separate application focus/in notification
|
|
Expose loading TGA images in Image.
|
|
notification.
|
|
Monitor
Custom monitors can be added/removed/checked using `Performance.add_custom_monitor`/`Performance.remove_custom_monitor`/`Performance.has_custom_monitor`
The value can be viewed in the `Monitor` tab of Debugger.
Text before `/` is used to categorize the custom monitor.
`EditorPerformanceProfiler` class is created to separate logic from `ScriptEditorDebugger`
User can click on the graph of monitors to read the value at that point.
Graph includes intermediate base lines.
|
|
Fix calculation for negative times to ensure Sundays are wrapped around to '0'
instead of '7', making it consistent with the output for positive times.
|
|
Move GI to a deferred pass
|
|
|
|
Fix upscaling image with bilinear interpolation option specified
|
|
Crypto enhancements, AESContext, RSA public key, signature, verification.
|
|
Add static_assert checks where code assumes VARIANT_ARG_MAX == 5
|
|
|
|
Fix error in calculation of 4 nearest points in source image when
resizing image with bilinear interpolation.
|
|
|
|
|
|
|
|
GDScript interface to CryptoCore::AESContext.
Also add CBC mode in CryptoCore::AESContext and expose it.
|
|
|
|
Check pointers against nullptr.
|
|
Unify OS.get_system_time_* and OS.get_unix_time
|
|
|
|
Added more euler rotation orders support.
|
|
Renamed InputMap.get_action_list to InputMap.action_get_events
|
|
|
|
- Fixed floating point issue on the old one.
- Fixed the equation on the get_euler_yxz function.
- Added unit tests.
This work has been kindly sponsored by IMVU.
|
|
Fixes #36372 as Path2D/Path3D's `curve` property no longer uses a Curve
instance as default value, but instead it gets a (unique) default Curve
instance when created through the editor (CreateDialog).
ClassDB gets a sanity check to ensure that we don't do the same mistake
for other properties in the future, but instead use the dedicated
property usage hint.
Fixes #36372.
Fixes #36650.
Supersedes #36644 and #36656.
Co-authored-by: Thakee Nathees <thakeenathees@gmail.com>
Co-authored-by: simpuid <utkarsh.email@yahoo.com>
|
|
Follow-up to #39261.
|
|
Fix for Expression class: string inside an expression can't be single quoted
|
|
Enable zero padding with float specifier for format strings
|
|
Note:
Casting to the C++ classes and calling the methods there would work as well,
but would require including he header files for the specific object types handled
here, which wouldn't be OK either.
|
|
AStar: Make get_closest_point() deterministic for equidistant points
|
|
Closes godotengine/godot-docs#3667.
Supersedes #39405.
|
|
|
|
Each time `r_err_str` is set, we should return a parse error.
Removed redundant `return OK;` which were already handled after the big
`if`/`else if`/`else` for `TK_IDENTIFIER`.
Part of #17372.
|
|
Fixing wrong blending rect methods
|
|
|
|
|
|
Remove unused function get_key_value_ptr_array from hash_map.h and another tiny fix.
|
|
parameter name in function get_key_list.
|
|
Synced with gabomdq/SDL_GameControllerDB@6191f6333bd66644c6a208fabb9fd5dabf0a5d43.
|
|
Godot currently supports zero padding for integers, octals and
hexadecimals when using format strings, but not for floats.
This commit adds support for zero padding for floats, thus ensuring
consistent behavior for all types, and making Godot's format specifiers'
behavior closer to c's `printf()`.
Before: `print("<%07.2f>" % -0.2345)` prints `< -0.23>`.
Now: `print("<%07.2f>" % -0.2345)` prints `<-000.23>`.
`print("<%7.2f>" % -0.2345)` prints `< -0.23>`.
|
|
|
|
And also change String static to_int(const char *) to return int64_t
|