summaryrefslogtreecommitdiff
path: root/modules/visual_script
AgeCommit message (Collapse)Author
2017-09-27Remove unecessary anchors&margins set causing bad display (sons of containers)Gilles Roudiere
2017-09-26Merge pull request #11424 from groud/control_node_presetsRémi Verschelde
Implements set_margins_preset(...)
2017-09-25Fixed constness of variant functions, as well as visual script sequence ↵Juan Linietsky
ports. Closes #11258
2017-09-22Remove set_area_as_parent_rect and replace it by ↵Gilles Roudiere
set_anchors_and_margins_preset(PRESET_WIDE)
2017-09-20Rename pos to position in user facing methods and variablesletheed
Rename user facing methods and variables as well as the corresponding C++ methods according to the folloming changes: * pos -> position * rot -> rotation * loc -> location C++ variables are left as is.
2017-09-19Merge pull request #11256 from djrm/pr_visual_improvementsRémi Verschelde
Visual improvements and new look for VS
2017-09-17Move Variant::evaluate() switch to computed gotoHein-Pieter van Braam
In an effort to make GDScript a little faster replace the double switch() with a computed goto on compilers that set __GNUC__. For compilers that don't support computed goto it will fall back to regular switch/case statements. In addition disable using boolean values in a mathematical context. Now boolean values can only be compared with other booleans. Booleans will also no longer be coerced to integers. This PR replaces #11308 and fixes #11291
2017-09-15Merge pull request #11230 from maxim-sheronov/fix_enum_bindingsThomas Herzog
Fix enums bindings
2017-09-14Improved VisualScriptEditorDaniel J. Ramirez
2017-09-14Fix 2 typosJeroen
2017-09-13Fix enums bindingsMaxim Sheronov
Add missed bindings for enums Move some enums to class to have correct output of api.json
2017-09-13Merge pull request #11076 from hpvb/fix-10935Rémi Verschelde
Fix crash on wrong type drag into the vs editor
2017-09-12Improved VS node coloringDaniel J. Ramirez
2017-09-12Improved theme generation, and other fixesDaniel J. Ramirez
2017-09-12Many fixes to visual script, changed virtuals override for a proper selector.Juan Linietsky
2017-09-09Fix crash on wrong type drag into the vs editorHein-Pieter van Braam
Don't allow drops of draggable items without a vs node type. This fixes #10935
2017-09-08Fix unused variable warningsHein-Pieter van Braam
The forth in my quest to make Godot 3.x compile with -Werror on GCC7
2017-09-04Merge pull request #10939 from neikeq/fix-overridden-external-editorsRémi Verschelde
Fixes language overridden external editors
2017-09-03Fixes language overridden external editorsIgnacio Etcheverry
2017-09-03Fix. resizeable -> resizable.Daniel J. Ramirez
(not actually a typo, but the rest of the API uses resizable)
2017-09-02Fix typos 'a' and 'an'Poommetee Ketson
2017-09-02Fix use of unitialized variablesHein-Pieter van Braam
The second in my quest to make Godot 3.x compile with -Werror on GCC7
2017-09-01Fix files headerPoommetee Ketson
2017-08-30Merge pull request #10750 from Rubonnek/fix-duplicate-script-changed-signalRémi Verschelde
Renamed 'script_changed' signal in the script editor plugin to 'edited_script_changed'
2017-08-29DocData and type hints fixesIgnacio Etcheverry
- Makes vararg methods automatically use PROPERTY_USAGE_NIL_IS_VARIANT on return types - Completely removes the ":type" suffix for method names. Virtual methods must use the MethodInfo constructors that takes Variant::Type or PropertyHint as the first parameter for the return type (with CLASS_INFO as a helper to get the PropertyInfo). Parameters must use PROPERTY_HINT_RESOURCE_TYPE and hint string. - PROPERTY_USAGE_NIL_IS_VARIANT is no longer needed for parameters, because parameters cannot be void. - Adds missing PROPERTY_USAGE_NIL_IS_VARIANT to virtual and built-in methods that return Variant.
2017-08-29Renamed 'script_changed' signal in the script editor plugin to ↵Wilson E. Alvarez
'edited_script_changed'
2017-08-27Use HTTPS URL for Godot's website in the headersRémi Verschelde
2017-08-26Added/Fixed null pointer checksWilson E. Alvarez
2017-08-25Editor: Add some more translatable strings.Andreas Haas
2017-08-24Convert Object::cast_to() to the static versionHein-Pieter van Braam
Currently we rely on some undefined behavior when Object->cast_to() gets called with a Null pointer. This used to work fine with GCC < 6 but newer versions of GCC remove all codepaths in which the this pointer is Null. However, the non-static cast_to() was supposed to be null safe. This patch makes cast_to() Null safe and removes the now redundant Null checks where they existed. It is explained in this article: https://www.viva64.com/en/b/0226/
2017-08-23Merge pull request #10563 from Hinsbart/vs_cancel_selectRémi Verschelde
VisualScriptEditor: Remove Node when canceling PropertySelector.
2017-08-22VisualScriptEditor: Remove Node when canceling PropertySelector.Andreas Haas
2017-08-22Removed unnecessary returns and break statementsWilson E. Alvarez
2017-08-21Merge pull request #10351 from neikeq/enums-are-for-the-weakJuan Linietsky
ClassDB: Provide the enum name of integer constants
2017-08-20ClassDB: Provide the enum name of integer constantsIgnacio Etcheverry
2017-08-20Merge pull request #10319 from neikeq/pr-engine-editor-hintJuan Linietsky
Adds Engine::is_editor_hint() method
2017-08-20Merge pull request #10455 from groud/control_margin_fixesRémi Verschelde
Some control fixes and removed other useless lines
2017-08-19Some control fixes and removed useless linesGilles Roudiere
2017-08-19Fix #6583, Condition + Wait nodes freezing the gameBojidar Marinov
Make sure that only the first node after VS resume gets resumed
2017-08-19Removes editor_hint from SceneTreeIgnacio Etcheverry
2017-08-18-Volume sliders, mute, solo and fx bypass are functional, closes #9021Juan Linietsky
-Fixed tree reselect, makes reselecting an audio bux FX work
2017-08-18Update script signals in real-time when script changes. Fixes #8980Juan Linietsky
2017-08-17Add closest_power_of_2 func and implement mix_rate/latency on OS XMarcelo Fernandez
2017-08-16Merge pull request #10307 from Rubonnek/update-argument-namesRémi Verschelde
Updated function argument names
2017-08-13Replace GUI anchor type by a float between 0 and 1Gilles Roudiere
2017-08-12Updated function argument namesWilson E. Alvarez
2017-08-10Removes type information from method bindsIgnacio Etcheverry
2017-08-10Adds missing type information to virtual method bindsIgnacio Etcheverry
2017-08-08Ability to set a function as sequenced, so when called you can choose not to ↵Juan Linietsky
use sequence ports. Fixes #6346
2017-08-08Properly rename visual script functions, fixed #6076Juan Linietsky