summaryrefslogtreecommitdiff
path: root/modules/gdscript
AgeCommit message (Collapse)Author
2021-11-08Merge pull request #54473 from briansemrau/no-debug-functions-on-threadRémi Verschelde
2021-11-08Merge pull request #54118 from ↵Rémi Verschelde
Pineapple/dont-ignore-type-mismatch-in-setter-master
2021-11-07Fix LSP crash when parsing signal symbols.Francois Belair
If the number of parameters was less than the number of class members, the LSP would cause godot to crash because it was using the index for class members instead of the index for signal parameters. Fixes #54720 .
2021-11-03Rename `PROPERTY_USAGE_NOEDITOR` to `PROPERTY_USAGE_NO_EDITOR`Hugo Locurcio
This is consistent with other constants that include `NO`, such as `PROPERTY_HINT_COLOR_NO_ALPHA`.
2021-11-02Merge pull request #54346 from mhilbrunner/used-what-instead-of-whatRémi Verschelde
2021-11-01GDScript gracefully handle debug functions from separate threadBrian Semrau
2021-10-29Move the docs for constructors and operators out of methods sectionAaron Franke
2021-10-28Merge pull request #54350 from akien-mga/clang-format-dont-align-operandsRémi Verschelde
2021-10-28Merge pull request #53526 from KoBeWi/super_printRémi Verschelde
2021-10-28clang-format: Various fixes to comments alignment from `clang-format` 13Rémi Verschelde
All reviewed manually and occasionally rewritten to avoid bad auto formatting.
2021-10-28clang-format: Disable alignment of operands, too unreliableRé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-28Improve GDScript indentation error messageMax Hilbrunner
2021-10-25Refactored Node3D rotation modesreduz
* 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-22Don't ignore the type mismatch in setter functionBartłomiej T. Listwon
2021-10-21Remove unimplemented methodsMarcel Admiraal
2021-10-19Merge pull request #52940 from groud/toast_notificationRémi Verschelde
2021-10-18Fix incorrect debug check for settersBenjamin 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-17Fix name used instead of doc for GDScript signalsopl-
2021-10-15Merge pull request #53856 from vnen/gdscript-setter-crashRémi Verschelde
2021-10-15GDScript: Avoid crash if missing setter signatureGeorge Marques
2021-10-15Merge pull request #53843 from vnen/gdscript-typed-array-subscript-constantRémi Verschelde
Fix inferred typed array marked as constant
2021-10-15GDScript: Fix inferred typed array marked as constantGeorge Marques
2021-10-14GDScript: Fix typing for await expressionGeorge 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-14GDScript: Remove error when coroutine is called without awaitGeorge Marques
In the case the call happens as a statement, since the return value isn't used in this case.
2021-10-14GDScript: Properly return value with await on non-coroutineGeorge Marques
If the keyword `await` is used without a coroutine, it should still return the value synchronally.
2021-10-14GDScript: Make sure calls don't use return when not neededGeorge Marques
2021-10-14Merge pull request #53807 from vnen/dont-share-arrays-and-dictsRémi Verschelde
2021-10-14Zero Dictionary and Array variants when changing type with resetGeorge Marques
So they don't reference to the old values anymore and instead refer to a new value.
2021-10-14Merge pull request #53726 from briansemrau/gd-outer-classGeorge Marques
GDScript 2.0: Access outer scope classes
2021-10-14Implement toast notifications in the editorGilles Roudière
2021-10-13GDScript: Access outer scope classesBrian Semrau
2021-10-12Merge pull request #53720 from vnen/gdscript-typed-array-custom-classRémi Verschelde
2021-10-12GDScript: Fix typed array with custom classesGeorge Marques
2021-10-12GDScript: Make setter parameter type same as variable typeGeorge Marques
2021-10-11Merge pull request #53647 from Chaosus/gds_fix_builtin_functions_autocompletionYuri Roubinsky
2021-10-11Fix autocompletion of built-in functions in GDScriptYuri Roubinsky
2021-10-11Merge pull request #53430 from DavidSichma/typed_safe_setterGeorge Marques
Made typed member setters safe
2021-10-11Merge pull request #53103 from ZuBsPaCe/gdscript-analyze-properties-fixGeorge Marques
GDScript: Report property type errors
2021-10-11Remove redundant String operation from GDScript enum exportsYuri Sizov
2021-10-09Enhance and cleanup stringify for Vectormashumafi
2021-10-08Only emit typed member setters if safe to do soDavid Sichma
Instructions are now only emitted if input type matches expected type. Otherwise usual setter fallback.
2021-10-08GDScript: Report property type errorsZuBsPaCe
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-08Merge pull request #53536 from Faless/mp/4.x_rpc_configMax Hilbrunner
[Net] Add call_local argument to Node.rpc_config.
2021-10-08Merge pull request #53336 from briansemrau/gdscript-i'm-not-my-own-local-classGeorge 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-07GDScript: Use getter return type for the property typeGeorge 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-07Merge pull request #53422 from KoBeWi/add_LUA_to_GodotRémi Verschelde
2021-10-07GDScript: Fix method ptrcall on releaseGeorge Marques
2021-10-07Change print_line() to use any number of Variantskobewi
2021-10-07Merge pull request #53494 from mhilbrunner/stop-drop-and-dont-lieRémi Verschelde
Fix outdated no_call_local, use call_remote