summaryrefslogtreecommitdiff
path: root/modules/gdscript
AgeCommit message (Collapse)Author
2022-08-20Merge pull request #64170 from YuriSizov/docs-annotations-in-technicolorMax Hilbrunner
Add documentation for all annotations
2022-08-19Merge pull request #64334 from YuriSizov/core-bind-property-revert-methodsYuri Sizov
Make `property_*_revert` methods multilevel and expose them for scripting
2022-08-19Add documentation for all annotationsYuri Sizov
2022-08-19Merge pull request #63326 from MewPurPur/binary-highlighting-fixMax Hilbrunner
Fix highlighting of multiple operators
2022-08-18Make `property_*_revert` methods multilevel and expose them for scriptingYuri Sizov
2022-08-14Improve binary operator highlightingVolTer
2022-08-10Merge pull request #62934 from Xwdit/script_doc_arg_def_varRémi Verschelde
2022-08-10Merge pull request #63015 from Xwdit/fix_gds_editor_tooltip_arg_typeRémi Verschelde
2022-08-10Fix script documentation method argument default valuesXwdit
Co-Authored-By: Rémi Verschelde <rverschelde@gmail.com>
2022-08-10Fixed incorrect type display of function argument in GDScript editor tooltipsXwdit
2022-08-10Fixed incorrect type display of void return in GDScript editor tooltipsXwdit
2022-08-10Prevent global functions from overriding completion of subscriptYuri Rubinsky
2022-08-08Merge pull request #64099 from A-Lamia/lsp_uri_path_fixesRémi Verschelde
2022-08-08Rename the argument tag to param in XML documentationYuri Sizov
2022-08-08Merge pull request #64076 from raulsntos/doc-fixesRémi Verschelde
Add `@GDScript.type_exists` documentation, Fix typo in weakref documentation
2022-08-08Add `@GDScript.type_exists` documentationRaul Santos
2022-08-08Add tests for empty/unnamed arguments to ClassDB, Variant, GDScriptYuri Sizov
2022-08-08fix: modifies workspace->root_uri so that p_uri is symmetrical to other ↵Lamia
operating systems. #63388
2022-08-08Merge pull request #64046 from ↵Rémi Verschelde
AntonioDell/bugfix/63715-infer-preloaded-const-types
2022-08-07fix(gdscript): Infer type from preload constAntonio Dell'Annunziata
When resolving the type of the attribute from the variant, the result_type.kind was overritten for no reason. It is assumed that this only needs to be done, if the variant value is not valid to have any kind here. Solves #63715
2022-08-07Merge pull request #63919 from Faless/scons/4.x_easy_depsRémi Verschelde
2022-08-06Merge pull request #63712 from object71/fix-export-issuesRémi Verschelde
2022-08-04[Scons] Implement module dependency sorting.Fabio Alessandrelli
Modules can now call: env.module_add_dependencies(name: str, deps: list, optional: bool) To add required or optional dependencies during the "can_build" step. Required dependencies will be checked and the module will be not be enabled when they are missing, printing a warning to notify the user.
2022-08-03Removed faulty function update after get_property_list.Hristo Stamenov
The function tried to rearrange properties but that lead to problems with duplication or deleted properties. Implemented the logic that that function did inside the get_property_list both for tool scripts and non-tool scripts.
2022-08-02Merge pull request #61315 from lawnjelly/variant_bucket_poolsRémi Verschelde
Variant memory pools
2022-08-01Merge pull request #55450 from ↵Rémi Verschelde
Calinou/script-editor-improve-light-theme-syntax-colors
2022-07-31Improve script editor's light theme syntax colors for better readabilityHugo Locurcio
New colors were hand-picked to have a better contrast rate, while still following the general coloring of the previous light theme. This improves the light theme's accessibility, especially in outdoor environments with direct sunlight.
2022-07-31Extract EditorResourceConversionPlugin into its own source files and clean ↵Yuri Sizov
up editor includes
2022-07-29Swap arguments of ResourceSaver.save()kobewi
2022-07-29Merge pull request #63603 from aaronfranke/editor-pathsRémi Verschelde
Move editor paths into the EditorPaths class
2022-07-29Merge pull request #63595 from reduz/remove-signal-connect-bindsRémi Verschelde
Remove Signal connect binds
2022-07-29Move editor paths into the EditorPaths classAaron Franke
2022-07-29Remove Signal connect bindsJuan Linietsky
Remove the optional argument p_binds from `Object::connect` since it was deprecated by Callable.bind(). Changed all uses of it to Callable.bind()
2022-07-29fix(gdscript): Fix infinite loop on type inferernce from super method callsAntonio Dell'Annunziata
When infering the type from a `super()` call, the gdscript_editor didn't use the base class to search for the original implementation of the method, but instead searched in the extending class. This caused the same function to be analyzed for type inference which created the infinite loop. Solves #63592
2022-07-28Merge pull request #63049 from Faless/mp/4.x_as_moduleRémi Verschelde
2022-07-28fix(gdscript): Fix out of bounds crash after reloading member variablesAntonio Dell'Annunziata
The crash happens because the members Vector is resized, while the member_indices_cache still has the old indices saved. On deleting a member from the script this can result to a cached index of 1 while the members Vector size is only 1.
2022-07-28Merge pull request #63560 from V-Sekai/named_global_crashfixRémi Verschelde
2022-07-27Prevent hard crash in GDScriptVM when a named global can not be found.SaracenOne
2022-07-27inconsistent str() error fixEdward
inconsistent str() error fix
2022-07-28LSP: Sanitizes protocol URI `file:///c%3A` in file pathLamia
Fixes #63205.
2022-07-27Merge pull request #63325 from EIRTeam/typed_array_fixRémi Verschelde
2022-07-26Split up editor export code into multiple filesAaron Franke
2022-07-26[Net] Modularize multiplayer, expose MultiplayerAPI to extensions.Fabio Alessandrelli
- RPC configurations are now dictionaries. - Script.get_rpc_methods renamed to Script.get_rpc_config. - Node.rpc[_id] and Callable.rpc now return an Error. - Refactor MultiplayerAPI to allow extension. - New MultiplayerAPI.rpc method with Array argument (for scripts). - Move the default MultiplayerAPI implementation to a module.
2022-07-26Fix Vector4 parse errorkobewi
2022-07-25Code quality: Fix header guards consistencyRémi Verschelde
Adds `header_guards.sh` bash script, used in CI to validate future changes. Can be run locally to fix invalid header guards.
2022-07-25Merge pull request #63219 from reduz/implement-vector4-projectionRémi Verschelde
2022-07-24Fix missing method qualifiers in script docXwdit
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-07-23Implement Vector4, Vector4i, Projectionreduz
Implement built-in classes Vector4, Vector4i and Projection. * Two versions of Vector4 (float and integer). * A Projection class, which is a 4x4 matrix specialized in projection types. These types have been requested for a long time, but given they were very corner case they were not added before. Because in Godot 4, reimplementing parts of the rendering engine is now possible, access to these types (heavily used by the rendering code) becomes a necessity. **Q**: Why Projection and not Matrix4? **A**: Godot does not use Matrix2, Matrix3, Matrix4x3, etc. naming convention because, within the engine, these types always have a *purpose*. As such, Godot names them: Transform2D, Transform3D or Basis. In this case, this 4x4 matrix is _always_ used as a _Projection_, hence the naming.
2022-07-22Fix typed array returns returning the incorrect contained typeÁlex Román Núñez
Fixes #59485 and #60218
2022-07-22Don't print redundant errors when parsing GDScriptDallon Feldner
The error macros print a generic error, which isn't necessary, and could be confusing to end users.