summaryrefslogtreecommitdiffstats
path: root/modules/visual_script
Commit message (Collapse)AuthorAgeFilesLines
* Fix Visual Script's jump to function relative to zoomNicholas Huelin2022-04-121-1/+1
| | | When double-clicking on a function name the graph will now correctly jump to the function relative to the zoom ratio.
* Fix some issues found by cppcheck.bruvzg2022-04-066-81/+81
|
* Zero initialize all pointer class and struct membersRémi Verschelde2022-04-042-20/+20
| | | | | This prevents the pitfall of UB when checking if they have been assigned something valid by comparing to nullptr.
* Add GDExtension support to Scriptreduz2022-03-271-2/+2
| | | | | | | | | * 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).
* Initialize bools in the headers in editorAaron Franke2022-03-122-3/+1
|
* Use `RTR()` for VisualScriptNode captions and textsHaoyu Qiu2022-03-115-76/+82
|
* Discern between virtual and abstract class bindingsreduz2022-03-101-2/+2
| | | | | | | | | | | | | | * 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.
* Remove VARIANT_ARG* macrosreduz2022-03-096-18/+18
| | | | | | | | * 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.
* Sort variables in VisualScriptEditorRaul Santos2022-02-241-0/+1
| | | | | Sorts the script variables in alphabetical order to display them in VisualScriptEditor.
* Don't process VisualScriptNodesmegalobyte2022-02-191-1/+1
|
* Merge pull request #58187 from jakobbouchard/notification-switch-chunk-cRémi Verschelde2022-02-162-0/+3
|\ | | | | Convert _notification methods to switch - Chunk C
| * Convert _notification methods to switch - Chunk CJakob Bouchard2022-02-162-0/+3
| |
* | Merge pull request #58190 from MisoMosiSpy/vs_iconsRémi Verschelde2022-02-161-0/+3
|\ \
| * | Added icons for missing types in visual script’s icon list.MisoMosiSpy2022-02-161-0/+3
| | |
* | | Style: Cleanup single-line blocks, semicolons, dead codeRémi Verschelde2022-02-161-2/+0
|/ / | | | | | | | | Remove currently unused implementation of TextureBasisU, could be re-added later on if needed and ported.
* / Fix VisualScript crash when using Set Index nodeHaoyu Qiu2022-02-161-4/+1
|/
* Editor: Cleanup some includes dependenciesRémi Verschelde2022-02-151-1/+0
| | | | | | | | | | | 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.
* Add an XML schema for documentationHugo Locurcio2022-02-1547-47/+47
| | | | | | | | 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.
* Merge pull request #57954 from TokageItLab/refactor-cubic-interpolateRémi Verschelde2022-02-133-41/+70
|\ | | | | Implement `cubic_interpolate()` as MathFunc for refactoring
| * Implement cubic_interpolate() as MathFunc for refactoringSilc 'Tokage' Renew2022-02-123-41/+70
| |
* | Fix renaming function dialog in VisualScript does not work correctlyjmb4622022-02-122-1/+10
|/
* Fix typos with codespellRémi Verschelde2022-02-101-5/+5
| | | | | | | 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.
* Merge pull request #57796 from akien-mga/revert-sname-theme-settersRémi Verschelde2022-02-082-15/+15
|\
| * Re-add missing `SNAME` macros in `get_theme_*` callsRémi Verschelde2022-02-081-2/+2
| | | | | | | | | | They were removed in the previous commit reverting the addition of `SNAME` to `add_theme_*` and theme setter methods, which is not wanted.
| * Revert "Add missing SNAME macro optimization to all theme methods call"Rémi Verschelde2022-02-082-17/+17
| | | | | | | | | | | | | | | | 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.
* | Refactor some object type checking code with `cast_to`Rémi Verschelde2022-02-083-9/+5
|/ | | | Less stringly typed logic, and less String allocations and comparisons.
* Add missing SNAME macro optimization to all theme methods calljmb4622022-02-062-17/+17
|
* Cleanup and move char functions to the `char_utils.h` header.bruvzg2022-02-041-8/+8
|
* Merge pull request #57562 from AnilBK/string-add-containsRémi Verschelde2022-02-031-1/+1
|\ | | | | String: Add contains().
| * String: Add contains().Anilforextra2022-02-041-1/+1
| |
* | Merge pull request #57467 from webbuf/modules-initializeRémi Verschelde2022-02-033-15/+13
|\ \ | |/ |/| Initialized Member Variables in /modules
| * initialized member variables in headerzwebb2022-02-033-15/+13
| |
* | Add support for the escaped UTF-16 and UTF-32 Unicode characters in the ↵bruvzg2022-01-301-3/+40
| | | | | | | | scripts and expressions.
* | simplify formatting scripts, add a clang-tidy script, and run clang-tidyNathan Franke2022-01-291-1/+1
| |
* | Update icons and color conversion rules to simplify the paletteYuri Sizov2022-01-292-2/+2
|/
* Minor tweaks and fixes to panningkobewi2022-01-231-1/+1
|
* Merge pull request #57000 from KoBeWi/UNLIMITED_PANNINGRémi Verschelde2022-01-231-1/+3
|\
| * Add ViewPanner to 2D editorkobewi2022-01-211-1/+3
| |
* | Merge pull request #56252 from Gallilus/Update-visual-script-property-selectorRémi Verschelde2022-01-214-728/+1522
|\ \
| * | Improve Visual Script editor to suggest the proper visual script nodes.David Cambré2022-01-174-728/+1522
| |/
* | Merge pull request #55066 from trollodel/less_singletons_in_editornodeRémi Verschelde2022-01-201-1/+1
|\ \
| * | Store panels and docks singletons in their own classestrollodel2022-01-201-1/+1
| | |
* | | Merge pull request #52134 from RandomShaper/fix_namingRémi Verschelde2022-01-201-1/+1
|\ \ \ | |/ / |/| |
| * | Rename Variant::is_ref() to is_ref_counted()Pedro J. Estébanez2022-01-201-1/+1
| |/
* / Convert TextEdit callbacks to CallablePaulb232022-01-192-2/+2
|/
* Fix crash when exiting the editorHaoyu Qiu2022-01-151-1/+1
|
* Merge pull request #55541 from KoBeWi/outcognito_scriptsRémi Verschelde2022-01-142-0/+10
|\
| * Make script type distinguishable by iconkobewi2022-01-132-0/+10
| |
* | Merge pull request #56646 from Chaosus/vst_context_menuRémi Verschelde2022-01-122-15/+59
|\ \
| * | Add context menu to visual script editorYuri Roubinsky2022-01-092-15/+59
| | |