summaryrefslogtreecommitdiff
path: root/modules/gdscript
AgeCommit message (Collapse)Author
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.
2022-07-21Merge pull request #62433 from KoBeWi/🌈Rémi Verschelde
2022-07-20Merge pull request #47935 from HaSa1002/doc-loading-run-timeRémi Verschelde
2022-07-19Highlight ^NodePath and &StringName differentlykobewi
2022-07-18Merge pull request #63037 from ↵Rémi Verschelde
cdemirer/fix-non-global-autoload-code-completion-crash
2022-07-18Fix crash while trying to autocomplete non-global Autoloadcdemirer
2022-07-18Merge pull request #63024 from Xwdit/fix_grouping_annotation_in_docRémi Verschelde
2022-07-18Merge pull request #63123 from zerc/fix_doc_class_descriptionRémi Verschelde
2022-07-18GDScript: Fix brief/long description doc comments.Vladimir Savin
2022-07-18Check for parameters shadowing class memberscdemirer
2022-07-15Fix grouping annotations displayed in documentXwdit
2022-07-14Merge pull request #60458 from KoBeWi/Deprecated-hint,-unused-Rémi Verschelde
2022-07-13Merge pull request #62895 from KoBeWi/callables_exist_you_knowGeorge Marques
2022-07-13Merge pull request #62901 from ↵George Marques
cdemirer/prevent-unnecessary-additional-parser-error
2022-07-13Merge pull request #62900 from cdemirer/fix-parser-stuck-in-an-error-loopGeorge Marques
2022-07-13Merge pull request #62918 from cdemirer/parser-properly-set-node-extentsGeorge Marques
2022-07-13Merge pull request #62922 from YuriSizov/gdscript-annotation-defaultsGeorge Marques
2022-07-13Merge pull request #62578 from MinusKube/editor-print-crashGeorge Marques
Fix GDScript parser sometimes crashing when issuing warning for unreachable pattern
2022-07-12Remove unused hintskobewi
2022-07-11Add default argument bindings to GDScript annotationsYuri Sizov
2022-07-11Parser: Properly set node extentscdemirer
2022-07-11Prevent unnecessary additional parser errorcdemirer
2022-07-11Fix parser stuck in an error loopcdemirer
2022-07-10Remove outdated code pathkobewi
2022-07-07Allows parsing of invalid UTF-16 surrogates (can be encountered in Windows ↵bruvzg
filenames) and some non-standard UTF-8 variants, makes Unicode parse errors more verbose.
2022-07-06Sync GDScript doc template for new annotationsRémi Verschelde