Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-02-20 | Add test for const class references | mashumafi | |
2023-02-20 | GDScript: Limit recursion depth for completion functions | George Marques | |
Avoid crashing if the completion gets stuck in infinite recursion while trying to guess the expression type. | |||
2023-02-20 | Merge pull request #73590 from vnen/gdscript-global-scope-enums | Rémi Verschelde | |
Make global scope enums accessible as types in GDScript | |||
2023-02-20 | Merge pull request #73544 from mashumafi/fix-func-arg-null | Rémi Verschelde | |
Fix: Func with typed args error when arg is null | |||
2023-02-20 | Merge pull request #73489 from vonagam/type-check-node | Rémi Verschelde | |
GDScript: Rework type check | |||
2023-02-20 | Merge pull request #73291 from vonagam/fix-unsafe-weak-binop | Rémi Verschelde | |
GDScript: Fix missing unsafety mark for binary op with weak variables | |||
2023-02-19 | Fix: Func with typed args error when arg is null | mashumafi | |
2023-02-19 | Make global scope enums accessible as types in GDScript | George Marques | |
Add functions to CoreConstant so enums can be properly deduced. Also add the enums in release builds to make consistent with ClassDB enums and avoid differences in script compilation between debug and release. | |||
2023-02-18 | Merge pull request #73501 from anvilfolk/oopsiedaisy | Yuri Sizov | |
Fix inability to assign null regression | |||
2023-02-17 | Merge pull request #73448 from RandomShaper/fix_sticky_stack | Yuri Sizov | |
Avoid GDScript bookkeeping from referencing objects longer than necessary | |||
2023-02-17 | Avoid GDScript bookkeeping from referencing objects longer than necessary | Pedro J. Estébanez | |
2023-02-17 | GDScript: Rework type check | Dmitrii Maganov | |
2023-02-17 | Fix inability to assign null regression | ocean (they/them) | |
Co-authored-by: Dmitry Maganov <vonagam@gmail.com> | |||
2023-02-17 | Merge pull request #72867 from vnen/gdscript-limit-call-depth | Yuri Sizov | |
GDScript: Add limit to call depth | |||
2023-02-17 | Merge pull request #72925 from vonagam/fix-enum-typed-array-error | Yuri Sizov | |
GDScript: Fix error about enum typed arrays | |||
2023-02-17 | Merge pull request #73398 from anvilfolk/fix-getter | Rémi Verschelde | |
Fix unset getter return types resulting in strange behavior | |||
2023-02-17 | Merge pull request #73364 from anvilfolk/fix-freed | Rémi Verschelde | |
Fix crash by freed object assign to typed variable | |||
2023-02-16 | Fix crash by freed object assign to typed variable | ocean (they/them) | |
2023-02-16 | GDScript: Fix infer on read-only property | Dmitrii Maganov | |
2023-02-15 | Add return type for GDScript getters | ocean (they/them) | |
2023-02-14 | GDScript: Fix default value of exported enum variable | Danil Alexeev | |
2023-02-14 | GDScript: Fix missing unsafety mark for binary op with weak variables | Dmitrii Maganov | |
2023-02-14 | Tweak `@GlobalScope` & `GDScript`'s documentation | Micky | |
2023-02-13 | GDScript: Fix usage of ints with typed array of floats | Dmitrii Maganov | |
2023-02-13 | Revert "Fixed the jumping to function definition using 'Ctrl+LMB'." | Rémi Verschelde | |
This reverts commit 7eb6367d5cb62fb48563ad940423198f792e3fe8. Fixes #73058. Fixes #73167. This caused regressions, we'll retry with fixes for 4.1. | |||
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-09 | GDScript: Fix error about enum typed arrays | Dmitrii Maganov | |
2023-02-08 | Fix null message in assert() | kobewi | |
2023-02-07 | GDScript: Add limit to call depth | George Marques | |
The hard limit is set at 2048 depth which seems sensible between legitimate recursive calls while still avoiding a crash because of a stack overflow in most of the cases. Note that it is still possible to reach the stack limit and get an overflow before reaching a call depth. This is intended as a half-way measure to stop crashing in most cases, since there's no reliable nor portable way to check the amount of stack memory left. | |||
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 | |