summaryrefslogtreecommitdiff
path: root/modules/gdscript
AgeCommit message (Collapse)Author
2022-07-14Merge pull request #60458 from KoBeWi/Deprecated-hint,-unused-Rémi Verschelde
2022-07-13Merge pull request #62895 from KoBeWi/callables_exist_you_knowGeorge Marques
2022-07-13Merge pull request #62901 from ↵George Marques
cdemirer/prevent-unnecessary-additional-parser-error
2022-07-13Merge pull request #62900 from cdemirer/fix-parser-stuck-in-an-error-loopGeorge Marques
2022-07-13Merge pull request #62918 from cdemirer/parser-properly-set-node-extentsGeorge Marques
2022-07-13Merge pull request #62922 from YuriSizov/gdscript-annotation-defaultsGeorge Marques
2022-07-13Merge pull request #62578 from MinusKube/editor-print-crashGeorge Marques
Fix GDScript parser sometimes crashing when issuing warning for unreachable pattern
2022-07-12Remove unused hintskobewi
2022-07-11Add default argument bindings to GDScript annotationsYuri Sizov
2022-07-11Parser: Properly set node extentscdemirer
2022-07-11Prevent unnecessary additional parser errorcdemirer
2022-07-11Fix parser stuck in an error loopcdemirer
2022-07-10Remove outdated code pathkobewi
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-07-01Fix GDScript parser sometimes crashing when issuing warning for unreachable ↵MinusKube
pattern
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