summaryrefslogtreecommitdiff
path: root/modules/gdscript
AgeCommit message (Collapse)Author
2020-08-18GDScript: Allow enum values to be set to constant expressionsGeorge Marques
Also allow them to access previous values wihout referencing the enum.
2020-08-18GDScript: Allow supertype objects to be assigned to a subtype variableGeorge Marques
It allows `get_node()` to be used with typed variables This is marked as unsafe to warn the user.
2020-08-18GDScript: Allow implicit type conversion when constructing variantsGeorge Marques
Incidentally fix error message when no valid constructor is found which was missing an end parenthesis.
2020-08-18GDScript: Add script to cache on reloadGeorge Marques
This ensures that scripts created without a resource loader are properly included in the cache (such as builtin scripts) and are not tried to be loaded from the disk.
2020-08-17GDScript: Allow empty files to be valid scriptsGeorge Marques
2020-08-17GDScript: Fix crash when superclass file is non-existentGeorge Marques
Incidentally, allow EOF to be an end of statement.
2020-08-17GDScript: Fix LSP getting wrong union value on unnamed enumsGeorge Marques
2020-08-17GDScript: Fix editor crash when writing @tool annotationGeorge Marques
2020-08-17GDSript: Prevent crash when completing unary operatorsGeorge Marques
2020-08-17GDScript: Allow "match" to be used as an identifierGeorge Marques
This is needed to call the String.match() function.
2020-08-17GDScript: Fix wrong argument check for formatting operatorGeorge Marques
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