summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2020-05-11Merge pull request #38638 from pepegadeveloper123/mono_inherited_scene_bugRémi Verschelde
Fix inherited C# scene not inheriting parent's fields
2020-05-11Merge pull request #38650 from neikeq/dotnet-cli-supportRémi Verschelde
C#: Support for building with the dotnet CLI
2020-05-11C#: Support for building with the dotnet CLIIgnacio Etcheverry
By adding a reference to the 'Microsoft.NETFramework.ReferenceAssemblies' nuget package, we can build projects targeting .NET Framework with the dotnet CLI. By referencing this package we also don't need to install Mono on Linux/macOS or .NET Framework on Windows, as the assemblies are taken from the package.
2020-05-10Implement CSharpScript::inherits_scriptIgnacio Etcheverry
2020-05-11Inherited C# scene not inheriting parent's fieldspepegadeveloper123
When a child scene inherits a parent scene with a C# root node, the parent scene's export variables appear to assume values set in the parent scene, in the child scene's Inspector. However, when the child scene is played, the parent scene's export variables assume default values. When a node is created, it inherits its parent C# script's fields from the map CSharpScriptInstance::script->member_info. However this map was not initialized outside the editor, and this commit ensured it is. This fixes issues #36480 and #37581.
2020-05-10Revert "Renamed plane's d to distance"Rémi Verschelde
This reverts commit ec7b481170dcd6a7b4cf0e6c1221e204ff7945f3. This was wrong, `d` is not a distance but the `d` constant in the parametric equation `ax + by + cz = d` describing the plane.
2020-05-10Merge pull request #38621 from akien-mga/stylé-comme-jamaisRémi Verschelde
Style: clang-format: Disable if statements and case labels on single line
2020-05-10Merge pull request #38600 from neikeq/noIgnacio Roldán Etcheverry
Switch to nuget Microsoft.Build and rewrite GodotTools messasing protocol
2020-05-10Style: clang-format: Disable AllowShortCaseLabelsOnASingleLineRémi Verschelde
Part of #33027.
2020-05-10Style: clang-format: Disable AllowShortIfStatementsOnASingleLineRémi Verschelde
Part of #33027, also discussed in #29848. Enforcing the use of brackets even on single line statements would be preferred, but `clang-format` doesn't have this functionality yet.
2020-05-10Merge pull request #37160 from ↵Rémi Verschelde
ThakeeNathees/saveing-cyclic-inheritance-crash-fix Fix: saving gdscript with cyclic inheritance crash the editor
2020-05-10Merge pull request #37020 from aaronfranke/rangeRémi Verschelde
Allow using integer vectors for iteration and make range() use them
2020-05-10Merge pull request #36937 from ThakeeNathees/statement-end-error-message-fixRémi Verschelde
Fix: more clearer unexpected statement end error messages
2020-05-10Renamed plane's d to distanceMarcus Elg
2020-05-10fixed: saving gdscript with cyclic inheritance crash the editorThakee Nathees
Fix: #9609
2020-05-10more clearer unexpected statement end error messagesThakee Nathees
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-09C#: Rewrite GodotTools messaging protocolIgnacio Etcheverry
2020-05-09C#: Use Sdks in GodotTools csprojs and switch to nuget Microsoft.BuildIgnacio Etcheverry
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#/Mono: Check assembly version when loadingIgnacio Etcheverry
Not sure if we should check revision too, but this is good enough for what we want. This will be needed to load the correct Microsoft.Build when we switch to the nuget version.
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-09Change get_completion_identifier_is_function to return a boolAaron Franke
A minor bugfix
2020-05-09Allow using integer vectors for iteration and make range() use themAaron Franke
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