summaryrefslogtreecommitdiff
path: root/modules/gdscript
AgeCommit message (Collapse)Author
2020-07-31Merge pull request #40903 from Calinou/doc-jsonRémi Verschelde
Improve JSON-related documentation
2020-07-31Improve JSON-related documentationHugo Locurcio
This closes https://github.com/godotengine/godot-docs/issues/3848.
2020-07-30doc: Fix typo in BBcode tagRémi Verschelde
2020-07-29Refix GDScriptTranslationParser leakSkyJJ
2020-07-29GDScript: Fix crash caused by inconsistent get_memberLyuma
2020-07-28Merge pull request #40678 from aaronfranke/string-float64Rémi Verschelde
Make all String float conversion methods be 64-bit
2020-07-28doc: Sync classref with current sourceRémi Verschelde
2020-07-27Make all String float conversion methods be 64-bitAaron Franke
2020-07-28Merge pull request #40762 from SkyLucilfer/PackedSceneLeakRémi Verschelde
Fix EditorTranslationParser leak
2020-07-27GDScript: Fix crash on 'await' completionGeorge Marques
2020-07-27Fix EditorTranslationParser leakSkyJJ
2020-07-27Merge pull request #40714 from ThakeeNathees/Object-type-bug-fixRémi Verschelde
GDScript: "Object" datatype changed from BUILTIN to NATIVE
2020-07-26Merge pull request #39898 from Meriipu/master_gdscriptRémi Verschelde
GDScript: Clarified/fixed inaccuracies in the built-in function docs.
2020-07-26Merge pull request #40670 from vnen/remove-multilevel-callRémi Verschelde
Remove multilevel calls
2020-07-26GDScript: "Object" datatype changed from BUILTIN to NATIVEThakee Nathees
Fix: #40656
2020-07-25GDScript: Clarified/fixed inaccuracies in the built-in function docs.Meriipu
The input to smoothstep is not actually a weight, and the decscription of smoothstep was pretty hard to understand and easy to misinterpret. Clarified what it means to be approximately equal. nearest_po2 does not do what the descriptions says it does. For one, it returns the same power if the input is a power of 2. Second, it returns 0 if the input is negative or 0, while the smallest possible integral power of 2 actually is 1 (2^0 = 1). Due to the implementation and how it is used in a lot of places, it does not seem wise to change such a core function however, and I decided it is better to alter the description of the built-in. Added a few examples/clarifications/edge-cases.
2020-07-24Remove multilevel callsGeorge Marques
In general they are more confusing to users because they expect inheritance to fully override parent methods. This behavior can be enabled by script writers using a simple super() call.
2020-07-24GDScript: Allow "new()" to be called in non-static functionsGeorge Marques
2020-07-24Merge pull request #40598 from vnen/gdscript-2.0Rémi Verschelde
GDScript 2.0 (again)
2020-07-22Wrap up GDScript 2.0 base implementationGeorge Marques
2020-07-21Update core documentation to match recent C# changesAaron Franke
Also a few minor API changes like adding AABB.abs() Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2020-07-20Reintroduce code completionGeorge Marques
2020-07-20Reenable GDScript LSP serverGeorge Marques
2020-07-20Added support for enums to be used as types in GDScriptGeorge Marques
2020-07-20Add warning checks in GDScript analyzerGeorge Marques
Reenable checking those when validating code.
2020-07-20Add new GDScript type checkerGeorge Marques
2020-07-20Add better local variable detection in GDScript parserGeorge Marques
Also store Variant operator to avoid needing to do it repeatedly in later compiling stages.
2020-07-20Add GDScript cache singletonGeorge Marques
2020-07-20Add support for propertiesGeorge Marques
2020-07-20Fix comments in beginning of fileGeorge Marques
Also improve error for unknown characters.
2020-07-20New GDScript tokenizer and parserGeorge Marques
Sometimes to fix something you have to break it first. This get GDScript mostly working with the new tokenizer and parser but a lot of things isn't working yet. It compiles and it's usable, and that should be enough for now. Don't worry: other huge commits will come after this.
2020-07-14Include gdscript warning name in LSP message.Ryan Roden-Corrent
My initial attempt changed this in the gdscript code, which resulted in a duplicate warning name in the builtin editor. We should just append the warning name in the LSP instead. This uses parens to match what is shown in the builtin editor.
2020-07-14Revert "Include gdscript warning name in the warning message."Ryan Roden-Corrent
This reverts commit de3ad3b30ecb8de1aa112df7d61630102f077b5b.
2020-07-11Extract Syntax highlighting from TextEdit and add EditorSyntaxHighlighterPaulb23
- Extacted all syntax highlighting code from text edit - Removed enable syntax highlighting from text edit - Added line_edited_from signal to text_edit - Renamed get/set_syntax_highlighting to get/set_syntax_highlighter - Added EditorSyntaxHighligher
2020-07-11Expose Syntax highlighter for editor pluginsPaulb23
2020-07-11Convert syntax highlighters into a resourcePaulb23
2020-07-10Add override keywords.Marcel Admiraal
2020-07-06Fix GDScriptEditorTranslationParserPlugin instance leakSkyJJ
2020-07-06Merge pull request #40155 from rcorre/warning-namesRémi Verschelde
Include gdscript warning name in the warning message.
2020-07-06Merge pull request #40116 from ThakeeNathees/editor-crash-on-super-constructorRémi Verschelde
Fix: editor crash on super constructor called
2020-07-06Include gdscript warning name in the warning message.Ryan Roden-Corrent
Occasionally you want to ignore a warning with a `warning-ignore` comment, and you have to go into the settings to look up what the actual name of the warning is. This patch appends the warning name to the end of the warning so you know what string to use to ignore it, similar to other linters like pylint. For example ``` "The signal 'blah' is declared but never emitted."; ``` is now ``` "The signal 'blah' is declared but never emitted. (UNUSED_SIGNAL)"; ```
2020-07-05Change translation parser plugin API to parse_file()SkyJJ
2020-07-04Fix: editor crash on super constructor calledThakee Nathees
Fix: #39909
2020-07-02Add translation parser plugin supportSkyJJ
2020-07-01Merge pull request #38713 from aaronfranke/string-64bitRémi Verschelde
Make all String integer conversion methods be 64-bit
2020-06-28Improve the preload and load descriptionsTomasz Chabora
2020-06-17Merge pull request #38067 from ThakeeNathees/elif-error-line-fixedRémi Verschelde
GDScript debugger incorrect error line fixed
2020-06-17GDScript debugger incorrect error line fixedThakee Nathees
if the first line of an else or an elif throws a runtime error the debugger shows incorrect line number.
2020-06-16Merge pull request #39275 from ThakeeNathees/shadowed-warning-for-loop-counterRémi Verschelde
Added shadowed var warning for `for` loop counter
2020-06-16Merge pull request #39314 from ThakeeNathees/debugger-incorrect-line-fixRémi Verschelde
GDScript debugger stepping to incorrect line fix