summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2019-08-20Merge pull request #31395 from ptrojahn/floatsarenastyRémi Verschelde
Replace is_zero_approx(A.distance_to(B)) with A==B
2019-08-19Replace is_zero_approx(A.distance_to(B)) with A==BPaul Trojahn
Related to #22988 (Fixes the holes in the shape of the first comment)
2019-08-18Merge pull request #31423 from Calinou/improve-node-signal-group-tooltipRémi Verschelde
Improve the scene tree signals/groups tooltip
2019-08-17DirAccessPack: Fix dir_exists and file_exists for res:// pathsRémi Verschelde
Both methods check against containers using relative paths as index, so the `res://` part needs to be stripped. Fixes #26009.
2019-08-17Improve the scene tree signals/groups tooltipHugo Locurcio
The tooltip now displays the number of connections and groups that are assigned to the hovered node.
2019-08-17Replace last occurrences of 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG'Rémi Verschelde
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.
2019-08-17Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in 'core/' and 'editor/'Braden Bodily
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?)
2019-08-15Fix image offset when upscaling with LanczosDavide Busterna
2019-08-15Merge pull request #31321 from julianaito/masterRémi Verschelde
Add __atomic_* operators support for atomic operations
2019-08-14Replace legacy __sync atomic operations with newer __atomic onesCharlène
2019-08-14Merge pull request #31266 from ↵Rémi Verschelde
IAmActuallyCthulhu/pr/remove-redundant-author-comments Remove redundant author doc comments
2019-08-13remove unused self list include from astarRobin Hübner
2019-08-13Merge pull request #31292 from iwek7/fixDebuggerInspectionForNodesRémi Verschelde
Fixes issue with debug inspecing of nodes that are not in the scene tree
2019-08-12Fixes issue when inspecting nodes that are not in the treemiwanczuk
2019-08-12Export: Remove temp files from cache after exportRémi Verschelde
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.
2019-08-12Merge pull request #31228 from aaronfranke/identity-constantsRémi Verschelde
Add Basis constants and format Transform constants
2019-08-12Remove redundant author doc commentsIAmActuallyCthulhu
2019-08-10Remove old doc comments in image_loader headerIAmActuallyCthulhu
2019-08-09Add Basis constants and format Transform constantsAaron Franke
2019-08-08Merge pull request #30893 from profan/fix/err-explainRémi Verschelde
Implement error macros that come with an error message, replacing ERR_EXPLAIN.
2019-08-08implement accompanying error macros that come with an error message, to ↵Robin Hübner
replace ERR_EXPLAIN usage.
2019-08-08Merge pull request #30934 from santouits/debuggRémi Verschelde
Hopefully fix the random crashes with threads
2019-08-08Merge pull request #31195 from bojidar-bg/31143-funcref-call_funcvRémi Verschelde
Add FuncRef.call_funcv
2019-08-08Add FuncRef.call_funcvBojidar Marinov
Closes #31143
2019-08-08Translation: Fix logic bug finding match for regional localesRémi Verschelde
The match test was inverted. The rest of the changes are documentation and cleanup. Fixes #26346 and fixes #31192.
2019-08-08Merge pull request #31047 from Zylann/save_exrRémi Verschelde
Add Image.save_exr()
2019-08-07Add Image.save_exr()Marc Gilleron
2019-08-07Merge pull request #31077 from qarmin/coverity_bugsRémi Verschelde
Change some code proposed by Coverity and Cppcheck
2019-08-07Add some code changes/fixes proposed by Coverity and Clang Tidyqarmin
2019-08-06Merge pull request #30998 from Calinou/cap-warnings-errors-per-secondRémi Verschelde
Cap the number of warnings/errors per second rather than per frame
2019-08-05Fixed EOF flag not resetting on seek backTGRCDev
2019-08-04[Core] [Mono] Optimize Wrap functionsAaron Franke
Use is_zero_approx(), avoid a negative, and also rename "rng" to "range".
2019-07-31Cap the number of warnings/errors per second rather than per frameHugo Locurcio
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.
2019-07-30Hopefully fix the random crashes with threadssantouits
2019-07-28[Mono] Deprecate Set methodsAaron Franke
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.
2019-07-25DirAccess: Drop compat get_next(bool *is_dir) which was hiddenRémi Verschelde
Fixes this warning: ``` ./core/os/dir_access.h:74:17: warning: 'virtual String DirAccess::get_next(bool*)' was hidden [-Woverloaded-virtual] ``` Part of #30790.
2019-07-25Merge pull request #30776 from akien-mga/editor-configurable-float-stepRémi Verschelde
Inspector: Make default float step configurable
2019-07-25Inspector: Fix PROPERTY_HINT_SPRITE_FRAME not behaving as RANGERémi Verschelde
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.
2019-07-24Merge pull request #25090 from Chaosus/string_countRémi Verschelde
Added String.count method
2019-07-23Update some dead links in the codebaseMichael Alexsander Silva Dias
2019-07-23Added count method to StringChaosus
2019-07-23Inspector: Make default float step configurableRémi Verschelde
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.
2019-07-23Merge pull request #30716 from qarmin/fixed_static_analiser_codeRémi Verschelde
Fix some code found by Coverity Scan and PVS Studio
2019-07-23Fix some code found by Coverity Scan and PVS Studioqarmin
2019-07-22Revert "Expose "meta" to the Inspector"Rémi Verschelde
2019-07-22Make it a build error if a GetTypeInfo specialization cannot be resolvedIgnacio Etcheverry
Previously it was a runtime error message.
2019-07-20Merge pull request #30693 from Chaosus/lerp_angleRémi Verschelde
Added lerp_angle built-in function
2019-07-20Merge pull request #30576 from qarmin/lgtm_coverageRémi Verschelde
Changed some code reported by LGTM and Coverity
2019-07-20Added lerp_angles built-in functionChaosus
Co-authored-by: Xrayez <https://github.com/Xrayez> Co-authored-by: DleanJeans <https://github.com/DleanJeans>
2019-07-20Changed some code showed in LGTM and Coverageqarmin