summaryrefslogtreecommitdiff
path: root/modules/gdscript/gdscript_analyzer.cpp
AgeCommit message (Collapse)Author
2022-12-12Fix String type compatibility being too permissiverune-scape
2022-12-11Merge pull request #66733 from MewPurPur/unary-op-warningsRémi Verschelde
Fix unary op warnings never showing
2022-12-11Fix subscript of preloaded scriptrune-scape
2022-12-10Fix constant base typing in extended GDScript classAdam Scott
2022-12-10Merge pull request #69518 from rune-scape/rune-analyze-valuesRémi Verschelde
GDScript: Preload should make native type
2022-12-10Merge pull request #69467 from rune-scape/rune-subclass-script-pathRémi Verschelde
GDScript: Fix subclass script path issues
2022-12-05Unify String and StringNamerune-scape
2022-12-04GDScript: preload should make native typerune-scape
2022-12-02Fix missing parent class name identifier crashAdam Scott
2022-12-01GDScript: Fix subclass script path issuesrune-scape
2022-12-01Merge pull request #69423 from KoBeWi/parentureRémi Verschelde
Improve parent signature error
2022-12-01Merge pull request #68481 from dalexeev/gds-fix-dyn-arg-def-valRémi Verschelde
GDScript 2.0: Fix shift due to skip of non-constant default argument values
2022-12-01Improve parent signature errorkobewi
2022-12-01Fix unary op warnings never showingVolTer
2022-11-27GDScript: Avoid using `get_global_class_native_base`rune-scape
2022-11-25Merge pull request #69079 from adamscott/fix-singleton-scene-cyclic-loadRémi Verschelde
Fix singleton scene cyclic loading
2022-11-25Fix singleton scene cyclic loadingAdam Scott
2022-11-24Ensure class name is printed in STATIC_CALLED_ON_INSTANCE warningclayjohn
2022-11-23[godot#68977] Fix constants parametersAdam Scott
2022-11-22Merge pull request #68970 from Chaosus/gds_fix_lambda_signalRémi Verschelde
Fix using signals in lambda functions
2022-11-22Fix using signals in lambda functionsYuri Rubinsky
2022-11-21[godot#61386] Fix autoload scenes implicit typesAdam Scott
2022-11-18Remove fix leftover that caused cyclic load issuesAdam Scott
2022-11-18Merge pull request #67714 from adamscott/fix-preload-cyclic-references-part2Rémi Verschelde
Fix cyclic references in GDScript 2.0
2022-11-18Fix cyclic references in GDScript 2.0Adam Scott
2022-11-17Fix ability to overload "script" variableocean (they/them)
2022-11-13GDScript compiler subclass bugfixesRune
2022-11-10GDScript 2.0: Fix shift due to skip of non-constant default argument valuesDanil Alexeev
2022-11-02Merge pull request #68125 from ↵Rémi Verschelde
kleonc/range-fix-single-arg-optimized-type-mismatch [GDScript] Fix type mismatch in optimized single arg `range`
2022-11-02Merge pull request #68040 from adamscott/fix-property-getter-return-typeRémi Verschelde
Fix property getter with custom return type
2022-11-02GDScript Fix type mismatch in optimized single arg `range`kleonc
2022-10-31Merge pull request #68065 from zCubed3/fix_min_max_crashRémi Verschelde
`GDScriptAnalyzer` Fix math utilities crashing when invalid args are passed
2022-10-31Merge pull request #62695 from Spartan322/relax-constant-assertsRémi Verschelde
Allow non-constant string message for assert
2022-10-30Fix math utility functions crashing when invalid args passedzCubed3
2022-10-29[godot#68001] Fix property getter with custom return typeAdam Scott
2022-10-16Clarified reason why a resource cannot be loaded.João Martins
2022-10-14Add STATIC_CALLED_ON_INSTANCE warning to highlightclayjohn
when static functions are called directly from objects
2022-10-13Implement RETURN_VALUE_DISCARDED warning in GDscriptclayjohn
2022-10-07Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg
change warnings=all to use /W4.
2022-09-17Add GDScript resource export.willnationsdev
2022-09-15Fix GDScript `preload` fails in standalone build unless files are present in ↵Abdelhafidh Belalia
directory Fixes #56343.
2022-08-31Merge pull request #65065 from Atlinx/fix/65010_enum-doesnt-show-upRémi Verschelde
2022-08-30Fix inferred GDScript enum values not appearing in inspectorAtlinx
"enum_values" originally wasn't being forwarded to the new type inside "reduce_identifier_from_base", which caused hint strings derived from the new type to be blank, which ultimately caused an empty enum dropdown menu.
2022-08-29Rename String `plus_file` to `path_join`Aaron Franke
2022-08-07fix(gdscript): Infer type from preload constAntonio Dell'Annunziata
When resolving the type of the attribute from the variant, the result_type.kind was overritten for no reason. It is assumed that this only needs to be done, if the variant value is not valid to have any kind here. Solves #63715
2022-07-23Implement Vector4, Vector4i, Projectionreduz
Implement built-in classes Vector4, Vector4i and Projection. * Two versions of Vector4 (float and integer). * A Projection class, which is a 4x4 matrix specialized in projection types. These types have been requested for a long time, but given they were very corner case they were not added before. Because in Godot 4, reimplementing parts of the rendering engine is now possible, access to these types (heavily used by the rendering code) becomes a necessity. **Q**: Why Projection and not Matrix4? **A**: Godot does not use Matrix2, Matrix3, Matrix4x3, etc. naming convention because, within the engine, these types always have a *purpose*. As such, Godot names them: Transform2D, Transform3D or Basis. In this case, this 4x4 matrix is _always_ used as a _Projection_, hence the naming.
2022-07-18Allow non-constant string message for assertGeorge L. Albany
2022-07-06Merge pull request #62760 from cdemirer/fix-annotation-initializer-conflictRémi Verschelde
Fix priority of annotated type vs initializer type
2022-07-06Fix priority of annotated type vs initializer typecdemirer
2022-07-05Add grouping annotations for class properties in GDScriptYuri Sizov