summaryrefslogtreecommitdiff
path: root/modules/visual_script/editor
AgeCommit message (Collapse)Author
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-12Initialize bools in the headers in editorAaron Franke
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-16Added icons for missing types in visual script’s icon list.MisoMosiSpy
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-12Fix renaming function dialog in VisualScript does not work correctlyjmb462
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-03Merge pull request #57562 from AnilBK/string-add-containsRémi Verschelde
String: Add contains().
2022-02-04String: Add contains().Anilforextra
2022-02-03initialized member variables in headerzwebb
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-20Store panels and docks singletons in their own classestrollodel
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
2022-01-11Unify panning in sub-editors and make it configurablekobewi
2022-01-09Add context menu to visual script editorYuri Roubinsky
2022-01-03Update copyright statements to 2022Rémi Verschelde
Happy new year to the wonderful Godot community!
2021-12-13Fix incorrect placement of default value editor in visual scriptsYuri Roubinsky
2021-12-09Replace String comparisons with "", String() to is_empty()Nathan Franke
Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings
2021-12-09align to horizontal_alignment, valign to vertical_alignment, relatedNathan Franke
2021-12-06Fix bad popups offset in editor with single window offjmb462
Co-authored-by: Gil Arasa Verge <gilarasaverge@gmail.com> Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2021-11-24Fixes variable/singal nodes not renaming in visualscript editorUmang Kalra
2021-11-22Added `reset_size` method to `Control` and `Window` classesYuri Roubinsky
2021-11-12Use "enum class" for input enumsAaron Franke
2021-11-12Make OpenSimplex and VisualScript modules not depend on the editorAaron Franke