summaryrefslogtreecommitdiff
path: root/modules/gdscript
AgeCommit message (Collapse)Author
2022-07-07Allows parsing of invalid UTF-16 surrogates (can be encountered in Windows ↵bruvzg
filenames) and some non-standard UTF-8 variants, makes Unicode parse errors more verbose.
2022-07-06Sync GDScript doc template for new annotationsRémi Verschelde
2022-07-06Merge pull request #62701 from cdemirer/for-variable-conflictRémi Verschelde
2022-07-06Merge pull request #62699 from ↵Rémi Verschelde
cdemirer/fix-autocomplete-var-assigned-same-statement
2022-07-06Merge pull request #62690 from cdemirer/fix-infinite-guess-recursionRémi Verschelde
2022-07-06Merge pull request #62760 from cdemirer/fix-annotation-initializer-conflictRémi Verschelde
Fix priority of annotated type vs initializer type
2022-07-06Merge pull request #62713 from YuriSizov/docs-scripting-annotationsRémi Verschelde
2022-07-06Merge pull request #62707 from YuriSizov/gdscript-group-those-propsRémi Verschelde
2022-07-06Fix priority of annotated type vs initializer typecdemirer
2022-07-05Implement a BitField hintreduz
Allows to specify the binder that an enum must be treated as a bitfield.
2022-07-05Add grouping annotations for class properties in GDScriptYuri Sizov
2022-07-04Add support for documenting built-in annotationsYuri Sizov
2022-07-04Do error when for variable conflicts with a variable in scopecdemirer
2022-07-04Fix autocomplete for variable which is assigned to in the current statementcdemirer
2022-07-04Fix infinite recursion when guessing type of variable which is being assigned tocdemirer
2022-06-28Merge pull request #60675 from voylin/Add-BBCode-support-for-printing-outputRémi Verschelde
Adding print_rich() for printing with BBCode
2022-06-28Merge pull request #62485 from cdemirer/fix-set-chain-jump-if-sharedRémi Verschelde
Fix chain assignment bug with jump_if_shared
2022-06-28Fix set chain bug with jump_if_sharedcdemirer
2022-06-29Adding print_rich for printing with BBCodeVoylin
2022-06-28Merge pull request #53135 from briansemrau/fix-ref-leakRémi Verschelde
2022-06-28Merge pull request #62470 from vnen/gdscript-export-nodesRémi Verschelde
GDScript: Enable exporting nodes to the inspector
2022-06-28Merge pull request #62468 from V-Sekai/core-const-expressionsRémi Verschelde
Add a const call mode to Object, Variant and Script.
2022-06-27GDScript: Enable exporting nodes to the inspectorGeorge Marques
Also fix an small issue in the property editor for NodePath trying to use the meta property when not needed.
2022-06-27Merge pull request #62462 from vnen/gdscript-setter-chainingRémi Verschelde
GDScript: Fix setter being called in chains for shared types
2022-06-27Add a const call mode to Object, Variant and Script.K. S. Ernest (iFire) Lee
For this to work safely (user not call queue_free or something in the expression), a const call mode was added to Object and Variant (and optionally Script). This mode ensures only const functions can be called, making it safe to use from the editor. Co-Authored-By: reduz <reduzio@gmail.com>
2022-06-27GDScript: Fix setter being called in chains for shared typesGeorge Marques
When a type is shared (i.e. passed by reference) it doesn't need to be called in a setter chain (e.g. `a.b.c = 0`) since it will be updated in place. This commit adds an instruction that jumps when the value is shared so it can be used to skip those cases and avoid redundant calls of setters. It also solves issues when assigning to sub-properties of read-only properties.
2022-06-25Merge pull request #62372 from MarcusElg/nosliderrenameRémi Verschelde
Rename @export_range's noslider option to no_slider
2022-06-24GDScript: Use implicit method for @onready variablesGeorge Marques
Initialize them with the implicit method so they're not related to the overriding of the `_ready` method of the script but instead are always set.
2022-06-24GDScript: Don't add implicit constructor to the list of functionsGeorge Marques
So it's not shown on docs or when listing the methods. This also avoids being able to call it using the `call()` function.
2022-06-24Rename export_range's noslider option to no_sliderMarcus Elg
2022-06-23Merge pull request #62342 from reduz/methodinfo-varargsRémi Verschelde
Implement varargs in Methodinfo
2022-06-23Implement varargs in Methodinforeduz
Variadic templates are an awful thing. Implements #62233 using them in MethodInfo so less changes are required.
2022-06-22Do not reset return value in release buildBlack Cat
2022-06-20Clean up Hash Functionsreduz
Clean up and do fixes to hash functions and newly introduced murmur3 hashes in #61934 * Clean up usage of murmur3 * Fixed usages of binary murmur3 on floats (this is invalid) * Changed DJB2 to use xor (which seems to be better)
2022-06-19Allow autocompletion of "noslider" in export_rangeMarcus Elg
2022-06-17Make enum/constant binds 64-bit.bruvzg
2022-06-17Merge pull request #61510 from Calinou/script-tweak-stack-overflow-messageRémi Verschelde
2022-06-16Fix EditorScenePostImport templates for C#Raul Santos
2022-06-15Merge pull request #61486 from jtnicholl/import_script_templatesRémi Verschelde
Add script templates for EditorScenePostImport
2022-06-15Add script templates for EditorScenePostImportJonathan Nicholl
2022-06-15Add a null checking to `GDScript::_super_implicit_constructor`Yuri Rubinsky
2022-06-15Improve stack overflow error message in GDScript and VisualScriptHugo Locurcio
Stack overflow errors are generally the result of infinite recursion within a script.
2022-06-15Merge pull request #57513 from trollodel/gdscript_get_propertyinfo_classnameGeorge Marques
Allow setting the PropertyInfo class_name from GDScript custom properties
2022-06-15Merge pull request #59358 from strank/debug-inner-classesGeorge Marques
2022-06-15Merge pull request #59482 from kurtlachmann/lsp_better_parenthesesRémi Verschelde
2022-06-15Merge pull request #61666 from nathanfranke/fix-match-bindGeorge Marques
gdscript: use correct error for unused bind match, suppress with underscore
2022-06-14Merge pull request #57151 from cdemirer/fix-match-array-dict-pattern-logic-errorGeorge Marques
Fix logic errors in match-statement Array & Dictionary patterns
2022-06-12Extend test_compiler to also disassemble inner classesstrank
2022-06-03use correct error for unused bind match, suppress with underscoreNathan Franke
2022-05-31Merge pull request #61463 from vnen/gdscript-await-stackRémi Verschelde
GDScript: Fix stack overflow when using multiple `await`