Commit Graph

1277 Commits

Author SHA1 Message Date
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