| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | GDScript: Reintroduce binary tokenization on export | George Marques | 2024-02-08 | 2 | -0/+0 |
| | | | | | | | | | | | | | | | | | This adds back a function available in 3.x: exporting the GDScript files in a binary form by converting the tokens recognized by the tokenizer into a data format. It is enabled by default on export but can be manually disabled. The format helps with loading times since, the tokens are easily reconstructed, and with hiding the source code, since recovering it would require a specialized tool. Code comments are not stored in this format. The `--test` command can also include a `--use-binary-tokens` flag which will run the GDScript tests with the binary format instead of the regular source code by converting them in-memory before the test runs. | ||||
| * | Revert "Add UID support to GDScript files" | Rémi Verschelde | 2024-01-29 | 6 | -20/+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. | ||||
| * | Add UID support to GDScript files | kobewi | 2024-01-17 | 6 | -0/+20 |
| | | |||||
| * | GDScript: Implement pattern guards for match statement | George Marques | 2023-09-27 | 2 | -0/+7 |
| | | | | | | | | | | | | | 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: Add raw string literals (r-strings) | Danil Alexeev | 2023-09-11 | 6 | -0/+13 |
| | | |||||
| * | Change explicit 'Godot 4.0' references to 'Godot 4' | Rémi Verschelde | 2023-07-10 | 1 | -1/+1 |
| | | | | | Fixes #79276. | ||||
| * | Fix lambda parsing continuing on subsequent lines #73273 | 今井きなみ | 2023-06-21 | 2 | -0/+8 |
| | | |||||
| * | GDScript: Fix repeated `_` are allowed after decimal point | Danil Alexeev | 2023-06-14 | 4 | -2/+7 |
| | | |||||
| * | Add support for static variables in GDScript | George Marques | 2023-04-27 | 4 | -0/+15 |
| | | | | | | | | | | | 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: Add some checks for `@tool` and `@icon` | Danil Alexeev | 2023-04-20 | 4 | -0/+14 |
| | | |||||
| * | GDScript: Fix and improve annotation parsing | Danil Alexeev | 2023-04-14 | 2 | -0/+6 |
| | | |||||
| * | GDScript: Fix parsing unexpected break/continue in lambda | Dmitrii Maganov | 2023-02-23 | 2 | -0/+7 |
| | | |||||
| * | Fix global script class parsing. | Juan Linietsky | 2023-01-31 | 1 | -1/+1 |
| | | | | | | | | | * Broke with #72226 * Restored previous version of the code, made it even more error tolerant. * Added a warning to **not** change the code. Fixes #72226. | ||||
| * | Clarify error message about script-level annotation | Danil Alexeev | 2023-01-24 | 1 | -1/+1 |
| | | |||||
| * | Add support for Unicode identifiers in GDScript | George Marques | 2023-01-21 | 2 | -0/+5 |
| | | | | | | | This is using an adapted version of UAX#31 to not rely on the ICU database (which isn't available in builds without TextServerAdvanced). It allows most characters used in diverse scripts but not everything. | ||||
| * | Merge pull request #67774 from aaronfranke/script-annotations | Rémi Verschelde | 2023-01-16 | 2 | -3/+3 |
| |\ | | | | | Make script annotations be placed before `class_name` and `extends` | ||||
| | * | Make script annotations placed before class_name and extends | Aaron Franke | 2022-12-19 | 2 | -3/+3 |
| | | | |||||
| * | | Add GDScript `.editorconfig` rules | Adam Scott | 2023-01-10 | 3 | -5/+5 |
| |/ | | | | - Uniformize `.gd` unit test files indentation to tabs (where needed) | ||||
| * | Merge pull request #62701 from cdemirer/for-variable-conflict | Rémi Verschelde | 2022-07-06 | 4 | -0/+11 |
| |\ | |||||
| | * | Do error when for variable conflicts with a variable in scope | cdemirer | 2022-07-04 | 4 | -0/+11 |
| | | | |||||
| * | | Add grouping annotations for class properties in GDScript | Yuri Sizov | 2022-07-05 | 2 | -3/+3 |
| |/ | |||||
| * | GDScript: Support `%` in shorthand for `get_node` | George Marques | 2022-05-27 | 4 | -4/+4 |
| | | | | | | | The `%` is used in scene unique nodes. Now `%` can also be used instead of `$` for the shorthand, besides being allowed generally anywhere in the path as the prefix for a node name. | ||||
| * | GDScript: Do not allow standalone lambdas | George Marques | 2022-05-23 | 2 | -0/+5 |
| | | | | | | They cannot be accessed in this case, so an error is shown to avoid misleading the uses, especially in case of named lambdas. | ||||
| * | Fix issues with multiple bind patterns in match statement | cdemirer | 2022-04-04 | 2 | -0/+6 |
| | | |||||
| * | Fix GDScript parser crash on 'dollar mixed with assignment' expression | Pawel Lampe | 2021-11-21 | 2 | -0/+4 |
| | | | | | fixes #53696 | ||||
| * | Improve GDScript indentation error message | Max Hilbrunner | 2021-10-28 | 1 | -1/+1 |
| | | |||||
| * | GDScript: Show specific error when "yield" is used | George Marques | 2021-09-21 | 2 | -0/+8 |
| | | | | | | To help people porting code, it gives a hint to use "await" instead of a generic error. | ||||
| * | Merge pull request #52718 from Calinou/gdscript-add-integration-tests-2 | Rémi Verschelde | 2021-09-21 | 8 | -0/+31 |
| |\ | |||||
| | * | Add more integration tests to the GDScript test suite | Hugo Locurcio | 2021-09-15 | 8 | -0/+31 |
| | | | | | | | | | This also fixes a typo in the `bitwise_float_right_operand.gd` test. | ||||
| * | | GDScript: Properly catch error when missing index in subscript | George Marques | 2021-09-17 | 2 | -0/+5 |
| |/ | |||||
| * | Merge pull request #52706 from vnen/gdscript-ternary-operator-crash | Rémi Verschelde | 2021-09-15 | 2 | -0/+6 |
| |\ | | | | | GDScript: Show error when missing expression after ternary else | ||||
| | * | GDScript: Show error when missing expression after ternary else | George Marques | 2021-09-15 | 2 | -0/+6 |
| | | | |||||
| * | | GDScript: Show error on unary operators without argument | George Marques | 2021-09-15 | 10 | -0/+22 |
| |/ | |||||
| * | Add dozens of new integration tests to the GDScript test suite | Hugo Locurcio | 2021-09-14 | 46 | -17/+125 |
| | | | | | This also ignores `.out` files in the file format static checks. | ||||
| * | Fix crash with consecutive commas in Dictionary | kobewi | 2021-09-10 | 2 | -0/+4 |
| | | |||||
| * | Fixed crash when parsing an empty assignment. | Louis Dumont | 2021-08-25 | 2 | -0/+5 |
| | | | | | Resolves #51620. | ||||
| * | Rename GDScript test script filenames to use `snake_case` | Andrii Doroshenko (Xrayez) | 2021-04-16 | 16 | -0/+45 |
