Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Autocompletion: register depended parsers with the main parser | HolonProduction | 2024-07-18 | 1 | -1/+1 |
| | |||||
* | Fix synchronization of global class name | Hilderin | 2024-06-25 | 1 | -1/+2 |
| | |||||
* | Merge pull request #90716 from dalexeev/gds-fix-export-annotation-issues | Rémi Verschelde | 2024-05-19 | 1 | -0/+1 |
|\ | | | | | | | GDScript: Fix some export annotation issues | ||||
| * | GDScript: Fix some export annotation issues | Danil Alexeev | 2024-05-13 | 1 | -0/+1 |
| | | |||||
* | | Revert "GDScript: Implement get_dependencies()" | Rémi Verschelde | 2024-05-13 | 1 | -7/+3 |
|/ | | | | | | | | | | | | | This reverts commit dc73440f899e6f32de748787e946ad762771fda0. This commit in some form is needed to fix handling of dependencies on export, but as it's also used for import, it's exposing some pre-existing issues which we need to solve first. So reverting for now to give ourselves time to iron this out for a future Godot release. Fixes #91726. | ||||
* | GDScript: Fix access non-static members in static context | Danil Alexeev | 2024-05-01 | 1 | -1/+4 |
| | |||||
* | Merge pull request #90860 from vnen/gdscript-get-dependencies | Rémi Verschelde | 2024-04-29 | 1 | -3/+7 |
|\ | | | | | | | GDScript: Implement `get_dependencies()` | ||||
| * | GDScript: Implement get_dependencies() | George Marques | 2024-04-18 | 1 | -3/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | The parser and analyzer now track the dependencies of the script and return the list when the resource loader ask for them. What is considered a dependency: - Any `preload()` call. - The base script this one extends. - Any identifier, including types, that refers to global scripts. - Any autoload singleton reference. | ||||
* | | GDScript: invalidate GDScriptParserRef when reloading | rune-scape | 2024-04-18 | 1 | -0/+4 |
|/ | |||||
* | Don't pass `self` when calling a static function from a non-static context | Jamie Hill-Daniel | 2024-04-04 | 1 | -0/+1 |
| | |||||
* | Merge pull request #89270 from Repiteo/enforce-typename-in-templates | Rémi Verschelde | 2024-03-14 | 1 | -4/+4 |
|\ | | | | | | | Enforce template syntax `typename` over `class` | ||||
| * | Enforce template syntax `typename` over `class` | Thaddeus Crews | 2024-03-07 | 1 | -4/+4 |
| | | |||||
* | | GDScript: Fix `@warning_ignore` annotation issues | Danil Alexeev | 2024-03-12 | 1 | -7/+16 |
|/ | |||||
* | GDScript: Add @export_custom annotation | George Marques | 2024-03-07 | 1 | -0/+1 |
| | | | | | | Allows setting any arbitrary hint, hint string, and usage flags. Useful for more complex hints or potential future hints not available as a dedicated annotation. | ||||
* | Documentation: Add support for deprecated/experimental messages | Danil Alexeev | 2024-02-15 | 1 | -0/+4 |
| | |||||
* | GDScript: Reintroduce binary tokenization on export | George Marques | 2024-02-08 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | 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 | 1 | -4/+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. | ||||
* | Remove unnecessary `this->` expressions | A Thousand Ships | 2024-01-29 | 1 | -1/+1 |
| | |||||
* | Add UID support to GDScript files | kobewi | 2024-01-17 | 1 | -0/+4 |
| | |||||
* | Merge pull request #85487 from vnen/gdscript-static-register-annotations | Yuri Sizov | 2023-12-19 | 1 | -2/+2 |
|\ | | | | | | | GDScript: Make annotations register statically in parser | ||||
| * | GDScript: Make annotations register statically in parser | George Marques | 2023-11-28 | 1 | -2/+2 |
| | | | | | | | | | | So it only register the annotations once per run instead of doing it every time a script is parsed. | ||||
* | | Change container_element_type to vector container | Thaddeus Crews | 2023-12-05 | 1 | -24/+36 |
|/ | |||||
* | Fix typo in gdscript_parser.h and gdscript_translation_parser_plugin.cpp | ryanabx | 2023-10-23 | 1 | -2/+2 |
| | |||||
* | GDScript: Fix non-static call is allowed in static var lambda body | Danil Alexeev | 2023-10-20 | 1 | -1/+1 |
| | |||||
* | GDScript: Add error when exporting node in non [Node]-derived classes | Danil Alexeev | 2023-10-05 | 1 | -10/+10 |
| | |||||
* | Merge pull request #80085 from vnen/gdscript-pattern-guards | Yuri Sizov | 2023-09-28 | 1 | -0/+1 |
|\ | | | | | | | GDScript: Implement pattern guards for match statement | ||||
| * | GDScript: Implement pattern guards for match statement | George Marques | 2023-09-27 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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 | -1/+2 |
|\ \ | |/ |/| | | | GDScript: Improve call analysis | ||||
| * | GDScript: Improve call analysis | Danil Alexeev | 2023-09-21 | 1 | -1/+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 and improve doc comment parsing | Danil Alexeev | 2023-09-16 | 1 | -2/+3 |
| | |||||
* | Merge pull request #81079 from dalexeev/gds-fix-get-method-list | Rémi Verschelde | 2023-09-11 | 1 | -1/+8 |
|\ | | | | | | | GDScript: Fix `get_*_list()` methods return incorrect info | ||||
| * | GDScript: Fix `get_*_list()` methods return incorrect info | Danil Alexeev | 2023-09-04 | 1 | -1/+8 |
| | | |||||
* | | Add coloring for completion of vector components | Yuri Rubinsky | 2023-08-30 | 1 | -0/+4 |
|/ | |||||
* | Merge pull request #75656 from YuriSizov/core-iconic-builtins | Rémi Verschelde | 2023-08-29 | 1 | -0/+1 |
|\ | | | | | | | Add a script method to get its class icon | ||||
| * | 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> | ||||
* | | Merge pull request #80964 from dalexeev/gds-allow-use-local-consts-as-types | Yuri Sizov | 2023-08-25 | 1 | -2/+0 |
|\ \ | | | | | | | | | | GDScript: Allow use local constants as types | ||||
| * | | GDScript: Allow use local constants as types | Danil Alexeev | 2023-08-25 | 1 | -2/+0 |
| |/ | |||||
* / | GDScript: Fix lambda resolution with cyclic references | Danil Alexeev | 2023-08-25 | 1 | -0/+2 |
|/ | |||||
* | GDScript: Add static typing for `for` loop variable | Danil Alexeev | 2023-08-17 | 1 | -0/+2 |
| | |||||
* | GDScript: Check `get_node()` shorthand in static functions | Danil Alexeev | 2023-08-09 | 1 | -2/+0 |
| | |||||
* | Merge pull request #79880 from dalexeev/gds-fix-id-shadowing-below | Yuri Sizov | 2023-07-31 | 1 | -3/+8 |
|\ | | | | | | | 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 | -3/+8 |
| | | |||||
* | | Merge pull request #78941 from ↵ | Yuri Sizov | 2023-07-31 | 1 | -14/+28 |
|\ \ | | | | | | | | | | | | | | | | dalexeev/gds-doc-comments-deprecated-and-experimental GDScript: Add `@deprecated` and `@experimental` doc comment tags | ||||
| * | | GDScript: Add `@deprecated` and `@experimental` doc comment tags | Danil Alexeev | 2023-07-08 | 1 | -14/+28 |
| |/ | |||||
* | | Merge pull request #78254 from dalexeev/gds-fix-property-group-name-conflict | Yuri Sizov | 2023-07-31 | 1 | -1/+3 |
|\ \ | |/ |/| | | | GDScript: Fix conflict between property and group names | ||||
| * | GDScript: Fix conflict between property and group names | Danil Alexeev | 2023-06-15 | 1 | -1/+3 |
| | | |||||
* | | Merge pull request #77744 from dalexeev/gds-reset-block-locals-on-exit | Rémi Verschelde | 2023-06-21 | 1 | -1/+1 |
|\ \ | | | | | | | | | | GDScript: Reset local variables on exit from block | ||||
| * | | GDScript: Reset local variables on exit from block | Danil Alexeev | 2023-06-02 | 1 | -1/+1 |
| |/ | |||||
* / | Style: Harmonize header includes in modules | Rémi Verschelde | 2023-06-15 | 1 | -4/+8 |
|/ | | | | | | | | | | | | | | | | | | | | This applies our existing style guide, and adds a new rule to that style guide for modular components such as platform ports and modules: Includes from the platform port or module ("local" includes) should be listed first in their own block using relative paths, before Godot's "core" includes which use "absolute" (project folder relative) paths, and finally thirdparty includes. Includes in `#ifdef`s come after their relevant section, i.e. the overall structure is: - Local includes * Conditional local includes - Core includes * Conditional core includes - Thirdparty includes * Conditional thirdparty includes |