summaryrefslogtreecommitdiffstats
path: root/core
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #31423 from Calinou/improve-node-signal-group-tooltipRémi Verschelde2019-08-182-6/+7
|\ | | | | Improve the scene tree signals/groups tooltip
| * Improve the scene tree signals/groups tooltipHugo Locurcio2019-08-172-6/+7
| | | | | | | | | | The tooltip now displays the number of connections and groups that are assigned to the hovered node.
* | DirAccessPack: Fix dir_exists and file_exists for res:// pathsRémi Verschelde2019-08-171-1/+5
| | | | | | | | | | | | | | Both methods check against containers using relative paths as index, so the `res://` part needs to be stripped. Fixes #26009.
* | Replace last occurrences of 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG'Rémi Verschelde2019-08-171-4/+1
| | | | | | | | | | | | | | | | | | | | 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.
* | Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in 'core/' and 'editor/'Braden Bodily2019-08-1741-547/+220
|/ | | | | | | | | 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?)
* Fix image offset when upscaling with LanczosDavide Busterna2019-08-151-12/+9
|
* Merge pull request #31321 from julianaito/masterRémi Verschelde2019-08-151-8/+8
|\ | | | | Add __atomic_* operators support for atomic operations
| * Replace legacy __sync atomic operations with newer __atomic onesCharlène2019-08-141-8/+8
| |
* | Merge pull request #31266 from ↵Rémi Verschelde2019-08-1435-135/+2
|\ \ | | | | | | | | | | | | IAmActuallyCthulhu/pr/remove-redundant-author-comments Remove redundant author doc comments
| * | Remove redundant author doc commentsIAmActuallyCthulhu2019-08-1235-135/+2
| | |
* | | remove unused self list include from astarRobin Hübner2019-08-131-1/+0
| | |
* | | Merge pull request #31292 from iwek7/fixDebuggerInspectionForNodesRémi Verschelde2019-08-131-2/+12
|\ \ \ | | | | | | | | Fixes issue with debug inspecing of nodes that are not in the scene tree
| * | | Fixes issue when inspecting nodes that are not in the treemiwanczuk2019-08-121-2/+12
| | | |
* | | | Export: Remove temp files from cache after exportRémi Verschelde2019-08-121-0/+12
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Merge pull request #31228 from aaronfranke/identity-constantsRémi Verschelde2019-08-123-9/+23
|\ \ \ | |_|/ |/| | Add Basis constants and format Transform constants
| * | Add Basis constants and format Transform constantsAaron Franke2019-08-093-9/+23
| |/
* / Remove old doc comments in image_loader headerIAmActuallyCthulhu2019-08-101-12/+0
|/
* Merge pull request #30893 from profan/fix/err-explainRémi Verschelde2019-08-081-0/+137
|\ | | | | Implement error macros that come with an error message, replacing ERR_EXPLAIN.
| * implement accompanying error macros that come with an error message, to ↵Robin Hübner2019-08-081-0/+137
| | | | | | | | replace ERR_EXPLAIN usage.
* | Merge pull request #30934 from santouits/debuggRémi Verschelde2019-08-081-1/+6
|\ \ | | | | | | Hopefully fix the random crashes with threads
| * | Hopefully fix the random crashes with threadssantouits2019-07-301-1/+6
| |/
* | Merge pull request #31195 from bojidar-bg/31143-funcref-call_funcvRémi Verschelde2019-08-082-0/+14
|\ \ | | | | | | Add FuncRef.call_funcv
| * | Add FuncRef.call_funcvBojidar Marinov2019-08-082-0/+14
| | | | | | | | | | | | Closes #31143
* | | Translation: Fix logic bug finding match for regional localesRémi Verschelde2019-08-081-32/+32
| | | | | | | | | | | | | | | | | | | | | The match test was inverted. The rest of the changes are documentation and cleanup. Fixes #26346 and fixes #31192.
* | | Merge pull request #31047 from Zylann/save_exrRémi Verschelde2019-08-082-0/+14
|\ \ \ | | | | | | | | Add Image.save_exr()
| * | | Add Image.save_exr()Marc Gilleron2019-08-072-0/+14
| | | |
* | | | Merge pull request #31077 from qarmin/coverity_bugsRémi Verschelde2019-08-073-4/+6
|\ \ \ \ | | | | | | | | | | Change some code proposed by Coverity and Cppcheck
| * | | | Add some code changes/fixes proposed by Coverity and Clang Tidyqarmin2019-08-073-4/+6
| |/ / /
* | | | Merge pull request #30998 from Calinou/cap-warnings-errors-per-secondRémi Verschelde2019-08-062-8/+55
|\ \ \ \ | | | | | | | | | | Cap the number of warnings/errors per second rather than per frame
| * | | | Cap the number of warnings/errors per second rather than per frameHugo Locurcio2019-07-312-8/+55
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | / / Fixed EOF flag not resetting on seek backTGRCDev2019-08-051-1/+2
| |/ / |/| |
* | | [Core] [Mono] Optimize Wrap functionsAaron Franke2019-08-041-6/+6
|/ / | | | | | | Use is_zero_approx(), avoid a negative, and also rename "rng" to "range".
* / [Mono] Deprecate Set methodsAaron Franke2019-07-281-1/+1
|/ | | | | | 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.
* DirAccess: Drop compat get_next(bool *is_dir) which was hiddenRémi Verschelde2019-07-252-9/+0
| | | | | | | | | Fixes this warning: ``` ./core/os/dir_access.h:74:17: warning: 'virtual String DirAccess::get_next(bool*)' was hidden [-Woverloaded-virtual] ``` Part of #30790.
* Merge pull request #30776 from akien-mga/editor-configurable-float-stepRémi Verschelde2019-07-252-0/+10
|\ | | | | Inspector: Make default float step configurable
| * Inspector: Make default float step configurableRémi Verschelde2019-07-232-0/+10
| | | | | | | | | | | | | | | | | | | | 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.
* | Inspector: Fix PROPERTY_HINT_SPRITE_FRAME not behaving as RANGERémi Verschelde2019-07-251-2/+4
| | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge pull request #25090 from Chaosus/string_countRémi Verschelde2019-07-243-0/+54
|\ \ | | | | | | Added String.count method
| * | Added count method to StringChaosus2019-07-233-0/+54
| | |
* | | Update some dead links in the codebaseMichael Alexsander Silva Dias2019-07-233-4/+4
| |/ |/|
* | Merge pull request #30716 from qarmin/fixed_static_analiser_codeRémi Verschelde2019-07-234-6/+5
|\ \ | |/ |/| Fix some code found by Coverity Scan and PVS Studio
| * Fix some code found by Coverity Scan and PVS Studioqarmin2019-07-234-6/+5
| |
* | Revert "Expose "meta" to the Inspector"Rémi Verschelde2019-07-221-6/+3
| |
* | Make it a build error if a GetTypeInfo specialization cannot be resolvedIgnacio Etcheverry2019-07-221-12/+7
| | | | | | | | Previously it was a runtime error message.
* | Merge pull request #30693 from Chaosus/lerp_angleRémi Verschelde2019-07-203-0/+21
|\ \ | |/ |/| Added lerp_angle built-in function
| * Added lerp_angles built-in functionChaosus2019-07-203-0/+21
| | | | | | | | | | Co-authored-by: Xrayez <https://github.com/Xrayez> Co-authored-by: DleanJeans <https://github.com/DleanJeans>
* | Merge pull request #30576 from qarmin/lgtm_coverageRémi Verschelde2019-07-2014-54/+38
|\ \ | |/ |/| Changed some code reported by LGTM and Coverity
| * Changed some code showed in LGTM and Coverageqarmin2019-07-2014-54/+38
| |
* | Merge pull request #30354 from LikeLakers2/multinodeedit-same-type-propertiesRémi Verschelde2019-07-191-0/+9
|\ \ | | | | | | MultiNodeEdit now only shows properties with the exact same PropertyInfo data
| * | MultiNodeEdit now only shows properties with the exact same PropertyInfo dataLikeLakers22019-07-051-0/+9
| | |