Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Style: Add `WARNING:` as new comment admonition | Thaddeus Crews | 2024-09-25 | 1 | -3/+4 |
| | |||||
* | Implement typed dictionaries | Thaddeus Crews | 2024-09-04 | 1 | -7/+17 |
| | |||||
* | GDScript: Fix locals clearing after exiting `while` block | Danil Alexeev | 2024-07-25 | 1 | -5/+13 |
| | |||||
* | GDScript: Fix incorrect setter call for reference types | Danil Alexeev | 2024-07-24 | 1 | -1/+9 |
| | |||||
* | GDScript: Call setter on simple setter chain without getter | George Marques | 2024-07-09 | 1 | -0/+13 |
| | | | | | Fixes a bug where a member variable was being set directly before calling the setter. | ||||
* | GDScript: partially allow some functions on invalid scripts | rune-scape | 2024-06-02 | 1 | -5/+3 |
| | | | | | + always default initialize static variables + dont invalidate script when dependant scripts don't compile/resolve | ||||
* | GDScript: fix segfault on invalid script | rune-scape | 2024-05-17 | 1 | -1/+5 |
| | |||||
* | Use Core/Scene stringnames consistently | kobewi | 2024-05-13 | 1 | -2/+3 |
| | |||||
* | Add shorthand for using singleton string names | kobewi | 2024-05-11 | 1 | -1/+1 |
| | |||||
* | Merge pull request #84148 from KANAjetzt/fix_crash_take_over_path_named_class | Rémi Verschelde | 2024-05-07 | 1 | -0/+3 |
|\ | | | | | | | Fix crash when extending taken-over named class | ||||
| * | Fix crash when extending taken-over named class | Kai | 2024-05-07 | 1 | -0/+3 |
| | | | | | | | | Added error handling in `_prepare_compilation()` to address cases where the `base_type` cannot be found, preventing a crash. | ||||
* | | Reduce and prevent unnecessary random-access to `List` | A Thousand Ships | 2024-05-04 | 1 | -3/+3 |
|/ | | | | | | | | | 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 | ||||
* | GDScript: Perform validated calls with static methods | George Marques | 2024-04-25 | 1 | -1/+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 #89990 from dalexeev/gds-reset-uninit-local-vars | Rémi Verschelde | 2024-04-24 | 1 | -33/+41 |
|\ | | | | | | | GDScript: Fix uninitialized local variables not being reset | ||||
| * | GDScript: Fix uninitialized local variables not being reset | Danil Alexeev | 2024-03-30 | 1 | -33/+41 |
| | | |||||
* | | [GDScript] Clean up some unused code | A Thousand Ships | 2024-04-16 | 1 | -4/+2 |
| | | |||||
* | | Don't pass `self` when calling a static function from a non-static context | Jamie Hill-Daniel | 2024-04-04 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #86730 from reduz/64-bit-cowdata | Rémi Verschelde | 2024-01-19 | 1 | -1/+1 |
|\ | | | | | Promote CowData to 64 bits | ||||
| * | Promote CowData to 64 bits | Juan Linietsky | 2024-01-19 | 1 | -1/+1 |
| | | | | | | | | Fixes a lot of bugs, please help me fill the list. | ||||
* | | Allow `free()` to be used as Callable | George Marques | 2024-01-18 | 1 | -1/+2 |
|/ | | | | | | | 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 #86569 from rune-scape/rune-fix-lambda-hotswap2 | Rémi Verschelde | 2024-01-05 | 1 | -19/+8 |
|\ | | | | | | | GDScript: Lambda hotswap fixes | ||||
| * | GDScript: Lambda hotswap fixes | rune-scape | 2024-01-04 | 1 | -19/+8 |
| | | |||||
* | | GDScript: Fix accessing static function as `Callable` in static context | Danil Alexeev | 2023-12-12 | 1 | -2/+6 |
|/ | |||||
* | Change container_element_type to vector container | Thaddeus Crews | 2023-12-05 | 1 | -10/+10 |
| | |||||
* | GDScript: Lambda hot reloading | rune-scape | 2023-10-17 | 1 | -0/+147 |
| | | | | Co-authored-by: Adam Scott <ascott.ca@gmail.com> | ||||
* | GDScript: Replace ptrcalls on MethodBind to validated calls | George Marques | 2023-10-06 | 1 | -10/+10 |
| | | | | | | | | | 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. | ||||
* | Merge pull request #82186 from dalexeev/gds-fix-property-duplication | Yuri Sizov | 2023-09-28 | 1 | -1/+1 |
|\ | | | | | | | GDScript: Fix duplication of inherited script properties | ||||
| * | GDScript: Fix duplication of inherited script properties | Danil Alexeev | 2023-09-23 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #80085 from vnen/gdscript-pattern-guards | Yuri Sizov | 2023-09-28 | 1 | -0/+20 |
|\ \ | | | | | | | | | | GDScript: Implement pattern guards for match statement | ||||
| * | | GDScript: Implement pattern guards for match statement | George Marques | 2023-09-27 | 1 | -0/+20 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 1 | -5/+2 |
|\ \ \ | |/ / |/| | | | | | GDScript: Improve call analysis | ||||
| * | | GDScript: Improve call analysis | Danil Alexeev | 2023-09-21 | 1 | -5/+2 |
| |/ | | | | | | | | | | | * Add missing `UNSAFE_CALL_ARGUMENT` warning. * Fix `Object` constructor. * Display an error for non-existent static methods. | ||||
* | | [Modules] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable | A Thousand Ships | 2023-09-26 | 1 | -1/+1 |
| | | |||||
* | | GDScript: Fix crash with `GDScriptNativeClass` | Danil Alexeev | 2023-09-25 | 1 | -2/+13 |
|/ | |||||
* | Merge pull request #81605 from dalexeev/gds-fix-some-lambda-bugs | Rémi Verschelde | 2023-09-16 | 1 | -5/+32 |
|\ | | | | | | | GDScript: Fix some lambda bugs | ||||
| * | GDScript: Fix some lambda bugs | Danil Alexeev | 2023-09-14 | 1 | -5/+32 |
| | | |||||
* | | GDScript: Fix compilation of expressions compiling other classes | ocean (they/them) | 2023-09-12 | 1 | -1/+2 |
|/ | | | | | This PR is part of ongoing work on fixing cyclic dependencies in the GDScript compiler. | ||||
* | Merge pull request #81201 from anvilfolk/rpc | Rémi Verschelde | 2023-09-12 | 1 | -8/+24 |
|\ | | | | | | | GDScript: Fix subclass methods not inheriting RPC info | ||||
| * | GDScript: fix subclass methods not inheriting RPC info | ocean (they/them) | 2023-09-11 | 1 | -8/+24 |
| | | |||||
* | | GDScript: Fix `get_*_list()` methods return incorrect info | Danil Alexeev | 2023-09-04 | 1 | -23/+26 |
|/ | |||||
* | Add a script method to get its class icon | Yuri Sizov | 2023-08-24 | 1 | -0/+1 |
| | | | | Co-authored-by: Danil Alexeev <danil@alexeev.xyz> | ||||
* | GDScript: Add static typing for `for` loop variable | Danil Alexeev | 2023-08-17 | 1 | -2/+2 |
| | |||||
* | GDScript: Fix regression with native signal not found | Danil Alexeev | 2023-08-02 | 1 | -32/+34 |
| | |||||
* | Merge pull request #79880 from dalexeev/gds-fix-id-shadowing-below | Yuri Sizov | 2023-07-31 | 1 | -156/+173 |
|\ | | | | | | | GDScript: Fix bug with identifier shadowed below in current scope | ||||
| * | GDScript: Fix bug with identifier shadowed below in current scope | Danil Alexeev | 2023-07-26 | 1 | -156/+173 |
| | | |||||
* | | Merge pull request #78254 from dalexeev/gds-fix-property-group-name-conflict | Yuri Sizov | 2023-07-31 | 1 | -3/+4 |
|\ \ | |/ |/| | | | GDScript: Fix conflict between property and group names | ||||
| * | GDScript: Fix conflict between property and group names | Danil Alexeev | 2023-06-15 | 1 | -3/+4 |
| | | |||||
* | | GDScript: solve `_populate_class_members()` cyclic dependency problem | ocean (they/them) | 2023-07-08 | 1 | -4/+9 |
| | | |||||
* | | Merge pull request #77744 from dalexeev/gds-reset-block-locals-on-exit | Rémi Verschelde | 2023-06-21 | 1 | -7/+28 |
|\ \ | | | | | | | | | | GDScript: Reset local variables on exit from block | ||||
| * | | GDScript: Reset local variables on exit from block | Danil Alexeev | 2023-06-02 | 1 | -7/+28 |
| |/ |