Commit Graph

883 Commits

Author SHA1 Message Date
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
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 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
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
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
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
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 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
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 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
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
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
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 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
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
Juan Linietsky 0b75f894c3 Merge pull request #5746 from Ovnuniarchos/FileDialogExposed
Corrections and additions to FileDialog
2016-07-24 12:36:05 -03: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
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
Juan Linietsky 93c3c801db properly implement item disabling, fixes #5683 2016-07-21 18:24:56 -03: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
Johan Manuel fc4ace3120 Fix the rotation not updating in the inspector with Controls 2016-07-21 00:26:36 +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
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
Ignacio Etcheverry c45837cf3f MenuButton: Fix event propagation with dialogs 2016-07-18 23:06:14 +02: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
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
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
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
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 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 a9956be63d Added completion font colors 2016-07-11 14:25:56 +01: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 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 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 3816fe9d19 RichTextLabel: Fix adding raw text when bbcode is disabled
Fixes #5605.
2016-07-09 14:26:49 +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
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 f6725f9768 throw error if GridContainer::set_columns goes below 1, closes #5316 2016-06-30 18:54:54 -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
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 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
Jean Jung aeb5365e84 Adding support to get the raw text without formatting information from a RichTextLabel. 2016-06-29 12:43:51 -03:00
Paulb23 484f4d8dec Fixed function highlighting with spaces 2016-06-29 15:29:22 +01:00
Jean Jung 2fd9b77828 itemlist-get_selected_items 2016-06-28 14:09:17 -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 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
sanikoyes 081c400ac6 Add placeholder property for line_edit
this useful for user input tip
2016-06-27 19:47:40 +08: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 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
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
Juan Linietsky a8f8f52b19 Fix issue saving flags (size fill expand), fixes #4176 2016-06-23 17:03:34 -03: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
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
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
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
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
Juan Linietsky 400febf585 Add function to get the color picker dialog from ColorPickerButton, closes #4415 2016-06-19 02:08:22 -03:00
Ignacio Etcheverry 4928cc34eb LineEdit: Word jumping and OSX hotkeys 2016-06-18 20:53:46 +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 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
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
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 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 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 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 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 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
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
Paulb23 e260e3872c Caret blink no longer updates when hidden, issue 5100 2016-06-08 14:02:39 +01: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
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
Paulb23 d66b034bd1 Improved breakpoint marker position, and scales with font size 2016-06-07 16:59:16 +01: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
Paulb23 a0eb297cfc Fix error tab index out of size print, issue 4997 2016-06-06 20:25:19 +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 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
Saracen b160a26abd Expose control theme element and override detection methods to scripting side. 2016-06-04 16:42:07 +01: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
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
Juan Linietsky df139f57b3 Some cleanup to GDScript
separated GDFunction (VM) from GDScript in two different files
2016-05-31 22:33:43 -03: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
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
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
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
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
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
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
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
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
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
Paulb23 b2bf266ddc Fixed hex notation highlighting 2016-05-15 01:32:43 +01: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
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 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