summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2020-06-30Add a separate application focus/in notification out from Window focus ↵Juan Linietsky
notification.
2020-06-29Added Custom Performance Monitor and feature to read intermediate values of ↵simpu
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.
2020-06-29Fix weekday calculation in get_datetime_from_unix_time for negative timesMaganty Rushyendra
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.
2020-06-26Addition of SDFGI for open world global illuminationJuan Linietsky
Move GI to a deferred pass
2020-06-25Style: Fix copyright headersRémi Verschelde
2020-06-24Merge pull request #39617 from mrushyendra/bilinear_interpolationRémi Verschelde
Fix upscaling image with bilinear interpolation option specified
2020-06-22Merge pull request #39755 from Faless/crypto/encryption_pr_4.0Rémi Verschelde
Crypto enhancements, AESContext, RSA public key, signature, verification.
2020-06-19Merge pull request #39053 from timoschwarzer/static-assert-variant-arg-maxRémi Verschelde
Add static_assert checks where code assumes VARIANT_ARG_MAX == 5
2020-06-19Ensure FileAccessBuffered structs are properly initializedAndy Maloney
2020-06-19Fix upscaling image with bilinear interpolation option specifiedMaganty Rushyendra
Fix error in calculation of 4 nearest points in source image when resizing image with bilinear interpolation.
2020-06-18Implement RSA encryption/decryption.Fabio Alessandrelli
2020-06-18Implement sign and verify in crypto.Fabio Alessandrelli
2020-06-18CryptoKey supports public keys.Fabio Alessandrelli
2020-06-18Add AESContext.Fabio Alessandrelli
GDScript interface to CryptoCore::AESContext. Also add CBC mode in CryptoCore::AESContext and expose it.
2020-06-17Simplify Transform2D get_rotationAaron Franke
2020-06-16Merge pull request #39484 from hbina/use_nullptr_in_macrosRémi Verschelde
Check pointers against nullptr.
2020-06-15Merge pull request #39189 from touilleMan/issue-38925Rémi Verschelde
Unify OS.get_system_time_* and OS.get_unix_time
2020-06-15Check pointers against nullptr.Hanif Bin Ariffin
2020-06-15Merge pull request #39483 from AndreaCatania/eulerRémi Verschelde
Added more euler rotation orders support.
2020-06-15Merge pull request #39439 from Lefl1/rename_get_action_listRémi Verschelde
Renamed InputMap.get_action_list to InputMap.action_get_events
2020-06-15Renamed InputMap.get_action_list to InputMap.get_action_eventsLennard
2020-06-12- Added more euler rotation orders support.Andrea Catania
- 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.
2020-06-12Object: Add usage hint to instantiate Object properties in editorRémi Verschelde
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>
2020-06-11String: Use ABS macro in padding codeRémi Verschelde
Follow-up to #39261.
2020-06-11Merge pull request #39230 from ntfshard/expression_string_singlequoteRémi Verschelde
Fix for Expression class: string inside an expression can't be single quoted
2020-06-11Merge pull request #39261 from mrushyendra/string_paddingRémi Verschelde
Enable zero padding with float specifier for format strings
2020-06-10Fix potential crash when listing leaked objectsPedro J. Estébanez
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.
2020-06-10Merge pull request #39409 from akien-mga/astar-get_closest_point-deterministicRémi Verschelde
AStar: Make get_closest_point() deterministic for equidistant points
2020-06-09AStar: Make get_closest_point() deterministic for equidistant pointsRémi Verschelde
Closes godotengine/godot-docs#3667. Supersedes #39405.
2020-06-08Core: Add hints to run with --verbose when leaking nodes/resources at exitRémi Verschelde
2020-06-08VariantParser: Fix crash on malformed vectorsRémi Verschelde
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.
2020-06-07Merge pull request #39200 from azagaya/fix-blend-2Rémi Verschelde
Fixing wrong blending rect methods
2020-06-06Crypto as a custom instance class.Fabio Alessandrelli
2020-06-06Fix editor crash when mbedtls is disabled.Fabio Alessandrelli
2020-06-05Merge pull request #39316 from Anutrix/remove-hashmap-reduntant-funcRémi Verschelde
Remove unused function get_key_value_ptr_array from hash_map.h and another tiny fix.
2020-06-05Remove unused function get_key_value_ptr_array from hash_map.h and also fix ↵unknown
parameter name in function get_key_list.
2020-06-04Sync controller mappings DB with SDL2 community repoRémi Verschelde
Synced with gabomdq/SDL_GameControllerDB@6191f6333bd66644c6a208fabb9fd5dabf0a5d43.
2020-06-03Enable zero padding with float specifier for format stringsMaganty Rushyendra
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>`.
2020-06-03Fix docs generation for Vector2i/Vector3i/Rect2iYuri Roubinsky
2020-06-02Fix for Expression class: inner string can be single quotedntfs.hard
2020-05-31Print errors when calling MIDI input methods on unsupported platformsHugo Locurcio
This partially addresses #32065.
2020-05-31Fixing wrong blending rect methodsazagaya
Using Color.blend function instead of custom code Fixed clang_format Removed unnecessary help
2020-05-31Remove OS.get_system_time_secs/get_system_time_msecs and change ↵Emmanuel Leblond
OS.get_unix_time return type to double
2020-05-29Merge pull request #39051 from Xrayez/geometry-splitRémi Verschelde
Split `Geometry` singleton into `Geometry2D` and `Geometry3D`
2020-05-28Use translated docs in PropertySelectorRémi Verschelde
And do the dedent and stripping for both translated and non-translated strings for consistency, and so that we don't need to do it at the call site.
2020-05-27Fix unsigned integer bug in LocalVector::eraseMaganty Rushyendra
`erase()` calls `find()` to get the index of the element to remove, if any. https://github.com/godotengine/godot/blob/c2151e18135817c9f926a5a00341016ac77301d4/core/local_vector.h#L77-L81 `find()` returns a signed integer. In particular, it returns -1 if no element is found. Since `erase()` converts this to an unsigned type, the wrong element may be erroneously removed from the vector. Other ways to fix this would involve changing function signatures, so this seemed to be the least disruptive change. Fixes #38884
2020-05-27Split `Geometry` singleton into `Geometry2D` and `Geometry3D`Andrii Doroshenko (Xrayez)
Extra `_2d` suffixes are removed from 2D methods accoringly.
2020-05-25Add static_assert checks where code assumes VARIANT_ARG_MAX == 5Timo Schwarzer
2020-05-25Improve documentation of ProjectSettings::setupRémi Verschelde
Subsequent PRs adding and fixing support for bundled PCKs did not update the documentation /o\
2020-05-25Merge pull request #38887 from AndreaCatania/oahash_impRémi Verschelde
OAHashMap crash fix and copy feature.