Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-10-28 | clang-format: Various fixes to comments alignment from `clang-format` 13 | Rémi Verschelde | |
All reviewed manually and occasionally rewritten to avoid bad auto formatting. | |||
2021-10-28 | clang-format: Disable alignment of operands, too unreliable | Rémi Verschelde | |
Sets `AlignOperands` to `DontAlign`. `clang-format` developers seem to mostly care about space-based indentation and every other version of clang-format breaks the bad mismatch of tabs and spaces that it seems to use for operand alignment. So it's better without, so that it respects our two-tabs `ContinuationIndentWidth`. | |||
2021-10-25 | Refactored Node3D rotation modes | reduz | |
* Made the Basis euler orders indexed via enum. * Node3D has a new rotation_order property to choose Euler rotation order. * Node3D has also a rotation_mode property to choose between Euler, Quaternion and Basis Exposing these modes as well as the order makes Godot a lot friendlier for animators, which can choose the best way to interpolate rotations. The new *Basis* mode makes the (exposed) transform property obsolete, so it was removed (can still be accessed by code of course). | |||
2021-10-21 | Remove unimplemented methods | Marcel Admiraal | |
2021-10-19 | Merge pull request #52940 from groud/toast_notification | Rémi Verschelde | |
2021-10-18 | Fix incorrect debug check for setters | Benjamin Navarro | |
the check read the return type of the setter, which doesn't exist and lead to a segmentation fault. Now we check the first function parameter. Probably a bad copy/paste of the getter case | |||
2021-10-17 | Fix name used instead of doc for GDScript signals | opl- | |
2021-10-15 | Merge pull request #53856 from vnen/gdscript-setter-crash | Rémi Verschelde | |
2021-10-15 | GDScript: Avoid crash if missing setter signature | George Marques | |
2021-10-15 | Merge pull request #53843 from vnen/gdscript-typed-array-subscript-constant | Rémi Verschelde | |
Fix inferred typed array marked as constant | |||
2021-10-15 | GDScript: Fix inferred typed array marked as constant | George Marques | |
2021-10-14 | GDScript: Fix typing for await expression | George Marques | |
Don't grab the type of the awaited value unless it's constant (which makes it synchronous) or call (which always use the proper return type). | |||
2021-10-14 | GDScript: Remove error when coroutine is called without await | George Marques | |
In the case the call happens as a statement, since the return value isn't used in this case. | |||
2021-10-14 | GDScript: Properly return value with await on non-coroutine | George Marques | |
If the keyword `await` is used without a coroutine, it should still return the value synchronally. | |||
2021-10-14 | GDScript: Make sure calls don't use return when not needed | George Marques | |
2021-10-14 | Merge pull request #53807 from vnen/dont-share-arrays-and-dicts | Rémi Verschelde | |
2021-10-14 | Zero Dictionary and Array variants when changing type with reset | George Marques | |
So they don't reference to the old values anymore and instead refer to a new value. | |||
2021-10-14 | Merge pull request #53726 from briansemrau/gd-outer-class | George Marques | |
GDScript 2.0: Access outer scope classes | |||
2021-10-14 | Implement toast notifications in the editor | Gilles Roudière | |
2021-10-13 | GDScript: Access outer scope classes | Brian Semrau | |
2021-10-12 | Merge pull request #53720 from vnen/gdscript-typed-array-custom-class | Rémi Verschelde | |
2021-10-12 | GDScript: Fix typed array with custom classes | George Marques | |
2021-10-12 | GDScript: Make setter parameter type same as variable type | George Marques | |
2021-10-11 | Merge pull request #53647 from Chaosus/gds_fix_builtin_functions_autocompletion | Yuri Roubinsky | |
2021-10-11 | Fix autocompletion of built-in functions in GDScript | Yuri Roubinsky | |
2021-10-11 | Merge pull request #53430 from DavidSichma/typed_safe_setter | George Marques | |
Made typed member setters safe | |||
2021-10-11 | Merge pull request #53103 from ZuBsPaCe/gdscript-analyze-properties-fix | George Marques | |
GDScript: Report property type errors | |||
2021-10-11 | Remove redundant String operation from GDScript enum exports | Yuri Sizov | |
2021-10-09 | Enhance and cleanup stringify for Vector | mashumafi | |
2021-10-08 | Only emit typed member setters if safe to do so | David Sichma | |
Instructions are now only emitted if input type matches expected type. Otherwise usual setter fallback. | |||
2021-10-08 | GDScript: Report property type errors | ZuBsPaCe | |
Inline getters & setters are now FunctionNodes. Their names are set in the parser, not in the compiler. GDScript-Analyzer will now run through getter and setter. Also report wrong type or signature errors regarding getset properties. Added GDScript tests for getters and setters. #53102 | |||
2021-10-08 | Merge pull request #53536 from Faless/mp/4.x_rpc_config | Max Hilbrunner | |
[Net] Add call_local argument to Node.rpc_config. | |||
2021-10-08 | Merge pull request #53336 from briansemrau/gdscript-i'm-not-my-own-local-class | George Marques | |
[GDScript 2.0] fix script base class self-assignment | |||
2021-10-08 | [Net] Rename RPCConfig.sync to call_local. | Fabio Alessandrelli | |
For consistency with the other user facing changes. | |||
2021-10-07 | GDScript: Use getter return type for the property type | George Marques | |
The PropertyInfo hints are more relevant for the inspector. The getter return type is more reliable and less likely to be incorrect and it is what's going to be called in the end. | |||
2021-10-07 | Merge pull request #53422 from KoBeWi/add_LUA_to_Godot | Rémi Verschelde | |
2021-10-07 | GDScript: Fix method ptrcall on release | George Marques | |
2021-10-07 | Merge pull request #53494 from mhilbrunner/stop-drop-and-dont-lie | Rémi Verschelde | |
Fix outdated no_call_local, use call_remote | |||
2021-10-06 | GDScript: Set status on parsing steps beforehand | George Marques | |
To avoid potential dependency cycles. If any happens it will not get into infinite recursion anymore and errors will cascade later on. | |||
2021-10-06 | Fix outdated no_call_local, use call_remote | Max Hilbrunner | |
2021-10-06 | Merge pull request #53479 from vnen/gdscript-subscript-object-self | Rémi Verschelde | |
2021-10-06 | Merge pull request #53478 from vnen/gdscript-avoid-hard-inference | Rémi Verschelde | |
2021-10-06 | GDScript: Allow subscript on self and object types | George Marques | |
2021-10-06 | GDScript: Avoid hard errors on inferred types | George Marques | |
Since inference isn't always correct, they are now treated as unsafe instead of errors. This also removes inferred type when a variable is reassigned. Since it's not aware of branching, the types might become invalid in a later context. | |||
2021-10-06 | GDScript: Make all warnings enabled in test generation | George Marques | |
The test generation doesn't initialize the language (since it's already initialized in main), but it still needs the warning enabled so it matches the actual tests. | |||
2021-10-06 | doc: Update links to latest documentation after content reorganization | Rémi Verschelde | |
2021-10-05 | Fix LUA-style assignment in Dictionary | kobewi | |
2021-10-04 | GDScript fix wrong base class assignment | Brian Semrau | |
2021-10-04 | GDScript: Use path cache when checking preloaded scripts | George Marques | |
The path itself might not always be set in some cases, especially when the script is just created and is already in the resource cache. Using get_path() in this case gets the correct resource path. This also adds a null check for safety in case the path is incorrect or missing, to avoid a crash in the engine. | |||
2021-10-04 | GDScript: Fix member assignment with operation | George Marques | |
It was wrongly updating the assigned value with the result of the operation. |