Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix stringification of Projection | Rémi Verschelde | 2024-11-25 | 2 | -0/+2 |
| | |||||
* | Fix stringification of Vector4 | kobewi | 2024-11-22 | 2 | -7/+12 |
| | |||||
* | Fix analyzer pushing SHADOWED_VARIABLE warning for members shadowed in ↵ | girdenis-p | 2024-11-06 | 1 | -2/+2 |
| | | | | | | | | | | subclasses This fixes a bug in the analyzer where it did not push the SHADOWED_VARIABLE_BASE_CLASS warning for members shadowed by variable in subclass. It does this by comparing the class which contains the shadowed member with the class containing the variable, and pushing SHADOWED_VARIABLE only if the classes are the same. Additionally, SHADOWED_VARIABLE_BASE_CLASS can take an extra symbol which helps to specify the line for non native base class. | ||||
* | Merge pull request #47502 from KoBeWi/add_0 | Thaddeus Crews | 2024-10-31 | 6 | -35/+35 |
|\ | | | | | | | Always add decimal when converting float to string | ||||
| * | Always add decimal when printing float | kobewi | 2024-10-23 | 6 | -35/+35 |
| | | |||||
* | | GDScript: Rework `GDScriptUtilityFunctions` macros | Danil Alexeev | 2024-10-25 | 2 | -0/+17 |
| | | |||||
* | | GDScriptNativeClass: Allow getting static function as callable | rune-scape | 2024-09-23 | 2 | -0/+11 |
|/ | |||||
* | Object: Add tests about the safety of tail destruction | Pedro J. Estébanez | 2024-09-16 | 2 | -0/+55 |
| | |||||
* | Implement typed dictionaries | Thaddeus Crews | 2024-09-04 | 8 | -16/+63 |
| | |||||
* | Merge pull request #70096 from rune-scape/stringname-dict | Rémi Verschelde | 2024-09-03 | 2 | -3/+3 |
|\ | | | | | | | StringName Dictionary keys | ||||
| * | StringName Dictionary keys | rune-scape | 2024-08-29 | 2 | -3/+3 |
| | | | | | | | | | | also added 'is_string()' method to Variant and refactored many String type comparisons to use it instead | ||||
* | | GDScript: Replace `assert()` with `Utils.check()` in tests | Danil Alexeev | 2024-08-28 | 13 | -35/+27 |
|/ | |||||
* | Merge pull request #94730 from dalexeev/gds-fix-while-locals-clearing | Rémi Verschelde | 2024-07-26 | 2 | -2/+19 |
|\ | | | | | | | GDScript: Fix locals clearing after exiting `while` block | ||||
| * | GDScript: Fix locals clearing after exiting `while` block | Danil Alexeev | 2024-07-25 | 2 | -2/+19 |
| | | |||||
* | | [Core] Fix `Variant::construct` of `Object` | A Thousand Ships | 2024-07-25 | 2 | -0/+12 |
|/ | | | | Variant type was not updated correctly causing leaks in ref-counted | ||||
* | GDScript: Fix incorrect setter call for reference types | Danil Alexeev | 2024-07-24 | 2 | -0/+88 |
| | |||||
* | Merge pull request #94327 from HolonProduction/underscore_identifier | Rémi Verschelde | 2024-07-17 | 2 | -0/+16 |
|\ | | | | | | | GDScript: Restore support for `Token::UNDERSCORE` in identifiers | ||||
| * | GDScript: Restore support for `Token::UNDERSCORE` in identifiers | HolonProduction | 2024-07-15 | 2 | -0/+16 |
| | | |||||
* | | Merge pull request #94138 from vnen/gdscript-simple-setter-chain-call-setter | Rémi Verschelde | 2024-07-17 | 2 | -0/+17 |
|\ \ | |/ |/| | | | GDScript: Call setter on simple setter chain without getter | ||||
| * | GDScript: Call setter on simple setter chain without getter | George Marques | 2024-07-09 | 2 | -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-param | Rémi Verschelde | 2024-07-09 | 2 | -0/+9 |
|\ \ | |/ |/| | | | GDScript: Fix implicit cast to typed array when passing parameter | ||||
| * | GDScript: Fix implicit cast to typed array when passing parameter | Danil Alexeev | 2024-07-07 | 2 | -0/+9 |
| | | |||||
* | | [GDScript] Fix `get_method` for lambda self `Callable`s | A Thousand Ships | 2024-07-08 | 2 | -0/+26 |
|/ | |||||
* | [GDScript] Fix `get_argument_count` for lambda `Callable`s | A Thousand Ships | 2024-07-05 | 2 | -0/+21 |
| | |||||
* | GDScript: Fix subscript resolution on constant non-metatype GDScript base | Danil Alexeev | 2024-05-30 | 2 | -0/+17 |
| | |||||
* | GDScript: Fix lambdas capturing non-local variables | Danil Alexeev | 2024-05-22 | 2 | -0/+31 |
| | |||||
* | GDScript: Fix some export annotation issues | Danil Alexeev | 2024-05-13 | 1 | -3/+3 |
| | |||||
* | Style: Trim trailing whitespace and ensure newline at EOF | Rémi Verschelde | 2024-05-08 | 1 | -1/+0 |
| | | | | Found by apply the file_format checks again via #91597. | ||||
* | Fix various typos with codespell | Rémi Verschelde | 2024-05-07 | 1 | -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 type | K. S. Ernest (iFire) Lee | 2024-05-03 | 10 | -0/+22 |
| | | | | | Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> Co-authored-by: Rémi Verschelde <rverschelde@gmail.com> | ||||
* | Merge pull request #91364 from vnen/gdscript-implicit-ready-base-first | Rémi Verschelde | 2024-05-02 | 2 | -0/+21 |
|\ | | | | | | | GDScript: Call implicit ready on base script first | ||||
| * | GDScript: Call implicit ready on base script first | George Marques | 2024-05-02 | 2 | -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. | ||||
* | | Merge pull request #91192 from vnen/gdscript-validated-native-static-calls | Rémi Verschelde | 2024-05-01 | 2 | -0/+9 |
|\ \ | |/ |/| | | | GDScript: Perform validated calls with static methods | ||||
| * | GDScript: Perform validated calls with static methods | George Marques | 2024-04-25 | 2 | -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. | ||||
* | | GDScript: Fix object iterator opcodes | Danil Alexeev | 2024-04-26 | 2 | -0/+79 |
|/ | |||||
* | GDScript: Fix test `reset_uninit_local_vars.gd` failure | Danil Alexeev | 2024-04-24 | 1 | -3/+3 |
| | |||||
* | Merge pull request #89990 from dalexeev/gds-reset-uninit-local-vars | Rémi Verschelde | 2024-04-24 | 2 | -0/+25 |
|\ | | | | | | | GDScript: Fix uninitialized local variables not being reset | ||||
| * | GDScript: Fix uninitialized local variables not being reset | Danil Alexeev | 2024-03-30 | 2 | -0/+25 |
| | | |||||
* | | GDScript: Warn when enum variable has no default | George Marques | 2024-04-16 | 1 | -0/+1 |
| | | | | | | | | | | The default will always be set to `0`, so if it's not a valid value in the enum, the warning is shown. | ||||
* | | Merge pull request #90442 from vnen/gdscript-dont-warn-using-default-builtin | Rémi Verschelde | 2024-04-10 | 1 | -0/+2 |
|\ \ | | | | | | | | | | GDScript: Don't warn on unassigned for builtin-typed variables | ||||
| * | | GDScript: Don't warn on unassigned for builtin-typed variables | George Marques | 2024-04-10 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the type of a variable is a built-in Variant type, then it will automatically be assigned a default value based on the type. This means that the explicit initialization may be unnecessary. Thus this commit removes the warning in such case. This also changes the meaning of the unassigned warning to happen when the variable is used before being assigned, not when it has zero assignments. | ||||
* | | | Merge pull request #84043 from dalexeev/gds-fix-unsafe-cast-warning | Rémi Verschelde | 2024-04-09 | 2 | -0/+34 |
|\ \ \ | |/ / |/| | | | | | GDScript: Fix `UNSAFE_CAST` warning | ||||
| * | | GDScript: Fix `UNSAFE_CAST` warning | Danil Alexeev | 2023-10-27 | 2 | -0/+34 |
| | | | |||||
* | | | Add tests for signal await with parameters | kobewi | 2024-04-08 | 2 | -0/+29 |
| |/ |/| | |||||
* | | [Core] Disconnect one-shot signals before calling callbacks | A Thousand Ships | 2024-03-20 | 4 | -0/+40 |
| | | | | | | | | | | This prevents infinite recursion with one-shot connections emitting themselves | ||||
* | | Merge pull request #87680 from AThousandShips/the_angry_count | Rémi Verschelde | 2024-03-13 | 2 | -0/+129 |
|\ \ | | | | | | | | | | Add methods to get argument count of methods | ||||
| * | | Add methods to get argument count of methods | A Thousand Ships | 2024-03-10 | 2 | -0/+129 |
| | | | | | | | | | | | | | | | | | | | | | | | | Added to: * `Callable`s * `Object`s * `ClassDB` * `Script(Instance)`s | ||||
* | | | GDScript: Fix `@warning_ignore` annotation issues | Danil Alexeev | 2024-03-12 | 2 | -0/+14 |
|/ / | |||||
* | | [GDScript] Fix some test file paths | A Thousand Ships | 2024-03-04 | 12 | -0/+0 |
| | | |||||
* | | Core: Add `Callable.create` static method for `Variant` callables | Danil Alexeev | 2024-02-29 | 2 | -2/+11 |
| | |