summaryrefslogtreecommitdiff
path: root/modules/visual_script
AgeCommit message (Collapse)Author
2022-04-17Improve VisualScript search and instancing of nodesDavid Cambré
Constructors are more accessible. Basic type methods are now based on ClassDB and not registerd_node_names. Selecting search_classes now automatically changes the scope.
2022-04-12Fix Visual Script's jump to function relative to zoomNicholas Huelin
When double-clicking on a function name the graph will now correctly jump to the function relative to the zoom ratio.
2022-04-06Fix some issues found by cppcheck.bruvzg
2022-04-04Zero initialize all pointer class and struct membersRémi Verschelde
This prevents the pitfall of UB when checking if they have been assigned something valid by comparing to nullptr.
2022-03-27Add GDExtension support to Scriptreduz
* 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-12Initialize bools in the headers in editorAaron Franke
2022-03-11Use `RTR()` for VisualScriptNode captions and textsHaoyu Qiu
2022-03-10Discern between virtual and abstract class bindingsreduz
* Previous "virtual" classes (which can't be instantiated) are not corretly named "abstract". * Added a new "virtual" category for classes, they can't be instantiated from the editor, but can be inherited from script and extensions. * Converted a large amount of classes from "abstract" to "virtual" where it makes sense. Most classes that make sense have been converted. Missing: * Physics servers * VideoStream * Script* classes. which will go in a separate PR due to the complexity involved.
2022-03-09Remove VARIANT_ARG* macrosreduz
* 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-02-24Sort variables in VisualScriptEditorRaul Santos
Sorts the script variables in alphabetical order to display them in VisualScriptEditor.
2022-02-19Don't process VisualScriptNodesmegalobyte
2022-02-16Merge pull request #58187 from jakobbouchard/notification-switch-chunk-cRémi Verschelde
Convert _notification methods to switch - Chunk C
2022-02-16Convert _notification methods to switch - Chunk CJakob Bouchard
2022-02-16Merge pull request #58190 from MisoMosiSpy/vs_iconsRémi Verschelde
2022-02-16Added icons for missing types in visual script’s icon list.MisoMosiSpy
2022-02-16Style: Cleanup single-line blocks, semicolons, dead codeRémi Verschelde
Remove currently unused implementation of TextureBasisU, could be re-added later on if needed and ported.
2022-02-16Fix VisualScript crash when using Set Index nodeHaoyu Qiu
2022-02-15Editor: Cleanup some includes dependenciesRémi Verschelde
Removes some unnecessary includes from `editor_node.h`, and instead add those where they're used. Removes unnecessary `editor_node.h` includes in various editor classes. Renames `dynamicfont` to `dynamic_font` in a couple files. Misc cleanup while jumping through that rabbit hole.
2022-02-15Add an XML schema for documentationHugo Locurcio
This makes it easier to spot syntax errors when editing the class reference. The schema is referenced locally so validation can still work offline. Each class XML's schema conformance is also checked on GitHub Actions.
2022-02-13Merge pull request #57954 from TokageItLab/refactor-cubic-interpolateRémi Verschelde
Implement `cubic_interpolate()` as MathFunc for refactoring
2022-02-12Fix renaming function dialog in VisualScript does not work correctlyjmb462
2022-02-12Implement cubic_interpolate() as MathFunc for refactoringSilc 'Tokage' Renew
2022-02-10Fix typos with codespellRémi Verschelde
Using codespell 2.2-dev from current git. Added `misc/scripts/codespell.sh` to make it easier to run it once in a while and update the skip and ignore lists.
2022-02-08Merge pull request #57796 from akien-mga/revert-sname-theme-settersRémi Verschelde
2022-02-08Re-add missing `SNAME` macros in `get_theme_*` callsRémi Verschelde
They were removed in the previous commit reverting the addition of `SNAME` to `add_theme_*` and theme setter methods, which is not wanted.
2022-02-08Revert "Add missing SNAME macro optimization to all theme methods call"Rémi Verschelde
This reverts commit a988fad9a092053434545c32afae91ccbdfbe792. As discussed in #57725 and clarified in #57788, `SNAME` is not meant to be used everywhere but only in critical code paths. For theme methods specifically, it was by design that only getters use `SNAME` and not setters.
2022-02-08Refactor some object type checking code with `cast_to`Rémi Verschelde
Less stringly typed logic, and less String allocations and comparisons.
2022-02-06Add missing SNAME macro optimization to all theme methods calljmb462
2022-02-04Cleanup and move char functions to the `char_utils.h` header.bruvzg
2022-02-03Merge pull request #57562 from AnilBK/string-add-containsRémi Verschelde
String: Add contains().
2022-02-04String: Add contains().Anilforextra
2022-02-03Merge pull request #57467 from webbuf/modules-initializeRémi Verschelde
Initialized Member Variables in /modules
2022-02-03initialized member variables in headerzwebb
2022-01-30Add support for the escaped UTF-16 and UTF-32 Unicode characters in the ↵bruvzg
scripts and expressions.
2022-01-29simplify formatting scripts, add a clang-tidy script, and run clang-tidyNathan Franke
2022-01-29Update icons and color conversion rules to simplify the paletteYuri Sizov
2022-01-23Minor tweaks and fixes to panningkobewi
2022-01-23Merge pull request #57000 from KoBeWi/UNLIMITED_PANNINGRémi Verschelde
2022-01-21Add ViewPanner to 2D editorkobewi
2022-01-21Merge pull request #56252 from Gallilus/Update-visual-script-property-selectorRémi Verschelde
2022-01-20Merge pull request #55066 from trollodel/less_singletons_in_editornodeRémi Verschelde
2022-01-20Merge pull request #52134 from RandomShaper/fix_namingRémi Verschelde
2022-01-20Store panels and docks singletons in their own classestrollodel
2022-01-20Rename Variant::is_ref() to is_ref_counted()Pedro J. Estébanez
2022-01-19Convert TextEdit callbacks to CallablePaulb23
2022-01-17Improve Visual Script editor to suggest the proper visual script nodes.David Cambré
2022-01-15Fix crash when exiting the editorHaoyu Qiu
2022-01-14Merge pull request #55541 from KoBeWi/outcognito_scriptsRémi Verschelde
2022-01-13Make script type distinguishable by iconkobewi
2022-01-12Merge pull request #56646 from Chaosus/vst_context_menuRémi Verschelde