Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-02-12 | Improve GDScript error for method call on null/previously freed instance | pkowal | |
Fixes #53878. | |||
2023-02-11 | Merge pull request #73033 from akien-mga/gdscript-fix-gd4-renames-build | Rémi Verschelde | |
Clean up ProjectConverter3To4 architecture, move renames map to separate file | |||
2023-02-11 | Merge pull request #72654 from RandomShaper/ptrcall_ret_raw_obj | Rémi Verschelde | |
Avoid losing references to objects in the native-scripting boundary | |||
2023-02-10 | Clean up ProjectConverter3To4 architecture, move renames map to separate file | Rémi Verschelde | |
This allows properly limiting what features depend on the RegEx module (doing the actual conversion) and what features only require the renames data (GDScript suggestions). Also better excludes the conversion command line options when actually disabling deprecated code. Fixes #73029. | |||
2023-02-10 | GDScript: Remove `treat_warnings_as_errors` project setting | Danil Alexeev | |
2023-02-09 | Merge pull request #72971 from vnen/gdscript-multiline-comment | Rémi Verschelde | |
GDScript: Allow strings as multiline comments | |||
2023-02-09 | Merge pull request #72975 from vnen/gdscript-no-ascii-spoof-check | Rémi Verschelde | |
GDScript: Be more lenient with identifiers | |||
2023-02-09 | GDScript: Be more lenient with identifiers | George Marques | |
- 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. | |||
2023-02-09 | GDScript: Allow strings as multiline comments | George Marques | |
Bring back the behavior in 3.x that was left out by oversight. | |||
2023-02-09 | Merge pull request #69550 from Rindbee/fix-script-editor-not-reload-via-lsp | Rémi Verschelde | |
Fix internal editor not updating when using external editor via LSP | |||
2023-02-08 | Fix null message in assert() | kobewi | |
2023-02-07 | Merge pull request #72493 from dalexeev/gds-export-flags | Rémi Verschelde | |
GDScript: Improve validation and documentation of `@export_flags` | |||
2023-02-07 | Merge pull request #72789 from Vilcrow/fix-jump-to-definition | Rémi Verschelde | |
Fixed the jumping to function definition using 'Ctrl+LMB'. | |||
2023-02-07 | GDScript: Improve validation and documentation of `@export_flags` | Danil Alexeev | |
2023-02-07 | Some code simplifications | Markus Sauermann | |
1. `number_width` isn't used later 2. `return_type` is used only once 3. AudioServer::get_singleton()->get_channel_count() always returns a channel_count of 1 or larger 4. negative `aa->backward` conditional 5. `current_canvas` == `find_world_2d()->get_canvas()` 6. identical if `render_shadows` | |||
2023-02-07 | Fixed the jumping to function definition using 'Ctrl+LMB'. | S.V.I. Vilcrow | |
2023-02-06 | Merge pull request #72546 from vonagam/fix-typed-array-can-reference | Yuri Sizov | |
GDScript: Fix can_reference check for typed arrays | |||
2023-02-06 | Merge pull request #72677 from dalexeev/gds-await-infer-type | Yuri Sizov | |
GDScript: Fix `await` type inference | |||
2023-02-06 | Merge pull request #72804 from vnen/gdscript-no-onready-without-node | Yuri Sizov | |
GDScript: Fix inheritance check of @onready for inner classes | |||
2023-02-06 | GDScript: Fix `await` type inference | Danil Alexeev | |
2023-02-06 | Merge pull request #70002 from poohcom1/fix/static-subscript-autocomplete | Yuri Sizov | |
Fix code-completion suggesting non-static members for custom classes | |||
2023-02-06 | Merge pull request #72708 from KoBeWi/PackedMultilineStringArray | Yuri Sizov | |
Fix @export_multiline for PackedStringArray | |||
2023-02-06 | GDScript: Fix can_reference check for typed arrays | Dmitrii Maganov | |
2023-02-06 | GDScript: Fix inheritance check of @onready for inner classes | George Marques | |
2023-02-06 | GDScript: Fix recently merged test not ignoring warnings | Rémi Verschelde | |
2023-02-06 | Merge pull request #72330 from MinusKube/unreachable_code_bug | Rémi Verschelde | |
Fix unreachable code warning for elif block | |||
2023-02-06 | Merge pull request #72512 from vonagam/fix-ternary-type-source | Yuri Sizov | |
GDScript: Fix type certainty for result of ternary operator | |||
2023-02-06 | Merge pull request #72794 from vnen/gdscript-no-onready-without-node | Rémi Verschelde | |
GDScript: Don't allow @onready without inheriting Node | |||
2023-02-06 | GDScript: Don't allow @onready without inheriting Node | George Marques | |
2023-02-05 | GDScript: Better handling of `@rpc` annotation and autocompletion | Danil Alexeev | |
2023-02-05 | Merge pull request #72608 from vnen/gdscript-warning-default-error | Yuri Sizov | |
GDScript: Add warnings that are set to error by default (take 2) | |||
2023-02-04 | Fix @export_multiline for PackedStringArray | kobewi | |
2023-02-04 | Merge pull request #71860 from GeroVeni/master | Yuri Sizov | |
Improve docs for rpc annotations | |||
2023-02-04 | Improve docs for rpc annotations | GeroVeni | |
2023-02-03 | Avoid losing references to objects in the native-scripting boundary | Pedro J. Estébanez | |
2023-02-03 | Merge pull request #65910 from KoBeWi/gdsus | Rémi Verschelde | |
Cleanup function state connections when destroying instance | |||
2023-02-02 | Merge pull request #72398 from vnen/gdscript-setter-chain | Rémi Verschelde | |
GDScript: Improve usability of setter chains | |||
2023-02-02 | GDScript: Add warnings that are set to error by default | George Marques | |
- Adds a list of default levels for all warning so they can be set individually. - Add warnings set by default to error for: - Using `get_node()` without `@onready`. - Using `@onready` together with `@export`. - Inferring a static type with a Variant value. - Overriding a native engine method. - Adjust how annotations to ignore warnings are treated so they also apply to method parameters. - Clean up a bit how ignored warnings are set. There were two sets but only one was actually being used. - Set all warnings to the `WARN` level for tests, so they they can be properly tested. - Fix enum types in native methods signatures being set to `int`. - Fix native enums being treated as Dictionary by mistake. - Make name of native enum types use the class they are defined in, not the direct super class of the script. This ensures they are always equal even when coming from different sources. - Fix error for signature mismatch that was only showing the first default argument as having a default. Now it shows for all. | |||
2023-02-02 | GDScript: Improve usability of setter chains | George Marques | |
- Consider PackedArrays non-shared since they are copied on C++/script boundaries. - Add error messages in the analyzer when assigning to read-only properties. - Add specific error message at runtime when assignment fails because the property is read-only. | |||
2023-02-02 | Fix crash in gdscript when autocompleting virtual function and signature ↵ | Eric M | |
does not match base. | |||
2023-02-02 | Merge pull request #72557 from vonagam/fix-make-value-protection | Rémi Verschelde | |
GDScript: Fix getting reduced value of incomplete subscript for autocomplete | |||
2023-02-02 | GDScript: Fix crash in export group annotations | Danil Alexeev | |
2023-02-02 | GDScript: Fix getting reduced value of incomplete subscript | Dmitrii Maganov | |
2023-02-01 | GDScript: Fix type certainty for result of ternary operator | Dmitrii Maganov | |
2023-02-01 | Merge pull request #72499 from vonagam/fix-typed-array-disassembly | Rémi Verschelde | |
GDScript: Fix disassembly of typed array assignment and construction | |||
2023-02-01 | Revert "GDScript: Add warnings that are set to error by default" | Rémi Verschelde | |
This reverts commit a166833bfa23a21a7bff196a85a20b014e7c1396. This caused multiple regressions. Needs to be redone with more testing before merge. Fixes #72501. | |||
2023-02-01 | GDScript: Fix disassembly of typed array assignment and construction | Dmitrii Maganov | |
2023-02-01 | Merge pull request #72487 from vnen/gdscript-warning-default-error | Rémi Verschelde | |
GDScript: Add warnings that are set to error by default | |||
2023-02-01 | Merge pull request #72490 from resistor/disasm | Rémi Verschelde | |
Fix disassembly of OPCODE_CONSTRUCT_TYPED_ARRAY. | |||
2023-02-01 | Merge pull request #72371 from dalexeev/remove-gds-str-duplicate | Rémi Verschelde | |
Remove `@GDScript.str` (duplicate of `@GlobalScope.str`) |