summaryrefslogtreecommitdiff
path: root/modules/gdscript
AgeCommit message (Collapse)Author
2019-11-11Remove ERR_EXPLAIN macros and the scaffolding they needed.Marcel Admiraal
2019-11-11Remove all uses of ERR_EXPLAIN macros.Marcel Admiraal
2019-11-07Add setting to exclude addons from script warningsmashumafi
2019-11-07Merge pull request #33257 from aaronfranke/printrawRémi Verschelde
Document behavior of GDScript printraw
2019-11-04Merge pull request #33266 from Xrayez/inst2dict-original-pathRémi Verschelde
Use GDScript resource path over script path for `inst2dict`
2019-11-02Use GDScript resource path over script path for `inst2dict`Andrii Doroshenko (Xrayez)
The resource path holds the original path which can be used to convert a dictionary to instance consistently both within editor and exported projects as the original path is automatically remapped from `gd` to `gdc` or `gde` in exported projects.
2019-11-02Document behavior of printrawAaron Franke
2019-11-02Fix Color8 GDScript documentationAaron Franke
2019-11-01GDScript: validate instance before accessing it on errorGeorge Marques
Make sure the instance is valid before trying to access the script in after an error happened. If the instance is not valid it's possible that the script is invalid as well. Fix #29623
2019-11-01GDScript: Avoid editor crashes when there's cyclic inheritanceGeorge Marques
Make sure the script is fully compiled before looking into the base.
2019-10-31Provide and print error messages for JSON parsingAndrii Doroshenko (Xrayez)
Core is not touched, only for binding and scripting.
2019-10-29Fixed leak in gdscript when creating empty WeakRefPouleyKetchoupp
Fixes #33150
2019-10-25Merge pull request #32808 from bojidar-bg/30937-less-strict-mixed-spacingRémi Verschelde
Allow mixed tabs and spaces when indentation does not depend on tab size
2019-10-25Allow mixed tabs and spaces when indentation does not depend on tab sizeBojidar Marinov
(hopefully) Closes #30937, fixes #32612
2019-10-22Merge pull request #32919 from vnen/gdscript-unused-argsRémi Verschelde
Fix wrong counting of function argument usage
2019-10-22Merge pull request #32903 from madmiraal/fix-27649-part9Rémi Verschelde
Remove duplicate valid value check in gdscript_tokenizer.cpp.
2019-10-22Merge pull request #32878 from EbbDrop/no_autocompletion_for_singeltonsRémi Verschelde
Fixes auto completion for singletons
2019-10-19GDScript: Add _ prefix on class name in type compatibility checkGeorge Marques
This makes sure that the classes internally represented with an underscore (_) prefix, such as singletons, are still properly checked for inheritance in the ClassDB.
2019-10-19Fix wrong counting of function argument usageGeorge Marques
There's no need to subtract 1 from the assignment usages because it's not incremented anywhere else. Also put back the assignment with operators because they should not count as usage if the argument is on the left side.
2019-10-18Remove duplicate valid value check in gdscript_tokenizer.cpp.Marcel Admiraal
2019-10-17Fix autocompletion for singletonsEbbDrop
2019-10-14Small fixes to redundand code, copy paste bugsqarmin
2019-10-11fix #32588 crash in language serverHaSa1002
2019-10-10Decrease polling frequency to 20 Hz in the GDScript language serverHugo Locurcio
This decreases the language server's CPU usage.
2019-10-09Merge pull request #32671 from GodotExplorer/lsp-send-godot-class-treeRémi Verschelde
lsp: Send godot class tree to clients
2019-10-09lsp: Send godot class tree to clientsGeequlim
2019-10-09lsp: Fix signature of void returned functions in native methodsGeequlim
2019-10-05Fixed some obvious typos in error messagesnoname1477
In some errors, there were closing quotation marks but no opening (e. g. "Unable to iterate on object of type " + Variant::get_type_name(container->get_type()) + "'."
2019-10-05Format documentations to markdown only when neededgeequlim
2019-10-04Add custom api `textDocument/nativeSymbol` to allow inspect native symbols ↵geequlim
from LSP clients
2019-10-04Fix enumeration value of SymbolKind.geequlim
Add custom notification 'gdscript/show_native_symbol' to show native symbols in clients. Close client connections when stop gdscript-lsp
2019-10-03Merge pull request #32517 from GodotExplorer/gdscript-lspRémi Verschelde
GDScript LSP server improvement
2019-10-03Implement DocumentLink of GDScript LSP Servergeequlim
2019-10-03Merge pull request #32403 from yeonghoey/enforce4spaceRémi Verschelde
Print errors when tab indent found in [codeblock]
2019-10-03Fix codeblock formating to markdowngeequlim
2019-10-02Tweak the default function definition color when using a dark themeHugo Locurcio
This decreases its saturation to make it less visually jarring. The code was also refactored for clarity and to avoid repetition.
2019-10-01Print errors when tab indent found in [codeblock]Yeongho Kim
2019-10-01Merge pull request #32172 from WindyDarian/gdscript_allow_null_weakrefRémi Verschelde
Allow weakref(null) in gdscript
2019-09-28Highlight singletons and class_names in GDScriptBojidar Marinov
Also, implement a small QoL change for auto-typed variables. Closes #5739
2019-09-25Merge pull request #32051 from qarmin/some_error_explanationRémi Verschelde
Added some obvious errors explanations
2019-09-25Added some obvious errors explanationsqarmin
2019-09-24GDScript: Fix type resolution not being return in some casesGeorge Marques
Some situations caused the parser node type to not being update when trying to resolve the type, returning invalid data and breaking the parsing when it shouldn't. This patch fix the behavior.
2019-09-24doc: Sync classref with current sourceRémi Verschelde
Fix a few missing bindings or unspecified argument names and default values.
2019-09-23Fix `line` being assigned to twice in the GDScript language serverHugo Locurcio
This closes #32090.
2019-09-22Changed some code found by Clang Tidy and Coverityqarmin
2019-09-20Merge pull request #32210 from Calinou/editor-log-distinguish-messagesRémi Verschelde
Distinguish editor-originating messages in the editor log
2019-09-20Merge pull request #32150 from luzpaz/typosRémi Verschelde
Fix misc. source comment typos
2019-09-20Distinguish editor-originating messages in the editor logHugo Locurcio
This fades out messages originating from the editor to make messages printed by the project stand out more. This also tweaks wording in some editor messages for consistency.
2019-09-19Fix misc. source comment typosluz.paz
Found using `codespell -q 3 -S ./thirdparty,*.po -L ang,ba,cas,dof,doubleclick,fave,hist,leapyear,lod,nd,numer,ois,paket,seeked,sinc,switchs,te,uint -D ~/Projects/codespell/codespell_lib/data/dictionary.txt `
2019-09-19Merge pull request #31921 from bojidar-bg/28978-uninitialized-array-valueRémi Verschelde
Fix uninitialized arrays and dictionaries retaining value