summaryrefslogtreecommitdiff
path: root/modules/gdscript
AgeCommit message (Collapse)Author
2019-09-03Adds skip-breakpoints featureiwek7
2019-09-03Try and show all the properties added with _get_property_list() when ↵MrCdK
triggering completion. Closes https://github.com/godotengine/godot/issues/25097
2019-09-02Merge pull request #31893 from bojidar-bg/25081-gdscript-index-selfRémi Verschelde
Re-allow indexing on objects and other non-builtin types
2019-09-02Merge pull request #31843 from 2shady4u/parserCtrlClickRémi Verschelde
Solves ctrl+click on functions by ignoring the cursor
2019-09-02Re-allow indexing on "self" and object types in GDScriptBojidar Marinov
Fixes #25081
2019-09-02gdscript: Fix build after #24925Rémi Verschelde
The PR did not use the ScriptCodeCompletionOption system introduced later on, and somehow this did not generate a merge conflict even though neighboring code was changed.
2019-09-02Merge pull request #24925 from Mr-Slurpy/typed-autoloadRémi Verschelde
Added autoloads as a potential type.
2019-09-02Merge pull request #21443 from deepmax/ord_functionRémi Verschelde
Add ord() function to return Unicode code point of a string of length one
2019-09-02Solves ctrl+click on functions by ignoring the cursorshaderbeast
Obeyed CLANG format rules Obeying CLANG format rules attempt 2 Obeying CLANG format rules attempt 3 Clean up Fixed runaway while loop Removed int initialization
2019-08-29doc: Sync classref with current sourceRémi Verschelde
2019-08-29Updated description for "stepify"Thomas Karcher
Mentioned the possibility to use stepify as a rounding function; +code examples
2019-08-29Merge pull request #31741 from akien-mga/lsp-requires-websocket-jsonrpcRémi Verschelde
GDScript: Disable LSP if either jsonrpc or websocket are disabled
2019-08-29Merge pull request #31738 from bojidar-bg/31056-class_name-extendsRémi Verschelde
Remove check for class_name and extends order
2019-08-28Add ord() function to return Unicode code point of a string of length oneMasoud Montazeri
2019-08-28Merge pull request #31737 from bojidar-bg/31455-stack-underflowRémi Verschelde
Fix yield check in GDScriptFunction
2019-08-28GDScript: Disable LSP if either jsonrpc or websocket are disabledRémi Verschelde
Follow-up to #29780.
2019-08-28Merge pull request #29780 from GodotExplorer/gdscript-lspRémi Verschelde
Add Language Server Protocol for GDScript
2019-08-28Remove check for class_name and extends orderBojidar Marinov
Closes #31056
2019-08-28Fix yield check in GDScriptFunctionBojidar Marinov
Fixes #31455
2019-08-28Merge pull request #31606 from toasteater/fix/nativescript-new-json-return-typeRémi Verschelde
Fix the return type of NativeScript::new in API json
2019-08-27Make 'break' and 'continue' be marked as safeMichael Alexsander Silva Dias
2019-08-26Make VarArg methods return types show up as Variant in API jsontoasteater
VarArg methods have the return type Object in the API json for GDNative. This can cause undefined behavior in some language bindings due to lack of documentation on VarArg methods' behavior. This changes the MethodInfo of: - CSharpScript::_new - GDScript::_new - PluginScript::_new
2019-08-23Improve writing style in GDScript error/warning messagesHugo Locurcio
This uses double quotes everywhere for consistency.
2019-08-17Replace last occurrences of 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG'Rémi Verschelde
The last remaining ERR_EXPLAIN call is in FreeType code and makes sense as is (conditionally defines the error message). There are a few ERR_EXPLAINC calls for C-strings where String is not included which can stay as is to avoid adding additional _MSGC macros just for that. Part of #31244.
2019-08-12Export: Remove temp files from cache after exportRémi Verschelde
So far we left most temporary files lying around, so this attempts to fix that. I added a helper method to DirAccess to factor out the boilerplate of creating a DirAccess, checking if the file exists, remove it or print an error on failure.
2019-08-11Improve code compeletion for virtual methods with signaturesgeequlim
2019-08-11Add optional goto definition support for native symbolsgeequlim
This action will show help for target symbol in godot editor and bring the godot editor window to foreground Improved markdown documentation for symbols.
2019-08-11Add generate script api to dictionary supportGeequlim
Expose GDScriptLanguageProtocol singleton and classes for editor plugins (Not visiable in class tree) Fix minor bug in symbol resolve
2019-08-11Check client workspace directory is validGeequlim
Drop test initialize message sent to client Remove unused code property for the parser class
2019-08-11Improve symbol resolve for inner classesGeequlim
Only level one inner classes would be resolved currently but it sould cover most real world use case Improve documation parseing for const values Improve documation format for native symbols
2019-08-11Improved performance for completion and symbol resolvation.Geequlim
Improved uri and workspace path translatation on windows platform. The smart resolvation is much faster than builtin's in the server side. The smart resolve mode is still disabled as default as the clients might be slow with a planty of completion items.
2019-08-11Add optional smart resolve sulotiongeequlim
The smart resolvaion can guess most symbols but it might be slow so disabled by default users can turn on it in the editor setting
2019-08-11Add a symbol pool to cache all native symbols and workspackes symbols.geequlim
Implement hover Implement completion documentation resolve Implement hover documentation Implement go to definition
2019-08-11Add GDScript Language Protocol plugingeequlim
2019-08-09Merge pull request #31227 from profan/fix/err-explain-usagesRémi Verschelde
Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in "platform", "modules/gdnative", "modules/gdscript" directories.
2019-08-09Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in "platform", ↵Robin Hübner
"modules/gdnative", "modules/gdscript" directories.
2019-08-09Expression before 'is' may be nullCameron Reikes
2019-08-05Merge pull request #31041 from 2shady4u/masterRémi Verschelde
Mark class_name line as safe in editor
2019-08-02Mark class_name line as safe in editorshaderbeast
2019-07-29Add a reference to pow to the description of exp.Kaligule
This might be especially usefull since godot script doesn't support ** or ^ as operators, so beginners might search for the exponential function, when what they really need is the pow function. This is exactly what happened to me and since I couldn't find helpfull information in the documentation I had to look it up online, where I found the answer on a helpfull [reddit thread](https://www.reddit.com/r/godot/comments/3mvwz0/how_do_i_do_exponents_in_godot/). @akien-mga told me how to reference methods here: godotengine#30909
2019-07-27Merge pull request #30849 from bojidar-bg/7898-mixed-indentationRémi Verschelde
Disallow using of both tabs and spaces for indentation in the same file
2019-07-26Disallow using of both tabs and spaces for indentation in the same fileBojidar Marinov
Closes #7898
2019-07-23Inspector: Make default float step configurableRémi Verschelde
Also allow lifting the decimal step formatting with a hint range step of 0. A new `range_step_decimals()` is added for this to avoid breaking compatibility on the general purpose `step_decimals()` (which still returns 0 for an input step of 0). Supersedes #25470. Partial fix for #18251.
2019-07-22doc: Sync classref with current sourceRémi Verschelde
2019-07-20Merge pull request #30693 from Chaosus/lerp_angleRémi Verschelde
Added lerp_angle built-in function
2019-07-20Merge pull request #30576 from qarmin/lgtm_coverageRémi Verschelde
Changed some code reported by LGTM and Coverity
2019-07-20Added lerp_angles built-in functionChaosus
Co-authored-by: Xrayez <https://github.com/Xrayez> Co-authored-by: DleanJeans <https://github.com/DleanJeans>
2019-07-20Changed some code showed in LGTM and Coverageqarmin
2019-07-18Add integer posmod and rename default arg namesAaron Franke
"posmod" is the integer version of "fposmod". We do not need a "mod" because of the % operator. I changed the default arg names from "x" and "y" to "a" and "b" because they are not coordinates. I also changed pow's arg names to "base" and "exp". Also, I reorganized the code in the VS built-in funcs switch statement.
2019-07-18Merge pull request #30648 from NilsIrl/useless_castsRémi Verschelde
Remove useless casts to String