Commit graph

1007 commits

Author SHA1 Message Date
Juan Linietsky a2c4c17085 Experimental Right Mouse Button menu for SceneTree
Will eventually replace the buttons of that dock, so please test it!
2016-05-15 23:41:48 -03:00
Juan Linietsky 8b47e26f59 Changes to FileSystem Dock
-Replaced buttons for file actions fo RMB menu
-Added a split mode, if the dock is not sharing vertical space with
anything else
-imroved drag and drop support
2016-05-15 20:25:51 -03:00
Juan Linietsky bed3efb17e New reworked AnimatedSprite!
-New SpriteFrames editor, with support for drag&drop, multiple animation
sets, animation speed and loop.
-New AnimatedSprite, with support for all the new features!
AnimatedSprite3D has not been updated yet.
-Added support for drag&drop to other editors, such as resourcepreload,
sample library,  etc.
2016-05-14 23:48:45 -03:00
Juan Linietsky da7a9aae27 Merge pull request #4096 from neikeq/pr-margin-cont-imp
MarginContainer improvements
2016-05-13 13:13:12 -03:00
volzhs 81b4d38fa7 open directory or file when double click
fixes #4607
2016-05-13 01:22:19 +09:00
MattUV 91c85ff1f5 classref: Fixed return types in Area and Area2D (#4635) 2016-05-12 17:03:15 +02:00
Juan Linietsky 0c57a58056 ability to drag scenes from filesystem to tree for instancing 2016-05-11 20:57:52 -03:00
Rémi Verschelde b42c4cce0f Merge pull request #4627 from Paulb23/caret_blink_binds
Exposed caret blink to gdscript and properties
2016-05-11 19:05:55 +02:00
Paulb23 dc90cba42e Bind caret blink to gdscript and properties 2016-05-11 17:41:57 +01:00
Rémi Verschelde 7b471068cf Merge pull request #4612 from bojidar-bg/fix-anchor-builds
Fix #4588 (crash in Control::_set_anchor)
2016-05-11 17:46:29 +02:00
Juan Linietsky d7318f6965 -begun implementing drag & drop editor wide
-filesystem dock dnd support
-property list dnd support
-scene tree dnd support
2016-05-11 11:59:03 -03:00
Rémi Verschelde b9b423c1ee Merge pull request #4598 from Paulb23/caret_blink
Added caret blink to the text editor
2016-05-11 09:33:12 +02:00
Bojidar Marinov 0b572b35c2 Fix #4588 (crash Control::_set_anchor)
Thanks to @vnen for testing this
2016-05-10 20:23:58 +03:00
Rémi Verschelde bc31be9812 Sync classes.xml with current sources
Also fix a typo in the binding of Control::set_drag_forwarding.
2016-05-09 22:20:35 +02:00
Paulb23 e03e7deb1b Added caret blink in text editor 2016-05-09 19:22:11 +01:00
Rémi Verschelde 0dfc4a2029 Merge pull request #4571 from akien-mga/pr-rot-deg
Rotation APIs: Better exposure for degrees methods
2016-05-09 19:08:06 +02:00
Paulb23 9e6234201b Fixed autocomlete strings not appearing for function arguments 2016-05-08 13:18:50 +01:00
Rémi Verschelde 59e68ae6d0 Merge pull request #4557 from Paulb23/autocomplete_truncate_issue_4554
Fixed autocomplete truncate, issue 4554
2016-05-07 20:19:40 +02:00
Paulb23 488495852b Fixed animation player auto-queue duplication and undo/redo 2016-05-07 17:27:52 +01:00
Paulb23 0a2b341d0a Fixed code completion after opening bracket, issue 3977 2016-05-07 12:01:56 +01:00
Rémi Verschelde 4eab767a6f Rotation APIs: Better exposure for degrees methods
Made public the various set/getters for rotations in degrees.
For consistency, renamed the exposed method names to remove the leading
underscore, and kept the old names with a deprecation warning.

Fixes #4511.
2016-05-06 23:38:08 +02:00
Paulb23 accc2a195b Fixed autocomplete truncate, issue 4554 2016-05-05 16:27:05 +01:00
Rémi Verschelde 99e31e1005 Merge pull request #4547 from neikeq/pr-wrong-debug-methods
Fix wrong return and argument types in documentation
2016-05-05 09:27:14 +02:00
Juan Linietsky f909634832 -make sure single select after multi select works better
-fixed some warnings for OSX
2016-05-04 17:41:58 -03:00
Ignacio Etcheverry 1e752c0120 Fix wrong return and argument types in documentation 2016-05-04 15:35:09 +02:00
Rémi Verschelde 6a4b62e720 Merge pull request #4535 from sanikoyes/Pr-crash-dynamic-font
Fix crash in dynamic font
2016-05-04 08:35:16 +02:00
Juan Linietsky dd69aeceac Merge remote-tracking branch 'origin/master' 2016-05-03 22:32:38 -03:00
Paulb23 084d0bef96 Autocomplete no longer shows duplicates, issue 1824 2016-05-03 19:48:35 +01:00
Juan Linietsky c7e8def446 Add ability to send drag events to another object
will be documented/tested later
2016-05-03 11:10:28 -03:00
sanikoyes c824781e98 Fix crash in dynamic font 2016-05-03 17:25:33 +08:00
Juan Linietsky 78eccd61f8 Revert "added name parameter on animationplayer finished" 2016-05-02 14:22:27 -03:00
Rémi Verschelde 479cfb1d36 Merge pull request #4518 from AlexHolly/animationplayer-finished-name
added name parameter on animationplayer finished
2016-05-02 11:37:40 +02:00
Juan Linietsky 5bb7cef836 Support for dynamic fonts (TTF)
Added support for DynamicFont, which can load a TTF of any size to use
as a font. No import required.
2016-05-01 23:13:06 -03:00
Alexander Holland f9fafb75dc added name parameter on animationplayer finished 2016-05-02 01:48:00 +02:00
Rémi Verschelde 21c181bd3c Tabs: Fix align issue with right/close buttons
The stylebox around the close button was badly centered.
There were also bad margins applied when using right buttons.
2016-05-01 16:48:55 +02:00
Rémi Verschelde 8b32c80529 Tabs: cleanup code, no functional change
Some dead code removed, a few cosmetic changes.
2016-05-01 16:27:33 +02:00
Rémi Verschelde 8574489dd2 Tabs: Fix navigation buttons overlap when resizing
It was not taking into account the minimum width of the stylebox.
Fixed by factorizing some duplicate code.
2016-05-01 15:29:07 +02:00
Rémi Verschelde bbaf296948 Tabs: Fix icon size not taken into account for offset
Fixes #4107.
2016-05-01 14:54:45 +02:00
Rémi Verschelde ab7886ffc4 FileDialog: reset mkdir label after use (#4500)
Closes #1686.
2016-05-01 11:38:24 +02:00
Rémi Verschelde 6883325f92 math: Fix rounding error for 0 in Math::round (#4495)
Thus revert the previous workaround in commit b123bc4a2a.
Fixes #3221.
2016-05-01 11:37:46 +02:00
Franco Eusébio Garcia a735573327 Add math/script expression evaluation in editor (#3620)
Rebase of #453
2016-05-01 10:33:32 +02:00
Rémi Verschelde a0dce1e66f Merge pull request #4482 from Geequlim/master
Add more documentations and fix AcceptDialog::add_cancel
2016-04-29 10:43:50 +02:00
Geequlim 5c61e17c10 Add more documentations and fix AcceptDialog::add_cancel 2016-04-29 16:34:07 +08:00
Rémi Verschelde c97cc362e3 Merge pull request #4387 from JoshuaGrams/rigidbody2d-torque
Hooked up RigidBody2D torque methods
2016-04-29 10:29:12 +02:00
Juan Linietsky 0fa588a830 move Font to BitmapFont
so we can add DynamicFont later..
2016-04-28 22:21:36 -03:00
Rémi Verschelde 45ffc053b5 Merge pull request #4462 from Paulb23/scroll_lines
Added scroll lines, issue #4243
2016-04-28 20:53:41 +02:00
Rémi Verschelde 0485c9eaba Merge pull request #4451 from JoshuaGrams/anim-tree-filter
Anim tree: add filters on Animation nodes
2016-04-28 20:48:38 +02:00
Rémi Verschelde 3a4ec88b37 Classref: Document Button and ButtonArray
Also bind relevant constants and define some object types and better
argument names for the docs.
2016-04-28 00:10:17 +02:00
Paulb23 54244e0e1d Added scroll lines, issue 4243 2016-04-27 18:32:14 +01:00
Josh Grams a7b4127481 RigidBody2D (add_force, set_inertia): new methods. 2016-04-26 08:15:15 -04:00