Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-04-12 | Narrow FileAccess scope to prevent deadlocks. | bruvzg | |
2022-04-11 | Make FileAccess and DirAccess classes reference counted. | bruvzg | |
2022-04-08 | GDScript: Fix method call on singletons | George Marques | |
2022-04-07 | Add built-in Variant types to autocompletion list | David Maziarka | |
Co-authored-by: Gustav <gusan092@student.liu.se> | |||
2022-04-06 | Merge pull request #59947 from vnen/gdscript-static-methods-classdb | Rémi Verschelde | |
2022-04-06 | GDScript: Add support for static method calls in native types | George Marques | |
2022-04-06 | Fix some issues found by cppcheck. | bruvzg | |
2022-04-04 | Merge pull request #59885 from Jayman2000/autoload-inheritance-message | Rémi Verschelde | |
2022-04-04 | Improve autoload inheritance error message | Jason Yundt | |
Autoloaded scripts should always inherit from Node. When you run a project that tries to autoload a script which doesn’t inherit from Node, then Godot gives an error. Before this change, the error said “Script does not inherit a Node”. That error message is a little bit misleading. If a class inherits a Node, then one of its superclasses has a Node. If a class inherits _from_ Node, then one of its superclasses is Node. This change corrects that mistake. Fixes #59884. | |||
2022-04-04 | Zero initialize all pointer class and struct members | Rémi Verschelde | |
This prevents the pitfall of UB when checking if they have been assigned something valid by comparing to nullptr. | |||
2022-04-03 | Merge pull request #59633 from EricEzaM/better-code-complete-update | Rémi Verschelde | |
Improve sorting of Code Completion options. | |||
2022-04-01 | Improve sorting of Code Completion options. | Eric M | |
Done by ordering options by their location in the code - e.g. local, parent class, global, etc. | |||
2022-03-31 | Fix some issues found by clang sanitizers. | bruvzg | |
2022-03-31 | Fix typos with codespell | Rémi Verschelde | |
Using codespell 2.2-dev from current git. Fix a couple incorrect uses of gendered pronouns. | |||
2022-03-30 | Merge pull request #59694 from vnen/gdscript-better-call-super | Rémi Verschelde | |
2022-03-30 | GDScript: Fix issues with completion and `super` calls | George Marques | |
- Make call errors use the call node instead of the calle, which will be empty on super calls. - Don't allow `super()` to be used within lambdas. | |||
2022-03-30 | Fix autocompletion of static methods in built-in types in GDScript | Yuri Roubinsky | |
2022-03-28 | Refactor GDScript/C# script templates logic to be editor-only | Rémi Verschelde | |
Not a full refactor as it still goes through ScriptLanguage so it's hacky, but at least it can now compile without this. | |||
2022-03-28 | Merge pull request #59553 from reduz/script-extension-support | Rémi Verschelde | |
2022-03-28 | Revert "Sort autocomplete/code completion options in a better way" | Juan Linietsky | |
2022-03-28 | Merge pull request #59612 from YeldhamDev/style_and_grace | Rémi Verschelde | |
2022-03-28 | Merge pull request #58931 from EricEzaM/proposals/4189-better-code-completion | Rémi Verschelde | |
Sort autocomplete/code completion options in a better way | |||
2022-03-28 | Merge pull request #59064 from Chaosus/gds_fix_narrowing_conv_warning | Rémi Verschelde | |
Prevent NARROWING_CONVERSION warning for `int(float)` function in GDScript | |||
2022-03-28 | Make script templates follow the GDScript style guide | Michael Alexsander | |
2022-03-27 | Add GDExtension support to Script | reduz | |
* Ability to create script languages from GDExtension * Some additions to gdnative_extension.h to make this happen * Moved the GDExtension binder to core This now allows creating scripting languages from GDExtension, with the same ease as if it was a module. It replaces the old PluginScript from Godot 3.x. Warning: GodotCPP will need to be updated to support this (it may be a bit of work as ScriptInstance needs to be created over there again). | |||
2022-03-24 | Improve sorting of Code Completion options. | Eric M | |
Done by ordering options by their location in the code - e.g. local, parent class, global, etc. | |||
2022-03-23 | Merge pull request #59065 from fabriceci/script-template-condition-too-wide | Rémi Verschelde | |
2022-03-23 | Restrict the condition when checking if a script is a template | fabriceci | |
2022-03-22 | Prevent NARROWING_CONVERSION warning for int(float) function in GDScript | Yuri Roubinsky | |
2022-03-22 | Merge pull request #59056 from Chaosus/gds_fix_extends_crash | Yuri Rubinsky | |
2022-03-22 | Merge pull request #58971 from Chaosus/gds_multiline_annotation | Yuri Rubinsky | |
2022-03-21 | Merge pull request #59194 from Chaosus/gds_export_flags_limit_error | Rémi Verschelde | |
Add an error emitting when the `@export_flags` arg count is exceeded | |||
2022-03-16 | Add an error emitting when the `@export_flags` arg count is exceeded | Yuri Roubinsky | |
2022-03-14 | Fix default value count checking for inherited function | Yuri Roubinsky | |
2022-03-12 | Prevent crash due to empty error message on empty extends in GDScript | Yuri Roubinsky | |
2022-03-10 | Allow making multiline annotations in GDScript | Yuri Roubinsky | |
2022-03-09 | Remove VARIANT_ARG* macros | reduz | |
* Very old macros from the time Godot was created. * Limited arguments to 5 (then later changed to 8) in many places. * They were replaced by C++11 Variadic Templates. * Renamed methods that take argument pointers to have a "p" suffix. This was used in some places and not in others, so made it standard. * Also added a dereference check for Variant*. Helped catch a couple of bugs. | |||
2022-03-09 | Fix `VisualShaderNodeCustom` script template | Yuri Roubinsky | |
2022-03-07 | Merge pull request #58853 from V-Sekai/default-arg-values | Rémi Verschelde | |
2022-03-07 | Restore building web platform by enclosing resolve_function_signature. | K. S. Ernest (iFire) Lee | |
2022-03-07 | Merge pull request #58847 from KoBeWi/editor_settings_mess | Rémi Verschelde | |
2022-03-06 | Remove duplicate editor settings definitions | kobewi | |
2022-03-06 | GDScript: Check if method signature matches the parent | George Marques | |
To guarantee polymorphism, a method signature must be compatible with the parent. This checks if: 1. Return type is the same. 2. The subclass method takes at least the same amount of parameters. 3. The matching parameters have the same type. 4. If the subclass takes more parameters, all of the extra ones have a default value. 5. If the superclass has default values, so must have the subclass. There's a few test cases to ensure this holds up. | |||
2022-03-04 | Add test cases for accessing parent elements from child class | strank | |
2022-03-04 | Merge pull request #56830 from strank/parent-signals | Rémi Verschelde | |
2022-03-04 | Merge pull request #58185 from V-Sekai/explicit_variant_assignment_fix | Rémi Verschelde | |
2022-03-04 | Merge pull request #58201 from V-Sekai/debugger_locals | Rémi Verschelde | |
2022-03-04 | Merge pull request #58320 from mphe/fix_object_typed_arrays | Rémi Verschelde | |
2022-03-04 | Merge pull request #58250 from V-Sekai/typed_array_fix | Rémi Verschelde | |
2022-03-04 | Merge pull request #58626 from groud/fix_gdscript_analyser_crash | Rémi Verschelde | |