Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| |/ | |||||
* | | Merge pull request #78389 from rune-scape/rune-match-stringnames | Rémi Verschelde | 2023-06-19 | 1 | -22/+55 |
|\ \ | | | | | | | | | | GDScript: Strings and StringNames match | ||||
| * | | GDScript: Strings and StringNames match | rune-scape | 2023-06-14 | 1 | -22/+55 |
| |/ | |||||
* / | GDScript: Fix some bugs with static variables and functions | Danil Alexeev | 2023-06-16 | 1 | -51/+121 |
|/ | |||||
* | Add support for static variables in GDScript | George Marques | 2023-04-27 | 1 | -17/+211 |
| | | | | | | | | | | 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. | ||||
* | Merge pull request #72095 from anvilfolk/gd-docs | Yuri Sizov | 2023-04-26 | 1 | -72/+2 |
|\ | | | | | Improve GDScript documentation generation & behavior | ||||
| * | Improve and fix GDScript documentation generation & behavior | ocean (they/them) | 2023-04-21 | 1 | -72/+2 |
| | | | | | | | | | | | | Removes documentation generation (docgen) from the GDScript compiler to its own file. Adds support for GDScript enums and signal parameters and quite a few other assorted fixes and improvements. | ||||
* | | Merge pull request #75885 from AThousandShips/compound_fix | Rémi Verschelde | 2023-04-25 | 1 | -11/+1 |
|\ \ | | | | | | | | | | [GDScript] Fix incorrect compound assignment | ||||
| * | | [GDScript] Fix incorrect compound assignment | Ninni Pipping | 2023-04-14 | 1 | -11/+1 |
| |/ | | | | | | | | | | | Reverts in-place compound assignments Added test to ensure correctness | ||||
* / | Fix edge cases of object lifetime when signals involved | Pedro J. Estébanez | 2023-04-11 | 1 | -0/+3 |
|/ | |||||
* | Merge pull request #72056 from resistor/master | Yuri Sizov | 2023-03-20 | 1 | -1/+11 |
|\ | | | | | [GDScript] Perform update-and-assign operations in place when possible. | ||||
| * | [GDScript] Perform update-and-assign operations in place when possible. | Owen Anderson | 2023-01-25 | 1 | -1/+11 |
| | | | | | | | | | | | | This turns two bytecode operations into one by using the assignment destination directly as the output of the binary operator. This manifests in operations like `+=`. | ||||
* | | GDScript: Fix checking if a call is awaited in compiler | Dmitrii Maganov | 2023-03-01 | 1 | -5/+7 |
| | | |||||
* | | Merge pull request #73915 from vonagam/fix-conversions-from-native-member | Rémi Verschelde | 2023-02-26 | 1 | -1/+1 |
|\ \ | | | | | | | | | | GDScript: Fix conversions from native members accessed by identifier | ||||
| * | | GDScript: Fix conversions from native members accessed by identifier | Dmitrii Maganov | 2023-02-25 | 1 | -1/+1 |
| | | | |||||
* | | | Merge pull request #73964 from vonagam/fix-coroutine-compiler-type | Rémi Verschelde | 2023-02-26 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | | | | | GDScript: Fix address type for coroutine results | ||||
| * | | | GDScript: Fix address type for coroutine results | Dmitrii Maganov | 2023-02-26 | 1 | -1/+1 |
| | | | | |||||
* | | | | Merge pull request #73899 from vnen/gdscript-init-defaults-beforehand | Rémi Verschelde | 2023-02-26 | 1 | -10/+26 |
|\ \ \ \ | |/ / / |/| | | | | | | | GDScript: Initialize all defaults beforehand in implicit constructor | ||||
| * | | | GDScript: Initialize all defaults beforehand in implicit constructor | George Marques | 2023-02-24 | 1 | -10/+26 |
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 1 | -5/+1 |
|/ / | | | | | | | | | | | | | This reverts commit 6f2a8434c675b3df2aceca4e5200aaf799eeb2bd. The commit introduces a bug where it creates spurious entries for member information. | ||||
* | | GDScript: Fix groups and categories been seen as members | George Marques | 2023-02-24 | 1 | -1/+5 |
| | | |||||
* | | GDScript: Fix setting native type with script inheritance | George Marques | 2023-02-21 | 1 | -6/+7 |
| | | | | | | | | | | | | | | Sometimes the inheritance tree is compiled out of order and the base don't have yet a native type set. This is now changed to not rely on the base script but use the native type set in the datatype, which is already resolved by the analyzer. | ||||
* | | GDScript: Rework type check | Dmitrii Maganov | 2023-02-17 | 1 | -36/+24 |
| | | |||||
* | | Add return type for GDScript getters | ocean (they/them) | 2023-02-15 | 1 | -1/+1 |
| | | |||||
* | | Revert "Remove script class checks when getting function signature" | Rémi Verschelde | 2023-02-07 | 1 | -1/+2 |
| | | | | | | | | | | | | This reverts commit 0fef203b1f39c3373f9f25b8e75e75f6b03f7c88. This introduced some other issues, as discussed in #72144. |