summaryrefslogtreecommitdiff
path: root/modules/visual_script
AgeCommit message (Collapse)Author
2019-08-07Add some code changes/fixes proposed by Coverity and Clang Tidyqarmin
2019-07-31Add descriptive tooltips in VS editorEmmanuel Barroga
In the Visual Script editor, the override icon is not very clear what it's intended purpose is for. Currently, its tooltip just says: "Function:" which is the same tooltip as the "add new function" icon. To resolve this issue, this PR adds descriptive tooltips to the following icons in the Visual Script editor: -Override Function -Add Function -Add Variable -Add Signal
2019-07-22doc: Sync classref with current sourceRémi Verschelde
2019-07-20Merge pull request #30693 from Chaosus/lerp_angleRémi Verschelde
Added lerp_angle built-in function
2019-07-20Merge pull request #30576 from qarmin/lgtm_coverageRémi Verschelde
Changed some code reported by LGTM and Coverity
2019-07-20Added lerp_angles built-in functionChaosus
Co-authored-by: Xrayez <https://github.com/Xrayez> Co-authored-by: DleanJeans <https://github.com/DleanJeans>
2019-07-20Changed some code showed in LGTM and Coverageqarmin
2019-07-19Merge pull request #23310 from aaronfranke/posmod-intRémi Verschelde
Add integer posmod and rename default arg names
2019-07-19Visualscript: Add types for base type get and set.K. S. Ernest (iFIre) Lee
2019-07-18Add integer posmod and rename default arg namesAaron Franke
"posmod" is the integer version of "fposmod". We do not need a "mod" because of the % operator. I changed the default arg names from "x" and "y" to "a" and "b" because they are not coordinates. I also changed pow's arg names to "base" and "exp". Also, I reorganized the code in the VS built-in funcs switch statement.
2019-07-15doc: Sync classref with current sourceRémi Verschelde
2019-07-08Use base `Color()` constructors instead of `Color::html()`Hugo Locurcio
This results in slightly smaller binaries (-17 KB for an editor binary) as no strings need to be allocated.
2019-07-07Fixes minor issues found by static analyzerqarmin
2019-07-01Merge pull request #29333 from hbina/fix_double_click_when_no_edited_funcRémi Verschelde
fixed an issue with double clicking available node in VisualScriptEditor
2019-06-30doc: Remove null default values that can't be determinedRémi Verschelde
Applying #30187.
2019-06-30doc: Add default values to all propertiesRémi Verschelde
Thanks to @bojidar-bg's impressive work in #29380.
2019-06-28Add support for creating editor icons per moduleAndrii Doroshenko (Xrayez)
The functionality is similar to how `doc_classes` are retrieved per module. The build system will search for custom icons path defined per module via `get_icons_path()` method in `config.py` or default icons path. If such paths don't exist, only the editor's own icons will be built. Most module icons were moved from editor/icons to respective modules.
2019-06-27Proofread and improve the whole class referenceHugo Locurcio
- Document a few more properties and methods - Add more information to many classes - Fix lots of typos and gramar mistakes - Use [code] tags for parameters consistently - Use [b] and [i] tags consistently - Put "Warning:" and "Note:" on their own line to be more visible, and make them always bold - Tweak formatting in code examples to be more readable - Use double quotes consistently - Add more links to third-party technologies
2019-06-27doc: Don't use `GlobalScope` scope in hyperlinks, it's automatically inferredRémi Verschelde
2019-06-27doc: Replace all [code]CONSTANT[/code] by new [constant CONSTANT] hyperlinksRémi Verschelde
2019-06-27doc: Complete and harmonize all _MAX constant descriptionsRémi Verschelde
2019-06-26Some code changed with Clang-Tidyqarmin
2019-06-20Merge pull request #29283 from qarmin/fix_some_always_same_valuesRémi Verschelde
Remove always true/false values
2019-06-20Fix always true/false valuesqarmin
2019-06-19Made use of semicolons more consitent, fixed formattingJohnJLight
2019-06-18doc: Improve docs for Resource* classesRémi Verschelde
Also move module-specific classes to their own module's `doc_classes` folder.
2019-06-17Merge pull request #28766 from pgoral/editor_validation_issueRémi Verschelde
Changing method signature in other class in not recognized in working…
2019-06-11Merge pull request #29262 from DarknessCatt/issue-27476Rémi Verschelde
Automatically add new line to scripts
2019-06-01Merge pull request #27789 from Giacom/move_towardsRémi Verschelde
Added move_toward functions for float, Vector2 and Vector3
2019-05-30fixed an issue where there is no edited function but user double clicks on ↵hbina085
an available functions
2019-05-29Automatically add new line to scriptsMatheus Lima Cunha
2019-05-29Changing method signature in other class in not recognized in working class ↵Goral
in typed GDScript #28685
2019-05-29Remove some redundant linesJames Buck
2019-05-28Added move_toward functions for float, Vector2 and Vector3Giacom
2019-05-28Merge pull request #28606 from bojidar-bg/25889-indexed-set-defaultsRémi Verschelde
Fix default values not being read correctly in VS, take two
2019-05-24Merge pull request #28836 from Jummit/vs-fix-default-call-modesRémi Verschelde
Change the call mode to self when adding nodes via the node search
2019-05-24Merge pull request #28980 from Jummit/vs-rename-change-base-typeRémi Verschelde
Fix VisualScript Change Base Type title
2019-05-20Merge pull request #27886 from LeonardMeagher2/obj_to_stringRémi Verschelde
Allow overriding how scripted objects are converted to strings
2019-05-20Fix history state setup in VisualScriptSwarnim Arun
2019-05-18Fix VisualScript Change Base Type titleJummit
2019-05-12change call mode to self when adding nodes with node searchJummit
fixes #28614
2019-05-03Allow overriding how scripted objects are converted to stringsLeonard Meagher
solves #26796 - ADD `String to_string()` method to Object which can be overriden by `String _to_string()` in scripts - ADD `String to_string(r_valid)` method to ScriptInstance to allow langauges to control how scripted objects are converted to strings - IMPLEMENT to_string for GDScriptInstance, VisualScriptInstance, and NativeScriptInstance - ADD Documentation about `Object.to_string` and `Object._to_string` - Changed `Variant::operator String` to use `obj->to_string()`
2019-05-02Fix default values not being read correctly in VS, take twoBojidar Marinov
Fixes #25889.
2019-05-01VS: Give the generic search the current base type.K. S. Ernest (iFire) Lee
2019-05-01VS: Better uxK. S. Ernest (iFire) Lee
* In VS functions' put the current node type first. * Cleanup and merge property and method sections.
2019-05-01Change order of Visual Script Search.K. S. Ernest (iFire) Lee
Previously: * vs nodes * properties * methods Now: * properties * methods * vs nodes
2019-04-30Merge pull request #27707 from Calinou/tweak-message-wordingRémi Verschelde
Improve wording of various messages and make casing more consistent
2019-04-23Added a marker in text_edit that tells which row is executing.Rikhardur Bjarni Einarsson
2019-04-22Merge pull request #28125 from KoBeWi/code_true_codeRémi Verschelde
Consistently wrap booleans in [code]
2019-04-22Merge pull request #28162 from Jummit/vs-new-nodes-at-cursorRémi Verschelde
Position nodes added from the generic search to the position the cursor was when opening the search