Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | GDScript: invalidate GDScriptParserRef when reloading | rune-scape | 2024-04-18 | 1 | -11/+25 |
| | |||||
* | Fix multiline array/dictionary match statements | Aiden Storey | 2024-04-12 | 1 | -15/+19 |
| | | | | | | | | | | | Currently array and dictionary expressions cannot be spread over multiple lines in match statements. Adding mutliline push/pop while parsing the pattern for bracket and brace enables the ability for these to be multiline. This enables more complex patterns to be matched without exceeding line limits. Fixes #90372 | ||||
* | GDScript: Don't warn on unassigned for builtin-typed variables | George Marques | 2024-04-10 | 1 | -22/+0 |
| | | | | | | | | | | | If the type of a variable is a built-in Variant type, then it will automatically be assigned a default value based on the type. This means that the explicit initialization may be unnecessary. Thus this commit removes the warning in such case. This also changes the meaning of the unassigned warning to happen when the variable is used before being assigned, not when it has zero assignments. | ||||
* | Merge pull request #89270 from Repiteo/enforce-typename-in-templates | Rémi Verschelde | 2024-03-14 | 1 | -1/+1 |
|\ | | | | | | | Enforce template syntax `typename` over `class` | ||||
| * | Enforce template syntax `typename` over `class` | Thaddeus Crews | 2024-03-07 | 1 | -1/+1 |
| | | |||||
* | | GDScript: Fix `@warning_ignore` annotation issues | Danil Alexeev | 2024-03-12 | 1 | -89/+227 |
| | | |||||
* | | Editor Help: Add syntax highlighting for code blocks | Danil Alexeev | 2024-03-09 | 1 | -5/+19 |
|/ | |||||
* | GDScript: Add @export_custom annotation | George Marques | 2024-03-07 | 1 | -0/+25 |
| | | | | | | 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. | ||||
* | Support Array and PackedArray in @export_* | Abel Toy | 2024-03-06 | 1 | -49/+94 |
| | |||||
* | Merge pull request #82122 from dalexeev/gds-add-export-hidden-annotation | Rémi Verschelde | 2024-02-27 | 1 | -6/+15 |
|\ | | | | | | | GDScript: Add `@export_storage` annotation | ||||
| * | GDScript: Add `@export_storage` annotation | Danil Alexeev | 2023-12-19 | 1 | -6/+15 |
| | | |||||
* | | GDScript: Canonicalize script path in FQCN | Danil Alexeev | 2024-02-26 | 1 | -2/+2 |
| | | |||||
* | | Documentation: Add support for deprecated/experimental messages | Danil Alexeev | 2024-02-15 | 1 | -4/+16 |
| | | |||||
* | | Replace error checks against `size` with `is_empty` | A Thousand Ships | 2024-02-09 | 1 | -1/+1 |
| | | |||||
* | | GDScript: Enable compression on export | George Marques | 2024-02-08 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | Besides the regular option to export GDScript as binary tokens, this also includes a compression option on top of it. The binary format needs to encode some information which generally makes it bigger than the source text. This option reduces that difference by using Zstandard compression on the buffer. | ||||
* | | GDScript: Reintroduce binary tokenization on export | George Marques | 2024-02-08 | 1 | -27/+77 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | Merge pull request #87124 from rsubtil/bugfix-warn_as_err | Rémi Verschelde | 2024-02-08 | 1 | -1/+1 |
|\ \ | | | | | | | | | | Simplify script paths to ensure proper resource path checks | ||||
| * | | Simplify script paths to ensure proper resource path checks | Ricardo Subtil | 2024-01-12 | 1 | -1/+1 |
| |/ | |||||
* | | GDScript: Add `is not` operator | Danil Alexeev | 2024-02-04 | 1 | -1/+27 |
| | | |||||
* | | Revert "Add UID support to GDScript files" | Rémi Verschelde | 2024-01-29 | 1 | -35/+3 |
| | | | | | | | | | | | | | | | | | | | | | | 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 | -4/+4 |
| | | |||||
* | | Add UID support to GDScript files | kobewi | 2024-01-17 | 1 | -3/+35 |
| | | |||||
* | | Merge pull request #83120 from ↵ | Rémi Verschelde | 2024-01-04 | 1 | -3/+7 |
|\ \ | | | | | | | | | | | | | | | | dalexeev/gds-allow-property-getter-empty-parentheses GDScript: Allow empty parentheses for property getter declaration | ||||
| * | | GDScript: Allow empty parentheses for property getter declaration | Danil Alexeev | 2023-10-11 | 1 | -3/+7 |
| | | | |||||
* | | | Merge pull request #84445 from Rubonnek/add-const-references-clang-tidy | Rémi Verschelde | 2024-01-04 | 1 | -1/+1 |
|\ \ \ | |_|/ |/| | | | | | Add const references detected by clang-tidy | ||||
| * | | Add const references detected by clang-tidy | Wilson E. Alvarez | 2023-12-16 | 1 | -1/+1 |
| | | | |||||
* | | | Merge pull request #85487 from vnen/gdscript-static-register-annotations | Yuri Sizov | 2023-12-19 | 1 | -35/+39 |
|\ \ \ | |/ / |/| | | | | | GDScript: Make annotations register statically in parser | ||||
| * | | GDScript: Make annotations register statically in parser | George Marques | 2023-11-28 | 1 | -35/+39 |
| |/ | | | | | | | | | 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 | -26/+33 |
|/ | |||||
* | Merge pull request #83050 from k0T0z/fix-unnecessary-include | Rémi Verschelde | 2023-10-10 | 1 | -4/+0 |
|\ | | | | | | | Deleting unnecessary include in GDScriptParser | ||||
| * | removing unnecessary include of gdscript_warning.h as it is already included ↵ | Saif Kandil | 2023-10-09 | 1 | -4/+0 |
| | | | | | | | | | | | | in the header file Signed-off-by: Saif Kandil <74428638+k0T0z@users.noreply.github.com> | ||||
* | | Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable | A Thousand Ships | 2023-10-08 | 1 | -1/+1 |
|/ | |||||
* | GDScript: Add error when exporting node in non [Node]-derived classes | Danil Alexeev | 2023-10-05 | 1 | -29/+35 |
| | |||||
* | Merge pull request #80085 from vnen/gdscript-pattern-guards | Yuri Sizov | 2023-09-28 | 1 | -1/+32 |
|\ | | | | | | | GDScript: Implement pattern guards for match statement | ||||
| * | GDScript: Implement pattern guards for match statement | George Marques | 2023-09-27 | 1 | -1/+32 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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 | -3/+10 |
|\ \ | |/ |/| | | | GDScript: Improve call analysis | ||||
| * | GDScript: Improve call analysis | Danil Alexeev | 2023-09-21 | 1 | -3/+10 |
| | | | | | | | | | | | | * 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 |
|/ | |||||
* | Merge pull request #81699 from dalexeev/gds-fix-and-improve-doc-comment-parsing | Rémi Verschelde | 2023-09-20 | 1 | -108/+77 |
|\ | | | | | | | GDScript: Fix and improve doc comment parsing | ||||
| * | GDScript: Fix and improve doc comment parsing | Danil Alexeev | 2023-09-16 | 1 | -108/+77 |
| | | |||||
* | | GDScript: Fix subscript resolution for constant non-metatypes | Danil Alexeev | 2023-09-19 | 1 | -17/+21 |
|/ | |||||
* | Merge pull request #81079 from dalexeev/gds-fix-get-method-list | Rémi Verschelde | 2023-09-11 | 1 | -0/+100 |
|\ | | | | | | | GDScript: Fix `get_*_list()` methods return incorrect info | ||||
| * | GDScript: Fix `get_*_list()` methods return incorrect info | Danil Alexeev | 2023-09-04 | 1 | -0/+100 |
| | | |||||
* | | Add coloring for completion of vector components | Yuri Rubinsky | 2023-08-30 | 1 | -0/+13 |
|/ | |||||
* | Merge pull request #75656 from YuriSizov/core-iconic-builtins | Rémi Verschelde | 2023-08-29 | 1 | -2/+15 |
|\ | | | | | | | Add a script method to get its class icon | ||||
| * | Add a script method to get its class icon | Yuri Sizov | 2023-08-24 | 1 | -2/+15 |
| | | | | | | | | 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 | -3/+1 |
|\ \ | | | | | | | | | | GDScript: Allow use local constants as types | ||||
| * | | GDScript: Allow use local constants as types | Danil Alexeev | 2023-08-25 | 1 | -3/+1 |
| |/ | |||||
* / | GDScript: Fix lambda resolution with cyclic references | Danil Alexeev | 2023-08-25 | 1 | -0/+6 |
|/ | |||||
* | GDScript: Add static typing for `for` loop variable | Danil Alexeev | 2023-08-17 | 1 | -1/+12 |
| |