summaryrefslogtreecommitdiff
path: root/modules/gdscript
AgeCommit message (Collapse)Author
2022-01-27Merge pull request #57205 from TechnoPorg/variant-template-castRémi Verschelde
Allow method binds to take Object subclasses as arguments
2022-01-27Merge pull request #57281 from Rubonnek/rename-subsequenceRémi Verschelde
2022-01-26Rename String::is_subsequence_ofi to String::is_subsequence_ofnWilson E. Alvarez
2022-01-26Fix crash with non-constant keys in match statement Dictionary patterncdemirer
2022-01-25Allow method binds to take Object subclasses as argumentsTechnoPorg
This commit adds a condition to VariantCaster that casts Variants of type OBJECT to any type T, if T is derived from Object. This change enables a fair bit of code cleanup. First, the Variant implicit cast operators for Node and Control can be removed, which allows for some invalid includes to be removed. Second, helper methods in Tree whose sole purpose was to cast arguments to TreeItem * are no longer necessary. A few small changes also had to be made to other files, due to the changes cascading down all the includes.
2022-01-22GDScript cache crashfix.K. S. Ernest (iFire) Lee
2022-01-23Merge pull request #57052 from KoBeWi/nosortRémi Verschelde
2022-01-22Merge pull request #55433 from V-Sekai/prev_operand_nullptr_checkRémi Verschelde
Check for nullptr expression in parse_precedence function
2022-01-22Merge pull request #55214 from Scony/fix-gdscript-crash-2Rémi Verschelde
Fix GDScript parser crash on 'dollar mixed with assignment' expression
2022-01-22Don't sort printed Dictionarykobewi
2022-01-20Rename Variant::is_ref() to is_ref_counted()Pedro J. Estébanez
2022-01-17Merge pull request #56739 from strank/masterRémi Verschelde
GDScript: Fix parsing default parameter values from function calls
2022-01-17Merge pull request #55995 from Xwdit/enum_fixRémi Verschelde
Fix enum int comparison
2022-01-17Merge pull request #55625 from ↵Rémi Verschelde
cdemirer/fix-type-guessing-and-gdscript-parser-printing Fix `--test gdscript-parser` crash
2022-01-17Merge pull request #55616 from cdemirer/masterRémi Verschelde
Fix nested ternary-if codegen
2022-01-15Improvments for SyntaxHighlightersPaulb23
- Fix immedate Funcion in lamba highlight - Highlight signals as one colour - Highlight node paths as one colour - Highlight escape chars in strings
2022-01-14Merge pull request #55541 from KoBeWi/outcognito_scriptsRémi Verschelde
2022-01-13Fix various typosluz paz
Found via `codespell -q 3 -S ./thirdparty,*.po,./DONORS.md -L ackward,ang,ans,ba,beng,cas,childs,childrens,dof,doubleclick,expct,fave,findn,gird,hist,inh,inout,leapyear,lod,nd,numer,ois,ony,paket,ro,seeked,sinc,switchs,te,uint,varn,vew`
2022-01-13GDScript: Fix parsing default parameter values from function callsstrank
2022-01-13Merge pull request #56268 from KoBeWi/🚗complete_settersRémi Verschelde
2022-01-13Make script type distinguishable by iconkobewi
2022-01-11Assign member type when parsing setters to preventSaracenOne
'Compiler bug: unresolved assign' errors
2022-01-10Merge pull request #56326 from NNesh/fix/unknown_default_value_callableRémi Verschelde
Extended the _make_arguments_hint function to get default values for function arguments in hint
2022-01-10Fixed <unknown> text for callable default value for a function arguments hintNNesh
Format switch Added a case for constant subscripts Fixed default value hinting for the enum type Removed is_null checking for value Added a case for dictionary
2022-01-10Merge pull request #55715 from nathanfranke/enum-orderedRémi Verschelde
2022-01-10Merge pull request #56194 from cdemirer/fix-operation-result-type-inferenceRémi Verschelde
2022-01-10Merge pull request #56232 from V-Sekai/invalid_explicit_variant_assign_fixRémi Verschelde
2022-01-10Merge pull request #56260 from ↵Rémi Verschelde
cdemirer/fix-type-mutation-upon-assignment-with-operation
2022-01-10Merge pull request #56287 from ↵Rémi Verschelde
cdemirer/fix-member-property-only-getter-cant-be-set
2022-01-10Merge pull request #56288 from ↵Rémi Verschelde
cdemirer/fix-member-property-getter-dont-update-subscript-chain-root
2022-01-10Merge pull request #56342 from NNesh/fix/class-completionRémi Verschelde
2022-01-10Merge pull request #56409 from ↵Rémi Verschelde
cdemirer/fix-unexpected-copying-when-parameter-is-typed
2022-01-10Fix leak when function returning self typeGer Hean
Leak is caused by cyclic reference
2022-01-08Fixed completion showing for class membersNNesh
2022-01-06Merge pull request #55213 from Scony/fix-gdscript-crashRémi Verschelde
2022-01-06Fix multiple missing UTF-8 decoding.bruvzg
2022-01-06Add a GDScript template for `VisualShaderNodeCustom`Yuri Roubinsky
2022-01-05Merge pull request #56483 from vnen/gdscript-warning-annotationRémi Verschelde
Add annotation to ignore warnings
2022-01-04GDScript: Add annotation to ignore warningsGeorge Marques
2022-01-03Update copyright statements to 2022Rémi Verschelde
Happy new year to the wonderful Godot community!
2022-01-03Merge pull request #53957 from fabriceci/new-template-workflowRémi Verschelde
2022-01-03Fix gdscript-parser crashcdemirer
Fixes gdscript-parser crashing while printing empty identifiers.
2022-01-02Improve editor template workflowfabriceci
Co-Authored-By: jmb462 <jmb462@gmail.com>
2022-01-02Fix various typosluz paz
Found via ` codespell -q 3 -S ./thirdparty,*.po,./DONORS.md -L ackward,ang,ans,ba,beng,cas,childs,childrens,dof,doubleclick,expct,fave,findn,gird,hist,inout,leapyear,lod,nd,numer,ois,ony,paket,seeked,sinc,switchs,te,uint,varn` Update editor/import/resource_importer_layered_texture.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update doc/classes/TileSetScenesCollectionSource.xml Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/gui/graph_edit.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/resources/animation.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/resources/animation.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/resources/animation.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/gui/rich_text_label.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Revert previously committed change
2022-01-02Fix unexpected Packed Array copying when parameter is typedcdemirer
2021-12-28Fix member properties with getters don't update as subscript chain rootcdemirer
2021-12-28Fix member properties with only getters can't be setcdemirer
2021-12-27Remove autocomplete_setters_and_getters settingkobewi
2021-12-27Fix type mutation upon compound assignmentcdemirer
2021-12-25Fix 'Compiler bug: unresolved assign' on explicitly annotated variants.SaracenOne