summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | Merge pull request #70656 from vonagam/fix-void-returnsRémi Verschelde2023-01-036-0/+17
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | GDScript: Disallow return with value in void functions
| * | | | GDScript: Disallow return with value in void functionsDmitrii Maganov2022-12-296-0/+17
| |/ / /
* | | | Merge pull request #62688 from cdemirer/assignments-and-typesGeorge Marques2022-12-302-0/+21
|\ \ \ \ | | | | | | | | | | Fixes https://github.com/godotengine/godot/issues/62650
| * | | | Fix type adjustment skipped when value is considered both not hard and not ↵cdemirer2022-12-252-0/+21
| |/ / / | | | | | | | | | | | | variant
* | | | Merge pull request #70613 from vonagam/fix-enum-as-constantGeorge Marques2022-12-302-0/+46
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | Fixes https://github.com/godotengine/godot/issues/54018 Fixes https://github.com/godotengine/godot/issues/70213 Fixes https://github.com/godotengine/godot/issues/70495
| * | | Fix usage of Enum as constantDmitrii Maganov2022-12-282-0/+46
| |/ /
* / / GDScript: Fix return type of constructor call for extending classDmitrii Maganov2022-12-272-0/+12
|/ /
* | Merge pull request #69991 from rune-scape/cast-typeRémi Verschelde2022-12-232-0/+8
|\ \ | | | | | | | | | GDScript: Fix cast producing null
| * | GDScript: Fix cast producing nullrune-scape2022-12-122-0/+8
| | |
* | | Merge pull request #70220 from adamscott/fix-external-enumRémi Verschelde2022-12-236-1/+14
|\ \ \ | | | | | | | | | | | | Fix external enums not assignable as constants
| * | | Fix external enums not assignable as constantsAdam Scott2022-12-176-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add external enums test - Rename external inner class test - Clean up `GDScriptAnalyzer::reduce_identifier_from_base` class behavior
* | | | Merge pull request #70440 from rune-scape/null-againRémi Verschelde2022-12-222-0/+11
|\ \ \ \ | | | | | | | | | | | | | | | Fix GDScript analyzer null literal
| * | | | Fix GDScript analyzer null literalrune-scape2022-12-222-0/+11
| | |_|/ | |/| |
* / | | Add MethodInfo to signal datatypeocean (they/them)2022-12-212-0/+6
|/ / /
* / / Fix outer class lookupAdam Scott2022-12-172-0/+14
|/ /
* | Fix inner class constant assignmentAdam Scott2022-12-173-0/+11
| |
* | Fix enum value regressionrune-scape2022-12-161-1/+2
| |
* | Merge pull request #69471 from rune-scape/rune-out-of-orderRémi Verschelde2022-12-1523-1/+206
|\ \ | | | | | | GDScript: Out of order member resolution
| * | GDScript: Allow out of order member resolutionrune-scape2022-12-1423-1/+206
| |/
* / Fix String type compatibility being too permissiverune-scape2022-12-122-0/+9
|/
* Fix constant base typing in extended GDScript classAdam Scott2022-12-107-0/+53
|
* Merge pull request #68747 from rune-scape/rune-stringname-unificationRémi Verschelde2022-12-0912-0/+127
|\ | | | | | | GDScript: Unify StringName and String
| * Unify String and StringNamerune-scape2022-12-0512-0/+127
| |
* | Fix incomplete shadowing of member properties by parametersDmitrii Maganov2022-12-062-0/+42
|/
* Improve parent signature errorkobewi2022-12-015-5/+5
|
* Fix singleton scene cyclic loadingAdam Scott2022-11-251-15/+26
|
* change RETURN_VALUE_DISCARDED GDScript warn textsouplamp2022-11-211-1/+1
| | | | changed RETURN_VALUE_DISCARDED GDscript warning text to mention how the return value of a function is discarded; update GDScript parser warning test to include new warning text.
* Merge pull request #67714 from adamscott/fix-preload-cyclic-references-part2Rémi Verschelde2022-11-188-6/+36
|\ | | | | | | Fix cyclic references in GDScript 2.0
| * Fix cyclic references in GDScript 2.0Adam Scott2022-11-188-6/+36
| |
* | Fix ability to overload "script" variableocean (they/them)2022-11-174-0/+19
|/
* GDScript compiler subclass bugfixesRune2022-11-135-1/+29
|
* Merge pull request #68125 from ↵Rémi Verschelde2022-11-024-0/+139
|\ | | | | | | | | | | 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-024-0/+139
| |
* | Support for checking that Projection is(not) nullRafał Mikrut2022-11-014-0/+10
|/
* Add STATIC_CALLED_ON_INSTANCE warning to highlightclayjohn2022-10-142-0/+18
| | | | when static functions are called directly from objects
* Implement RETURN_VALUE_DISCARDED warning in GDscriptclayjohn2022-10-132-2/+6
|
* Fix more MSVC C4702 (unreachable code) warningsRémi Verschelde2022-10-071-6/+6
|
* Improve dictionary printing to avoid confusion with arraysHugo Locurcio2022-10-046-9/+9
| | | | | | - Add leading and trailing spaces within dictionaries, as the `{}` characters are hard to distinguish from `[]` on some fonts. This is especially helpful with empty arrays and dictionaries.
* Improve null and object printing to avoid confusion with arraysHugo Locurcio2022-08-313-3/+3
| | | | | | | - Use different syntax for object printing to avoid confusion with arrays. - Print null as `<null>` to avoid confusion with a string `"null"`. - Display `<empty>` in editor resource pickers to avoid confusion with array-based properties.
* Rename String `plus_file` to `path_join`Aaron Franke2022-08-291-3/+3
|
* Add tests for empty/unnamed arguments to ClassDB, Variant, GDScriptYuri Sizov2022-08-081-0/+34
|
* fix(gdscript): Infer type from preload constAntonio Dell'Annunziata2022-08-073-0/+10
| | | | | | | 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
* Merge pull request #61315 from lawnjelly/variant_bucket_poolsRémi Verschelde2022-08-021-2/+3
|\ | | | | Variant memory pools
| * Variant memory poolslawnjelly2022-07-041-2/+3
| | | | | | | | Memory pools via PagedAllocator for Transform2D, Transform3D, Basis and AABB.
* | Code quality: Fix header guards consistencyRémi Verschelde2022-07-251-3/+3
| | | | | | | | | | Adds `header_guards.sh` bash script, used in CI to validate future changes. Can be run locally to fix invalid header guards.
* | Merge pull request #62701 from cdemirer/for-variable-conflictRémi Verschelde2022-07-064-0/+11
|\ \
| * | Do error when for variable conflicts with a variable in scopecdemirer2022-07-044-0/+11
| |/
* / Add grouping annotations for class properties in GDScriptYuri Sizov2022-07-052-3/+3
|/
* Merge pull request #60675 from voylin/Add-BBCode-support-for-printing-outputRémi Verschelde2022-06-282-2/+2
|\ | | | | Adding print_rich() for printing with BBCode
| * Adding print_rich for printing with BBCodeVoylin2022-06-292-2/+2
| |