summaryrefslogtreecommitdiff
path: root/modules/visual_script
AgeCommit message (Collapse)Author
2021-07-25Use const references where possible for List range iteratorsRémi Verschelde
2021-07-23Use C++ iterators for Lists in many situationsAaron Franke
2021-07-23Revert unnecessary changes to VisualScriptEmitSignalDavid Cambré
Revert unnecessary changes to VisualScriptEmitSignal, commit 2032b56005b2f6add6b105a00f04c05f9b292eec
2021-07-21Merge pull request #48972 from ↵Rémi Verschelde
DavidCambre/Expose_VisualScriptCustomNode_TypeHints_m
2021-07-21Merge pull request #50686 from Calinou/use-standard-inf-nan-constantsRémi Verschelde
Use the standard C `INFINITY` and `NAN` constants directly
2021-07-21Merge pull request #49749 from ↵Rémi Verschelde
DavidCambre/VisualScriptFunction_Call_Set_Get_Improvement-2 VisualScriptFunctionNodes Improvements
2021-07-21expose type hints for VisualScriptCustomNodeDavid Cambré
Co-Authored-By: Rémi Verschelde <rverschelde@gmail.com>
2021-07-21Use the standard C `INFINITY` and `NAN` constants directlyHugo Locurcio
The `Math_INF` and `Math_NAN` defines were just aliases for those constants, so we might as well use them directly. Some portions of the code were already using `INFINITY` directly.
2021-07-21Improve and streamline VisualScriptFuncNodes Call Set GetDavid Cambré
This PR improves and streamlines the workflow for VisualScriptFunctionNodes Call Set Get Uniform design. Drag in set-get from tree is now working. Removes redundant method_select popup.
2021-07-20Fix visual script iconsNick Huelin
This pull request fixes an issue where the visual script icons weren't representative of their data.
2021-07-20Merge pull request #50581 from DavidCambre/VisualScript-Drop-Custom-NodesRémi Verschelde
Allow dropping custom node scripts in VisualScript editor
2021-07-19Merge pull request #50566 from reduz/optimize-stringname-usageRémi Verschelde
Optimize StringName usage
2021-07-18Optimize StringName usagereduz
* Added a new macro SNAME() that constructs and caches a local stringname. * Subsequent usages use the cached version. * Since these use a global static variable, a second refcounter of static usages need to be kept for cleanup time. * Replaced all theme usages by this new macro. * Replace all signal emission usages by this new macro. * Replace all call_deferred usages by this new macro. This is part of ongoing work to optimize GUI and the editor.
2021-07-18Prevents some warnings from appearing in visual scriptsYuri Roubinsky
2021-07-18VisualScript-Drop-Custom-NodesDavid Cambré
Allows to drop custom node scripts directly in VisualScript
2021-07-13Document remaining Visual Script classesTomasz Chabora
2021-07-13Implement the ability to disable classesreduz
* This PR adds the ability to disable classes when building. * For now it's only possible to do this via command like: `scons disable_classes=RayCast2D,Area3D` * Eventually, a proper UI will be implemented to create a build config file to do this at large scale, as well as detect what is used in the project.
2021-07-12[Net] Rename NetworkedMultiplayerPeer to MultiplayerPeer.Fabio Alessandrelli
2021-07-10Fix creating a new function in visual scriptsYuri Roubinsky
2021-07-01Use PROPERTY_USAGE_NONE instead of 0 for no property usageAaron Franke
Also use const more often.
2021-06-29Fixes Visual script nodes operator mismatch issue #49943Dipal M Zambare
2021-06-23VisualScriptEditor Fix in graph position calculation (do not skip zoom)kleonc
2021-06-23Fix logic operators mislabeled #49412Martin
2021-06-19Rename `instance()`->`instantiate()` when it's a verbLightning_A
2021-06-19Added support for scripts reporting multiple errors to ScriptTextEditorEric M
Scripts can now report multiple errors to the scripting editors in the engine. UI elements were added to support multiple errors.
2021-06-18Better format arguments in variant parserMichael Alexsander Silva Dias
2021-06-17Merge pull request #49043 from ↵Rémi Verschelde
theoway/missing_description_vs_search_window_fixed Fixes missing descriptions in Visual Script search window when adding nodes
2021-06-15Fixes missing descriptions in search window of visualscriptUmang Kalra
2021-06-15Adding some more missing renames for Transform3D and QuaternionBastiaan Olij
2021-06-14Fix default value binding in VisualScriptFunctionStateGeorge Marques
2021-06-12Consistently prefix bound virtual methods with _kobewi
2021-06-11Rename Reference to RefCountedPedro J. Estébanez
2021-06-10Let var2str display StringName with correct sigilJonathan Gollnick
2021-06-09Merge pull request #49265 from KoBeWi/keepfreplace_2_keepers_of_replaceRémi Verschelde
Move FindReplaceBar out of CodeTextEditor
2021-06-09Merge pull request #49462 from TokageItLab/update-property-selector-icon-listRémi Verschelde
update property selector's icon list
2021-06-09update property selector's icon list and rename Quat.svg to Quaternion.svgSilc 'Tokage' Renew
2021-06-08Move FindReplaceBar out of CodeTextEditorkobewi
2021-06-08Rename missing shortcut names in visual script editorJonas Bernemann
With the change of the shortcuts for common actions like delete, copy and paste the delete menu items in the visual script editor for members where missing because of a missing shortcut.
2021-06-07Merge pull request #49221 from Faless/mp/4.x_rpc_refactorRémi Verschelde
[Net] Refactor RPCs, remove RSETs
2021-06-07Style: Cleanup uses of double spaces between wordsRémi Verschelde
Or after punctuation. Tried to leave third-party stuff alone, unless it has been heavily modified for Godot.
2021-06-06Fixed color for node headers in visual scriptsYuri Roubinsky
2021-06-04Rename Quat to QuaternionMarcel Admiraal
2021-06-03Rename Variant TRANSFORM to TRANSFORM3DAaron Franke
Also _transform to _transform3d
2021-06-01[Net] Refactor RPCs, remove RSETsFabio Alessandrelli
In this PR: - Removed rset - rpc_config can now optionally configure transfer mode (reliable/unreliable/ordered) and channel (channels are not actually implemented yet.) - Refactor how the RPC id is computed to minimize the logic in Node and scripts that now only needs a single `get_rpc_methods` function.
2021-05-22The built in function math/seed was missing the sequenceport.David Cambré
2021-05-17Improve TreeItem API and allow to move nodestrollodel
2021-05-17Merge pull request #48168 from LightningAA/control-to-ctrl-4.0Rémi Verschelde
2021-05-15Add get_base_editor to ScriptEditorBasesent44
2021-05-07Rename "Control" key to "Ctrl" and add "_pressed" suffix to all ↵Lightning_A
InputEventWithModifiers properties/methods
2021-05-07Merge pull request #33577 from Calinou/highlight-control-flow-keywordsRémi Verschelde
Highlight control flow keywords with a different color