Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Always add decimal when printing float | kobewi | 2024-10-23 | 5 | -24/+24 |
| | |||||
* | Add `@export_tool_button` annotation for easily creating inspector buttons | Danil Alexeev | 2024-09-27 | 2 | -0/+9 |
| | | | | | | Co-authored-by: jordi <creptthrust@gmail.com> Co-authored-by: K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com> Co-authored-by: Mack <86566939+Macksaur@users.noreply.github.com> | ||||
* | Implement typed dictionaries | Thaddeus Crews | 2024-09-04 | 2 | -0/+8 |
| | |||||
* | Merge pull request #70096 from rune-scape/stringname-dict | Rémi Verschelde | 2024-09-03 | 2 | -2/+2 |
|\ | | | | | | | StringName Dictionary keys | ||||
| * | StringName Dictionary keys | rune-scape | 2024-08-29 | 2 | -2/+2 |
| | | | | | | | | | | also added 'is_string()' method to Variant and refactored many String type comparisons to use it instead | ||||
* | | GDScript: Replace `assert()` with `Utils.check()` in tests | Danil Alexeev | 2024-08-28 | 8 | -93/+25 |
|/ | |||||
* | GDScript: Add `CONFUSABLE_CAPTURE_REASSIGNMENT` warning | Danil Alexeev | 2024-06-28 | 1 | -0/+1 |
| | |||||
* | GDScript: Fix non-global class export | Danil Alexeev | 2024-06-20 | 5 | -6/+11 |
| | |||||
* | Register the export info correctly when a global class script is used as the ↵ | PreslavPetrov | 2024-06-03 | 3 | -0/+12 |
| | | | | variable type for Node | ||||
* | GDScript: Fix some export annotation issues | Danil Alexeev | 2024-05-13 | 5 | -124/+172 |
| | |||||
* | Style: Trim trailing whitespace and ensure newline at EOF | Rémi Verschelde | 2024-05-08 | 1 | -1/+0 |
| | | | | Found by apply the file_format checks again via #91597. | ||||
* | Add PackedVector4Array Variant type | K. S. Ernest (iFire) Lee | 2024-05-03 | 2 | -0/+4 |
| | | | | | Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> Co-authored-by: Rémi Verschelde <rverschelde@gmail.com> | ||||
* | GDScript: Suppress unused constant warning with underscore | George Marques | 2024-04-18 | 2 | -52/+0 |
| | | | | | | The warning message mentions that local constants prefixed with `_` does not generate the warning. This commit actually implements this warning suppression. | ||||
* | Merge pull request #89472 from dalexeev/gds-fix-bin-tokenizer-continuation-lines | Rémi Verschelde | 2024-04-15 | 2 | -0/+14 |
|\ | | | | | | | GDScript: Fix continuation lines in `GDScriptTokenizerBuffer` | ||||
| * | GDScript: Fix continuation lines in `GDScriptTokenizerBuffer` | Danil Alexeev | 2024-04-10 | 2 | -0/+14 |
| | | |||||
* | | Fix multiline array/dictionary match statements | Aiden Storey | 2024-04-12 | 4 | -0/+63 |
|/ | | | | | | | | | | | 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: Fix `@warning_ignore` annotation issues | Danil Alexeev | 2024-03-12 | 4 | -2/+15 |
| | |||||
* | Support Array and PackedArray in @export_* | Abel Toy | 2024-03-06 | 5 | -4/+276 |
| | |||||
* | Merge pull request #82122 from dalexeev/gds-add-export-hidden-annotation | Rémi Verschelde | 2024-02-27 | 6 | -69/+105 |
|\ | | | | | | | GDScript: Add `@export_storage` annotation | ||||
| * | GDScript: Add `@export_storage` annotation | Danil Alexeev | 2023-12-19 | 6 | -69/+105 |
| | | |||||
* | | GDScript: Reintroduce binary tokenization on export | George Marques | 2024-02-08 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | GDScript: Add `is not` operator | Danil Alexeev | 2024-02-04 | 2 | -0/+17 |
| | | |||||
* | | Revert "Add UID support to GDScript files" | Rémi Verschelde | 2024-01-29 | 2 | -6/+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 | 2 | -0/+6 |
| | | |||||
* | | GDScript: Allow empty parentheses for property getter declaration | Danil Alexeev | 2023-10-11 | 2 | -0/+6 |
|/ | |||||
* | GDScript: Add error when exporting node in non [Node]-derived classes | Danil Alexeev | 2023-10-05 | 2 | -1/+8 |
| | |||||
* | Merge pull request #80085 from vnen/gdscript-pattern-guards | Yuri Sizov | 2023-09-28 | 2 | -0/+5 |
|\ | | | | | | | GDScript: Implement pattern guards for match statement | ||||
| * | GDScript: Implement pattern guards for match statement | George Marques | 2023-09-27 | 2 | -0/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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: Improve call analysis | Danil Alexeev | 2023-09-21 | 6 | -0/+11 |
|/ | | | | | | * Add missing `UNSAFE_CALL_ARGUMENT` warning. * Fix `Object` constructor. * Display an error for non-existent static methods. | ||||
* | GDScript: Add raw string literals (r-strings) | Danil Alexeev | 2023-09-11 | 2 | -0/+44 |
| | |||||
* | GDScript: Allow mixed indentation on blank lines | Danil Alexeev | 2023-08-17 | 2 | -0/+24 |
| | |||||
* | Fix lambda parsing continuing on subsequent lines #73273 | 今井きなみ | 2023-06-21 | 2 | -0/+84 |
| | |||||
* | Merge pull request #73363 from dalexeev/gds-fix-min-int-not-representable | Rémi Verschelde | 2023-06-18 | 2 | -0/+33 |
|\ | | | | | | | GDScript: Fix `MIN_INT` not representable as numeric literal | ||||
| * | GDScript: Fix `MIN_INT` not representable as numeric literal | Danil Alexeev | 2023-02-15 | 2 | -0/+33 |
| | | |||||
* | | GDScript: Fix repeated `_` are allowed after decimal point | Danil Alexeev | 2023-06-14 | 2 | -9/+46 |
| | | |||||
* | | GDScript: Reorganize and unify warnings | Danil Alexeev | 2023-04-28 | 3 | -14/+14 |
| | | |||||
* | | Merge pull request #72979 from dalexeev/gds-annotation-parsing | Yuri Sizov | 2023-04-17 | 2 | -0/+61 |
|\ \ | | | | | | | GDScript: Fix and improve annotation parsing | ||||
| * | | GDScript: Fix and improve annotation parsing | Danil Alexeev | 2023-04-14 | 2 | -0/+61 |
| | | | |||||
* | | | fix access to identifiers that are reserved keywords | ajreckof | 2023-04-14 | 2 | -0/+37 |
|/ / | |||||
* | | Fix GDScript code style regarding colon | Danil Alexeev | 2023-03-05 | 2 | -5/+7 |
| | | |||||
* | | Minor typo and docs URL fixes | Rémi Verschelde | 2023-02-28 | 1 | -1/+1 |
| | | |||||
* | | GDScript: Fix parsing unexpected break/continue in lambda | Dmitrii Maganov | 2023-02-23 | 2 | -0/+15 |
|/ | |||||
* | Merge pull request #72971 from vnen/gdscript-multiline-comment | Rémi Verschelde | 2023-02-09 | 2 | -0/+23 |
|\ | | | | | | | GDScript: Allow strings as multiline comments | ||||
| * | GDScript: Allow strings as multiline comments | George Marques | 2023-02-09 | 2 | -0/+23 |
| | | | | | | | | Bring back the behavior in 3.x that was left out by oversight. | ||||
* | | GDScript: Be more lenient with identifiers | George Marques | 2023-02-09 | 4 | -0/+27 |
|/ | | | | | | - Allow identifiers similar to keywords if they are in ASCII range. - Allow constants to be treated as regular identifiers. - Allow keywords that can be used as identifiers in expressions. | ||||
* | Revert "Remove script class checks when getting function signature" | Rémi Verschelde | 2023-02-07 | 2 | -14/+0 |
| | | | | | | This reverts commit 0fef203b1f39c3373f9f25b8e75e75f6b03f7c88. This introduced some other issues, as discussed in #72144. | ||||
* | Remove script class checks when getting function signature | Adam Scott | 2023-02-07 | 2 | -0/+14 |
| | |||||
* | GDScript: Fix `@export_enum` works only with `int` | Danil Alexeev | 2023-01-30 | 2 | -0/+22 |
| | |||||
* | GDScript: Allow variables in match patterns | George Marques | 2023-01-28 | 2 | -0/+27 |
| | | | | To restore an ability available in 3.x and reduce compatibility changes. | ||||
* | GDScript: Allow constant expressions in annotations | Danil Alexeev | 2023-01-25 | 2 | -2/+2 |
| |