summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2020-01-11Remove completion triggers for ',' and '(' which may conflict with signature ↵geequlim
helper
2020-01-11Allow enable/disable threading for LSP servergeequlim
Restart LSP server when configurations change without restart the editor
2020-01-11Merge pull request #34225 from madmiraal/fix-34210Rémi Verschelde
Add check for zero length motion at beginning of each sweep test loop in SpaceBullet::test_body_motion
2020-01-11Merge pull request #35003 from vnen/gdscript-forbid-script-as-memberRémi Verschelde
GDScript: Forbid using "script" as member name
2020-01-10GDScript: Forbid using "script" as member nameGeorge Marques
Avoids the user breaking things by creating a "script" variable with something else, effectively overwriting the "script" slot on Object.
2020-01-10Use cycle and loop hint flags in FBX.K. S. Ernest (iFire) Lee
2020-01-10Merge pull request #34962 from KoBeWi/randocsRémi Verschelde
Complete documentation of various classes
2020-01-10Complete documentation of various classesTomasz Chabora
2020-01-10Expose instance_from_id to GDNativetoasteater
This function is available to GDScript but not to GDNative. When exposed, it allows building more ergonomic safe abstractions over the GDNative APIs, and covers the use cases of the original PR. Close #28478. Supersedes #28791. Co-authored-by: Markus Ewald <cygon@nuclex.org>
2020-01-10Merge pull request #34978 from GodotExplorer/lsp-fix-bracket-completionRémi Verschelde
LSP: Fix bracket completion for functions with one argument
2020-01-10Merge pull request #34958 from vnen/gdscript-is-check-valid-instanceRémi Verschelde
GDScript: Validate object instance on `is` operation
2020-01-10LSP: Fix bracket completion for functions with one argumentGeequlim
2020-01-09GDScript: Fix type name on error message for function parametersGeorge Marques
2020-01-09GDScript: Fix resolution of default parameter valuesGeorge Marques
Fix #26556
2020-01-09GDScript: Validate object instance on `is` operationGeorge Marques
Avoids crashes on debug mode. Instead it now breaks the execution and show the error in-editor. Will still crash on release. Also add a similar check to Marshalls to ensure the debugger doesn't crash when trying to serialize the invalid instance.
2020-01-09GDScript: Don't re-evaluate index on assigment with operationGeorge Marques
Pass the calculated index from the stack and use the same to get and set the value. This avoids a function with side effects being evaluated twice when using indexing in an assignment with operation statement (e.g. a[function()] += 1).
2020-01-09Merge pull request #34948 from vnen/gdscript-copy-constructorRémi Verschelde
GDScript: Allow copy constructor for built-in types
2020-01-09GDScript: Allow copy constructor for built-in typesGeorge Marques
Those are implicitly defined in Variant.
2020-01-09Add GDScript warning for standalone expressionGeorge Marques
This makes the error message clearer as it might be used to call functions with side effects.
2020-01-08GDScript: set assign operation on local var made by matchGeorge Marques
This is needed in a all local variables with assigment to properly set the typed operation. Fix #34928
2020-01-08Merge pull request #34921 from akien-mga/bullet-2.89Rémi Verschelde
bullet: Sync with upstream 2.89
2020-01-08Merge pull request #34920 from GodotExplorer/lsp-signatureHelperRémi Verschelde
GDScript LSP: Implement signatureHelp
2020-01-08Merge pull request #34918 from vnen/gdscript-assign-opRémi Verschelde
GDScript: enable type checks on release mode
2020-01-08bullet: Sync with upstream 2.89Rémi Verschelde
This allows distro unbundling again for distros that ship Bullet 2.89+.
2020-01-09GDScript LSP: Implement signatureHelpgeequlim
Enable smart resolve default to true as it is required for script symbol lookup
2020-01-08GDScript: enable type checks on release modeGeorge Marques
Also make builtin GDScript functions report return type as Variant in release so type is converted when needed.
2020-01-08GDScript: properly set type of local variable initializationGeorge Marques
Properly sets the type of the identifier for the local variable that is stored in the assignment operation. This makes sure that the compiler is aware of typing for local variables when they are initialized with the declaration.
2020-01-07Merge pull request #34886 from JFonS/fix_32699Rémi Verschelde
Make NoiseTexture threading more robust
2020-01-07Make NoiseTexture threading more robustJFonS
Fixes crash when a NoiseTexture was freed before the generation thread finished.
2020-01-04GDScript LSP: Implement goto declarationgeequlim
2020-01-04Merge pull request #34795 from dankan1890/mono_cs_iconRémi Verschelde
[Mono]: the C# script icon is now visible in the editor.
2020-01-03[Mono]: the C# script icon is now visible in the editor.dankan1890
2020-01-03Merge pull request #34790 from clayjohn/ETC-support-alphaRémi Verschelde
Add support for Lum-alpha textures to ETC fallback
2020-01-03Fix ENet max clients highest value.Fabio Alessandrelli
Was 4096, while actually it's 4095. Fixed now in both docs and `create_server` check.
2020-01-03Add support for Lum-alpha textures to ETC fallbackclayjohn
2020-01-03Merge pull request #34784 from neikeq/fix-hintpath-godottoolsRémi Verschelde
Mono/C#: Fix wrong HintPath for package in GodotTools
2020-01-03Mono/C#: Fix wrong HintPath for package in GodotToolsIgnacio Etcheverry
2020-01-03Merge pull request #34452 from aaronfranke/color-arithRémi Verschelde
[Mono] Color arithmetic operators
2020-01-03Merge pull request #34772 from clayjohn/ETC-support-alphaRémi Verschelde
Fallback to RGBA4444 for textures with alpha set to ETC compression
2020-01-03[Mono] Color arithmetic operatorsAaron Franke
2020-01-03Merge pull request #34688 from sheepandshepherd/gdnative_class_ptrRémi Verschelde
Expose is_class_ptr to GDNative for dynamic casts
2020-01-02Fallback to RGBA4444 for textures with alpha set to ETC compressionclayjohn
2020-01-03Expose cast_to to GDNative for dynamic castssheepandshepherd
2020-01-02[Mono] Make Sign methods consistent with GDScript and System.MathAaron Franke
2020-01-02Merge pull request #34758 from neikeq/mono-bindings-void-varargRémi Verschelde
Mono/C#: Fix bindings generator with void vararg methods
2020-01-02Merge pull request #34756 from bojidar-bg/34689-export-line-breakRémi Verschelde
Allow the usage of newlines in export hints
2020-01-02Mono/C#: Fix comment generation for non-constant param defaultIgnacio Etcheverry
- Generate the comment for the param, even if the method has no description. - Generate the comment outside the <summary> element.
2020-01-02Mono/C#: Fix bindings generator with void vararg methodsIgnacio Etcheverry
Commit 4d727f1ee6b970298a7c1752ba19b49d7060c405 made it possible for vararg methods to return void. This broke the C# bindings generator which was assuming in one place that vararg methods always return Variant.
2020-01-02Allow the usage of newlines in export hintsBojidar Marinov
Fixes #34689
2020-01-02Mono/C#: Make 'GD.Print' and its variants fallback to 'ToString()'Ignacio Etcheverry
Up until now, 'GD.Print' would convert parameters first to Variant and only then to String. This meant parameters that cannot be converted to Variant would be printed as "Null". This commit makes 'GD.Print' fallback to 'System.Object.ToString()' if the parameter could not be converted to Variant. The same applies to all 'GD.Print' variants: 'GD.PrintS', 'GD.PrintT', 'GD.PrintErr' and 'GD.PrintRaw'.