summaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2020-01-15Prevent GDScript language server from listening to external hosts by defaultHoukime
* Add bind_ip property to WebSocketServer defaulting to "*" (listen to everyone) * Set default for GDscript Language Server to listen only to localhost Fixes potential security issue with GDScript language server being exposed to the broad net by default. Since it is the server which primary usage is to provide utility to the local editor there is no need to expose it.
2020-01-15Fix typos with codespellRémi Verschelde
Using codespell 1.16.0. See ab3bccdb78cc7dffb6ab796053ef63489f05558d for procedure.
2020-01-14Merge pull request #35122 from ChibiDenDen/fully_qualified_name_gdscriptRémi Verschelde
Add fully_qualified_name for GDScript class
2020-01-14Merge pull request #35120 from Faless/docs/html5_restrictionsRémi Verschelde
Update documentation to reflect HTML5 limitations.
2020-01-14Add fully_qualified_name for GDScript classDani Frank
2020-01-14Update documentation to reflect HTML5 limitations.Fabio Alessandrelli
2020-01-14Makes adding port in Visual Script nodes deferredHaoyu Qiu
2020-01-13Merge pull request #35097 from neikeq/issue-34954Rémi Verschelde
Mono/C#: Fix _update_exports() leaking temporary Object/Node instances
2020-01-13Mono/C#: Add error checks to detect possible Reference leaksIgnacio Etcheverry
2020-01-13Mono/C#: Fix _update_exports() leaking temporary Object/Node instancesIgnacio Etcheverry
2020-01-13GDScript: Check function arguments on release tooGeorge Marques
Needed because otherwise the certain type operations (such as type casting) used as a function argument might become unresolved on release, causing a compilation failure. Fix #28680
2020-01-13Image: Include S3TC compression via Squish in non-tools buildRémi Verschelde
We already build Squish in templates build for S3TC decompression, so we can as well expose the compression feature. Fixes #25640.
2020-01-13Merge pull request #35076 from vnen/gdscript-type-match-assignRémi Verschelde
Type match on assignment only if operators have type
2020-01-13GDScript: Type match on assignment only if operators have typeGeorge Marques
This ensures that a value without type won't be wrongly assigned to a typed variable when the types mismatch.
2020-01-13Fix infinite loop error in document link parsingGeequlim
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