summaryrefslogtreecommitdiff
path: root/scene/gui
AgeCommit message (Collapse)Author
2018-09-27Fix warnings about unused variables [-Wunused-variable]Rémi Verschelde
Fixes the following GCC 5 warnings: ``` drivers/gles2/rasterizer_scene_gles2.cpp:1139:15: warning: unused variable 'offset' [-Wunused-variable] drivers/gles2/rasterizer_scene_gles2.cpp:1205:39: warning: unused variable 'multi_mesh' [-Wunused-variable] drivers/gles2/rasterizer_storage_gles2.cpp:359:7: warning: unused variable 'srgb' [-Wunused-variable] drivers/gles2/shader_gles2.cpp:1016:45: warning: unused variable 'texture_hints' [-Wunused-variable] editor/animation_track_editor.cpp:776:9: warning: unused variable 'keys_to' [-Wunused-variable] editor/editor_inspector.cpp:273:7: warning: unused variable 'vs_height' [-Wunused-variable] editor/editor_themes.cpp:202:10: warning: unused variable 'begin_time' [-Wunused-variable] editor/editor_themes.cpp:239:10: warning: unused variable 'end_time' [-Wunused-variable] editor/plugins/animation_blend_tree_editor_plugin.cpp:726:17: warning: unused variable 'an' [-Wunused-variable] editor/plugins/script_text_editor.cpp:1278:8: warning: unused variable 'fold_state' [-Wunused-variable] main/main.cpp:132:13: warning: 'use_vsync' defined but not used [-Wunused-variable] modules/cvtt/image_compress_cvtt.cpp:231:8: warning: unused variable 'y_end' [-Wunused-variable] modules/cvtt/image_compress_cvtt.cpp:311:6: warning: unused variable 'shift' [-Wunused-variable] modules/gdscript/gdscript_editor.cpp:58:7: warning: unused variable 'th' [-Wunused-variable] modules/gridmap/grid_map.cpp:1084:6: warning: unused variable 'ofs' [-Wunused-variable] modules/theora/video_stream_theora.cpp:442:9: warning: unused variable 'tr' [-Wunused-variable] modules/visual_script/visual_script_editor.cpp:2606:6: warning: unused variable 'count' [-Wunused-variable] modules/visual_script/visual_script_editor.cpp:2829:6: warning: unused variable 'seq_count' [-Wunused-variable] modules/visual_script/visual_script_editor.cpp:2844:24: warning: unused variable 'vnode_function' [-Wunused-variable] modules/websocket/lws_peer.cpp:122:12: warning: unused variable 'peer_data' [-Wunused-variable] modules/websocket/lws_peer.cpp:135:12: warning: unused variable 'peer_data' [-Wunused-variable] modules/websocket/lws_peer.cpp:63:12: warning: unused variable 'peer_data' [-Wunused-variable] modules/websocket/lws_peer.cpp:91:12: warning: unused variable 'peer_data' [-Wunused-variable] platform/android/export/export.cpp:763:16: warning: unused variable 'node_size' [-Wunused-variable] scene/gui/rich_text_label.cpp:850:10: warning: unused variable 'x_ofs' [-Wunused-variable] scene/gui/text_edit.cpp:653:8: warning: unused variable 'tab_w' [-Wunused-variable] scene/resources/bit_mask.cpp:186:6: warning: unused variable 'i' [-Wunused-variable] scene/resources/mesh.cpp:549:20: warning: '_array_name' defined but not used [-Wunused-variable] servers/audio/audio_rb_resampler.cpp:107:10: warning: unused variable 'v2' [-Wunused-variable] servers/audio/audio_rb_resampler.cpp:108:10: warning: unused variable 'v3' [-Wunused-variable] servers/audio/audio_rb_resampler.cpp:109:10: warning: unused variable 'v4' [-Wunused-variable] servers/audio/audio_rb_resampler.cpp:110:10: warning: unused variable 'v5' [-Wunused-variable] servers/audio/audio_rb_resampler.cpp:111:10: warning: unused variable 'v0n' [-Wunused-variable] servers/audio/audio_rb_resampler.cpp:112:10: warning: unused variable 'v1n' [-Wunused-variable] servers/audio/audio_rb_resampler.cpp:113:10: warning: unused variable 'v2n' [-Wunused-variable] servers/audio/audio_rb_resampler.cpp:114:10: warning: unused variable 'v3n' [-Wunused-variable] servers/audio/audio_rb_resampler.cpp:115:10: warning: unused variable 'v4n' [-Wunused-variable] servers/audio/audio_rb_resampler.cpp:116:10: warning: unused variable 'v5n' [-Wunused-variable] servers/visual/default_mouse_cursor.xpm:2:21: warning: 'default_mouse_cursor_xpm' defined but not used [-Wunused-variable] ```
2018-09-27Fix warnings for operator precedence disambiguation [-Wparentheses]Rémi Verschelde
Fixes the following GCC 5 warnings: ``` core/io/resource_format_binary.cpp:1721:29: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] core/typedefs.h:108:24: warning: suggest parentheses around comparison in operand of '!=' [-Wparentheses] editor/plugins/spatial_editor_plugin.cpp:2202:58: warning: suggest parentheses around comparison in operand of '!=' [-Wparentheses] editor/plugins/spatial_editor_plugin.cpp:5002:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] main/input_default.cpp:346:59: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] main/input_default.cpp:348:60: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] main/input_default.cpp:579:57: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] modules/gridmap/grid_map_editor_plugin.cpp:613:14: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] modules/theora/video_stream_theora.cpp:335:34: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] modules/theora/video_stream_theora.cpp:336:35: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses] modules/visual_script/visual_script_property_selector.cpp:215:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] scene/gui/rich_text_label.cpp:424:84: warning: suggest parentheses around '&&' within '||' [-Wparentheses] scene/gui/rich_text_label.cpp:512:80: warning: suggest parentheses around '&&' within '||' [-Wparentheses] scene/gui/scroll_container.cpp:173:36: warning: suggest parentheses around '&&' within '||' [-Wparentheses] scene/gui/scroll_container.cpp:173:86: warning: suggest parentheses around '&&' within '||' [-Wparentheses] scene/gui/tree.cpp:1419:98: warning: suggest parentheses around '&&' within '||' [-Wparentheses] ```
2018-09-27Inspector: Enable wrap for multiline text widgetRémi Verschelde
Fixes #22458.
2018-09-25Tweak some editor texts' capitalization, use "Go to" instead of "Goto"Hugo Locurcio
This also fixes a typo in the `debugger/debug_with_external_editor` shortcut.
2018-09-23Add proper strikethrough BBCode to RichTextLabelMichael Alexsander Silva Dias
2018-09-23Removed obsoleted core/helper/value_evaluator.h and moved math_fieldwise to ↵DualMatrix
core/math/ Removed obsoleted core/helper/value_evaluator.h and moved math_fieldwise to core/math/
2018-09-21Make EditorFileDialog be able to pick a folder when entering itMichael Alexsander Silva Dias
2018-09-20Merge pull request #22198 from DualMatrix/input_was_eatenRémi Verschelde
Fixed ctrl+up/down shortcut no longer working in scene tree
2018-09-20Fixed ctrl+up/down shortcut no longer working in scene treeDualMatrix
Fixed ctrl+up/down shortcut no longer working in scene tree.
2018-09-19Fix Label::get_minimum_size not updating cache size for autowrapGuilherme Felipe
2018-09-15Rename ScrollBar's drag_slave to drag_nodeRémi Verschelde
2018-09-13Merge pull request #22017 from YeldhamDev/errors_tab_changesRémi Verschelde
Add expand/collapse all buttons for the "Errors" tab
2018-09-13Merge pull request #21982 from luzpaz/misc-typosRémi Verschelde
Misc. typos
2018-09-12Add expand/collapse all buttons for the "Errors" tabMichael Alexsander Silva Dias
2018-09-12Misc. typosluz.paz
Found via `codespell -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"`
2018-09-12Fix default_cursor_shape for TextEditGuilherme Felipe
2018-09-12Merge pull request #21219 from AlexHolly/fix-textedit-shows-nothingRémi Verschelde
TextEdit update cache.size on ENTER_TREE
2018-09-12Merge pull request #21877 from DualMatrix/richlabelRémi Verschelde
Fixed the remove_line function in richtextlabel. It was totally broken
2018-09-12Merge pull request #21705 from KellyThomas/tree-create-itemRémi Verschelde
Change return value of Tree.create_item() from Object to TreeItem
2018-09-12Merge pull request #21654 from Calinou/textureprogress-transparent-tintRémi Verschelde
Allow transparent colors in TextureProgress tint properties
2018-09-12Make core/ includes absolute, remove subfolders from include pathRémi Verschelde
This allows more consistency in the manner we include core headers, where previously there would be a mix of absolute, relative and include path-dependent includes.
2018-09-10Merge pull request #21872 from Paulb23/fix_backwards_searchRémi Verschelde
Fix backwards search in TextEdit selecting non-whole words, issue 15677
2018-09-10Merge pull request #21491 from AlexHolly/fix-textedit-uncomment-spammRémi Verschelde
Uncommenting a selection was not updating the selection.
2018-09-08Fixed the remove_line function in richtextlabel. It was totally brokenDualMatrix
Fixed the remove_line function in richtextlabel. It was totally broken This fixes #21037
2018-09-08Fix backwards search in TextEdit selecting non-whole words, issue 15677Paulb23
2018-09-08Fixed scientific notaion not highlighting correctly, issue 21435Paulb23
2018-09-08Uncommenting a selection was not updating the selection.Alexander Holland
Also adds uncomment lines(ctrl+u) where # is not in first place
2018-09-07Many fixes to gradient editor, which was pretty broken. Closes #19308Juan Linietsky
2018-09-06Show a warning if you try to grab focus when not allowed, closes #15388Juan Linietsky
2018-09-03Change return value of Tree.create_item() from Object to TreeItemKelly Thomas
2018-09-01Change some instances of args named "ev" to "event"Michael Alexsander Silva Dias
2018-09-01Allow transparent colors in TextureProgress tint propertiesHugo Locurcio
2018-09-01Improve ClassDB information for some some signal parametersKelly Thomas
2018-08-31Make "Search Classes" dialog have relationship lines if the setting is enabledMichael Alexsander Silva Dias
2018-08-25TextEdit replaced cache.size with get_size()Alexander Holland
2018-08-25Merge pull request #21231 from AlexHolly/filedialog-fix-multi-selectionRémi Verschelde
Check all selected items on OPEN_MANY/OPEN_FILES in FileDialog, also …
2018-08-25Merge pull request #21358 from MidZik/masterRémi Verschelde
Disable ability to copy or cut text from LineEdit if secret mode is enabled.
2018-08-24Merge pull request #21385 from groud/fix_itemlist_signalRémi Verschelde
Fix a mistake in itemlist multi_select signal
2018-08-24Fix a mistake in itemlist multiselect signalgroud
2018-08-24Merge pull request #20586 from AlexHolly/text-edit-auto-completionRémi Verschelde
text_edit auto_completion
2018-08-24Merge pull request #21156 from MednauN/atlas-texture-fixRémi Verschelde
Fix AtlasTexture with NinePatchRect and TextureProgress
2018-08-24Avoid misuse of set_drag_preview() function where it shouldn't be. Closes #20100Juan Linietsky
2018-08-24Merge pull request #21356 from akien-mga/drop-shadergraphRémi Verschelde
Drop old ShaderGraph code, obsoleted by VisualShader
2018-08-24Make some debug prints verbose-only, remove othersRémi Verschelde
2018-08-24Drop old ShaderGraph code, obsoleted by VisualShaderRémi Verschelde
2018-08-24Disable ability to copy or cut text from LineEdit if secret mode is enabled.MidZik
2018-08-22Merge pull request #21152 from DualMatrix/fileselect_errorRémi Verschelde
Fixed !is_inside_tree() errors in file dialog
2018-08-21Fix grab/select of gradient editGuilherme Felipe
2018-08-20Massive rewrite to AnimationTree. Many APIs changed in order to:Juan Linietsky
-Reuse resources -Expose properties in AnimationTree
2018-08-20Check all selected items on OPEN_MANY/OPEN_FILES in FileDialog, also changed ↵Alexander Holland
confusing naming.