summaryrefslogtreecommitdiff
path: root/modules/gdscript
AgeCommit message (Collapse)Author
2020-08-13Merge pull request #41224 from ThakeeNathees/fix-ctrl+click-not-workingGeorge Marques
Fix: ctrl + click not working on script member
2020-08-13Fix: ctrl + click not workingThakee Nathees
2020-08-12Merge pull request #41104 from vnen/gdscript-assignment-tidyGeorge Marques
Tidy up assignment operator check
2020-08-11Merge pull request #41055 from snichols/null-callee-fixRémi Verschelde
Fix crash with null callee
2020-08-08Fix colour region continuation over blank lines, issue 41120Paulb23
2020-08-08Merge pull request #40673 from ThakeeNathees/gdscript-op-eval-validationGeorge Marques
GDScript operator evaluation validation bug fix
2020-08-08Merge pull request #40951 from bruvzg/gds_cleanupGeorge Marques
[GDScript] Add static HashMap cleanup.
2020-08-08GDScript: Tidy up assignment operator checkGeorge Marques
The operator is already gathered by the parser, no need to do it again in the analyzer.
2020-08-06GDScript: unsafe arithmetic assignment bug fixThakee Nathees
Fix: #41051
2020-08-05Adding error message for empty grouping expressionStephen Nichols
2020-08-05Fixing null callee crash.Stephen Nichols
2020-08-03Merge pull request #40690 from ↵George Marques
ThakeeNathees/arithmetic-assign-type-check-bug-fix GDScript arithmetic assignment type check bug fix
2020-08-03Fixed tiny grammar issues in error messagesunknown
2020-08-01[GDScript] Add static HashMap cleanup.bruvzg
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-26GDScript arithmetic assignment type check bug fixedThakee Nathees
Fix: #40686
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-24GDScript operator evaluation validation bug fixThakee Nathees
Fix: #40665
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