summaryrefslogtreecommitdiff
path: root/modules/visual_script
AgeCommit message (Collapse)Author
2018-06-12Add support for tutorial links to makerst.pyrobojumper
Also change the <tutorials> structure to make use of individual <link> tags
2018-05-30SCons: Pass env to modules can_build methodRémi Verschelde
This allows to disable modules based on the environment, in particular `env[tools]` which tells us if we are building the editor or not.
2018-05-29Refactor RPCMode enum and checksFabio Alessandrelli
2018-05-29Revert "RPCMode refactor, more sync modes"Max Hilbrunner
2018-05-29Merge pull request #19021 from Faless/rpc_sync_fixMax Hilbrunner
RPCMode refactor, more sync modes
2018-05-26Merge pull request #18516 from PJB3005/18-04-30-visual-script-title-barsMax Hilbrunner
Move things into the title bars of Visual Script nodes.
2018-05-26Refactor RPCMode enum and checksFabio Alessandrelli
2018-05-15-New inspector.Juan Linietsky
-Changed UI resizing code, gained huge amount of speed. -Reorganized timer sync to clean up behavior (sorry forgot commit this before) -
2018-05-03Merge pull request #18514 from neikeq/api-hash-fixesRémi Verschelde
API hash fixes
2018-05-01Merge pull request #18291 from akien-mga/coverity-uninitialized-scalar-varRémi Verschelde
Fix Coverity reports of uninitialized scalar variable
2018-05-01Merge pull request #18321 from Crazy-P/Fixes-logically-dead-codeRémi Verschelde
Fixes logically dead code (Coverity)
2018-05-01More stuff!Pieter-Jan Briers
2018-04-30Move things into the title bars of Visual Script nodes.Pieter-Jan Briers
This is an attempt to make VS slightly nicer to use. WiP.
2018-04-29Fix binding some core API methods only in tools buildsIgnacio Etcheverry
2018-04-22Change ".." punctuation for "..." in editor strings (#16507)Hugo Locurcio
2018-04-21Fixes logically dead code (Coverity)Crazy-P
Fixes reported logically dead codes by Coverity * image.cpp: Doesn't really need any modification. But to remove the bug report then we have to move the MAX call away from the for loop statement. * rasterizer_gles3.cpp: Removes unnecessary elif condition since it is checked earlier in the function * collada.cpp: If stamement never reached due to macro ERR_CONTINUE does the same. * navigation_mesh.cpp: Variables should always be null - however, also checked for the very same condition in their function call. Leaving this for review (whether the function call is necessary or not) * path_editor_plugin.cpp: If cancel is true, then it should restore the edited value to the original provided. http://docs.godotengine.org/en/3.0/classes/class_editorspatialgizmo.html#class-editorspatialgizmo-commit-handle * spatial_editor_gizmos.cpp: the very condition of i >= 3 is predetermined in the if case right before it. Thus case 1 is always '1' and case 2 is always '-1' * grid_map_editor.cpp: Same as above in spatial_editor_gizmos.cpp * voxel_light_baker.cpp: Same as above in spatial_editor_gizmos.cpp * visual_server.cpp: Same as above in spatial_editor_gizmos.cpp * visual_script_expression.cpp: char '-' is already true in the switch case mechanism. Thus it can never reach to default case. * particles.cpp: Case 'PARAM_MAX' is unreachable due to index checking right before the switch execution. * shader_language.cpp: Invalid index is handled in switch default case. `type < TYPE_FLOAT && type > TYPE_VEC4` -> `(type < TYPE_FLOAT || type > TYPE_VEC4`) Fixes the "always false problem" in TODO comment.
2018-04-19Fix Coverity reports of uninitialized scalar variableRémi Verschelde
Fixes most current reports on Coverity Scan of uninitialized scalar variable (CWE-457): https://cwe.mitre.org/data/definitions/457.html These happen most of the time (in our code) when instanciating structs without a constructor (or with an incomplete one), and later returning the instance. This is sometimes intended though, as some parameters are only used in some situations and should not be double-initialized for performance reasons (e.g. `constant` in ShaderLanguage::Token).
2018-04-15Remove incorrect & potentially confusing references to EulerWill Vincent
e is referred to as Euler’s number, so technically the MATH_EXP description in VisualScript doc was not incorrect, though could potentially lead to confusion. e is different from Euler’s constant however, making the existing GDScript exp & VisualScriptMathConstant descriptions nvalid.
2018-04-02Abstracted the syntax highlighter from text editPaulb23
2018-02-27doc: Remove status from hardcoded version stringRémi Verschelde
It has no practical use case and just generates noise for each alpha, beta, etc.
2018-02-21Fix typos with codespellluz.paz
Found via `codespell -q 3 --skip="./thirdparty,./editor/translations" -I ../godot-word-whitelist.txt` Whitelist consists of: ``` ang doubleclick lod nd que te unselect ```
2018-02-19doc: Update version string in headerRémi Verschelde
2018-02-14Merge pull request #15379 from ianb96/delete_key_fixRémi Verschelde
Filesystem and Visual Script Members delete key fix
2018-01-25doc: Fix references to online tutorials after godotengine/godot-docs#1015Rémi Verschelde
2018-01-25doc: Sync with current sourceRémi Verschelde
Also enhance RigidBody docs as per https://github.com/godotengine/godot-docs/pull/1018 and fix the version tag in all files (not really stable yet, but it makes no sense to hardcode rc3 at this stage).
2018-01-17doc: Replace some more "val" with "value" + syncRémi Verschelde
2018-01-16Fixes for parameter names of builtin functions in visual scripts/coreChaosus
2018-01-15Filled tutorial field in most relevent classes.Juan Linietsky
Added tutorial display in doc.
2018-01-15Make sure PropertyHint matches in the VisualScript editor.K. S. Ernest (iFire) Lee
2018-01-13doc: Update version string in XMLRémi Verschelde
2018-01-12Update docsBojidar Marinov
[ci skip]
2018-01-12Bind many more properties to scriptsBojidar Marinov
Notable potentially breaking changes: - PROPERTY_USAGE_NOEDITOR is now PROPERTY_USAGE_STORAGE | PROPERTY_USAGE_NETWORK, without PROPERTY_USAGE_INTERNAL - Some properties were renamed, and sometimes even shadowed by new ones - New getter methods (some virtual) were added
2018-01-06Filesystem and Visual Script Members keyboard shortcuts fixIan
2018-01-05Add missing copyright headers and fix formattingRémi Verschelde
Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
2018-01-01Update copyright statements to 2018Rémi Verschelde
Happy new year to the wonderful Godot community!
2017-12-17Merge pull request #14754 from willnationsdev/dictionary-copyRémi Verschelde
Added 'duplicate' function for Dictionary in C++ and API.
2017-12-17Dictionary::copy -> ::duplicateWill Nations
2017-12-17Now every variant type has its icon.Daniel J. Ramirez
2017-12-17General use Variant type icons, plus other icon updates.Daniel J. Ramirez
2017-12-17Cleanup some #if 0'd codeRémi Verschelde
2017-12-13Scons: Build modules in seperate env.Andreas Haas
2017-12-09Merge pull request #14358 from RandomShaper/fix-vscriptRémi Verschelde
Fix function arg count not considered in VisualScript
2017-12-07Merge pull request #14332 from akien-mga/clang-formatRémi Verschelde
Update style for clang-format 5.0.0, new min required version
2017-12-07doc: Sync classref after a496dd4d, removing NOEDITOR properties from docRémi Verschelde
2017-12-07Style: Apply new clang-format 5.0 style to all filesRémi Verschelde
2017-12-07Fix function arg count not considered in VisualScriptPedro J. Estébanez
2017-12-06Merge pull request #13436 from hoelzl/pr-vs-yield-signal-oneshotRémi Verschelde
Connect signal for VisualScript "Yield Signal" using oneshot mode
2017-12-06Merge pull request #13427 from hoelzl/pr-vs-enable-yieldRémi Verschelde
Make VisualScriptFunctionState instantiable
2017-12-05Fixed typo: substract to subtractIndah Sylvia
2017-12-01Connect signal for VisualScript "Yield Signal" using oneshot modeMatthias Hoelzl
Since the first call to a VisualScriptFunctionState invalidates the state, any further call results in errors.