Commit Graph

166 Commits

Author SHA1 Message Date
Daniel J. Ramirez
608401ae27 Improved VS node coloring 2017-09-12 13:16:47 -05:00
Daniel J. Ramirez
7dc3116fd8 Improved theme generation, and other fixes 2017-09-12 13:16:38 -05:00
Juan Linietsky
58c9a8f762 Many fixes to visual script, changed virtuals override for a proper selector. 2017-09-12 07:58:54 -03:00
Hein-Pieter van Braam
fd5acbe6cb Fix unused variable warnings
The forth in my quest to make Godot 3.x compile with -Werror on GCC7
2017-09-08 15:03:53 +02:00
Rémi Verschelde
b6e19aef41 Merge pull request #10939 from neikeq/fix-overridden-external-editors
Fixes language overridden external editors
2017-09-04 08:12:29 +02:00
Ignacio Etcheverry
c71192bd5f Fixes language overridden external editors 2017-09-03 21:23:36 +02:00
Daniel J. Ramirez
182e1e640f Fix. resizeable -> resizable.
(not actually a typo, but the rest of the API uses resizable)
2017-09-03 13:12:52 -05:00
Rémi Verschelde
22dfd8c8da Merge pull request #10890 from Noshyaar/an-pr
Fix typos 'a' and 'an'

[ci skip]
2017-09-02 16:37:40 +02:00
Poommetee Ketson
35e3661998 Fix typos 'a' and 'an' 2017-09-02 21:19:06 +07:00
Hein-Pieter van Braam
cda3556907 Fix use of unitialized variables
The second in my quest to make Godot 3.x compile with -Werror on GCC7
2017-09-02 01:59:26 +02:00
Rémi Verschelde
750c70b044 Merge pull request #10861 from Noshyaar/pr-header
Fix files header

[ci skip]
2017-09-01 16:14:37 +02:00
Poommetee Ketson
2460e901b0 Fix files header 2017-09-01 21:07:55 +07:00
Rémi Verschelde
979dbc3fb2 Merge pull request #10750 from Rubonnek/fix-duplicate-script-changed-signal
Renamed 'script_changed' signal in the script editor plugin to 'edited_script_changed'
2017-08-30 12:46:00 +02:00
Ignacio Etcheverry
19ceb343ec DocData and type hints fixes
- 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-29 19:40:21 +02:00
Wilson E. Alvarez
a1ba908e0b Renamed 'script_changed' signal in the script editor plugin to 'edited_script_changed' 2017-08-29 10:24:10 -04:00
Rémi Verschelde
0df10e88da Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
Wilson E. Alvarez
51d81d1237 Added/Fixed null pointer checks 2017-08-26 16:58:47 -04:00
Andreas Haas
dc8bc77467 Editor: Add some more translatable strings. 2017-08-25 18:49:45 +02:00
Hein-Pieter van Braam
cb8d50b35e Convert Object::cast_to() to the static version
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-24 23:08:24 +02:00
Rémi Verschelde
c9497dbfff Merge pull request #10563 from Hinsbart/vs_cancel_select
VisualScriptEditor: Remove Node when canceling PropertySelector.
2017-08-23 08:09:27 +02:00
Andreas Haas
a92989ca9b VisualScriptEditor: Remove Node when canceling PropertySelector. 2017-08-22 21:56:18 +02:00
Wilson E. Alvarez
b2e1a4fe00 Removed unnecessary returns and break statements 2017-08-22 13:01:57 -04:00
Juan Linietsky
a3a12ffbe5 Merge pull request #10351 from neikeq/enums-are-for-the-weak
ClassDB: Provide the enum name of integer constants
2017-08-21 19:56:08 -03:00
Ignacio Etcheverry
a2ae9ae426 ClassDB: Provide the enum name of integer constants 2017-08-20 22:07:43 +02:00
Juan Linietsky
4b02facdf3 Merge pull request #10319 from neikeq/pr-engine-editor-hint
Adds Engine::is_editor_hint() method
2017-08-20 12:55:46 -03:00
Rémi Verschelde
111e3d06de Merge pull request #10455 from groud/control_margin_fixes
Some control fixes and removed other useless lines
2017-08-20 15:24:00 +02:00
Gilles Roudiere
e878ce071c Some control fixes and removed useless lines 2017-08-19 19:10:00 +02:00
Bojidar Marinov
5a4cd894a4 Fix #6583, Condition + Wait nodes freezing the game
Make sure that only the first node after VS resume gets resumed
2017-08-19 17:54:32 +03:00
Ignacio Etcheverry
0772ff21e2 Removes editor_hint from SceneTree 2017-08-19 01:29:45 +02:00
Juan Linietsky
bd5695da96 -Volume sliders, mute, solo and fx bypass are functional, closes #9021
-Fixed tree reselect, makes reselecting an audio bux FX work
2017-08-18 18:21:53 -03:00
Juan Linietsky
3379944529 Update script signals in real-time when script changes. Fixes #8980 2017-08-18 16:44:03 -03:00
Marcelo Fernandez
2f8b2bfca6 Add closest_power_of_2 func and implement mix_rate/latency on OS X 2017-08-17 19:51:13 -03:00
Rémi Verschelde
2a60d6c105 Merge pull request #10307 from Rubonnek/update-argument-names
Updated function argument names
2017-08-16 17:17:56 +02:00
Gilles Roudiere
a1e8a8287d Replace GUI anchor type by a float between 0 and 1 2017-08-13 21:20:13 +02:00
Wilson E. Alvarez
b7257f91e3 Updated function argument names 2017-08-12 15:12:49 -04:00
Ignacio Etcheverry
714963c877 Removes type information from method binds 2017-08-10 07:17:50 +02:00
Ignacio Etcheverry
6dd6e25273 Adds missing type information to virtual method binds 2017-08-10 07:17:50 +02:00
Juan Linietsky
1322eeb3e3 Ability to set a function as sequenced, so when called you can choose not to use sequence ports. Fixes #6346 2017-08-08 13:14:36 -03:00
Juan Linietsky
c5e1965429 Properly rename visual script functions, fixed #6076 2017-08-08 11:32:09 -03:00
Indah Sylvia
be00714629 Makes all Godot API's methods Lower Case 2017-08-07 18:24:35 +07:00
Juan Linietsky
09883dba75 few bugs fixed thanks to explicit bool constructor and clang.
explicit bool constructor has thus now been removed, as it served it's mission!
2017-08-05 21:43:10 -03:00
Daniel J. Ramirez
d07a20641e Do not allow multiple data connections to the same data input slot, fixes #6357.Improved curve rendering when nodes are close. 2017-07-27 16:39:53 -05:00
Rémi Verschelde
8ac170fe37 Merge pull request #9764 from Noshyaar/pr-fix2
Add object type hint for docs
2017-07-24 08:07:32 +02:00
Poommetee Ketson
9f7b85f7b8 Add object type hint for docs 2017-07-23 18:57:03 +07:00
Rémi Verschelde
594d64e990 Merge pull request #9765 from Noshyaar/pr-clang
Clang-formatting *.cpp and *.h (some files excluded)
2017-07-23 13:16:48 +02:00
Rémi Verschelde
580011744f Merge pull request #9758 from vnen/fix-vs-return
VS: Fix return value for user-defined functions
2017-07-23 13:09:12 +02:00
Rémi Verschelde
deb8dc9373 Merge pull request #9741 from vnen/fix-vs-customnode
Fix issues with custom nodes in visual script
2017-07-23 13:06:03 +02:00
Rémi Verschelde
b965e260c7 Merge pull request #9706 from djrm/theme_fixes
Icons can now be added inside line edits (Search icon).
2017-07-23 13:03:53 +02:00
Poommetee Ketson
ceb9ade0ef Clang-formatting *.cpp and *.h (some files excluded) 2017-07-22 18:14:08 +07:00
George Marques
eac1ad1bef VS: Fix return value for user-defined functions 2017-07-22 01:15:55 -03:00