summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/tests/scripts
Commit message (Collapse)AuthorAgeFilesLines
* Rebrand Godot 4.3 to RedotTrashguy2024-10-131-1/+1
|
* Object: Add tests about the safety of tail destructionPedro J. Estébanez2024-09-172-0/+55
| | | | (cherry picked from commit bb7752059966b38f75714914474da1b9f93dc294)
* GDScript: Do not produce `UNUSED_SIGNAL` warning for common implicit usesDanil Alexeev2024-09-172-8/+29
| | | | (cherry picked from commit d1e2afaae33aeb4c64708b3c6d439290f35a03ea)
* GDScript: Fix common mismatched external parser errorsrune-scape2024-07-3113-1/+51
|
* Merge pull request #94730 from dalexeev/gds-fix-while-locals-clearingRémi Verschelde2024-07-262-2/+19
|\ | | | | | | GDScript: Fix locals clearing after exiting `while` block
| * GDScript: Fix locals clearing after exiting `while` blockDanil Alexeev2024-07-252-2/+19
| |
* | [Core] Fix `Variant::construct` of `Object`A Thousand Ships2024-07-254-0/+27
|/ | | | Variant type was not updated correctly causing leaks in ref-counted
* Merge pull request #94674 from ↵Rémi Verschelde2024-07-242-0/+88
|\ | | | | | | | | dalexeev/gds-fix-incorrect-setter-call-for-ref-types GDScript: Fix incorrect setter call for reference types
| * GDScript: Fix incorrect setter call for reference typesDanil Alexeev2024-07-242-0/+88
| |
* | GDScript: Fix false positive cases of `ENUM_VARIABLE_WITHOUT_DEFAULT`Danil Alexeev2024-07-221-0/+14
|/
* Merge pull request #94327 from HolonProduction/underscore_identifierRémi Verschelde2024-07-172-0/+16
|\ | | | | | | GDScript: Restore support for `Token::UNDERSCORE` in identifiers
| * GDScript: Restore support for `Token::UNDERSCORE` in identifiersHolonProduction2024-07-152-0/+16
| |
* | Merge pull request #94138 from vnen/gdscript-simple-setter-chain-call-setterRémi Verschelde2024-07-172-0/+17
|\ \ | |/ |/| | | GDScript: Call setter on simple setter chain without getter
| * GDScript: Call setter on simple setter chain without getterGeorge Marques2024-07-092-0/+17
| | | | | | | | | | Fixes a bug where a member variable was being set directly before calling the setter.
* | Merge pull request #94025 from dalexeev/gds-fix-implicit-cast-typed-array-paramRémi Verschelde2024-07-092-0/+9
|\ \ | |/ |/| | | GDScript: Fix implicit cast to typed array when passing parameter
| * GDScript: Fix implicit cast to typed array when passing parameterDanil Alexeev2024-07-072-0/+9
| |
* | Merge pull request #93897 from akien-mga/vformat-better-error-messageRémi Verschelde2024-07-091-0/+1
|\ \ | | | | | | | | | Core: Improve `vformat` error reporting on `sprintf` failure
| * | Core: Improve vformat error reporting on sprintf failureRémi Verschelde2024-07-041-0/+1
| | | | | | | | | | | | And fix a few occurrences of formatting errors that led me to this.
* | | [GDScript] Fix `get_method` for lambda self `Callable`sA Thousand Ships2024-07-082-0/+26
| |/ |/|
* | [GDScript] Fix `get_argument_count` for lambda `Callable`sA Thousand Ships2024-07-052-0/+21
|/
* GDScript: Fix false positive `CONFUSABLE_CAPTURE_REASSIGNMENT` warningsDanil Alexeev2024-06-282-42/+21
|
* GDScript: Add `CONFUSABLE_CAPTURE_REASSIGNMENT` warningDanil Alexeev2024-06-283-0/+64
|
* Merge pull request #93384 from dalexeev/gds-fix-non-global-class-exportRémi Verschelde2024-06-215-6/+11
|\ | | | | | | GDScript: Fix non-global class export
| * GDScript: Fix non-global class exportDanil Alexeev2024-06-205-6/+11
| |
* | Merge pull request #92688 from HolonProduction/autocompletion-batch-2Rémi Verschelde2024-06-2128-0/+301
|\ \ | |/ |/| | | Add more autocompletion tests
| * Add more autocompletion testsHolonProduction2024-06-0228-0/+301
| |
* | Autocompletion: Add support for string name option in more placesHolonProduction2024-06-129-0/+69
| |
* | Register the export info correctly when a global class script is used as the ↵PreslavPetrov2024-06-033-0/+12
|/ | | | variable type for Node
* GDScript: Fix subscript resolution on constant non-metatype GDScript baseDanil Alexeev2024-05-302-0/+17
|
* GDScript: Fix lambdas capturing non-local variablesDanil Alexeev2024-05-222-0/+31
|
* Merge pull request #90716 from dalexeev/gds-fix-export-annotation-issuesRémi Verschelde2024-05-198-139/+188
|\ | | | | | | GDScript: Fix some export annotation issues
| * GDScript: Fix some export annotation issuesDanil Alexeev2024-05-138-139/+188
| |
* | GDScript: Fix `STANDALONE_EXPRESSION` warning for `preload()`Danil Alexeev2024-05-174-4/+22
|/
* Style: Trim trailing whitespace and ensure newline at EOFRémi Verschelde2024-05-0824-30/+26
| | | | Found by apply the file_format checks again via #91597.
* Fix various typos with codespellRémi Verschelde2024-05-071-1/+1
| | | | | | | | | Using 2.2.7.dev217+g10c2abcf. Had to add `colour` to the ignore list as we used it as an alias/keyword for the documentation of color-related APIs. Also ignore recommendations to change `thirdparty` to either `third-party` or `third party`, which are correct but we use the former fairly consistently.
* Add PackedVector4Array Variant typeK. S. Ernest (iFire) Lee2024-05-0314-0/+41
| | | | | Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
* Merge pull request #91412 from ↵Rémi Verschelde2024-05-0216-4/+155
|\ | | | | | | | | | | dalexeev/gds-fix-non-static-access-in-static-context GDScript: Fix access non-static members in static context
| * GDScript: Fix access non-static members in static contextDanil Alexeev2024-05-0116-4/+155
| |
* | Merge pull request #91364 from vnen/gdscript-implicit-ready-base-firstRémi Verschelde2024-05-022-0/+21
|\ \ | | | | | | | | | GDScript: Call implicit ready on base script first
| * | GDScript: Call implicit ready on base script firstGeorge Marques2024-05-022-0/+21
| | | | | | | | | | | | | | | | | | | | | It is generally expected that the base class is called before the inherited clas. This commit implements this behavior for the implicit ready function (`@onready` annotation) to make it consistent with the expectations.
* | | [GDScript] Correctly report invalid read-only accessA Thousand Ships2024-05-013-3/+3
| |/ |/|
* | Merge pull request #91192 from vnen/gdscript-validated-native-static-callsRémi Verschelde2024-05-012-0/+9
|\ \ | | | | | | | | | GDScript: Perform validated calls with static methods
| * | GDScript: Perform validated calls with static methodsGeorge Marques2024-04-252-0/+9
| | | | | | | | | | | | | | | | | | When the types are validated at compile time, this type of call runs faster. It is already used for instance methods, this adds this optimization to native static methods as well.
* | | Merge pull request #89647 from AThousandShips/read_only_dictRémi Verschelde2024-05-012-0/+10
|\ \ \ | |_|/ |/| | | | | [Core] Fix property access on read-only `Dictionary`
| * | [Core] Fix property access on read-only `Dictionary`A Thousand Ships2024-04-222-0/+10
| | |
* | | GDScript: Fix object iterator opcodesDanil Alexeev2024-04-262-0/+79
| |/ |/|
* | GDScript: Fix test `reset_uninit_local_vars.gd` failureDanil Alexeev2024-04-241-3/+3
| |
* | Merge pull request #89990 from dalexeev/gds-reset-uninit-local-varsRémi Verschelde2024-04-242-0/+25
|\ \ | | | | | | | | | GDScript: Fix uninitialized local variables not being reset
| * | GDScript: Fix uninitialized local variables not being resetDanil Alexeev2024-03-302-0/+25
| | |
* | | Merge pull request #89884 from HolonProduction/tests-batch-2Rémi Verschelde2024-04-2337-0/+52
|\ \ \ | |_|/ |/| | | | | Completion Tests: Add script to owner