Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Merge pull request #86823 from dalexeev/gds-utility-func-as-callable | Rémi Verschelde | 2024-01-30 | 2 | -0/+17 | |
|\ \ | | | | | | | | | | GDScript: Allow utility functions to be used as `Callable` | |||||
| * | | GDScript: Allow utility functions to be used as `Callable` | Danil Alexeev | 2024-01-05 | 2 | -0/+17 | |
| | | | ||||||
* | | | Revert "Add UID support to GDScript files" | Rémi Verschelde | 2024-01-29 | 8 | -26/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit c7f68a27ec4b825302998eeb5a400f869cd21cf7. We still think GDScript files need UIDs to allow safe refactoring, but we're still debating what form those should take exactly. So far there seems to be agreement that it shouldn't be done via an annotation as implemented here, so we're reverting this one for now, to revisit the feature in a future PR. | |||||
* | | | Merge pull request #87294 from vnen/allow-free-callable | Rémi Verschelde | 2024-01-18 | 2 | -0/+13 | |
|\ \ \ | | | | | | | | | | | | | Allow `free()` to be used as Callable | |||||
| * | | | Allow `free()` to be used as Callable | George Marques | 2024-01-18 | 2 | -0/+13 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This method is registered in a special way so ClassDB doesn't naturally know about its existence. Here it is hardcoded if any other option fail to check if it is about the `free()` method and, if so, say it exists and return a Callable. | |||||
* | | | | Merge pull request #67132 from ↵ | Rémi Verschelde | 2024-01-18 | 8 | -0/+26 | |
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | KoBeWi/This_commit_message_is_auto-generated._Do_not_modify_it- Add UID support to GDScript files | |||||
| * | | | | Add UID support to GDScript files | kobewi | 2024-01-17 | 8 | -0/+26 | |
| |/ / / | ||||||
* / / / | Allow specifying a scene in completion tests | HolonProduction | 2024-01-08 | 1 | -1/+1 | |
|/ / / | ||||||
* | | | Merge pull request #85178 from HolonProduction/completion-tests | Rémi Verschelde | 2024-01-08 | 11 | -1/+11 | |
|\ \ \ | |/ / |/| | | | | | Add unit test runner for autocompletion | |||||
| * | | Add unit test runner for autocompletion | HolonProduction | 2024-01-05 | 11 | -1/+11 | |
| | | | ||||||
* | | | Merge pull request #83120 from ↵ | Rémi Verschelde | 2024-01-04 | 2 | -0/+6 | |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | dalexeev/gds-allow-property-getter-empty-parentheses GDScript: Allow empty parentheses for property getter declaration | |||||
| * | | | GDScript: Allow empty parentheses for property getter declaration | Danil Alexeev | 2023-10-11 | 2 | -0/+6 | |
| | | | | ||||||
* | | | | Merge pull request #82639 from golfinq/gdscript-improve-indexing-error | Rémi Verschelde | 2024-01-04 | 6 | -6/+6 | |
|\ \ \ \ | |_|/ / |/| | | | | | | | GDScript: Improve error messages for invalid indexing | |||||
| * | | | GDScript: Improve error messages for invalid indexing | Rémi Verschelde | 2023-10-02 | 6 | -6/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These errors are very common when using an invalid property name or calling on an object of the wrong type, and the previous message was a bit cryptic for users. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com> Co-authored-by: golfinq <golfinqz@gmail.com> | |||||
* | | | | Merge pull request #86088 from ↵ | Rémi Verschelde | 2024-01-02 | 2 | -1/+9 | |
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | dalexeev/gds-fix-static-func-as-callable-in-static-context GDScript: Fix accessing static function as `Callable` in static context | |||||
| * | | | | GDScript: Fix accessing static function as `Callable` in static context | Danil Alexeev | 2023-12-12 | 2 | -1/+9 | |
| | |_|/ | |/| | | ||||||
* / | | | Core: Allow methods of built-in `Variant` types to be used as Callables | Danil Alexeev | 2023-10-25 | 2 | -0/+9 | |
|/ / / | ||||||
* | | | GDScript: Fix non-static call is allowed in static var lambda body | Danil Alexeev | 2023-10-20 | 9 | -1/+67 | |
| | | | ||||||
* | | | GDScript: Fix incorrect error message for utility functions | Danil Alexeev | 2023-10-16 | 8 | -0/+26 | |
| |/ |/| | ||||||
* | | GDScript: Replace ptrcalls on MethodBind to validated calls | George Marques | 2023-10-06 | 1 | -3/+3 | |
| | | | | | | | | | | | | | | | | | | This improves the performance of typed calls to engine methods when the argument types are exact. Using validated calls delegate more of the work the core instead of doing argument unpacking in the VM. It also does not need different instructions for each return type, simplifying the code. | |||||
* | | GDScript: Add error when exporting node in non [Node]-derived classes | Danil Alexeev | 2023-10-05 | 8 | -1/+39 | |
| | | ||||||
* | | Core: Fix `Object::has_method()` for script static methods | Danil Alexeev | 2023-10-04 | 2 | -0/+15 | |
| | | ||||||
* | | Merge pull request #82547 from ↵ | Rémi Verschelde | 2023-10-03 | 3 | -9/+49 | |
|\ \ | | | | | | | | | | | | | | | | dalexeev/gds-fix-unsafe-call-arg-variant-constructors GDScript: Fix `UNSAFE_CALL_ARGUMENT` warning for `Variant` constructors | |||||
| * | | GDScript: Fix `UNSAFE_CALL_ARGUMENT` warning for `Variant` constructors | Danil Alexeev | 2023-09-30 | 3 | -9/+49 | |
| |/ | ||||||
* / | Add type_string() utility | Jakub Janšta | 2023-10-02 | 1 | -83/+1 | |
|/ | ||||||
* | Merge pull request #82477 from dalexeev/gds-covariance-and-contravariance | Yuri Sizov | 2023-09-28 | 18 | -0/+138 | |
|\ | | | | | | | GDScript: Add return type covariance and parameter type contravariance | |||||
| * | GDScript: Add return type covariance and parameter type contravariance | Danil Alexeev | 2023-09-28 | 18 | -0/+138 | |
| | | ||||||
* | | Merge pull request #82186 from dalexeev/gds-fix-property-duplication | Yuri Sizov | 2023-09-28 | 2 | -0/+69 | |
|\ \ | | | | | | | | | | GDScript: Fix duplication of inherited script properties | |||||
| * | | GDScript: Fix duplication of inherited script properties | Danil Alexeev | 2023-09-23 | 2 | -0/+69 | |
| | | | ||||||
* | | | Merge pull request #82030 from dalexeev/gds-make-for-loop-array-literal-typed | Yuri Sizov | 2023-09-28 | 4 | -0/+17 | |
|\ \ \ | | | | | | | | | | | | | GDScript: Make array literal typed if `for` loop variable type is specified | |||||
| * | | | GDScript: Make array literal typed if `for` loop variable type is specified | Danil Alexeev | 2023-09-21 | 4 | -0/+17 | |
| | | | | ||||||
* | | | | Merge pull request #80085 from vnen/gdscript-pattern-guards | Yuri Sizov | 2023-09-28 | 8 | -0/+99 | |
|\ \ \ \ | |_|_|/ |/| | | | | | | | GDScript: Implement pattern guards for match statement | |||||
| * | | | GDScript: Implement pattern guards for match statement | George Marques | 2023-09-27 | 8 | -0/+99 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Within a match statement, it is now possible to add guards in each branch: var a = 0 match a: 0 when false: print("does not run") 0 when true: print("but this does") This allows more complex logic for deciding which branch to take. | |||||
* | | | | Merge pull request #75988 from dalexeev/gds-unsafe-call-argument | Yuri Sizov | 2023-09-27 | 20 | -1/+114 | |
|\ \ \ \ | |/ / / |/| | | | | | | | GDScript: Improve call analysis | |||||
| * | | | GDScript: Improve call analysis | Danil Alexeev | 2023-09-21 | 20 | -1/+114 | |
| |/ / | | | | | | | | | | | | | | | | * Add missing `UNSAFE_CALL_ARGUMENT` warning. * Fix `Object` constructor. * Display an error for non-existent static methods. | |||||
* | / | Check if any global script class is shadowed by a variable | Chia-Hsiang Cheng | 2023-09-26 | 2 | -9/+16 | |
| |/ |/| | ||||||
* | | GDScript: Prevent constructing and inheriting engine singletons | Danil Alexeev | 2023-09-22 | 4 | -0/+12 | |
|/ | ||||||
* | Merge pull request #81332 from ↵ | Rémi Verschelde | 2023-09-20 | 2 | -0/+29 | |
|\ | | | | | | | | | | | dalexeev/gds-fix-update-array-literal-in-weak-context GDScript: Don't make array literal typed in weak type context | |||||
| * | GDScript: Don't make array literal typed in weak type context | Danil Alexeev | 2023-09-05 | 2 | -0/+29 | |
| | | ||||||
* | | Merge pull request #79510 from dalexeev/gds-fix-const-non-metatype-subscript | Rémi Verschelde | 2023-09-20 | 3 | -0/+172 | |
|\ \ | | | | | | | | | | GDScript: Fix subscript resolution for constant non-metatypes | |||||
| * | | GDScript: Fix subscript resolution for constant non-metatypes | Danil Alexeev | 2023-09-19 | 3 | -0/+172 | |
| | | | ||||||
* | | | Merge pull request #74995 from dalexeev/gds-r-strings | Rémi Verschelde | 2023-09-20 | 8 | -0/+57 | |
|\ \ \ | |/ / |/| | | | | | GDScript: Add raw string literals (r-strings) | |||||
| * | | GDScript: Add raw string literals (r-strings) | Danil Alexeev | 2023-09-11 | 8 | -0/+57 | |
| | | | ||||||
* | | | GDScript: Add check for `super()` methods not being implemented | ocean (they/them) | 2023-09-17 | 4 | -0/+31 | |
| | | | ||||||
* | | | Merge pull request #81605 from dalexeev/gds-fix-some-lambda-bugs | Rémi Verschelde | 2023-09-16 | 6 | -62/+196 | |
|\ \ \ | | | | | | | | | | | | | GDScript: Fix some lambda bugs | |||||
| * | | | GDScript: Fix some lambda bugs | Danil Alexeev | 2023-09-14 | 6 | -62/+196 | |
| | | | | ||||||
* | | | | Remove REDUNDANT_FOR_VARIABLE_TYPE | ryanabx | 2023-09-12 | 4 | -18/+0 | |
|/ / / | | | | | | | | | | Remove REDUNDANT_FOR_VARIABLE_TYPE | |||||
* | | | Fix various typos with codespell | Rémi Verschelde | 2023-09-12 | 1 | -2/+2 | |
| | | | | | | | | | | | | Using 2.2.6.dev180+ge3a2cfbd. | |||||
* | | | Language Server: Improve hovered symbol resolution, fix renaming bugs, ↵ | BooksBaum | 2023-09-11 | 8 | -0/+529 | |
|/ / | | | | | | | | | | | | | implement reference lookup Co-Authored-By: Ryan Brue <56272643+ryanabx@users.noreply.github.com> Co-Authored-By: BooksBaum <15612932+booksbaum@users.noreply.github.com> | |||||
* / | GDScript: Fix `get_*_list()` methods return incorrect info | Danil Alexeev | 2023-09-04 | 2 | -0/+170 | |
|/ |