summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gdscript_analyzer.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge pull request #69467 from rune-scape/rune-subclass-script-pathRémi Verschelde2022-12-101-5/+5
|\ \ \ | | | | | | | | GDScript: Fix subclass script path issues
| * | | GDScript: Fix subclass script path issuesrune-scape2022-12-011-5/+5
| | | |
* | | | Unify String and StringNamerune-scape2022-12-051-4/+6
| |/ / |/| |
* | | Fix missing parent class name identifier crashAdam Scott2022-12-021-2/+5
| | |
* | | Merge pull request #69423 from KoBeWi/parentureRémi Verschelde2022-12-011-6/+10
|\ \ \ | | | | | | | | | | | | Improve parent signature error
| * | | Improve parent signature errorkobewi2022-12-011-6/+10
| |/ /
* | | Merge pull request #68481 from dalexeev/gds-fix-dyn-arg-def-valRémi Verschelde2022-12-011-0/+2
|\ \ \ | |/ / |/| | | | | GDScript 2.0: Fix shift due to skip of non-constant default argument values
| * | GDScript 2.0: Fix shift due to skip of non-constant default argument valuesDanil Alexeev2022-11-101-0/+2
| | |
* | | GDScript: Avoid using `get_global_class_native_base`rune-scape2022-11-271-11/+3
| | |
* | | Merge pull request #69079 from adamscott/fix-singleton-scene-cyclic-loadRémi Verschelde2022-11-251-8/+13
|\ \ \ | | | | | | | | Fix singleton scene cyclic loading
| * | | Fix singleton scene cyclic loadingAdam Scott2022-11-251-8/+13
| | | |
* | | | Ensure class name is printed in STATIC_CALLED_ON_INSTANCE warningclayjohn2022-11-241-2/+8
|/ / /
* | | [godot#68977] Fix constants parametersAdam Scott2022-11-231-1/+1
| | |
* | | Merge pull request #68970 from Chaosus/gds_fix_lambda_signalRémi Verschelde2022-11-221-0/+4
|\ \ \ | | | | | | | | | | | | Fix using signals in lambda functions
| * | | Fix using signals in lambda functionsYuri Rubinsky2022-11-221-0/+4
| | | |
* | | | [godot#61386] Fix autoload scenes implicit typesAdam Scott2022-11-211-0/+12
|/ / /
* | | Remove fix leftover that caused cyclic load issuesAdam Scott2022-11-181-28/+0
| | |
* | | Merge pull request #67714 from adamscott/fix-preload-cyclic-references-part2Rémi Verschelde2022-11-181-42/+94
|\ \ \ | | | | | | | | | | | | Fix cyclic references in GDScript 2.0
| * | | Fix cyclic references in GDScript 2.0Adam Scott2022-11-181-42/+94
| | | |
* | | | Fix ability to overload "script" variableocean (they/them)2022-11-171-4/+12
|/ / /
* / / GDScript compiler subclass bugfixesRune2022-11-131-10/+0
|/ /
* | Merge pull request #68125 from ↵Rémi Verschelde2022-11-021-1/+1
|\ \ | | | | | | | | | | | | | | | kleonc/range-fix-single-arg-optimized-type-mismatch [GDScript] Fix type mismatch in optimized single arg `range`
| * | GDScript Fix type mismatch in optimized single arg `range`kleonc2022-11-021-1/+1
| | |
* | | Merge pull request #68040 from adamscott/fix-property-getter-return-typeRémi Verschelde2022-11-021-11/+16
|\ \ \ | |/ / |/| | | | | Fix property getter with custom return type
| * | [godot#68001] Fix property getter with custom return typeAdam Scott2022-10-291-11/+16
| | |
* | | Merge pull request #68065 from zCubed3/fix_min_max_crashRémi Verschelde2022-10-311-2/+8
|\ \ \ | | | | | | | | | | | | `GDScriptAnalyzer` Fix math utilities crashing when invalid args are passed
| * | | Fix math utility functions crashing when invalid args passedzCubed32022-10-301-2/+8
| |/ /
* | | Merge pull request #62695 from Spartan322/relax-constant-assertsRémi Verschelde2022-10-311-2/+2
|\ \ \ | |/ / |/| | | | | Allow non-constant string message for assert
| * | Allow non-constant string message for assertGeorge L. Albany2022-07-181-2/+2
| | |
* | | Clarified reason why a resource cannot be loaded.João Martins2022-10-161-1/+7
| | |
* | | Add STATIC_CALLED_ON_INSTANCE warning to highlightclayjohn2022-10-141-0/+4
| | | | | | | | | | | | when static functions are called directly from objects
* | | Implement RETURN_VALUE_DISCARDED warning in GDscriptclayjohn2022-10-131-5/+11
| | |
* | | Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg2022-10-071-15/+15
| |/ |/| | | | | change warnings=all to use /W4.
* | Add GDScript resource export.willnationsdev2022-09-171-29/+55
| |
* | Fix GDScript `preload` fails in standalone build unless files are present in ↵Abdelhafidh Belalia2022-09-151-1/+1
| | | | | | | | | | | | directory Fixes #56343.
* | Merge pull request #65065 from Atlinx/fix/65010_enum-doesnt-show-upRémi Verschelde2022-08-311-0/+1
|\ \
| * | Fix inferred GDScript enum values not appearing in inspectorAtlinx2022-08-301-0/+1
| | | | | | | | | | | | "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.
* | | Rename String `plus_file` to `path_join`Aaron Franke2022-08-291-2/+2
|/ /
* | fix(gdscript): Infer type from preload constAntonio Dell'Annunziata2022-08-071-1/+1
| | | | | | | | | | | | | | 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
* | Implement Vector4, Vector4i, Projectionreduz2022-07-231-0/+6
|/ | | | | | | | | | | | | 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.
* Merge pull request #62760 from cdemirer/fix-annotation-initializer-conflictRémi Verschelde2022-07-061-30/+30
|\ | | | | Fix priority of annotated type vs initializer type
| * Fix priority of annotated type vs initializer typecdemirer2022-07-061-30/+30
| |
* | Add grouping annotations for class properties in GDScriptYuri Sizov2022-07-051-0/+3
|/
* Add a const call mode to Object, Variant and Script.K. S. Ernest (iFire) Lee2022-06-271-0/+3
| | | | | | | 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>
* Make enum/constant binds 64-bit.bruvzg2022-06-171-1/+1
|
* use correct error for unused bind match, suppress with underscoreNathan Franke2022-06-031-2/+2
|
* Merge pull request #61279 from Trioct/fix-typed-array-assignmentRémi Verschelde2022-05-251-3/+13
|\
| * Fix const typed array assignmentTrioct2022-05-251-3/+13
| |
* | GDScript: Don't show redundant await warning on unknown typesGeorge Marques2022-05-241-4/+13
|/ | | | Also avoid it when the type is known to be a signal.
* Add a new HashSet templatereduz2022-05-201-3/+3
| | | | | * Intended to replace RBSet in most cases. * Optimized for iteration speed