summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | Fix set chain bug with jump_if_sharedcdemirer2022-06-282-0/+26
|/
* Merge pull request #59358 from strank/debug-inner-classesGeorge Marques2022-06-151-17/+29
|\
| * Extend test_compiler to also disassemble inner classesstrank2022-06-121-17/+29
| |
* | Merge pull request #61666 from nathanfranke/fix-match-bindGeorge Marques2022-06-152-0/+19
|\ \ | | | | | | gdscript: use correct error for unused bind match, suppress with underscore
| * | use correct error for unused bind match, suppress with underscoreNathan Franke2022-06-032-0/+19
| |/
* | Merge pull request #57151 from cdemirer/fix-match-array-dict-pattern-logic-errorGeorge Marques2022-06-144-0/+93
|\ \ | |/ |/| Fix logic errors in match-statement Array & Dictionary patterns
| * Fix logic errors in match-statement Array & Dictionary Patternscdemirer2022-03-024-0/+93
| |
* | Merge pull request #61440 from vnen/gdscript-scene-unique-nodesRémi Verschelde2022-05-316-4/+72
|\ \ | | | | | | GDScript: Support `%` in shorthand for `get_node`
| * | GDScript: Support `%` in shorthand for `get_node`George Marques2022-05-276-4/+72
| | | | | | | | | | | | | | | | | | The `%` is used in scene unique nodes. Now `%` can also be used instead of `$` for the shorthand, besides being allowed generally anywhere in the path as the prefix for a node name.
* | | Merge pull request #61279 from Trioct/fix-typed-array-assignmentRémi Verschelde2022-05-252-0/+4
|\ \ \
| * | | Fix const typed array assignmentTrioct2022-05-252-0/+4
| | | |
* | | | GDScript: Don't show redundant await warning on unknown typesGeorge Marques2022-05-242-0/+14
| |/ / |/| | | | | | | | Also avoid it when the type is known to be a signal.
* | | GDScript: Fix lambda captures in default argument valuesGeorge Marques2022-05-232-0/+9
| | |
* | | GDScript: Fix `if` after lambda being seen as ternaryGeorge Marques2022-05-232-0/+9
| | |