summaryrefslogtreecommitdiff
path: root/modules/gdscript
AgeCommit message (Collapse)Author
2020-09-08Merge pull request #41709 from ThakeeNathees/dictionary-indexing-bug-fixRémi Verschelde
Fixed parser error when indexing a dictionary.
2020-09-07Merge pull request #38308 from bruvzg/sad_security_circusRémi Verschelde
Adds PCK encryption support (using script encryption key for export).
2020-09-06Merge pull request #41803 from ThakeeNathees/parameter-type-infer-bug-fixRémi Verschelde
GDScript: parameter infer type bug fix
2020-09-06GDScript: parameter infer type bug fixThakee Nathees
Fix: #41772
2020-09-05Adds PCK encryption support (using script encryption key for export).bruvzg
Change default encryption mode from ECB to CFB.
2020-09-04Merge pull request #41760 from ↵Rémi Verschelde
ThakeeNathees/null-dereference-on-gdscript-function-fix null pointer dereference at GDScriptFunction::call crash fix
2020-09-04null pointer dereference at GDScriptFunction::call fixThakee Nathees
2020-09-03[Complex Test Layouts] Change `String` to use UTF-32 encoding on all platforms.bruvzg
2020-09-03fixed parser error when indexing a dictionary.Thakee Nathees
Fix: #41707
2020-09-03Merge pull request #41459 from Paulb23/nested_color_regionsRémi Verschelde
Fix colour region end key seach and start key order
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-22Fix color region end key seach and start key orderPaulb23
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