summaryrefslogtreecommitdiff
path: root/modules/gdscript
AgeCommit message (Collapse)Author
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-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-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-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
2021-12-09Replace String comparisons with "", String() to is_empty()Nathan Franke
Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings
2021-12-09Merge pull request #49473 from cptchuckles/fix-auto-reload-scriptsRémi Verschelde
2021-12-07Remove extraneous return to LSPFrancois Belair
2021-12-06Merge pull request #55624 from Razoric480/raz/cs-lsp-signalRémi Verschelde
2021-12-04Auto-Increment Debugger PortNathan Franke
Note: This PR also changes the port of the GDScript Language Server from 6008 to 6005. This opens enough ports above the debug port (6007) for this change to be useful.
2021-12-04Prevent LSP adding signal func to non GDScriptsFrancois Belair
2021-12-03Fix typo in `gdscript_parser`Raul Santos
2021-11-30Don't return reference on copy assignment operatorsRémi Verschelde
We prefer to prevent using chained assignment (`T a = b = c = T();`) as this can lead to confusing code and subtle bugs. According to https://en.wikipedia.org/wiki/Assignment_operator_(C%2B%2B), C++ allows any arbitrary return type, so this is standard compliant. This could be re-assessed if/when we have an actual need for a behavior more akin to that of the C++ STL, for now this PR simply changes a handful of cases which were inconsistent with the rest of the codebase (`void` return type was already the most common case prior to this commit).
2021-11-25Enchance descriptions of @GlobalScope/@GDScriptYuri Roubinsky
2021-11-23Rename `remove()` to `remove_at()` when removing by indexLightning_A
2021-11-23Merge pull request #54949 from Chaosus/fix_warningRémi Verschelde
2021-11-23Improve various textskobewi
2021-11-21Fix godot crash on null expression, fixes #53862Pawel Lampe
2021-11-15Replace Godot docs URL with `$DOCS_URL` in XML class referenceRémi Verschelde
2021-11-13Allow using built-in names for variables, push warnings insteadYuri Roubinsky