Commit graph

1859 commits

Author SHA1 Message Date
volzhs
7d74e3c39f Expose selected value of GraphNode 2016-10-05 02:00:58 +09:00
volzhs
83278a1ac4 Fix GraphEdit grab random node when delete or deselect by clicking empty space 2016-10-05 01:10:49 +09:00
Pedro J. Estébanez
34c02fad5a Add editor_only param to Light2D 2016-10-04 16:44:59 +02:00
Juan Linietsky
22d83bc9f6 Begining of GLES3 renderer:
-Most 2D drawing is implemented
-Missing shaders
-Missing all 3D
-Editor needs to be set on update always to be used, otherwise it does not refresh
-Large parts of editor not working
2016-10-03 21:35:16 +02:00
J08nY
af35130b50
light: respect editor_only setting in release build and dont show the light 2016-10-03 16:23:43 +02:00
Fabio Alessandrelli
1d09c27ba4 Expose more 2D/3D physics options in project settings 2016-10-03 14:40:47 +02:00
Karol Walasek
7494a8c3c6 Added force_raycast_update GDScript method for RayCast[2D] 2016-10-03 12:36:16 +02:00
Rémi Verschelde
735e905c77 Merge pull request #6662 from RandomShaper/export-texture-flags
Respect texture .flags files on export
2016-10-03 12:03:06 +02:00
Rémi Verschelde
ad280e7bfc Merge pull request #6640 from Hinsbart/color_picker
Add inline ColorPicker to Script text editor.
2016-10-03 12:00:10 +02:00
Rémi Verschelde
c939be8859 Merge pull request #6634 from zaps166/fix-resampler-crash
Don't crash when video is stopped and played again
2016-10-03 11:59:55 +02:00
Rémi Verschelde
03ee749989 Merge pull request #6529 from pkowal1982/scrolltree
Add scrolling to Tree control in Drag and Drop mode
2016-10-03 11:44:32 +02:00
Rémi Verschelde
9c4c1733b4 Merge pull request #6513 from Brickcaster/master
Fix for issue #6496: ItemList does not immediately scroll down to section
2016-10-03 11:39:16 +02:00
J08nY
6b283ae293
PopupMenu: added toggle_item_checked and exposed set_item_tooltip and get_item_tooltip 2016-10-01 16:50:53 +02:00
Pedro J. Estébanez
11cbbeb17e Respect texture .flags files on export 2016-09-30 17:41:45 +02:00
Pawel Kowal
f9a21baa26 Fix #6480, area duplicated param 2016-09-29 18:12:45 +02:00
Andreas Haas
f81d009525
Add inline ColorPicker to Script text editor.
Adds an option to the script editor context menu that lets you open
a ColorPicker in order to easily edit `Color()` constructors.
To do this, right click on the word `Color` and select `Pick Color`.

A side effect of this change is that the script editor now has its own
context menu instead of re-using the one from TextEdit.
It's now possible to indent left/right and to toggle comments via this menu.
I also felt free to make it more context-sensitive than before:
Now "Cut" and "Copy" will only be shown if text has actually been selected.

I also added default shortcuts for indent left/right. (alt + left/right)

Closes #6232
2016-09-29 09:12:45 +02:00
Pawel Kowal
3edc0a4832 LineEdit long indicator, fix #6624 2016-09-28 22:05:34 +02:00
Błażej Szczygieł
5585bc1c38 Don't crash when video is stopped and played again 2016-09-28 13:39:06 +02:00
Ying-Ruei Liang(KK)
241e2594f1 Show '.' in the tree of file_dialog 2016-09-26 16:04:15 +08:00
Pawel Kowal
acc242fd6a Tween reset/stop/resume/remove for all object properties at once 2016-09-25 23:25:52 +02:00
yg2f
c1e2358914 expose GeometryInstance.get_aabb() etc fixes #6587
expose ``GeometryInstance.get_aabb();`` to gdscript
expose ``VisualInstance.get_transformed_aabb();`` to gdscript
and debug ``ImmediateGeometry::add_vertex()``;
2016-09-22 23:06:07 +02:00
Ignacio Etcheverry
1c50dfdf6c Merge pull request #6557 from anneomcl/master
Fix for #6158
2016-09-20 09:28:26 +02:00
anneomcl
aa5ade834c Fix for #6158. Converting Vector2 to Size2 for scaling functions. 2016-09-19 23:31:45 -07:00
Pawel Kowal
dd4f2a2ccb Use full width of TreeItem::Cell to change value in CELL_MODE_CHECK 2016-09-19 23:07:24 +02:00
Rémi Verschelde
829d69ba52 Merge pull request #6545 from Hinsbart/textedit
Fix ability to cut/paste text in LineEdit/TextEdit in readonly mode.

[ci skip]
2016-09-19 14:25:48 +02:00
Andreas Haas
9c71e5a9df
Fix ability to cut/paste text in LineEdit/TextEdit in readonly mode.
Fixes #6466
2016-09-19 14:17:48 +02:00
Juan Linietsky
8b15b26eed Click the inspected objet name to see all subresources. 2016-09-17 19:01:47 -03:00
Pawel Kowal
9e5aaa27bc Add scrolling to Tree control in Drag and Drop mode 2016-09-17 21:29:55 +02:00
Rémi Verschelde
80861b7d59 Merge pull request #6414 from RandomShaper/improve-shader-shadow
Expose additional light/shadow properties to canvas item shaders
2016-09-17 18:34:22 +02:00
Brickcaster
cc7bc07e33 Fix for issue #6496
Canged order of NOTIFICATION_DRAW to update scrollbar before scrollbar
is checked to see which list elements to display.
2016-09-16 11:25:07 -04:00
Juan Linietsky
913925f106 Center camera2D with the proper viewport size 2016-09-15 08:17:23 -03:00
Juan Linietsky
a4156f1f0a Added a few functions to make 2D split screen easier. 2016-09-14 15:55:14 -03:00
Fabio Alessandrelli
97cf3eba56 Restore viewport set_world_2d functionality 2016-09-14 15:18:00 +02:00
Juan Linietsky
8bcb6a290c -Added VeryLowDPI and MidDPI modes to Godot editor.
-Improved HiDPI detection (requires resolution of > 2000 in X axis)
2016-09-13 11:05:47 -03:00
sanikoyes
b548ef0009 fix ScrollContainer cannot scroll when scroll bar is hidden 2016-09-13 11:50:41 +08:00
Juan Linietsky
37f1e86108 Do ctrl-click on any code identifier to go to definiton or help page. 2016-09-12 10:53:31 -03:00
Pedro J. Estébanez
83df74a17d Fix/improve AnimationPlayer blending logic 2016-09-12 04:33:40 +02:00
Juan Linietsky
b874cede20 Add argument options for the theme override functions in Control 2016-09-11 11:48:31 -03:00
Juan Linietsky
95eb7466df -Added a ColorFrame control, kind of like Texture but for color.
-Added dropping nodes to text editor for them to become a path
-Fixed issues with font not properly being set in code editor
2016-09-11 11:28:01 -03:00
Juan Linietsky
1bf684cea2 -Cleaned up find/replace bar for replace (made selection only default if selection exists), also made buttons look like buttons
-Fixed a bug related to theme propagation, may be able to solve #6443, #6302 and others. Please test.
2016-09-11 10:05:46 -03:00
Juan Linietsky
65b93d177e -Added bindings to the resource filesystem for editor
-Added set_child_rect, which was unavailable for script
2016-09-10 17:34:27 -03:00
Juan Linietsky
b16f41a10a Fix Viewport.get_mouse_pos() for specific situations, closes #1885 2016-09-10 13:29:07 -03:00
Juan Linietsky
4d664c9289 Merge pull request #5692 from kubecz3k/remoteTransform
Remote transform node (for 3d)
2016-09-10 12:28:47 -03:00
Juan Linietsky
fc61eb37ce Merge pull request #5920 from 29jm/fix-warnings
Fix some more warnings
2016-09-10 12:21:02 -03:00
Juan Linietsky
026c7913cf Merge pull request #5942 from pkowal1982/scroll
ScrollContainer expand children bug fix
2016-09-10 12:14:33 -03:00
Juan Linietsky
34d3a4b471 Merge pull request #6336 from sanikoyes/Pr-fix-inter-callback-delete
Tween: fix non-repeat interpolate_callback
2016-09-10 11:49:07 -03:00
Juan Linietsky
8835882d23 Merge pull request #6355 from Kazuo256/http-request-methods
Add http method and request data parameters to HTTPRequest::request
2016-09-10 11:48:07 -03:00
Paulb23
63fd8f863b Added get_v_scroll to item list, issue 5343 2016-09-09 15:20:57 +01:00
George Marques
c73bef1562 Merge pull request #6423 from bebae/issue-6143
fixed wrong placement of AcceptDialog Buttons issue-6143
2016-09-07 23:47:48 -03:00
MarianoGNU
ae4f7cbc2c Explicitly initialize TextureProgress's initial angle value.
(Hopefully)
Fixes #3856
Fixes #6426
Fixes #6344
2016-09-07 20:00:10 -03:00
Juan Linietsky
828e1c092f Renamed the bind_native functions to bind_vararg, should make it show the documentation more clearly and also make it easier to bind to C# 2016-09-07 19:39:57 -03:00
bebae
dd9189aac4 fixed wrong placement of AcceptDialog Buttons issue-6143 2016-09-07 20:49:53 +02:00
Rémi Verschelde
a40309b532 Merge pull request #6420 from Paulb23/itemlist_tooltip_disable_issue_6240
Itemlist tooltip disable issue 6240
2016-09-07 20:42:26 +02:00
Paulb23
62a968b1c6 Ability to disable item list tooltip, issue 6240 2016-09-07 18:13:22 +01:00
Rémi Verschelde
b48e6230f4 LineEdit: Quick fix to set_expand_to_text_length argument name 2016-09-07 08:52:42 +02:00
Pedro J. Estébanez
0960887625 Expose light shadow color to canvas item shaders 2016-09-07 01:52:54 +02:00
Juan Linietsky
405f6af79c -Added diectly editable expressions on node to VSEditor, closes #6392
-Added ability for LineEdit to expand to fit text
2016-09-06 20:34:24 -03:00
Juan Linietsky
181fdce1e9 Better snapping for graph ports, closes #6394 2016-09-06 19:55:22 -03:00
Juan Linietsky
f31400c04d Added option for UVs (and tangents) in adding sphere for ImmediateGeometry, closes #6398 2016-09-06 19:31:44 -03:00
Kazuo256
c53e5c555a Add http method and request data parameters
For HTTPRequest::request
2016-09-05 13:38:00 -03:00
Rémi Verschelde
eb1b71180e Merge pull request #6372 from waldson/master
Fixes LineEdit text selection with mouse selecting more than intended
2016-09-05 07:46:02 +02:00
Juan Linietsky
5028d7510d Connection hints when connecting to empty space. 2016-09-03 14:58:23 -03:00
Waldson Patrício
3d84973184 Fixes LineEdit text selection with mouse selecting more than intended 2016-09-02 13:04:15 -03:00
Juan Linietsky
b780679302 -Added focus to comment node
-Make comment node not grab focus on main area
2016-09-02 12:03:49 -03:00
Juan Linietsky
5fc084c28e -Fixed issue in Kinematicbody2D 2016-09-01 12:03:55 -03:00
Juan Linietsky
fc70824f7c More improvements to visual script..
fixed a bug of not saving when sub-nodes changed.
2016-08-31 17:58:51 -03:00
Rémi Verschelde
ce7e2ae4f4 draw_line: Properly bind antialiased argument 2016-08-31 08:57:21 +02:00
Juan Linietsky
fb4d6d1db0 More visual script improvements
-Added anti-aliasing on lines
-Improved draw performance enormously
-Removed sequence ports for most nodes, current visual scripts will likely be broken now. Sorry!
2016-08-30 23:46:41 -03:00
sanikoyes
cccea7e0b4 Tween: fix non-repeat interpolate_callback does not delete after call triggered 2016-08-31 10:27:20 +08:00
Rémi Verschelde
9a35ed5d54 Merge pull request #5670 from timoschwarzer/feature/camera2d_limit_smoothing
Add an option to smooth camera limits when camera smoothing is enabled.
2016-08-30 16:52:55 +02:00
Rémi Verschelde
41ee85b6a0 Merge pull request #5262 from vnen/button-signals
Add button_down and button_up signals
2016-08-30 16:49:12 +02:00
Rémi Verschelde
622bf389f2 Merge pull request #6264 from MasonAsh/issue-6263
Fix sliders incorrectly calculating value on click
2016-08-29 19:05:32 +02:00
Rémi Verschelde
01d5163b6f Merge pull request #6220 from volzhs/issue-5789
Make LineEdit not to cover whole line when rename node
2016-08-29 19:04:49 +02:00
Rémi Verschelde
835ee75d57 Merge pull request #6159 from touilleMan/issue-6148
Add Node2d global rot/rotd/scale methods
2016-08-29 19:04:24 +02:00
Rémi Verschelde
23cb5efe7c Merge pull request #5956 from djrm/tree_behavior
Double click on scene tree element to focus currently selected node
2016-08-29 18:28:05 +02:00
Juan Linietsky
748836e0b3 Several all around fixes to visual scripting (in the process of creating demos) 2016-08-28 20:59:01 -03:00
Rémi Verschelde
6c674375e5 Merge pull request #6249 from volzhs/issue-6121
Show last added action on Input Map
2016-08-28 12:02:08 +02:00
volzhs
2e5a4cb5ca Show last added action on Input Map and implement InputEvent "==" 2016-08-28 15:18:13 +09:00
Daniel J. Ramirez
70c9979cce Double click on scene tree element to focus currently selected node
In 3D it will focus in the first viewport
Enable double click for trees
2016-08-27 17:15:49 -05:00
George Marques
8a1b1ab6d6
Add button_down and button_up signals 2016-08-26 21:57:52 -03:00
Juan Linietsky
9c6175db11 More visual script work
-Block switches to 2d/3d editor if editing visual script
-Added cast node in flow control
-Added ability to do RPC in visual script
-Comment nodes
-Fix bug with inverted cable in connecting backwards
-Copy and paste nodes, including from different scripts
2016-08-25 17:45:20 -03:00
Mason Ashbridge
fb54ba6397 Slider value accounts for grabber offset 2016-08-24 03:17:54 -04:00
Juan Linietsky
ad8f208bdb Proper function/property selection in visual script editing for property.
This one has an ordered list, built-in description, search, etc.
2016-08-23 19:29:07 -03:00
Juan Linietsky
231c72b5eb prettier connections for graph edit 2016-08-23 10:15:47 -03:00
volzhs
ff22db3b21 Make LineEdit not to cover whole line when rename node 2016-08-23 05:46:11 +09:00
Juan Linietsky
cbbcf72703 -High Level protocol optimization (should be smaller)
-Ability to set compression to ENet packets (check API)
-Fixed small bug in StringDB that lead to duplicate empty strings
-Added a new class, StreamPeerBuffer, useful to create your own tightly packed data
2016-08-22 01:19:24 -03:00
Juan Linietsky
2b7aa98d2d Changed API to use sequenced packets for UDP (drop old) 2016-08-19 22:54:53 -03:00
Juan Linietsky
2fa693273c Many fixes to networking, demo should work now 2016-08-19 18:44:09 -03:00
Juan Linietsky
1add52b55e Brand new networked multiplayer 2016-08-19 16:48:41 -03:00
Emmanuel Leblond
c402ac13df Add Node2D's set_global_rot get_global_rot set_global_rotd get_global_rotd set_global_scale get_global_scale methods. 2016-08-15 11:39:19 +02:00
Juan Linietsky
3db36684b1 Added high level networked multiplayer to Godot.
It's complete, but absolutely and completely untested, undocumented and NSFW.
Have fun :-)
2016-08-14 18:49:50 -03:00
Johan Manuel
67b29e3b9e Fix some warnings about misleading indentation 2016-08-13 13:21:35 +02:00
Rémi Verschelde
b9e8bddf19 Merge pull request #6132 from neikeq/pr-issue-6123
Confirm code completion with numpad key ENTER
2016-08-12 13:45:55 +02:00
Ignacio Etcheverry
e9f9e00bd9 Confirm code completion with numpad key ENTER 2016-08-12 13:37:10 +02:00
Rémi Verschelde
d4c44485d8 Merge pull request #6081 from djrm/new_icons
Some new icons for visual script and graphs
2016-08-09 07:47:49 +02:00
Daniel J. Ramirez
287b6d0e04 Some new icons for visual script and graphs 2016-08-08 17:23:31 -05:00
Juan Linietsky
37b5e99bc2 prevent bug due to scripts not working in editor and notifier sending signals to it. 2016-08-08 19:04:12 -03:00
Juan Linietsky
3d7c10e9ce Added an easy API to yield to a specific time by doing:
yield( get_tree().create_timer(5.0), "timeout" )
2016-08-06 21:39:50 -03:00
Juan Linietsky
9890c1d2ca Likely with bugs and with some features are missing, as well as profiler support, but VisualScript should be more or less done! 2016-08-06 19:00:54 -03:00
Juan Linietsky
259418f827 VisualScript can now execute visual scripts, but there is no debugger or profiler yet. 2016-08-05 22:48:00 -03:00
Juan Linietsky
6ed5d48d0c Concluded base visual scripting! can edit but not run though. 2016-08-04 00:05:35 -03:00
Juan Linietsky
3d1d190dcd Merge branch 'master' of https://github.com/godotengine/godot 2016-08-02 19:11:47 -03:00
Juan Linietsky
ad313097eb WIP visual scripting, not working yet but you can check out stuff 2016-08-02 19:11:05 -03:00
Zher Huei Lee
0de7860511 DynamicFont caches now accounts for texture flags
CacheID added for future-proofing
2016-08-02 15:36:11 +01:00
Zher Huei Lee
af6ef01c69 Added extra spacing support for DynamicFont
Side effect is that label min-size will now take into account
kerning.
2016-08-02 11:05:20 +01:00
Zher Huei Lee
7b165e8ac2 Added texture mipmaps and filtering to DynamicFont 2016-08-02 08:01:51 +01:00
Andreas Haas
4755fe5576
UI navigation via JOYSTICK_MOTION.
Previously, you could assign joystick axis events to "ui_*" actions but they had no effect.
See https://godotengine.org/qa/6232
2016-07-30 12:39:16 +02:00
Rémi Verschelde
08ba6086be World2D: Fix typo in default_density deprecation check 2016-07-28 19:03:32 +02:00
Paulb23
740dea7de7 Exposed enable syntax highlighting to properties 2016-07-28 15:47:47 +01:00
Pawel Kowal
853161a000 ScrollContainer expand children bug fix 2016-07-27 20:24:10 +02:00
Ignacio Etcheverry
35cb8ff89e LineEdit: Fix event handled as text when a mod key is pressed 2016-07-27 19:32:46 +02:00
Juan Linietsky
542bd81e76 Merge pull request #5926 from akien-mga/pr-graphedit-drag
Fix GraphEdit dragging issues at scales != 1
2016-07-26 18:49:51 -03:00
Rémi Verschelde
60e19f7751 Fix GraphEdit dragging issues at scales != 1
Works around the issue originally described in #5907 (that was then
hijacked to describe the broader issue it exposes).
2016-07-26 23:19:41 +02:00
Juan Linietsky
9151eb591d Changed the way the step decimals are computed to a safer way, fixes many issues. 2016-07-26 17:25:10 -03:00
Daniel J. Ramirez
213a57ccaf Stop baking process if there is no geometry in the BakedLightInstance.
moved missing baked light warning to BakedLightInstance configuration warning
2016-07-25 21:45:20 -05:00
Juan Linietsky
ab93fd1af9 Add thread support to HTTPRequest, changed assetlib to use it. 2016-07-24 16:09:43 -03:00
Juan Linietsky
62cdfeaf58 Merge pull request #5881 from neikeq/pr-fix-propagation
Viewport: Replace obsolete "windows" group calls
2016-07-24 12:37:59 -03:00
Juan Linietsky
6e3c7fe5fe Merge pull request #5803 from jarfil/issue/origin5695-pr
Fix tooltips blinking
2016-07-24 12:37:17 -03:00
Juan Linietsky
0b75f894c3 Merge pull request #5746 from Ovnuniarchos/FileDialogExposed
Corrections and additions to FileDialog
2016-07-24 12:36:05 -03:00
Juan Linietsky
ba625a14c6 Merge pull request #5447 from RandomShaper/parallax-layer-fix-tidy
Improve parallax mirroring algorithm
2016-07-24 12:19:27 -03:00
Juan Linietsky
bafcabb157 Merge pull request #5832 from Algrin6/patch-1
Fixes defects in Curve2D and Curve3D
2016-07-24 11:44:42 -03:00
Ignacio Etcheverry
67640c84eb Viewport: Replace obsolete "windows" group calls
- Fixes neighbour focusing event propagation not being stopped
2016-07-24 14:11:30 +02:00
Rémi Verschelde
8fbe804bd1 Merge pull request #5884 from 29jm/fix-crash-graphnode
Fix crash when GraphNode wasn't a child of a Control
2016-07-24 00:37:20 +02:00
Johan Manuel
580b4465c6 Fix crash when GraphNode wasn't a child of a Control 2016-07-24 00:25:32 +02:00
Rémi Verschelde
ebefdaa598 Merge pull request #5737 from neikeq/pr-issue-5269
TextEdit: Scroll search results to the center
2016-07-23 22:54:32 +02:00
MarianoGNU
f00e0b589f Fix pick color from screen. Closes #5853 2016-07-22 20:35:12 -03:00
Johan Manuel
1a1342670e Fix ItemList.clear() not removing separators 2016-07-22 16:45:57 +02:00
Robert Lewicki
b1df9e016c Fixed ItemList indexing bug while selecting items.
Also added functionality for unselecting items in itemlist while clicking in empty space.
Fixes #5772.
2016-07-22 16:28:37 +02:00
Juan Linietsky
3aeafcae04 Removed support for saving paths as relative, closes #5728
Editor now has good refactoring tools, so this function is mostly obsolete
2016-07-22 10:39:46 -03:00
Juan Linietsky
e4cd01ac8c Make texture parameter optional in begin() of ImmediateGeometry. Closes #5676 and closes #5720 2016-07-22 09:59:56 -03:00
Rémi Verschelde
6072eb878d Merge pull request #5849 from SaracenOne/expose_add_index
SurfaceTool add_index method exposed to scripts.
2016-07-22 08:39:40 +02:00
Rémi Verschelde
51b03f0bf5 Fix binding for ItemList.sort_items_by_text
Also forces to recompute the cached rect for all items.
Fixes #5799
2016-07-22 08:08:17 +02:00
Saracen
f86b698765 SurfaceTool add_index method exposed to scripts. 2016-07-22 04:52:41 +01:00
Juan Linietsky
93c3c801db properly implement item disabling, fixes #5683 2016-07-21 18:24:56 -03:00
Juan Linietsky
124e3591a5 Some optimizations and limits for extreme zoom in and out in editor, fixes #5820 2016-07-21 10:11:53 -03:00
Rémi Verschelde
ad55c63918 Merge pull request #5836 from volzhs/issue-5830
Remove "SMOOTH BEGIN?" message
2016-07-21 10:37:27 +02:00
volzhs
dd7b1021f6 Remove "SMOOTH BEGIN?" message 2016-07-21 17:34:58 +09:00
Rémi Verschelde
40d78c2144 Merge pull request #5829 from 29jm/master
Fix the rotation not updating in the inspector with Controls
2016-07-21 09:09:58 +02:00
Rémi Verschelde
750b973ee4 Merge pull request #5200 from neikeq/sc-CanvasItemEditor
Implement ShortCuts in CanvasItemEditor
2016-07-21 09:02:01 +02:00
Ignacio Etcheverry
fc16954fa2 TextEdit: Center search results 2016-07-21 03:40:08 +02:00
Ignacio Etcheverry
4e82f9ffcf Implement missing ShortCuts in CanvasItemEditor 2016-07-21 03:28:41 +02:00
Algrin6
2b60884659 Fix curve bug 2016-07-21 02:14:58 +03:00
Johan Manuel
fc4ace3120 Fix the rotation not updating in the inspector with Controls 2016-07-21 00:26:36 +02:00
Juan Linietsky
79a7473cac put text formats for resources and scenes as priority 2016-07-19 21:40:05 -03:00
Juan Linietsky
0988970c1f Fixed properly not save signals that already exist in their base scenes, closes #5656 2016-07-19 21:26:12 -03:00
Juan Linietsky
9de33e18f1 WIP bugfix for existing connections 2016-07-19 20:20:28 -03:00
Rémi Verschelde
525fb01fd2 Revert "Homogeinize resource formats loaders/savers"
The text format definition needs to stay in `scene/` as it relies
on other scene components, and `core/` must stay self-contained.

This reverts commits a5e27503fd
and 1492fd8460.
2016-07-19 18:15:01 +02:00
Rémi Verschelde
17f86eee33 Merge pull request #5792 from neikeq/pr-issue-3868
Label: Added `get_visible_line_count` method
2016-07-19 07:38:06 +02:00
Rémi Verschelde
569541bafc Merge pull request #5790 from neikeq/pr-issue-1149
MenuButton: Fix event propagation with dialogs
2016-07-19 07:36:25 +02:00
Jaroslaw Filiochowski
be560a750c Hide tooltip if new mouse position's tooltip is empty 2016-07-19 07:07:53 +02:00
Jaroslaw Filiochowski
1e7b9c509f Don't start a new tooltip timer for the same tooltip 2016-07-19 07:07:40 +02:00
Juan Linietsky
b49476a011 Merge pull request #5731 from neikeq/pr-issue-5642
LineEdit: Fix rtl scrolling with mouse drag selection
2016-07-18 19:29:24 -03:00
Ignacio Etcheverry
78819b6b54 Label: Added get_visible_line_count method 2016-07-18 23:33:06 +02:00
Juan Linietsky
7a4d67ae71 Property convert images to RGBA before applying hq2x, fixes #5168 2016-07-18 18:30:30 -03:00
Ignacio Etcheverry
c45837cf3f MenuButton: Fix event propagation with dialogs 2016-07-18 23:06:14 +02:00
Juan Linietsky
f93e333e85 Properly transform sub-viewport input, closes #3580 2016-07-18 17:16:49 -03:00
Juan Linietsky
f10bd217a2 properly fixed notificaitons for theme changed, closes #5774 2016-07-18 16:41:59 -03:00
Rémi Verschelde
e91bd708d9 Merge pull request #5777 from Paulb23/caret_stretching
Fixed caret width on tabs
2016-07-18 16:57:12 +02:00
Rémi Verschelde
f53e7efefe Merge pull request #5527 from djrm/color_picker_fixes
Color picker fixes
2016-07-18 16:43:41 +02:00
Paulb23
5505f0c776 Fixed caret width on tabs 2016-07-18 15:15:40 +01:00
Juan Linietsky
254d79a560 Add a function to notify font users that the font changed. Closes #5774 2016-07-18 10:00:26 -03:00
Rémi Verschelde
be563a1663 Merge pull request #5757 from Razzlegames/blendIndexFix
Could not use pre multiply alpha for material in editor
2016-07-18 00:54:38 +02:00
Rémi Verschelde
4958963abe Merge pull request #5742 from Ovnuniarchos/TreeItemSetButton
TreeItem.set_button exposed.
2016-07-18 00:53:39 +02:00
Rémi Verschelde
62eae7cbe2 Merge pull request #5723 from Paulb23/toggle_breakpoint_gutter_issue_5712
Fixed toggle breakpoint gutter not updating when the game is running, issue 5712
2016-07-18 00:52:36 +02:00
Rémi Verschelde
3183834c5d Merge pull request #5657 from Paulb23/block_caret
Added block caret to TextEdit
2016-07-18 00:44:45 +02:00
Kyle Luce
4e69bc3bff Could not use pre multiply alpha for material in editor
- 3 was hard coded, I just changed to 4. Unfortunately this will break every time
  a blend mode is added
2016-07-17 11:09:47 -07:00
Rémi Verschelde
7b28976af5 Merge pull request #5755 from TheHX/issue-5716
Fix empty reference pages after restarting Godot
2016-07-17 19:06:03 +02:00
Franklin Sobrinho
18f165b494 Fix empty reference pages after restarting Godot 2016-07-17 13:29:50 -03:00
Rémi Verschelde
22419082d9 Remove some noisy debug prints
Part of #5031
2016-07-17 18:25:21 +02:00
Ovnuniarchos
3698332f6b Exposed mode, access, filters, and show hidden files to the editor. Also, two functions to get/set the filter list. 2016-07-17 03:00:51 +02:00
Ovnuniarchos
10be575aa1 TreeItem.set_button exposed. 2016-07-16 22:36:19 +02:00
Ignacio Etcheverry
671c21dce7 MenuButton: Fix regression 2016-07-16 15:16:26 +02:00
Ignacio Etcheverry
f9d1e03018 MenuButton: Avoid event propagation if handled as hotkey 2016-07-16 14:36:55 +02:00
Juan Linietsky
24d86e33a6 Merge pull request #5467 from RandomShaper/enhance-tidy-extensions
Enhance/tidy file extensions management
2016-07-16 09:28:49 -03:00
Ignacio Etcheverry
71ee8eeb3f LineEdit: Fix rtl scrolling with mouse drag selection 2016-07-15 22:57:46 +02:00
Daniel J. Ramirez
7b846d62ac Color picker fixes:
- fixed alpha channel slider range in raw mode to go from 0 to 1 fixes #4396
 - fixed HS bars going outside the control area
 - fixed color text field changing to hex mode even if script mode was selected
2016-07-15 13:33:01 -05:00
Paulb23
b550471a14 Fixed breakpoint gutter toggle not updating when game is running, issue 5712 2016-07-15 15:02:55 +01:00
Jakub Grzesik
82f84f4c2f Remote transform node (for 3d)
It's code is based on RemoteTransform2D node.
2016-07-14 16:37:26 +02:00
Timo Schwarzer
d691cb4732 Add an option to smooth camera limits when camera smoothing is enabled. 2016-07-13 11:48:50 +02:00
Paulb23
54f720ac06 Added block caret to TextEdit 2016-07-12 16:07:17 +01:00
Rémi Verschelde
c0e6395526 Merge pull request #5638 from TheHX/tree-buttons
Fix tree drawing the pressed stylebox in all buttons in the column
2016-07-12 07:28:02 +02:00
Paulb23
12e3bb1f01 Removed duplicate color 2016-07-11 15:40:04 +01:00
Paulb23
28356a7d63 Expose highlight all occurrences 2016-07-11 15:20:01 +01:00
Paulb23
21385d9ecb Expose show line numbers 2016-07-11 15:11:35 +01:00
Paulb23
cc133c9289 Expose colors to theme 2016-07-11 14:57:32 +01:00
Paulb23
a9956be63d Added completion font colors 2016-07-11 14:25:56 +01:00
Juan Linietsky
b41be2d1a9 Merge pull request #4854 from Razzlegames/screenToLocal
Conversion function for screen coords to local Canvas coords
2016-07-11 02:26:58 -03:00
Kyle Luce
605193b22f Conversion function for screen coords to local Canvas coords
- Useful if you need to Convert screen coords to the coordinate space of a
  CanvasItem, but don't have an associated InputEvent to use in
  #make_event_local.

For example, if you have a particular point on the screen you'd like to project
into World Space, for various reasons, you would use this function on the root
of the scene. This is analogous to ray casting from screen space in 3D.
2016-07-10 16:06:57 -07:00
Franklin Sobrinho
5708006340 Fix tree drawing the pressed stylebox in all buttons in the column 2016-07-10 19:03:43 -03:00
Rémi Verschelde
d37ef5990b Merge pull request #5627 from Paulb23/fixed_highlighting_highlighted_section
Fixed highlight all occurrences highlighing highlighted section
2016-07-10 19:42:56 +02:00
Juan Linietsky
46bb02991f Merge pull request #5270 from lonesurvivor/master
Added Tile Origin = Bottom Left option to the TileMap
2016-07-10 13:41:33 -03:00
Juan Linietsky
223ca1363c Merge pull request #5352 from m4nu3lf/master
AnimationTreePlayer filters improved
2016-07-10 13:40:56 -03:00
Juan Linietsky
7af77e1b7b Merge pull request #5606 from akien-mga/pr-rtl-raw-text
RichTextLabel: Fix adding raw text when bbcode is disabled
2016-07-10 13:07:04 -03:00
Juan Linietsky
49b288d331 Add function to get the list of samples, closes #5561 2016-07-10 13:00:42 -03:00
Juan Linietsky
b06eca108a Merge pull request #5490 from timoschwarzer/master
Add new Camera2D alignment functions
2016-07-10 12:39:50 -03:00
Juan Linietsky
5bb552273b Merge pull request #5489 from jejung/richtextlabel-get_text
RichTextLabel-get_text
2016-07-10 12:38:28 -03:00
Paulb23
d43adcbb1e Fixed highlight all occurrences highlighing highlighted section 2016-07-10 16:10:54 +01:00
Ovnuniarchos
061cadcae5 LineEdit placeholder now accepts translated strings. 2016-07-10 00:39:17 +02:00
Juan Linietsky
864c0e84de line/col label was changing size with each cursor move, forcing the GUI to resize upwards and costing considerably CPU usage.
It has been changed so it won't resize the UI when modified.
This will make the code editor feel a lot smoother.
2016-07-09 14:56:08 -03:00
Juan Linietsky
1d6be8b00d Changed tree so shift-selection skips folded children, closes #5515 2016-07-09 13:15:45 -03:00
Rémi Verschelde
3a70d4a072 Merge pull request #5589 from akien-mga/pr-unused-var
Removing some more unused vars and dead code
2016-07-09 14:33:30 +02:00
Rémi Verschelde
3816fe9d19 RichTextLabel: Fix adding raw text when bbcode is disabled
Fixes #5605.
2016-07-09 14:26:49 +02:00
Rémi Verschelde
a15de80942 classref: Fix arg name for is_action_pressed/released
Also position TEXTURE_SPHERE constant properly.
2016-07-08 23:40:43 +02:00
Franklin Sobrinho
6b154c9706 Fix own world option of Viewport.
It happens when the viewport has WorldEnviroment child with a valid Enviroment
2016-07-08 14:27:19 -03:00
Rémi Verschelde
f40f360a2c Remove unused variables (fourth pass) + dead code
Also fix a potential regression from 3fcb9b1ec1.
2016-07-08 16:47:55 +02:00
Rémi Verschelde
454b210242 Remove unused variables (third pass) + dead code
Fixes various gcc 5.4.0 warnings for -Wunused-variable and -Wunused-but-set-variable
2016-07-07 23:16:21 +02:00
Juan Linietsky
7c1ab42571 Fix the +1 button to insert keyframes in Sprite and Sprite3D, closes #5422 2016-07-06 23:46:04 -03:00
Juan Linietsky
17e4ead62a Fix several bugs related to node duplication and signals, closes #5405 2016-07-06 21:43:31 -03:00
Juan Linietsky
a78226c32c Only allow built-in scripts to be edited when the scene they belong to is loaded, closes #5403 2016-07-06 20:36:37 -03:00
Franklin Sobrinho
5c3c87206b Fix TreeItem range editing by dragging on the inspector 2016-07-04 12:14:49 -03:00
George Marques
55b8a353f5
Fix completion string check when column = 0 2016-07-03 18:49:58 -03:00
George Marques
ec18b97f5c
Stop completion when the match is perfect
to avoid the completion insisting showing up after a completion.
2016-07-03 11:34:23 -03:00
George Marques
805b668d7f
Fix code completion sorting 2016-07-03 11:32:30 -03:00
Juan Linietsky
ec94dd7eee Fixed the order of input, reverts #4384, closes #5361 2016-07-01 11:42:09 -03:00
Juan Linietsky
8cbb154466 Color picker was getting too much focus, made it get not as much focus.
This abuse of focus was the original culprit of #5354
2016-07-01 10:55:35 -03:00
Juan Linietsky
3185ce64c5 Invalidate key focus if not visible, fixes #5354 2016-07-01 10:42:33 -03:00
Juan Linietsky
db9335f4c1 Improved drag&drop to work as n-piggeon wants to use, closes #5342 2016-07-01 10:34:38 -03:00
Juan Linietsky
f6725f9768 throw error if GridContainer::set_columns goes below 1, closes #5316 2016-06-30 18:54:54 -03:00
Juan Linietsky
b391306828 Make both signals be ordered and samplelibrary items too, fixes scenes changing for git, closes #5289 2016-06-30 18:43:47 -03:00
Juan Linietsky
89bb72b2d3 Only emit item_selected once per Tree row, closes #5280 2016-06-30 17:52:32 -03:00
Paulb23
050a514799 Fixed signal connection prints when moving docks, issue 5498 2016-06-30 15:12:14 +01:00
Timo Schwarzer
185ba75bfa Fix Camera2D header for align() 2016-06-30 16:07:48 +02:00
Rémi Verschelde
a99ca66ce5 Merge pull request #5449 from sanikoyes/Pr-placeholder-line-edit
Add placeholder property for line_edit
2016-06-30 08:06:26 +02:00
Rémi Verschelde
da2f7e3c38 Merge pull request #5419 from djrm/shortcuts
Shortcuts for script switching in script Mode
2016-06-30 08:04:26 +02:00
Rémi Verschelde
fcf6977610 Merge pull request #5487 from Paulb23/function_highlighting_issue_5454
Fixed function highlighting with spaces
2016-06-30 07:57:31 +02:00
Juan Linietsky
ac6257bf8a only call finished signal when it really finishes, closes #5222 2016-06-29 18:46:43 -03:00
Juan Linietsky
449a28e75a make property not be applied in skeleton if not inside tree. This will eventually e changed. Fixes #5205 2016-06-29 18:39:29 -03:00
Juan Linietsky
fe5ee68489 Merge pull request #5429 from Paulb23/selected_text_highlighting_issue_5199
Fixed selected text turning black, issue 5199
2016-06-29 18:31:47 -03:00
Juan Linietsky
e5fc62cc4b remove unnecesary warning, closes #5169 2016-06-29 18:27:12 -03:00
Timo Schwarzer
ae055ebf82 Add align() to realign the Camera2D to its tracked node
align() will center the tracked Node if anchor mode is set to DRAG_CENTER, otherwise the camera is set to the Node's position
2016-06-29 18:17:11 +02:00
Jean Jung
aeb5365e84 Adding support to get the raw text without formatting information from a RichTextLabel. 2016-06-29 12:43:51 -03:00
Timo Schwarzer
6686fbc1e0 Add reset_smoothing() for immediately fixing the camera to the destination location 2016-06-29 17:40:29 +02:00
Paulb23
484f4d8dec Fixed function highlighting with spaces 2016-06-29 15:29:22 +01:00
George Marques
5e0edcc480 Merge pull request #5468 from jejung/itemlist-get-selected_items
itemlist-get_selected_items
2016-06-28 19:21:57 -03:00
Jean Jung
2fd9b77828 itemlist-get_selected_items 2016-06-28 14:09:17 -03:00
Pedro J. Estébanez
a5e27503fd Homogeinize resource formats loaders/savers 2016-06-28 18:27:12 +02:00
Juan Linietsky
5065e46381 Change method of storing folding, solves problems with inheritance, closes #3395 2016-06-28 13:10:15 -03:00
Juan Linietsky
519fce94e9 Remove error when getting dependencies from tscn files in some cases, closes #3897 2016-06-28 12:35:11 -03:00
Juan Linietsky
8e1c0f287d Fixed bug in instance state ordering, closes #3904 2016-06-28 09:47:03 -03:00
sanikoyes
c702981d57 add placeholder alpha property 2016-06-28 11:45:17 +08:00
Juan Linietsky
ba5bc57816 Figured out a way to fix event propagation for shortcuts and some other cases so they properly stop shortcuts if a modal window is open, closes #4848 2016-06-27 20:14:59 -03:00
Juan Linietsky
efdcf205d2 Make most resources (save for packedscenes and scripts) reload if they change on disk. Closes #4059. 2016-06-27 13:17:20 -03:00
Juan Linietsky
88e28af5e3 Add a small workaround to avoid modal tabs to be closed if they are spawned in the same frame, closes #3837 2016-06-27 11:22:13 -03:00
Juan Linietsky
e2d208f122 Ability to rotate controls using tool, closes #3800 2016-06-27 10:47:51 -03:00
Juan Linietsky
47d6cc08bb Properly deliver localized coordinates when passing gui events through parents, closes #4215 2016-06-27 10:00:36 -03:00
sanikoyes
081c400ac6 Add placeholder property for line_edit
this useful for user input tip
2016-06-27 19:47:40 +08:00
Pedro J. Estébanez
6ce47d9b51 Improve parallax mirroring algorithm
Replaces the iterative approach currently used by an equivalent direct computation.
Also fixes infinite looping that happens when the mirroring value is negative.
2016-06-27 10:40:33 +02:00
Rémi Verschelde
da034f324a Revert "Added toggle for loop interpolation based on adolson's code"
This reverts commits 8884b8f519
bd5c8f2aa0
and 5cb31f6d5b.

<reduz> Akien, I understand the need for the second loop mode, but I think
the current UI is pretty confusing. I think this should be changed for an
enum, both there and in the animation.. otherwise we should revert it
[...]
<reduz> alternatively this could be added per track, which I think should
make it a little less confusing

Reopens #959..
2016-06-26 23:45:18 +02:00
Juan Linietsky
10f411b47b Avoid mirroring to go negative to fix crash, closes #4036 2016-06-26 16:51:13 -03:00
Juan Linietsky
282da142ae Added an option to ParallaxLayer to add an extra scroll offset, helps if you want to make clouds to move by themselves and animate that, for example. 2016-06-26 16:22:20 -03:00
Rémi Verschelde
0be12898a7 Revert "Improve parallax mirroring algorithm" 2016-06-26 18:03:15 +02:00
Juan Linietsky
130b83bc52 Ability to set draw transform as a matrix, closes #5428 2016-06-26 13:01:17 -03:00
Paulb23
7f98f37f13 Fixed selected text turning black, issue 5199 2016-06-26 16:38:16 +01:00
Daniel J. Ramirez
8f259ff5ca Shortcuts for script switching in script Mode 2016-06-26 10:21:02 -05:00
Rémi Verschelde
b02d67be30 Merge pull request #5307 from MarianoGnu/master
TextureRegion improvements
2016-06-26 09:43:45 +02:00
Rémi Verschelde
e4c5a16a2c Merge pull request #5397 from djrm/gizmos_fix
Added high resolution icons for the Gizmos
2016-06-25 10:28:58 +02:00
Daniel J. Ramirez
b8190fbef6 Added high resolution icons for the Gizmos, fixes #1638 2016-06-24 22:42:42 -05:00
Rémi Verschelde
22c9a44174 Merge pull request #5391 from RandomShaper/parallax-layer-fix-tidy
Improve parallax mirroring algorithm
2016-06-24 21:26:54 +02:00
Rémi Verschelde
001294ed35 Merge pull request #5386 from Paulb23/code_completion_color_theme
Exposed code completion colors to the text edit theme
2016-06-24 21:19:30 +02:00
Rémi Verschelde
d52fa2e0eb Merge pull request #5380 from vnen/string-canvasitem-docs
Documentation for String and CanvasItem
2016-06-24 21:16:20 +02:00
Rémi Verschelde
06c6516604 Merge pull request #5379 from neikeq/pr-issue-5375
Fix weird deselection behaviour with text field
2016-06-24 21:14:47 +02:00
Rémi Verschelde
118f54aeeb Merge pull request #5328 from Paulb23/line_edit_caret
Added caret blink to line edit
2016-06-24 21:13:26 +02:00
Pedro J. Estébanez
fbddc0b747 Improve parallax mirroring algorithm
Replaces the iterative approach currently used by the standard fmod() function.
Also fixes infinite looping that happens when the mirroring value is negative.
2016-06-24 18:39:56 +02:00
Paulb23
b643d9af6f Exposed code completion colors to the text edit theme 2016-06-24 16:33:29 +01:00
Ignacio Etcheverry
f1e7552722 Fix weird deselection behaviour with text field
- TextEdit will now deselect if Ctrl+Left/Right is pressed
- TextEdit and LineEdit no longer deselect text when Alt is pressed (except with Apple style keys)
2016-06-24 14:26:40 +02:00
Juan Linietsky
9e0b6057e7 Make button aware of it being dragged and reset state, closes #4178 2016-06-23 18:20:39 -03:00
George Marques
b06d235ce8
Rename CanvasItem.edit_get() to edit_get_state()
This makes more sense of what it does and correlates to edit_set_state()
2016-06-23 17:59:37 -03:00
Juan Linietsky
a8f8f52b19 Fix issue saving flags (size fill expand), fixes #4176 2016-06-23 17:03:34 -03:00
Rémi Verschelde
0a72f9ccb8 Merge pull request #5362 from J08nY/png
libpng: New version 1.6.27
2016-06-23 07:40:03 +02:00
Juan Linietsky
d6225b1e00 Improved binding system (ObjectTypeDB::bind_method) to be friendlier to statically typed languages, should help in the Mono integration.
Disabled by default.
2016-06-22 23:13:41 -03:00
J08nY
0ab05b09e4
Fixed iCCp chunk in pngs
neccesary for libpng 1.6.27 to work silently
2016-06-22 21:13:29 +02:00
m4nu3lf
cfa11777c0 AnimationTreePlayer filters improved
Now the AnimationTreePlayer filters for Blend2 and OneShot nodes
behave as expected, that is the main animation is not affected by
the secondary animation if the track is filterd out for arbitarily
complex trees.
2016-06-22 19:34:12 +01:00
Paulb23
4f54e72189 Added setting to toggle line edit caret blink 2016-06-22 13:26:44 +01:00
Paulb23
e09e036565 Line edit caret no longer draws on focus loss 2016-06-22 13:26:44 +01:00
Paulb23
e65eba664f Added caret blink to line edit 2016-06-22 13:20:48 +01:00
Rémi Verschelde
87cb3629f2 Merge pull request #5344 from Paulb23/code_completion_colors
Code completion box colors
2016-06-22 07:51:33 +02:00
Bojidar Marinov
f3342eb72e
Fix a inherited transform bug with Camera2D preview drawing
Closes #5339
2016-06-21 22:35:04 +03:00
Paulb23
45f0dec55c Added code completion existing color setting 2016-06-21 17:34:38 +01:00
Paulb23
706895a922 Added code completion selected color setting 2016-06-21 17:21:55 +01:00
Paulb23
a40cb680ca Added code completion background color setting 2016-06-21 16:50:31 +01:00
Rémi Verschelde
91ee2f6059 Merge pull request #5335 from J08nY/loop-interpolation-scene-fix
Animation: Fix property loop_interpolation
2016-06-21 17:28:14 +02:00
J08nY
bd5c8f2aa0
Animation: Fix property loop_interpolation
fixes #5317
2016-06-21 14:11:26 +02:00
Saracen
912afb129f Make return type explicit. 2016-06-21 12:41:28 +01:00
Rémi Verschelde
029ca80dca Merge pull request #5321 from Paulb23/caret_hidden_issue_5320
Fixed caret not drawing on focus regain
2016-06-21 12:02:18 +02:00
Juan Linietsky
d76ee09774 property remove parent owned nodes when using replace, fixes #4128 2016-06-20 22:57:07 -03:00
Juan Linietsky
fa0d1cd27c fix CanvasItem.get_global_transform() and CanvasItem.get_local_transform(), closes #4075 2016-06-20 21:19:12 -03:00
Juan Linietsky
ad8d4a6b26 Fixed the order of events called by _input, closes #4384 2016-06-20 19:09:14 -03:00
Juan Linietsky
6872139300 Add quotes to .tscn keys, solves #4366 2016-06-20 18:41:59 -03:00
Juan Linietsky
85d8000449 Allow mouse wheel to go throuhgh so scroll containers work properly, fixes #4431 2016-06-20 17:16:52 -03:00
Juan Linietsky
6bdd17f07c Fix error storing path for children of instanced nodes in .tscn, fixes #4320 fixes #4579 fixes #4580 2016-06-20 17:09:53 -03:00
MarianoGNU
79c500bee1 Modify margins with mouse input 2016-06-20 17:06:19 -03:00
Paulb23
8f6b56cfda Fixed caret not drawing on focus regain 2016-06-20 20:29:58 +01:00
Juan Linietsky
0e07f49a03 Make dure to only call drop_data if can_drop_data returned true, closes #4616 2016-06-20 10:29:52 -03:00
Rémi Verschelde
3668768463 Merge pull request #5196 from vnen/similarity-code-completion
Improve code completion search
2016-06-20 13:37:24 +02:00
Patrick Reh
fff4d5867c Added Tile Origin = Bottom Left option to the TileMap 2016-06-20 12:18:53 +02:00
MarianoGNU
0f1a717c64 Remove unused connection. ShaderEditor should'nt handle ShaderGraphs.
Fixes #4678 && #4745
2016-06-20 00:50:33 -03:00
Juan Linietsky
0db02f26b6 -Added options for scene import plugin to keep materials and user-added tracks to animations, please test! closes #4425 2016-06-20 00:20:30 -03:00
Rémi Verschelde
618d34463d Merge pull request #5298 from Paulb23/caret_draw_focus
Text Edit no longer draws caret on focus loss
2016-06-19 18:58:31 +02:00
George Marques
5cb31f6d5b
Replace 'or'/'and' keywords
Some compilers do not like this.
2016-06-19 12:36:50 -03:00
Paulb23
8cbd0b9ae3 Text Edit no longer draws caret on focus loss 2016-06-19 16:11:16 +01:00
George Marques
66e7ddb55b
Improve code completion search
- List completion by subsequence match.
- Case insensitive.
- Sort completion list by similarity.
2016-06-19 11:43:47 -03:00
George Marques
831ae2d510
Fix TextEdit cursor position after undo remove text
It was going to where the text started, now it goes to where the text
ends.
2016-06-19 11:43:47 -03:00
Rémi Verschelde
b9f944ed5c Merge pull request #5271 from neikeq/pr-issue-1004
LineEdit cursor fixes and improvements
2016-06-19 13:06:31 +02:00
Rémi Verschelde
c7b425ed9c Merge pull request #5259 from neikeq/pr-textedit-zoom
TextEdit: Change font size with Ctrl+Mouse Wheel Up/Down
2016-06-19 13:04:20 +02:00
Rémi Verschelde
360cebaf23 Merge pull request #5234 from Paulb23/fix_error_tab_print
Fixed error: set_current_tab print on project open
2016-06-19 13:00:12 +02:00
Rémi Verschelde
40944ddffb Merge pull request #5085 from RandomShaper/remove-unreachable-code
Remove found dead code
2016-06-19 12:45:36 +02:00
Rémi Verschelde
3520902194 Merge pull request #4724 from Cybolic/optional-loop-interpolation
Added toggle for loop interpolation based on adolson's code
2016-06-19 12:30:22 +02:00
Juan Linietsky
400febf585 Add function to get the color picker dialog from ColorPickerButton, closes #4415 2016-06-19 02:08:22 -03:00
Juan Linietsky
7c20c386c5 -Added trigger mode to tracks, useful for properties that work as triggers, such as playing a sample, an animation, etc.
-Better interpolation of discrete tracks, fixes #4417
2016-06-19 01:43:02 -03:00
Juan Linietsky
0bbb0d0caa DynamicFontData can be built-in (will still link to a ttf though), closes #4600 2016-06-18 19:03:53 -03:00
Ignacio Etcheverry
4928cc34eb LineEdit: Word jumping and OSX hotkeys 2016-06-18 20:53:46 +02:00
Rémi Verschelde
c3bf11d4d4 Drop fully commented-out files
Part of #5272
2016-06-18 20:23:49 +02:00
Rémi Verschelde
b7dbf9207a Drop empty files that are not used anywhere
Part of #5272
2016-06-18 19:46:30 +02:00
Ignacio Etcheverry
bc9f9b1c6a TextEdit: Change font size with Ctrl+Mouse Wheel Up/Down 2016-06-18 18:47:11 +02:00
Juan Linietsky
adc13e9027 Make ".." always appear even if dir is unlistable (likely lacking permissions), closes #1938 2016-06-18 12:51:27 -03:00
Ignacio Etcheverry
99612207b7 LineEdit: Fix and improve selection behaviour 2016-06-18 16:14:43 +02:00
Rémi Verschelde
a7fc04626a Add missing license headers in our source files (#5255)
Also removes a couple wrong Godot headers from third-party source files.
2016-06-18 14:46:12 +02:00
Błażej Szczygieł
aebad5de5f Fix Theora video playback without a Vorbis stream
- prevent audio resampler errors when number of channels is 0,
- don't check for 'audio_done' when there is no audio data.

(cherry picked from commit 763b29f34e)
2016-06-18 00:49:55 +02:00
Juan Linietsky
65bcde0a7d TabContainer now reports proper minimum size, closes #4896 2016-06-17 18:38:40 -03:00
Juan Linietsky
95dc15b750 Send body inout notifications after state is applied, fixes #4683 2016-06-17 16:45:10 -03:00
Juan Linietsky
6a68ce9c93 Fix bug in GridContainer not updating minimumsize when columns changes, fixes #4677 2016-06-17 16:40:40 -03:00
Juan Linietsky
55b83157e7 Keep track of when fonts change, so theme or controls that use fonts as overrides get properly updated.
closes #4622 , probably closes many other issues too
2016-06-17 16:01:30 -03:00
Juan Linietsky
9f2f8c9130 fixes compilation error on visual studio, closes #5249 2016-06-17 10:34:44 -03:00
Juan Linietsky
f0d9245ecf -added missing .inc files
-Made it possible to change the editor theme
-Added two options to theme editor plugin to create empty template themes and editor themes
-Make sure that saved themes to .tres keep the null theme fields, to make it easier to keep those when saving/loading the theme
2016-06-17 01:13:23 -03:00
Juan Linietsky
816b3fa94d It is now possible to set a default custom theme, whether you want a hidpi default theme, or just use a custom font for the default theme 2016-06-16 20:05:22 -03:00
Paulb23
a3481ed1c7 Fixed error: set_current_tab print on project open 2016-06-15 18:19:34 +01:00
UgisBrekis
d97e46ffb6 Adds the ability to draw parent-children relationship lines in scene tree editor
Can be turned on/off in editor settings + line color change available as
well
2016-06-15 18:10:19 +01:00
Rémi Verschelde
41677df7cf Merge pull request #5218 from djrm/new_icons
Some theme icons and better exporter
2016-06-15 13:43:56 +02:00
Rémi Verschelde
0f1ae03626 Merge pull request #5149 from m4nu3lf/master
TimeSeek node in AnimationTreePlayer now propagates filters
2016-06-15 08:14:35 +02:00
Daniel J. Ramirez
131cd1399c Added some theme icons and its sources 2016-06-14 21:40:24 -05:00
Juan Linietsky
333de40180 does not fix the bug reported in #4326 and #4818,
but at least make sure it throws and error and does not crash
2016-06-14 08:57:00 -03:00
Juan Linietsky
c204170232 correctly wrap lines longer than width in richtextlabel, fixes #4735 2016-06-14 08:10:25 -03:00
Juan Linietsky
37ed2bae69 Better error text when trying to add/remove/move child nodes in a busy parent, closes #4838 2016-06-13 22:46:18 -03:00
Juan Linietsky
944c7e2603 fix crash when clearing dynamicfontdata, closes #4877 2016-06-13 22:24:11 -03:00
Juan Linietsky
4866713bc3 added a function CanvasItem.get_item_and_children_rect() , fixes #4738 2016-06-13 21:37:04 -03:00
Juan Linietsky
26d63b5594 propagate theme changes properly even through 2D nodes, fixes #4754 2016-06-13 21:11:24 -03:00
Juan Linietsky
d03f1131d7 Merge pull request #5058 from neikeq/pr-issue-1461
Preserve signal connections when replacing target node
2016-06-13 15:50:31 -03:00
Juan Linietsky
28034190a9 Merge pull request #5176 from marcelofg55/master
Fixed overloaded virtual functions with const vs none warning
2016-06-13 15:45:13 -03:00
Juan Linietsky
f0abda999e resolve numerical error when comparing instancing an inheritance to avoid saving changed properties when they didn't, closes 4759 2016-06-12 19:33:07 -03:00
Juan Linietsky
be223c91f9 fixed tile map editor plugin, all previews are now the same size, closes #4983 2016-06-12 17:10:34 -03:00
Juan Linietsky
4667f9e61e Changed how min/max icon size in ItemList works and replaced it by a fixed size. Fixes many issues, closes #4907 2016-06-12 16:52:22 -03:00
Juan Linietsky
c1056a9bfb Fixed ancient bug that prevented proper theme editing, closes #4924 2016-06-12 15:31:38 -03:00
marcelofg55
3787856563 Fixed overloaded virtual functions with const vs none warning 2016-06-12 13:31:22 -03:00
Juan Linietsky
83bf8036de rewrote LineEdit window repositioning code so it does not eat the last character, closes #4992 2016-06-12 12:05:21 -03:00
Juan Linietsky
1555608276 fix how some display values are shown, fixes #4953 2016-06-11 22:16:40 -03:00
Juan Linietsky
ef9720c8f0 fix crash in SamplePlayer, closes #5005 2016-06-11 21:18:19 -03:00
Juan Linietsky
ef2f6a18d2 make sure tab is not visible in RichTextLabel, closes #5079 2016-06-11 20:04:00 -03:00
Juan Linietsky
f860915ae0 Made many built-in gdscript functions return more descriptive errors, closes #5150 2016-06-11 19:43:38 -03:00
Juan Linietsky
d5e2b59c84 Added options to keep scale and keep aspect centered to TextureFrame, closes #5114 2016-06-11 18:49:35 -03:00
Juan Linietsky
b75fb6674b do not allow picking in captured mode, closes #5134 2016-06-11 17:44:52 -03:00
Juan Linietsky
db1e9bac79 better rewording 2016-06-11 17:25:43 -03:00
Juan Linietsky
375fbe5c7c Show descriptive errors when look_at is improperly used, closes #5131 2016-06-11 17:22:48 -03:00
Juan Linietsky
b5f2ea542a Merge pull request #5161 from neikeq/pr-imp-sc-tooltip
BaseButton: Add identifier for shortcut in tooltip
2016-06-11 17:01:15 -03:00
Ignacio Etcheverry
90b3f702bd BaseButton: Add identifier for shortcut in tooltip 2016-06-11 21:53:48 +02:00
m4nu3lf
048f5a6b75 TimeSeek node in AnimationTreePlayer now propagates filters 2016-06-10 23:23:09 +01:00
Juan Linietsky
c5a2aff6db fixes wrong bool return, closes #5037 2016-06-09 22:30:34 -03:00
Juan Linietsky
6b7ddce183 Fix last line of label being deleted by line spacing 2016-06-09 22:16:13 -03:00
Juan Linietsky
678563a3b9 Merge branch 'master' of https://github.com/godotengine/godot 2016-06-09 22:07:19 -03:00
Juan Linietsky
8266cf46b5 Reverted a PR i don't understand how to find but fixes #5097 2016-06-09 22:05:41 -03:00
Juan Linietsky
45d1ffd611 Revert "Fix min size bug of Label" 2016-06-09 21:57:38 -03:00
Ignacio Etcheverry
dc2ea39f24 Preserve signal connections when replacing the target node 2016-06-09 16:47:34 +02:00
Juan Linietsky
beabefe432 port changes from AnimatedSprite to AnimatedSprite3D 2016-06-08 18:03:06 -03:00
Paulb23
e260e3872c Caret blink no longer updates when hidden, issue 5100 2016-06-08 14:02:39 +01:00
Juan Linietsky
47944098c2 Merge pull request #5007 from bojidar-bg/asset-store
Update asset library editor plugin, adding a bit new functionality and fixes
2016-06-08 07:58:06 -03:00
Juan Linietsky
32fa1e3ee6 Merge pull request #5088 from Paulb23/breakpoint_marker_scaling
Improved breakpoint marker position, and scales with font size
2016-06-08 07:55:29 -03:00
Juan Linietsky
040c87ea7b Merge pull request #5093 from DimOkGamer/more_translatable_strings
Fixed localization in file dialogs
2016-06-08 07:54:05 -03:00
Juan Linietsky
d61b91cbe0 -Heavily improved editor startup and exit performance 2016-06-07 22:10:09 -03:00
DimOkGamer
9c762fef0f rtr instead ttr 2016-06-07 23:24:32 +03:00
DimOkGamer
ceae11ee29 Fixed localization in file dialogs
and two more lines.
2 fixes in ru.po.
2016-06-07 22:48:16 +03:00
Bojidar Marinov
e4a24812cd
Update asset library editor plugin - new functionality and fixes 2016-06-07 21:49:19 +03:00
Paulb23
d66b034bd1 Improved breakpoint marker position, and scales with font size 2016-06-07 16:59:16 +01:00
Pedro J. Estébanez
3df26825b4 Remove found dead code 2016-06-07 13:46:31 +02:00
Rémi Verschelde
0729c852b4 Fix indentation issues in last commits
Ping @reduz.
2016-06-07 07:39:40 +02:00
Juan Linietsky
06bc4e20d3 Merge pull request #4101 from SaracenOne/listener
Added New Listener Spatial Node.
2016-06-06 22:13:23 -03:00
Juan Linietsky
aec5506414 properly pass events to parent controls, closes #4701 2016-06-06 22:03:29 -03:00
Juan Linietsky
e535c942f3 Merge branch 'master' of https://github.com/godotengine/godot 2016-06-06 21:15:13 -03:00
Juan Linietsky
2b9cab25c0 -Fix small bug regarding to canvas layer detection, closes #4381 2016-06-06 21:14:25 -03:00
Juan Linietsky
736b65e566 Merge pull request #4977 from SaracenOne/scripting_expose
Expose extra methods and constants to scripts
2016-06-06 20:27:40 -03:00
Juan Linietsky
be830d10c2 Merge pull request #5026 from Geequlim/patch9frame-extension
Enhanced Patch9Frame
2016-06-06 20:15:33 -03:00
Juan Linietsky
9df4c18853 Merge pull request #5056 from SaracenOne/bitmask_import_plugin
Bitmask import plugin
2016-06-06 20:07:30 -03:00
Paulb23
a0eb297cfc Fix error tab index out of size print, issue 4997 2016-06-06 20:25:19 +01:00
Saracen
1dab0aab7c Bitmask import plugin 2016-06-05 19:14:39 +01:00
volzhs
f792f63b03 Fix min size bug of Label
caused by #5030
2016-06-06 00:09:02 +09:00
Juan Linietsky
cee94b6119 changed TTR for RTR 2016-06-05 00:25:15 -03:00
Juan Linietsky
c1028b9011 fix for travis 2016-06-04 21:45:50 -03:00
Juan Linietsky
007efb6a20 -customizable shortcuts in editor
-editor settings now save to .tres instead of .xml
-buttons can now hold a shortcut
2016-06-04 21:31:47 -03:00
Geequlim
5894060abb Enhanced StyleBoxTexture:
Add texture region support for StyleBoxTexture.
  Quick region(texture region and scale region) selection for StyleBoxTexture with TextureRegionEditorPlugin.
2016-06-05 00:45:53 +08:00
Geequlim
9546b2ffd4 Add plugin to pick texture region and patch margins for Patch9Frame 2016-06-05 00:45:53 +08:00
Geequlim
dc3cef7c4d Add texture region support for Patch9Frame 2016-06-05 00:45:53 +08:00
Geequlim
fdf914e53e Add texture region support for stylebox render 2016-06-05 00:45:53 +08:00
Juan Linietsky
3ae61f2292 Created a NodeDock with signals and groups 2016-06-04 13:19:08 -03:00
Saracen
b160a26abd Expose control theme element and override detection methods to scripting side. 2016-06-04 16:42:07 +01:00
Rémi Verschelde
280e3611b9 Merge pull request #5032 from akien-mga/pr-defaut-linear-damp
Physics2D: Rename default_density to default_linear_damp
2016-06-04 16:08:37 +02:00
Rémi Verschelde
f1cd33b539 Merge pull request #5030 from sanikoyes/Pr-fix-label-minsize
fix line_edit&label get min size bug&draw problem
2016-06-04 16:08:25 +02:00
Rémi Verschelde
cbba9c4506 Merge pull request #4300 from leezh/control_focus_mode
Exposed Control::focus_mode to the scene editor
2016-06-04 14:41:36 +02:00
Rémi Verschelde
a068152ba0 Physics2D: Rename default_density to default_linear_damp
Also adds a proper deprecating warning and tries to do some porting automatically.
Supersedes #4109.
2016-06-04 14:05:53 +02:00
sanikoyes
5f7b42cb87 fix line_edit&label get min size bug
fix line_edit draw char(x ofs_max)
2016-06-04 18:10:11 +08:00
J08nY
dd4eaa1005 Exposed a RESULT_DOWNLOAD_FILE_CANT_OPEN constant to docs and GDScript. 2016-06-03 18:03:12 +02:00
Juan Linietsky
33bb0491f8 Merge pull request #4952 from sanikoyes/Pr-fix-stb-font-prop
fix stb font property names
2016-06-01 10:33:28 -03:00
Juan Linietsky
df139f57b3 Some cleanup to GDScript
separated GDFunction (VM) from GDScript in two different files
2016-05-31 22:33:43 -03:00
sanikoyes
21bcf4a8aa fix stb font property names 2016-05-31 21:23:51 +08:00
Rémi Verschelde
9418b81c74 Merge pull request #4916 from Paulb23/current_line_highlighting
Current line highlighting draws behind line numbers and breakpont gutter
2016-05-31 07:35:27 +02:00
Juan Linietsky
4d6d6fcbfc Merge remote-tracking branch 'origin/master' 2016-05-30 19:53:19 -03:00
Juan Linietsky
0eb6c644b2 changed font system to use fallbacks
this way more than 64k characters can be used
2016-05-30 19:41:32 -03:00
Rémi Verschelde
78b4dcf84d Merge pull request #4920 from neikeq/pr-search-bar-fix
Fixed and improved search bar
2016-05-30 22:33:01 +02:00
Ignacio Etcheverry
7e4c58c563 Fixed and improved search bar
- Search no longer selects the results
- Return focus to the text editor when hiding the bar
- Fix connecting to invalid signal
- Update/redraw the text editor after searching
2016-05-30 18:15:41 +02:00
Paulb23
6ae126ef9b Current line draws behind line numbers and breakpont gutter 2016-05-30 16:28:31 +01:00
Geequlim
dde995a513 Make dialogs translatable 2016-05-30 22:23:53 +08:00
Juan Linietsky
9b1f8230ec -Some fixes to OSX retina scaling for window functions
-Implemented HiDPI detection and support for Godot Editor!
2016-05-30 00:28:29 -03:00
Rémi Verschelde
c2b1315689 Merge pull request #4847 from Hinsbart/fix_icon_scale_new
Proper alignment and fixed scaling for TileMapEditor tile icons.
2016-05-29 18:39:05 +02:00
Rémi Verschelde
e8d5ff5169 Merge pull request #4823 from Paulb23/fix_backspace_selection_redo_crash
Fix crash when redoing backspace to clear selection
2016-05-29 18:34:31 +02:00
Rémi Verschelde
d3b46b6bf2 Merge pull request #4822 from Paulb23/breakpoint_marker_issue_4750
Added breakpoint markers, issue 4750
2016-05-29 18:34:13 +02:00
Rémi Verschelde
6a7530c718 Merge pull request #4812 from neikeq/pr-search-bar
ScriptEditor/ShaderEditor: Replace find/replace dialog with a bar
2016-05-29 18:32:06 +02:00
Juan Linietsky
3e8eb396d7 Finalized DynamicFont implementation
-DynamicFont uses Freetype by default
-Editor fonts are now scalable thanks to this
-Cleaned up documentation browser and added fonts for this
2016-05-29 11:37:52 -03:00
Ignacio Etcheverry
51be9beec9 ScriptEditor/ShaderEditor: Replace find/replace dialog with a bar 2016-05-29 14:26:19 +02:00
Ignacio Etcheverry
aba972238e TextEdit: Improve search method to avoid overlapping results 2016-05-28 18:23:49 +02:00
Ignacio Etcheverry
65fa8f91ca TextEdit: Avoid capturing KEY_ESCAPE when there is no completion hint 2016-05-28 18:22:54 +02:00
Bojidar Marinov
ab97718d8a Reorder tiles into nice columns 2016-05-27 22:42:51 +03:00
Juan Linietsky
8be2fabbe5 Changed import workflow
-Rearrange favorites in fs dock with drag and drop
-Removed import -> sub-scene, moved to scenetree contextual menu
-Removed import -> re-import , moved and integrated to FS dock
-Added ability in FS dock to re-import more than one resource
simultaneously
-Added ability to drag from native filesystem explorer to Godot, only
works on Windows though
-Removed scene reimport merge options, never worked well. Eventually
merging materials should be re-added
-Added ability to set custom root node type when importing scenes
-Re-Import is now automatic, can be configured back to manual in editor
settings
-Added resource previews in property list for many resource types
2016-05-27 14:19:11 -03:00
Andreas Haas
7c1594ee5a Use scalar to scale TileMap icons 2016-05-27 18:54:46 +02:00
Paulb23
4a5997ec1c Fix crash when redoing backspace to clear selection 2016-05-26 14:45:11 +01:00
Paulb23
72fda444d1 Added breakpoint markers, issue 4750 2016-05-26 14:17:14 +01:00
Andreas Haas
677b77036a Allow ItemList icons to stretch to max size. 2016-05-24 20:36:46 +02:00
Rémi Verschelde
15e9f66a1a Merge pull request #4798 from Paulb23/caret_color_not_setting
Fixed caret colour not changing though properties
2016-05-24 17:09:46 +02:00
Paulb23
6dd538a7ae Fixed caret color not changing though properties 2016-05-24 15:21:34 +01:00
Rémi Verschelde
98e73429af Merge pull request #4792 from djrm/better_property_ranges
Better property ranges
2016-05-24 07:35:42 +02:00
Juan Linietsky
e843e74d39 General docks clean up
-Moved path box above in fs dock
-Remove up/down button and added reordering with DND of favorites
-Changed zoom icon to be centered vertically
-Made filter for files always visible
-Added some options to TextureFrame for better alignment/stretching
2016-05-23 23:24:32 -03:00
Daniel J. Ramirez
ba0baa3ca7 Modified damp ranges 2016-05-23 18:23:51 -05:00
Daniel J. Ramirez
c9350d7897 Clamped some light2D ranges 2016-05-23 17:56:10 -05:00
Juan Linietsky
d3495b128a -Improve resource previews
-Also fixed draw_texture_rect() tile parameter
2016-05-23 17:11:49 -03:00
Zher Huei Lee
0ccf153a15 GUI Focus mode improvements
Exposed `get_focus_mode()` to the script
Added `focus_mode` to the property panels for line-edit and sliders
Added `enabled_focus_mode` to the property panels for buttons

enabled_focus_mode is used when button is enabled/disabled
2016-05-23 15:08:50 +01:00
Ovnuniarchos
0d20ceeb61 Polygon2D now exposes vertex colors. 2016-05-23 03:40:45 +02:00
Juan Linietsky
b2a4908e9c Real-Time Remote Inspector support 2016-05-22 19:29:06 -03:00
Juan Linietsky
eacb8f04c4 Merge remote-tracking branch 'origin/master' 2016-05-21 22:34:55 -03:00
Juan Linietsky
a75f896338 First version of Profiler
It is now possible to profile GDScript as well as some parts of Godot
internals.
2016-05-21 21:18:16 -03:00
Hubert Jarosz
33403d91f7
remove trailing whitespace 2016-05-21 15:29:25 +02:00
Rémi Verschelde
da24bc8f3f VehicleBody: Cosmetic fixes to previous commit 2016-05-21 11:52:21 +02:00
Agustin Benavidez
97da9f14ab Add get_linear_velocity() method to VehicleBody class
Doc added also.
2016-05-21 11:35:55 +02:00
Rémi Verschelde
94c34ff890 i18n: Proofreading of all strings
Done to ensure that no important identifiers are translatable,
to fix compound strings using the new vformat() function, and
some general English proofreading here and there.
2016-05-21 00:21:57 +02:00
captainwasabi
4b80895082 Fix for tooltip blinking (#4713)
Moved where active tooltips are canceled to wait until the mouse actually moves off the control.
2016-05-20 13:56:42 +02:00
Christian Dannie Storgaard
8884b8f519 Added toggle for loop interpolation based on adolson's code 2016-05-20 13:13:32 +03:00
volzhs
ebcf04ff1f fix compile failure when tools=no 2016-05-18 14:29:53 +09:00
Rémi Verschelde
be4d95c19a CanvasModulate: fix build issue with GCC
Bug from c195c0d.
2016-05-17 23:47:26 +02:00
Juan Linietsky
c195c0df6b -Added configuration warning system for nodes
-Added a new "add" and "instance" buttons for scene tree
-Added a vformat() function to ease translation work
2016-05-17 18:28:44 -03:00
volzhs
d6ccea541d remove old bind for add_frame of SpriteFrames
it causes ``ERROR: Method already bound: SpriteFrames::add_frame``
2016-05-17 22:48:36 +09:00
Rémi Verschelde
02f3e7e766 Merge pull request #4659 from Paulb23/hex_notation_highlighting
Fixed hex notation highlighting
2016-05-17 09:33:44 +02:00
Rémi Verschelde
68dc685f1f Merge pull request #4652 from Paulb23/node_duplication_position
Node duplication positions under duplicated node, issue #964
2016-05-17 09:14:23 +02:00
Juan Linietsky
f93aaa9b78 Default editing popup for LineEdit and TextEdit 2016-05-16 20:25:17 -03:00
Juan Linietsky
f9d615ee87 Contextualized Scene Tree menu
-Added context menu to Scene Tree Dock
-Removed Buttons
-Added a filter to search for nods more easily in the dock
2016-05-16 12:23:58 -03:00
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