summaryrefslogtreecommitdiff
path: root/modules/gdscript
AgeCommit message (Collapse)Author
2022-02-03GDScript: Allow tests to run on release buildsGeorge Marques
- Fix compilation issues by disabling warnings on release builds. This also strips warnings from expected result before the comparison to avoid false mismatches. - Add a `#debug-only` flag to tests. Must be the first line of the test script. Those won't run with release builds. Can be used for test cases that rely on checks only available on debug builds.
2022-02-03GDScript: Consolidate behavior for assigning enum typesGeorge Marques
This makes sure that assigning values to enum-typed variables are consistent. Same enum is always valid, different enum is always invalid (without casting) and assigning `int` creates a warning if there is no casting. There are new test cases to ensure this behavior doesn't break in the future.
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
2021-12-23Fix operation result type inferencecdemirer
2021-12-16Use OrderedHashMap for enum_valuesNathan Franke
2021-12-16Fix enum int comparisonXwdit
Fix enum int comparison
2021-12-14Avoid a crash in the gdscript analyserGilles Roudière
2021-12-13Fix shadowed global identifier warning duplicationYuri Roubinsky
2021-12-10Revert "Fix auto reload scripts on external change"Rémi Verschelde
2021-12-10Fix "Lookup Symbol" on global class memberscdemirer
"Lookup Symbol" on global class members now does switch to the relevant script.
2021-12-10Merge pull request #43181 from nathanfranke/string-emptyRémi Verschelde
Replace String comparisons with "", String() to is_empty()
2021-12-09Merge pull request #55700 from Razoric480/raz/lsp-extraneous-codeRémi Verschelde