Commit graph

3582 commits

Author SHA1 Message Date
Luiz Paulo de Vasconcellos
1b6f14d810 Change toggle comment behaviour. Fixes #4198 2016-04-04 07:31:39 +02:00
Rémi Verschelde
72825ecdca Merge pull request #4191 from leezh/progressbar_minsize
Progress bar minsize now checks percent_visible
2016-04-04 07:31:03 +02:00
Rémi Verschelde
e971112f4a Merge pull request #4218 from Paulb23/text_edit_insert_mode
Fixed insert mode interaction with selection and autocomplete
2016-04-03 19:29:26 +02:00
MSC
391095e0ef memdelete 'joy_thread' + 'joy_mutex' on ::~joystick_linux() 2016-04-03 19:24:39 +02:00
MSC
7a9998370f free Material 'shadow_material_double_sided' on ::finish() 2016-04-03 19:24:14 +02:00
Paulb23
a984adb5a6 Fixed insert mode interaction with auto complete 2016-04-03 15:21:16 +01:00
Paulb23
fe779d4386 Fixed insert mode removing first unselected character 2016-04-03 14:54:54 +01:00
hodes
7a1d7af332 Enables the possibility of editing on multiple plugins at same time on same object type. 2016-04-02 20:39:35 -03:00
Rémi Verschelde
e7572c690a Switch Mac version to 2.1-dev too 2016-04-02 22:22:02 +02:00
Paul Batty
50aa78210c Function syntax highlighting 2016-04-02 21:46:42 +02:00
Rémi Verschelde
0a5472e697 Remove trailing spaces 2016-04-02 20:26:12 +02:00
Rémi Verschelde
48f057ea81 Merge pull request #4193 from Paulb23/text_edit_insert_mode
Added insert mode to text editor
2016-04-02 20:25:24 +02:00
Rémi Verschelde
35865139e1 Merge pull request #4184 from Paulb23/toggle_line_numbers
Option to toggle line numbers.
2016-04-02 20:21:34 +02:00
Rémi Verschelde
23cf6a85bd Port 2D demos to TSCN/TRES formats
Part of #4196.
2016-04-02 14:39:08 +02:00
Paulb23
2b57cb94da Added insert mode to text editor 2016-04-01 13:48:38 +01:00
Rémi Verschelde
4eb49cc732 Fix last two bindings in input_mapping demo
Also connect the signal from script, as it makes it easier to understand
than by having to check the connected signals via the GUI.
2016-04-01 08:39:18 +02:00
Rémi Verschelde
3cc7b6fa5d Merge pull request #4194 from HeartoLazor/timerpause
Now the timer could be paused
2016-04-01 07:38:49 +02:00
Hearto Lazor
995890d5b2 Now the timer could be paused
pause with: set_active(true/false)
is paused with: is_active()
2016-03-31 18:23:16 -03:00
Josh Grams
0a9c8a9f36 AnimationTreePlayer (_process_node:TIMESEEK): allow auto-advance with 0 xfade. 2016-03-31 12:12:05 -04:00
Josh Grams
7fe28d4168 AnimationTreePlayer (_process_node:TIMESEEK): give p_seek precedence over tsn->seek_pos. 2016-03-31 10:06:38 -04:00
Zher Huei Lee
0bba09c4cb Progress bar minsize now checks percent_visible
Allows for really thin progress bars such as for pixel-art styles.
2016-03-31 12:58:07 +01:00
Sergey Lapin
eae5169dfd Now parameters can be changed real time 2016-03-31 12:44:35 +03:00
Sergey Lapin
e4fea5d5f9 Added speed setting 2016-03-31 12:44:25 +03:00
Sergey Lapin
8d7a94389a InverseKinematics node, basic features
I don't already know how the fuck it works, but it is.
A bit slow currently, but hope to improve it soon.

The current limitations:

1. No constraints. At all.
2. Used simplest CCD algorithm, I just can't believe
in jacobian construction from code.
3. Slow to get to target.
2016-03-31 12:43:00 +03:00
Rémi Verschelde
8708a284f7 Merge pull request #4179 from Adjective-Object/master
inherit PKG_CONFIG_PATH from environment
2016-03-30 20:36:09 +02:00
Paulb23
474911c533 Option to toggle line numbers 2016-03-30 19:16:52 +01:00
Maxwell Huang-Hobbs
32391ffd73 inherit PKG_CONFIG_PATH from environment 2016-03-30 10:44:58 -04:00
Rémi Verschelde
6b64b26f0e Merge pull request #4156 from JoshuaGrams/match-docs
doc/base/classes.xml: String.match, Node.find_node
2016-03-30 12:47:15 +02:00
Rémi Verschelde
f293503a98 Merge pull request #4150 from Paulb23/number_syntax_highlighting
Fixed numbers not highlighting after space
2016-03-30 12:36:42 +02:00
Rémi Verschelde
44ee7c238e Merge pull request #4149 from Paulb23/save_scene_flicker_issue_4118
Fix for issue #4118
2016-03-30 11:52:40 +02:00
Josh Grams
ef08fed277 doc/base/classes.xml: String.match, Node.find_node
Clarify wildcard behavior.
2016-03-27 08:21:14 -04:00
Josh Grams
8920ab0fbf * AnimationTreePlayer (_process_node): remove switched argument.
The _process_node function (which recurses through the blend tree
generating blend values and the active animation list) had an argument
named `switched` which would loop an animation back to the beginning if
it had reached the end (regardless of whether or not it was supposed to
be a looping animation).

This argument was only used in four places: two of them were overridden
by a seek-to-zero, and I believe the other two are bugs.

In OneShot, it was used to reset the oneshot animation to the beginning
when fired. But this would fail if the oneshot node was fired before it
had completed its previous run. While this *could* be a valid way for
oneshot to work (firing does nothing if it's already running), the code
currently resets the fade-in, so I believe that it is intended to reset.
I replaced this usage with seek-to-0.

In Transition, it was used on the previous (fading out) animation when
seeking the Transition node, which I believe is incorrect: why would you
want to loop a non-looping animation instead of simply fading out from
the end? Also it will never happen unless you seek the Transition node
twice during one cross-fade.

The other two uses are in Transition and _process_animation, where it is
used along with a seek-to-zero which overrides it.
2016-03-27 07:19:05 -04:00
Paulb23
cd07badee3 Fixed numbers not highlighting after space 2016-03-26 22:03:27 +00:00
Paulb23
9d74b76a69 Stopped save scene flicker, issue 4118 2016-03-26 20:32:36 +00:00
Rémi Verschelde
15d1fca061 Merge pull request #4102 from SaracenOne/dynamic_margin_properties
Dynamic property list for control margins
2016-03-23 09:36:18 +01:00
Rémi Verschelde
440ef4b756 Enter the 2.1 alpha phase
To make it clearer that this branch is more recent than
the stable 2.0.x releases.
2016-03-22 18:45:19 +01:00
Rémi Verschelde
81b449908e Add support for patch versions (2.0.x)
(cherry picked from commit 706d576f7b)
2016-03-22 18:41:09 +01:00
Rémi Verschelde
e8ee4f7973 Merge pull request #4115 from Paulb23/number_syntax_highlighting
Syntax highlighting for numbers
2016-03-22 07:34:08 +01:00
Rémi Verschelde
8c2771b6d5 Merge pull request #4119 from sanikoyes/Pr-crash-exit-tree
Fix GDScript crash when call show/hide in func _exit_tree
2016-03-22 07:31:33 +01:00
sanikoyes
0c6f089ce4 Fix GDScript crash when call show/hide in func _exit_tree 2016-03-22 12:46:33 +08:00
Paulb23
c844c2d604 Syntax highlighting for numbers 2016-03-21 15:45:38 +00:00
Rémi Verschelde
a895e2e372 Merge pull request #4105 from akien-mga/pr-android-shutdown-adb
Expose android/shutdown_adb_on_exit parameter
2016-03-20 18:34:05 +01:00
Rémi Verschelde
c584940387 Expose android/shutdown_adb_on_exit parameter and default to true
It was added in 30d0ca9 for the Steam build but only enabled
when parsing a ._sc_ file that would define it.
It is now available for all users to toggle, in and outside of Steam.

Fixes #4073.
2016-03-20 16:55:54 +01:00
Rémi Verschelde
d4321c9f33 Merge pull request #4033 from akien-mga/pr-sample-lib-stop-button
Add stop and delete buttons to sample library (supersedes #3339)
2016-03-20 16:03:57 +01:00
Rémi Verschelde
e67ee2bc08 Merge pull request #4104 from teamblubee/master
Add support for gnu-libstc++-4.9 needed by recent NDK versions
2016-03-20 13:56:44 +01:00
blubee
a0fb5b5f95 Add support for gnu-libstc++-4.9 needed by recent NDK versions
The 4.9 version is the default one, people can still build using 4.8
with older NDK versions by setting the (optional) NDK_TARGET
and NDK_TARGET_X86 environment variables.
2016-03-20 20:29:37 +08:00
Saracen
d8392dd117 Dynamic property list for control margins allowing floating point properties to be used with ratio anchors. 2016-03-20 05:59:18 +00:00
Rémi Verschelde
6cf978b7d6 Merge pull request #4085 from sanikoyes/Pr-adb-keep-user-data
Add -r flag to adb install for keep app user data
2016-03-19 19:38:14 +01:00
Rémi Verschelde
b8daa7e6e6 Merge pull request #4095 from neikeq/pr-bind-add_spacer
BoxContainer: Bind method add_spacer(bool)
2016-03-19 13:55:04 +01:00
Rémi Verschelde
bf13f29b15 Merge pull request #4094 from neikeq/pr-fix-4062
TextEdit: Fix Shift+Delete shortcut not calling cut()
2016-03-19 13:54:02 +01:00