| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | | Merge pull request #82639 from golfinq/gdscript-improve-indexing-error | Rémi Verschelde | 2024-01-04 | 2 | -2/+2 | |
| |\ \ | | | | | | | | | | GDScript: Improve error messages for invalid indexing | |||||
| | * | | GDScript: Improve error messages for invalid indexing | Rémi Verschelde | 2023-10-02 | 2 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 incorrect error message for utility functions | Danil Alexeev | 2023-10-16 | 4 | -0/+18 | |
| | | | ||||||
| * | | 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. | |||||
| * | | Core: Fix `Object::has_method()` for script static methods | Danil Alexeev | 2023-10-04 | 2 | -0/+15 | |
| | | | ||||||
| * | | GDScript: Fix `UNSAFE_CALL_ARGUMENT` warning for `Variant` constructors | Danil Alexeev | 2023-09-30 | 1 | -1/+0 | |
| |/ | ||||||
| * | 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 | 2 | -0/+10 | |
| |\ \ | | | | | | | | | | 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 | 2 | -0/+10 | |
| | |/ | ||||||
| * | | Merge pull request #80085 from vnen/gdscript-pattern-guards | Yuri Sizov | 2023-09-28 | 2 | -0/+81 | |
| |\ \ | | | | | | | | | | GDScript: Implement pattern guards for match statement | |||||
| | * | | GDScript: Implement pattern guards for match statement | George Marques | 2023-09-27 | 2 | -0/+81 | |
| | |/ | | | | | | | | | | | | | | | | | | | | | | | 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. | |||||
| * / | GDScript: Improve call analysis | Danil Alexeev | 2023-09-21 | 5 | -1/+12 | |
| |/ | | | | | | * Add missing `UNSAFE_CALL_ARGUMENT` warning. * Fix `Object` constructor. * Display an error for non-existent static methods. | |||||
| * | GDScript: Fix some lambda bugs | Danil Alexeev | 2023-09-14 | 5 | -62/+59 | |
| | | ||||||
| * | GDScript: Fix `get_*_list()` methods return incorrect info | Danil Alexeev | 2023-09-04 | 2 | -0/+170 | |
| | | ||||||
| * | GDScript: Add static typing for `for` loop variable | Danil Alexeev | 2023-08-17 | 4 | -0/+69 | |
| | | ||||||
| * | GDScript: Fix regression with native signal not found | Danil Alexeev | 2023-08-02 | 2 | -0/+19 | |
| | | ||||||
| * | Merge pull request #78254 from dalexeev/gds-fix-property-group-name-conflict | Yuri Sizov | 2023-07-31 | 2 | -0/+22 | |
| |\ | | | | | | | GDScript: Fix conflict between property and group names | |||||
| | * | GDScript: Fix conflict between property and group names | Danil Alexeev | 2023-06-15 | 2 | -0/+22 | |
| | | | ||||||
| * | | Merge pull request #77744 from dalexeev/gds-reset-block-locals-on-exit | Rémi Verschelde | 2023-06-21 | 4 | -0/+55 | |
| |\ \ | | | | | | | | | | GDScript: Reset local variables on exit from block | |||||
| | * | | GDScript: Reset local variables on exit from block | Danil Alexeev | 2023-06-02 | 4 | -0/+55 | |
| | | | | ||||||
| * | | | Merge pull request #73540 from mashumafi/fix-typed-array-add | Rémi Verschelde | 2023-06-20 | 2 | -0/+35 | |
| |\ \ \ | | | | | | | | | Fix: Typed arrays aren't working with + | |||||
| | * | | | Fix: Typed arrays aren't working with + | mashumafi | 2023-02-22 | 2 | -0/+35 | |
| | | | | | ||||||
| * | | | | GDScript: Fix `_get_script_name()` function collision for SCU build | Danil Alexeev | 2023-06-20 | 2 | -2/+2 | |
| | | | | | ||||||
| * | | | | Merge pull request #78389 from rune-scape/rune-match-stringnames | Rémi Verschelde | 2023-06-19 | 4 | -17/+32 | |
| |\ \ \ \ | | | | | | | | | | | | | | | | GDScript: Strings and StringNames match | |||||
| | * | | | | GDScript: Strings and StringNames match | rune-scape | 2023-06-14 | 4 | -17/+32 | |
| | | |_|/ | |/| | | ||||||
| * | | | | Merge pull request #77129 from dalexeev/gds-fix-static-var-bugs-part-1 | Rémi Verschelde | 2023-06-19 | 8 | -18/+192 | |
| |\ \ \ \ | | | | | | | | | | | | | | | | GDScript: Fix some bugs with static variables and functions | |||||
| | * | | | | GDScript: Fix some bugs with static variables and functions | Danil Alexeev | 2023-06-16 | 8 | -18/+192 | |
| | |/ / / | ||||||
| * | | | | Merge pull request #73657 from mashumafi/callable-ctor | Rémi Verschelde | 2023-06-18 | 2 | -0/+13 | |
| |\ \ \ \ | |/ / / |/| | | | | | | | Fix: Get constructor as Callable | |||||
| | * | | | Fix: Get constructor as Callable | mashumafi | 2023-02-20 | 2 | -0/+13 | |
| | | | | | ||||||
| * | | | | GDScript: Further restrict test error output for C++ errors | Rémi Verschelde | 2023-06-14 | 1 | -1/+0 | |
| | | | | | | | | | | | | | | | | | MSVC and GCC/Clang also have different function names... | |||||
| * | | | | GDScript: Only include script file path in test error output | Rémi Verschelde | 2023-06-14 | 1 | -2/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Errors originating in C++ files cause unnecessary diffs whenever the engine is updated (line number changes, etc.) and would cause CI failures due to different formatting of the file path on Windows (backslashes, worked around here anyway) and when using SCU builds (`../scu` insert). | |||||
| * | | | | Merge pull request #75419 from vonagam/fix-super-classes-in-array-literals | Rémi Verschelde | 2023-06-14 | 2 | -0/+14 | |
| |\ \ \ \ | |_|_|/ |/| | | | | | | | GDScript: Allow elements of a parent class in a typed array literal | |||||
| | * | | | GDScript: Allow elements of a parent class in a typed array literal | Dmitrii Maganov | 2023-03-28 | 2 | -0/+14 | |
| | | | | | ||||||
| * | | | | Add support for static variables in GDScript | George Marques | 2023-04-27 | 8 | -0/+114 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Which allows editable data associated with a particular class instead of the instance. Scripts with static variables are kept in memory indefinitely unless the `@static_unload` annotation is used or the `static_unload()` method is called on the GDScript. If the custom function `_static_init()` exists it will be called when the class is loaded, after the static variables are set. | |||||
| * | | | | GDScript: Don't fail when freed object is return | George Marques | 2023-04-26 | 2 | -0/+17 | |
| | | | | | | | | | | | | | | | | | | | | | This is check is a bit too eager. The user should be able to handle the return value even if it's a freed object. | |||||
| * | | | | [GDScript] Fix incorrect compound assignment | Ninni Pipping | 2023-04-14 | 2 | -0/+37 | |
| |/ / / | | | | | | | | | | | | | | | | Reverts in-place compound assignments Added test to ensure correctness | |||||
| * | | | GDScript: Fix false positive `REDUNDANT_AWAIT` warning | Danil Alexeev | 2023-03-16 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | Fix GDScript code style regarding colon | Danil Alexeev | 2023-03-05 | 3 | -4/+4 | |
| | | | | ||||||
| * | | | Merge pull request #73915 from vonagam/fix-conversions-from-native-member | Rémi Verschelde | 2023-02-26 | 2 | -0/+13 | |
| |\ \ \ | | | | | | | | | | | | | GDScript: Fix conversions from native members accessed by identifier | |||||
| | * | | | GDScript: Fix conversions from native members accessed by identifier | Dmitrii Maganov | 2023-02-25 | 2 | -0/+13 | |
| | | | | | ||||||
| * | | | | Merge pull request #73899 from vnen/gdscript-init-defaults-beforehand | Rémi Verschelde | 2023-02-26 | 2 | -0/+22 | |
| |\ \ \ \ | | | | | | | | | | | | | | | | GDScript: Initialize all defaults beforehand in implicit constructor | |||||
| | * | | | | GDScript: Initialize all defaults beforehand in implicit constructor | George Marques | 2023-02-24 | 2 | -0/+22 | |
| | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Set all the default values for typed variables before actually trying to initialize them, including `@onready` ones. This ensures that if validated calls are being used there will be a value of the correct type, even if the resolution is done out of order or deferred because of `@onready`. | |||||
| * / / / | Revert "GDScript: Fix groups and categories been seen as members" | George Marques | 2023-02-25 | 2 | -14/+0 | |
| |/ / / | | | | | | | | | | | | | | | | | | | This reverts commit 6f2a8434c675b3df2aceca4e5200aaf799eeb2bd. The commit introduces a bug where it creates spurious entries for member information. | |||||
| * | | | Fixup GDScript test using non-deterministic ids | Rémi Verschelde | 2023-02-24 | 2 | -4/+6 | |
| | | | | | | | | | | | | | Follow-up to #73870. | |||||
| * | | | GDScript: Fix groups and categories been seen as members | George Marques | 2023-02-24 | 2 | -0/+12 | |
| | | | | ||||||
| * | | | Add test for const class references | mashumafi | 2023-02-20 | 3 | -0/+19 | |
| |/ / | ||||||
