Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | 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 | |
| |/ / / | ||||||
* | | | | Merge pull request #93897 from akien-mga/vformat-better-error-message | Rémi Verschelde | 2024-07-09 | 1 | -0/+1 | |
|\ \ \ \ | | | | | | | | | | | | | | | | Core: Improve `vformat` error reporting on `sprintf` failure | |||||
| * | | | | Core: Improve vformat error reporting on sprintf failure | Rémi Verschelde | 2024-07-04 | 1 | -0/+1 | |
| | |/ / | |/| | | | | | | | | | | And fix a few occurrences of formatting errors that led me to this. | |||||
* | | | | [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 false positive `CONFUSABLE_CAPTURE_REASSIGNMENT` warnings | Danil Alexeev | 2024-06-28 | 2 | -42/+21 | |
| | | ||||||
* | | GDScript: Add `CONFUSABLE_CAPTURE_REASSIGNMENT` warning | Danil Alexeev | 2024-06-28 | 3 | -0/+64 | |
| | | ||||||
* | | Merge pull request #93384 from dalexeev/gds-fix-non-global-class-export | Rémi Verschelde | 2024-06-21 | 5 | -6/+11 | |
|\ \ | | | | | | | | | | GDScript: Fix non-global class export | |||||
| * | | GDScript: Fix non-global class export | Danil Alexeev | 2024-06-20 | 5 | -6/+11 | |
| | | | ||||||
* | | | Merge pull request #92688 from HolonProduction/autocompletion-batch-2 | Rémi Verschelde | 2024-06-21 | 28 | -0/+301 | |
|\ \ \ | |/ / |/| | | | | | Add more autocompletion tests | |||||
| * | | Add more autocompletion tests | HolonProduction | 2024-06-02 | 28 | -0/+301 | |
| | | | ||||||
* | | | Autocompletion: Add support for string name option in more places | HolonProduction | 2024-06-12 | 11 | -0/+73 | |
| | | | ||||||
* | | | Register the export info correctly when a global class script is used as the ↵ | PreslavPetrov | 2024-06-03 | 3 | -0/+12 | |
|/ / | | | | | | | variable type for Node | |||||
* | | 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 | |
| | | ||||||
* | | Merge pull request #90716 from dalexeev/gds-fix-export-annotation-issues | Rémi Verschelde | 2024-05-19 | 8 | -139/+188 | |
|\ \ | | | | | | | | | | GDScript: Fix some export annotation issues | |||||
| * | | GDScript: Fix some export annotation issues | Danil Alexeev | 2024-05-13 | 8 | -139/+188 | |
| | | | ||||||
* | | | GDScript: Fix `STANDALONE_EXPRESSION` warning for `preload()` | Danil Alexeev | 2024-05-17 | 4 | -4/+22 | |
| | | | ||||||
* | | | Use Core/Scene stringnames consistently | kobewi | 2024-05-13 | 1 | -1/+0 | |
|/ / | ||||||
* | | Replace `find` with `contains/has` where applicable | A Thousand Ships | 2024-05-08 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | * Replaces `find(...) != -1` with `contains` for `String` * Replaces `find(...) == -1` with `!contains` for `String` * Replaces `find(...) != -1` with `has` for containers * Replaces `find(...) == -1` with `!has` for containers | |||||
* | | Style: Trim trailing whitespace and ensure newline at EOF | Rémi Verschelde | 2024-05-08 | 24 | -30/+26 | |
| | | | | | | | | 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. | |||||
* | | Reduce and prevent unnecessary random-access to `List` | A Thousand Ships | 2024-05-04 | 3 | -15/+13 | |
| | | | | | | | | | | | | | | | | | | Random-access access to `List` when iterating is `O(n^2)` (`O(n)` when accessing a single element) * Removed subscript operator, in favor of a more explicit `get` * Added conversion from `Iterator` to `ConstIterator` * Remade existing operations into other solutions when applicable | |||||
* | | Add PackedVector4Array Variant type | K. S. Ernest (iFire) Lee | 2024-05-03 | 14 | -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 Verschelde | 2024-05-02 | 16 | -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 context | Danil Alexeev | 2024-05-01 | 16 | -4/+155 | |
| | | | ||||||
* | | | 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. | |||||
* | | | | [GDScript] Correctly report invalid read-only access | A Thousand Ships | 2024-05-01 | 3 | -3/+3 | |
| |/ / |/| | | ||||||
* | | | 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. | |||||
* | | | | Merge pull request #89647 from AThousandShips/read_only_dict | Rémi Verschelde | 2024-05-01 | 2 | -0/+10 | |
|\ \ \ \ | |_|/ / |/| | | | | | | | [Core] Fix property access on read-only `Dictionary` | |||||
| * | | | [Core] Fix property access on read-only `Dictionary` | A Thousand Ships | 2024-04-22 | 2 | -0/+10 | |
| | | | | ||||||
* | | | | 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 | |
| | | | | ||||||
* | | | | Merge pull request #89884 from HolonProduction/tests-batch-2 | Rémi Verschelde | 2024-04-23 | 39 | -11/+100 | |
|\ \ \ \ | |_|/ / |/| | | | | | | | Completion Tests: Add script to owner | |||||
| * | | | Completion Tests: Add script to owner | HolonProduction | 2024-03-25 | 39 | -11/+100 | |
| | |/ | |/| | ||||||
* | | | Merge pull request #90794 from ↵ | Rémi Verschelde | 2024-04-18 | 4 | -52/+9 | |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | vnen/gdscript-no-unused-constant-warning-with-underscore GDScript: Suppress unused constant warning with underscore | |||||
| * | | | GDScript: Suppress unused constant warning with underscore | George Marques | 2024-04-18 | 4 | -52/+9 | |
| | | | | | | | | | | | | | | | | | | | | | | | | The warning message mentions that local constants prefixed with `_` does not generate the warning. This commit actually implements this warning suppression. | |||||
* | | | | GDScript: Warn when enum variable has no default | George Marques | 2024-04-16 | 3 | -0/+17 | |
|/ / / | | | | | | | | | | | | | 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 #89472 from dalexeev/gds-fix-bin-tokenizer-continuation-lines | Rémi Verschelde | 2024-04-15 | 3 | -7/+30 | |
|\ \ \ | | | | | | | | | | | | | GDScript: Fix continuation lines in `GDScriptTokenizerBuffer` | |||||
| * | | | GDScript: Fix continuation lines in `GDScriptTokenizerBuffer` | Danil Alexeev | 2024-04-10 | 3 | -7/+30 | |
| | | | | ||||||
* | | | | GDScript: Allow casting enum to int | George Marques | 2024-04-12 | 2 | -0/+11 | |
| | | | | | | | | | | | | | | | | | | | | An enum value is always an integer so the cast is valid. The code here now consider this case to avoid giving an error message. |