summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2020-05-10Renamed plane's d to distanceMarcus Elg
2020-05-09Merge pull request #38481 from RandomShaper/improve_yieldRémi Verschelde
Fix object leaks caused by unfulfilled yields
2020-05-09Merge pull request #38357 from ThakeeNathees/dict2inst-crash-fixRémi Verschelde
fix: dict2inst crash when constructor has arguments
2020-05-09Merge pull request #37598 from ThakeeNathees/GDScript-type-resolve-bug-fixRémi Verschelde
GDScript class var type resolve bug fixed
2020-05-09Merge pull request #37033 from ThakeeNathees/python-like-str-escapeRémi Verschelde
python like string escape implemented
2020-05-09Merge pull request #38412 from ThakeeNathees/static-func-var-accessRémi Verschelde
parser error for static func access non-static variables
2020-05-09C#: Remove StringExtensions.Empty() functionIgnacio Etcheverry
Causes issues with some editors as it's confused with `string.Empty`. Should use `string.IsNullOrEmpty(str)` instead.
2020-05-09Merge pull request #38596 from neikeq/msbuild-restoreIgnacio Roldán Etcheverry
Mono: Use msbuild instead of nuget.exe for restoring
2020-05-09Mono: Use msbuild instead of nuget.exe for restoringIgnacio Etcheverry
- Make GodotTools output directly to the SCons output directory. - Removed xbuild_fallback from the build system.
2020-05-09Mono: Fix hot-reloading of nested classesIgnacio Etcheverry
2020-05-07Merge pull request #36379 from aaronfranke/color-constructorsRémi Verschelde
Add a Color constructor for Color with alpha
2020-05-05Fix object leaks caused by unfulfilled yieldsPedro J. Estébanez
Now the stack saved in a `GDScriptFunctionState` is cleared as soon as the `yield()` operation is known not to be resumed because either the script, the instance or both are deleted. This clears problems like leaked objects by eliminating cases of circular references between `GDScriptFunctionState`s preventing them and the objects they refer to in their saved stacks from being released. As an example, this makes using `SceneTreeTimer` safer. Furthermore, with this change it's now possible to print early warnings about `yield()`s to released script/instances, as now we know they won't be successfully resumed as the condition for that happens. However, this PR doesn't add such messages, to keep the observed behavior the same for the time being. Also, now a backup of the function name in `GDScriptFunctionState` is used, since the script may not be valid by the time the function name is needed for the resume-after-yield error messages.
2020-05-05Merge pull request #37293 from Janglee123/ctrl-click-improvementsRémi Verschelde
Improved go-to definition (Ctrl + Click)
2020-05-05Improved go-to definition (Ctrl + Click)janglee
Co-Authored-By: Bojidar Marinov <bojidar.marinov.bg@gmail.com>
2020-05-04Merge pull request #37717 from qarmin/world_fixRémi Verschelde
Change non-existent World to World3D
2020-05-03Merge pull request #32534 from Xrayez/fix-dict2inst-initRémi Verschelde
Make `dict2inst` to work with arbitrary `_init` parameters
2020-05-03Merge pull request #38275 from DSteve595/indented-block-lineRémi Verschelde
Mark "Indented block expected" error after function declaration
2020-05-03parser error for static func access non-static variablesThakee Nathees
Fix: #38408
2020-05-02Mention offending function name in "Indented block expected" errorSteven Schoen
2020-05-03Remove some C++11 polyfill defines that are no longer neededHugo Locurcio
2020-05-01Merge pull request #38105 from AndreaCatania/AndreaCatania-patch-2Fabio Alessandrelli
Removed noisy ERR check from Multiplayer API.
2020-04-30Make `dict2inst` to work with arbitrary `_init` parametersAndrii Doroshenko (Xrayez)
This is achieved by skipping initializer call while creating an instance of a GDScript. This is implemented by passing -1 as an argument count to `_new` and interpreting any value below 0 to mean that the initializer should not be called during instantiation, because internal members of an instance are going to be overridden afterwards.
2020-04-30tinyexr: Enable C++11 threaded loadingRémi Verschelde
2020-04-30fix: dict2inst crash when constructor has argumentsThakee Nathees
2020-04-30Merge pull request #38328 from Nannaquin/masterIgnacio Roldán Etcheverry
Fix growMargin() not returning modified Rect2/Rect2i in Mono
2020-04-29Color with alpha constructorAaron Franke
2020-04-29Merge pull request #38288 from RandomShaper/imvu/fix_not_freed_gdsfuncstateRémi Verschelde
Fix leaked objects when game ends with yields in progress
2020-04-29Fix growMargin() not returning modified Rect2/Rect2iNannaquin
2020-04-29Merge pull request #38279 from BigRed-118/assert_mark_as_safe_regression_bugRémi Verschelde
Fix for marking assert lines as safe bug
2020-04-29Fix leaked objects when game ends with yields in progressPedro J. Estébanez
2020-04-29[Core] Rename linear_interpolate to lerpAaron Franke
2020-04-29[Mono] Rename LinearInterpolate to LerpAaron Franke
2020-04-29Merge pull request #36960 from pycbouh/docs-improve-shortcutsRémi Verschelde
Improve shortcut formatting in docs
2020-04-28Merge pull request #37314 from nekomatata/bullet-fix-dampingRémi Verschelde
Better damping implementation for Bullet rigid bodies
2020-04-28Rename InputFilter back to InputRémi Verschelde
It changed name as part of the DisplayServer and input refactoring in #37317, with the rationale that input no longer goes through the main loop, so the previous Input singleton now only does filtering. But the gains in consistency are quite limited in the renaming, and it breaks compatibility for all scripts and tutorials that access the Input singleton via the scripting language. A temporary option was suggested to keep the scripting singleton named `Input` even if its type is `InputFilter`, but that adds inconsistency and breaks C#. Fixes godotengine/godot-proposals#639. Fixes #37319. Fixes #37690.
2020-04-28Merge pull request #37163 from madmiraal/fix-csg-normalRémi Verschelde
Fix CSG vertex normal calculation.
2020-04-27Fix for marking assert lines as safe bugTom Evans
Calling _reduce_node_type from GDScriptParser::_parse_block for assert was using a current class with a scope that didn't include all functions. Now calling in GDScriptParser::_check_block_types uses the right class type. We also now check the assert node message. The assert line was added to the set_errors associated with assert, since before the error would be reported on the next line
2020-04-27Merge pull request #38121 from JFonS/add_unwrap_cachingRémi Verschelde
Add caching the lightmap unwrapping on import
2020-04-27Better damping implementation for Bullet rigid bodiesPouleyKetchoupp
Apply old method for linear & angular damping in Bullet, in order to make it easier to tweak and consistent with Godot Physics.
2020-04-27Merge pull request #36927 from ThakeeNathees/export-var-type-reduce-implimentedRémi Verschelde
Fix: export var type reduce() implemented
2020-04-27Merge pull request #38253 from nekomatata/bullet-update-2.90Rémi Verschelde
Update to bullet master (2.90)
2020-04-27export var type reduce() implementedThakee Nathees
2020-04-27Update to bullet master (2.90)PouleyKetchoupp
2020-04-25Merge pull request #38150 from neikeq/fix-load-hook-for-reused-assemblyRémi Verschelde
Mono/C#: Fix load hook not called for some assemblies on domain reload
2020-04-24Merge pull request #37172 from theoway/autoCompletionBugRémi Verschelde
Fixed the auto-completion bug in gdscript_editor
2020-04-24Merge pull request #37265 from BigRed-118/mark_assert_safeRémi Verschelde
Mark assert lines as safe in gdscript
2020-04-24Merge pull request #37232 from ThakeeNathees/load()-autocomplete-imlpementedRémi Verschelde
autocomplete for load() function implemented
2020-04-23Mono/C#: Fix load hook not called for some assemblies on domain reloadIgnacio Etcheverry
2020-04-23C#: Fix always saving copy of csproj even with no changesIgnacio Etcheverry
This was a regression from 93d7ec88360a467a3041c0aa08390daa1f75892b (#38110). Mono's old implementation of Microsoft.Build hardcodes HasUnsavedChanges to always return true. This workaround can be reverted once we switch to official Microsoft.Build.
2020-04-23Merge pull request #38123 from neikeq/fix-hotreload-twiceRémi Verschelde
Mono/C#: Fix assemblies being reloaded a second time unnecesarily