summaryrefslogtreecommitdiff
path: root/modules/gdscript
AgeCommit message (Collapse)Author
2020-09-02Fix GDScript codegen leak.bruvzg
2020-09-02Register GDScript test tools as test commands to run via command-lineAndrii Doroshenko (Xrayez)
2020-09-02Move GDScript tests to respective folder under modulesAndrii Doroshenko (Xrayez)
2020-09-01Add GDScript disassemblerGeorge Marques
2020-09-01Change GDScript compiler to use codegen abstractionGeorge Marques
2020-09-01Add GDScript code generation interfaceGeorge Marques
Implement the abstraction by targeting the current VM.
2020-09-01GDScript: Don't mark function parameters as constantGeorge Marques
They can be reassigned as if it were a local variable.
2020-09-01GDScript: Properly set class inheritance for global classesGeorge Marques
2020-09-01GDScript: Check for missing exponent when parsing numbersGeorge Marques
Also forbid multiple underscores in a row as numeric separator.
2020-09-01GDScript: Fix analysis of singleton dependenciesGeorge Marques
Sometimes a singleton might depend on another before they are fully compiled so we can't rely on globals in this case.
2020-09-01GDScript: Allow "extends" to be used inside inner classGeorge Marques
2020-09-01GDScript: Allow "self" to be used in class levelGeorge Marques
2020-09-01GDScript: Don't try to parse constant scripts that aren't validGeorge Marques
Since it's likely that they won't parse correctly.
2020-08-31Add link titles for all links in the class referenceHugo Locurcio
This makes them display in a nicer way in the editor help. (The title will display instead of the full URL.)
2020-08-28Cross-reference GDScript built-in rounding methods to ease discoveryHugo Locurcio
This closes #19315.
2020-08-28Merge pull request #41547 from vnen/gdscript-2-fixesRémi Verschelde
Some more GDScript fixes
2020-08-26GDScript: Fix crash when parsing propertiesGeorge Marques
2020-08-26GDScript: Show error when there's an inheritance cycleGeorge Marques
2020-08-26GDScript: Add recursion depth limit for completionGeorge Marques
To avoid crashes when there's a dependency loop.
2020-08-26GDScript: Fix crash when completing code with signalsGeorge Marques
2020-08-26GDScript: Fix issues when deriving from other scriptsGeorge Marques
2020-08-25Merge pull request #40443 from SkyLucilfer/PluralsSupportRémi Verschelde
Added plurals and context support to Translation
2020-08-24GDScript: Don't fail to load constants if they're not a literalGeorge Marques
It's still okay as long as it's a constant value. This should already been validated by the analyzer.
2020-08-23GDScript: Properly resolve external inner classes from preloadGeorge Marques
This gets the correct parser and class node when resolving from a full GDScript reference.
2020-08-23GDScript: Use pointer instead of references in cacheGeorge Marques
They are not supposed to be kept alive and this is cleaner and less error-prone than unreferencing the elements.
2020-08-23Merge pull request #41238 from MarianoGnu/gdscript-export-resourceGeorge Marques
Fix GdScript Analyzier not detecting Resource subclass correctly
2020-08-19GDScript: Make subscript access be properly type checkedGeorge Marques
2020-08-19GDScript: Show error when function return type is missingGeorge Marques
2020-08-19GDScript: Fix signal parameters not respecting commasGeorge Marques
2020-08-19GDScript: Check duplicate keys in dictionaries and enumsGeorge Marques
2020-08-19GDScript: Allow preload() to be used with constant expressionsGeorge Marques
2020-08-19GDScript: Allow keywords to be used in $ notationGeorge Marques
2020-08-19Update GDScriptTranslationParserPlugin to use GDSriptParser instead of RegEx.SkyJJ
2020-08-19Update POT generation to handle context and pluralsSkyJJ
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-13Fix GdScript Analyzier not detecting Resource subclass correctlyMariano Suligoy
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