Commit graph

5515 commits

Author SHA1 Message Date
Rémi Verschelde 791da4cb83
Merge pull request #32048 from YeldhamDev/lineedit_right_icon_fix
Expose LineEdit's 'right_icon' and fix icon size
2019-09-23 09:51:45 +02:00
Rémi Verschelde cf1e914897
Merge pull request #32027 from lupoDharkael/group-order
Preserve group order in scene files
2019-09-23 09:24:56 +02:00
Rémi Verschelde 0782082433
Merge pull request #32003 from codecustard/fix_optionbutton_not_selecting
Fixes OptionButton Not Updating Current Selection
2019-09-23 08:46:09 +02:00
Michael Alexsander Silva Dias 94ad89a5fb Fix various problems with tab-related icons 2019-09-22 23:08:14 -03:00
Rémi Verschelde 0928e82027
Merge pull request #29895 from ptrojahn/menukey
Support menu key in TextEdit and LineEdit controls
2019-09-22 21:21:13 +02:00
qarmin 50be65bf43 Changed some code found by Clang Tidy and Coverity 2019-09-22 18:45:08 +02:00
Paul Trojahn ba24bc1e04 Support menu key in TextEdit and LineEdit controls
Related to #15542
2019-09-22 12:06:24 +02:00
Michael Alexsander Silva Dias 5d03aa12c9 Expose LineEdit's 'right_icon' and fix icon size 2019-09-21 21:14:14 -03:00
Paulb23 ef3455f236 Fixed going to doc reference while selecting text 2019-09-21 13:45:20 +01:00
Rémi Verschelde 2e065d8ad0
Merge pull request #32064 from m4gr3d/propagate_gl_surface_events
Notify for app pause and resume events on Android
2019-09-20 23:18:40 +02:00
Rémi Verschelde f7cd50e900
Merge pull request #32206 from Calinou/remove-unused-tree-constants
Remove an unused icon and constant in Tree
2019-09-20 23:14:50 +02:00
Hugo Locurcio 40a5de97e6
Remove an unused icon and constant in Tree 2019-09-20 17:50:13 +02:00
Rémi Verschelde 48db920f4a
Merge pull request #32190 from KoBeWi/undo_redo_stuff
Fix autocompletion undo
2019-09-20 17:22:11 +02:00
Rémi Verschelde c74b54f229
Merge pull request #32197 from YeldhamDev/fix_multiple_modals_dim
Fix editor dimming being disabled when a dialog is closed even when others are open
2019-09-20 17:13:44 +02:00
Rémi Verschelde fdc2463a1b
Merge pull request #32150 from luzpaz/typos
Fix misc. source comment typos
2019-09-20 17:09:05 +02:00
Tomasz Chabora a28d18f554 Load overrides if getting style from current class 2019-09-20 13:48:24 +02:00
fhuya a7712cc9e4 Add new events and accompanying logic to notify when the app is paused and resumed on Android devices. 2019-09-19 13:29:49 -07:00
luz.paz 91ecd7b6a6 Fix misc. source comment typos
Found using `codespell -q 3 -S ./thirdparty,*.po -L ang,ba,cas,dof,doubleclick,fave,hist,leapyear,lod,nd,numer,ois,paket,seeked,sinc,switchs,te,uint -D ~/Projects/codespell/codespell_lib/data/dictionary.txt `
2019-09-19 14:36:52 -04:00
Rémi Verschelde 1e73a44e24
Merge pull request #31904 from byfron/styleboxflag_uvcoords
Computes UV coordinates of the canvas_item vertices of StyleBoxFlat
2019-09-19 20:04:46 +02:00
Rémi Verschelde fae14153f7
Merge pull request #31188 from codecustard/LineEdit_disable_shortcuts
Add Ability to Enable/Disable Shortcuts and Selection for LineEdit/TextEdit
2019-09-19 19:56:59 +02:00
Relintai 838e474e66 Fix crash on some platforms in RichTextLabel. 2019-09-19 19:25:11 +02:00
Michael Alexsander Silva Dias 53c9eaf933 Fix editor dimming being disabled when a dialog is closed even when others are open 2019-09-19 00:46:10 -03:00
Juan Linietsky d81ddaf33e Added skin support and simplified APIs to override bone position. 2019-09-18 19:46:32 -03:00
Yuri Rou 6dcd4379ca Some formatting fixes in visual_shader_nodes.cpp 2019-09-18 19:04:40 +03:00
Tomasz Chabora d630472b98 Fix autocompletion undo 2019-09-18 16:26:33 +02:00
Hugo Locurcio c2bcc3f700
Use the same axis colors consistently in the 2D and 3D editors 2019-09-13 14:08:41 +02:00
Eoin O'Neill ebc6fb9869 Fix Sanitization Bug
From issue #32089 -- I messed up the property hints by putting them
in the wrong location. Should be working as intended now.
2019-09-11 16:39:24 -07:00
Emmanuel Barroga b8007b3947 Fix scrollwheel triggering focus change
Clicking or using the scrollwheel outside of the focused control triggers a focus change. This makes sense for mouse clicks, but scrollwheeling outside the focuses control does not. This PR ignores scrollwheeling outside of the focused control.
2019-09-08 18:13:44 -07:00
lupoDharkael d6269e1bc0 Preserve group order in scene files 2019-09-07 15:54:53 +02:00
Emmanuel Barroga b678d68224 Add Ability to Enable/Disable Shortcuts for LineEdit/TextEdit
This PR adds the ability to enable/disable shortcut keys and selection for LineEdit/TextEdit. It also updates the context menu when you disable/enable the shortcut keys or selection.
2019-09-07 06:06:36 -07:00
Emmanuel Barroga c2b902af4b Fixes OptionButton Not Updating if Current Selection Already Selected
When the option button's current selection is updated to a different text/icon, the selected option does not update until you unselect the option and then select it again.
2019-09-05 22:17:48 -07:00
Fabio Alessandrelli 768d637a1b
Merge pull request #31870 from JFonS/add_network_profiler
Add network profiler
2019-09-05 16:34:36 +02:00
jfons 8244f535cd Add network profiler 2019-09-05 09:48:36 +02:00
Rémi Verschelde 8bcf6ca953
Merge pull request #31979 from Eoin-ONeill-Yokai/bugfix-31973
CharFXTransform Type Hint Error
2019-09-05 09:46:34 +02:00
Chaosus89 c188c5597f Removed useless code from Switch in visual shader 2019-09-05 09:07:13 +03:00
Chaosus89 bd507739ea Fix formatting error for bool in resulted code of visual shader 2019-09-05 08:32:24 +03:00
Eoin O'Neill b85b2da988 Bug Fix 31973 Type Hint Error
Fixed a bug introduced in my previous PR involving CharFXTransform not
allowing the use of type hinting. Should now work properly. This should
also help with Godot Mono issues...
2019-09-04 16:42:51 -07:00
Yuri Roubinsky aadbb66dc2
Merge pull request #31926 from Chaosus/vs_switch
Some improvements for Switch node in visual shaders
2019-09-04 19:21:54 +03:00
Chaosus89 bf3024c172 Added missing OUTPUT_IS_SRGB and FRONT_FACING to visual shaders 2019-09-04 18:24:44 +03:00
Chaosus89 54f0889f20 Fix parsing array indexing symbol in visual shader expression 2019-09-04 16:01:41 +03:00
Rémi Verschelde 3d76eb8938
Merge pull request #23658 from Eoin-ONeill-Yokai/rich-text-plus
RichTextLabel - New Real Time Text Effects and Custom BBCode Extensions
2019-09-04 14:49:55 +02:00
Rémi Verschelde 56123ece32
Merge pull request #31955 from nekomatata/fix-caret-blink-timer
TextEdit & LineEdit caret blink timers run only when focused
2019-09-04 14:48:38 +02:00
Bojidar Marinov 6c4407bae4
Add overriden properties to the documentation
Fixes #31855
2019-09-04 15:21:40 +03:00
PouleyKetchoupp 5fdea32622 TextEdit & LineEdit caret blink timers run only when focused (fixes #31936) 2019-09-04 13:06:15 +02:00
Rémi Verschelde b679f622d8
Merge pull request #31618 from fjordyo0707/fix_mesh_edges
Fix the edges of the mesh vertex
2019-09-04 08:53:29 +02:00
Eoin O'Neill feedd6c615 Update RichTextLabel to support real time effects and custom BBCodes.
Added a new ItemFX type to RichTextLabel which supports dynamic text
effects.

RichTextEffect Resource Type was added which can be extended for more
real time text effects.
2019-09-03 15:36:19 -07:00
Bhupendra Aole 7a27abae49 Change minimum size when theme changed
Need to call minimum_size_changed on controls whenever the theme is changed.

Fixes godotengine#29816
2019-09-03 14:56:56 -04:00
Rémi Verschelde 750f8d4926
Merge pull request #31844 from 2shady4u/TweenInSceneTree
Timer and Tween check if they are in SceneTree when starting
2019-09-03 18:35:20 +02:00
Chaosus89 a79d8e3b8f Some improvements for Switch node in visual shaders 2019-09-03 15:11:02 +03:00
shaderbeast 5e337b31eb Added is_inside_tree() check in both Timer and Tween
Tween now throws error and doesnt even execute.
2019-09-03 13:26:41 +02:00
Rémi Verschelde 331bb5a8c6
Merge pull request #31295 from fstiewitz/focus-rect-issue
Fix get_meta error and visual bug when editing scene with keyboard
2019-09-03 13:11:41 +02:00
Rémi Verschelde 4dfea5fc9c
Merge pull request #31389 from Calinou/add-node-comments
Add an `editor_description` property to Node for documentation purposes
2019-09-03 12:55:22 +02:00
Rémi Verschelde 720065c721
Merge pull request #31476 from SoulForMachine/fix-move-and-slide-error
Prevent move_and_slide() to generate an error.
2019-09-03 12:51:42 +02:00
Rémi Verschelde ad9f39108f
Merge pull request #31507 from YeldhamDev/button_icon_expand
Add feature to Button to make its icon expand/shrink with the button's size
2019-09-03 12:51:22 +02:00
Rémi Verschelde dd7c4c62ab
Merge pull request #31782 from aole/persist-ColorPicker-color-mode
Persist ColorPicker color mode
2019-09-03 12:36:04 +02:00
Rémi Verschelde a1fe20a57e
Merge pull request #31880 from nekomatata/joystick-ui-navigation
Fixed UI navigation using joy axis inputs
2019-09-03 12:02:18 +02:00
Rémi Verschelde 413db5d8ff
Merge pull request #31889 from Calinou/gradient-editor-add-snapping
Implement snapping in the Gradient editor
2019-09-02 22:12:04 +02:00
byfron b7ed4829ba Computes UV coordinates of the canvas_item vertices of StyleBoxFlat 2019-09-02 20:57:43 +02:00
Tomasz Chabora 892318f5c7 Add autocomplete support for change_scene() 2019-09-02 19:07:02 +02:00
amakarenko 544c39d1e7 Fix editor infinit loop in search_prev
Fixes godotengine#31328
2019-09-02 15:15:55 +03:00
Hugo Locurcio 98a0c2b20f
Implement snapping in the Gradient editor
Holding Ctrl will snap the selected point's position
by increments of 0.1. Holding Ctrl + Shift will snap by increments
of 0.025 instead.

The previous behavior is preserved when holding just Shift (snapping
to other gradient points).
2019-09-02 13:37:27 +02:00
Rémi Verschelde 7e731bbce2
Merge pull request #31878 from aole/Initialize-TileMap-Custom-Transform
Initialize TileMap Custom Transform
2019-09-02 10:35:56 +02:00
Michael Alexsander Silva Dias 5f28a2f978 Fix multiline texts not updating its contents correctly in the inspector 2019-09-02 01:17:11 -03:00
PouleyKetchoupp 01c9ad1cdf Fixed UI navigation using joy axis inputs
Fixes #31879
2019-09-02 04:36:58 +02:00
Bhupendra Aole 0b5a600564 Initialize TileMap Custom Transform
Initialize TileMap Custom Transform to same as Cell Size (64).
Fixes #30948.
2019-09-01 19:33:45 -04:00
Tomasz Chabora aa444453b8 Ignore size of hidden scrollbars in ScrollContainer 2019-09-01 18:31:32 +02:00
Yuri Roubinsky ff65489ddc
Fix semicolon parsing in visual shader expression (#31857)
Fix semicolon parsing in visual shader expression
2019-09-01 14:45:22 +03:00
Rémi Verschelde a02d2fdb84
Merge pull request #31848 from Chaosus/fix_graph_resizer_style
Fix resizer icon visiblity on light theme in GraphNode
2019-09-01 12:30:52 +02:00
Chaosus89 a68ea5721f Fix semicolon parsing in visual shader expression 2019-09-01 13:12:33 +03:00
Yuri Roubinsky 5dd51a5b3b
Fix visual shader expression parsing (#31853)
Fix visual shader expression parsing
2019-09-01 12:29:22 +03:00
Chaosus89 466a9ffdc6 Fix visual shader expression parsing 2019-09-01 12:14:20 +03:00
Rémi Verschelde 979e772947
Merge pull request #31839 from Calinou/canvasitem-update-only-if-needed
Call some CanvasItem property setters only if needed
2019-09-01 10:11:28 +02:00
Chaosus89 8fd8589547 Fix resizer icon visiblity on light theme in GraphNode 2019-09-01 09:12:26 +03:00
Rémi Verschelde 00aabec8bb
Merge pull request #31828 from Paulb23/minimap_drag_less_then_control
Fix minimap drag when height is less then control size
2019-08-31 22:09:53 +02:00
Hugo Locurcio 8c8dc6f026
Call some CanvasItem property setters only if needed
The CanvasItem property setters `set_modulate`, `set_self_modulate`
and `set_light_mask` have some side effects that don't need to be run
if the value hasn't changed.

This closes #31777.
2019-08-31 21:53:02 +02:00
Rémi Verschelde b17b51d970
Merge pull request #31825 from fstiewitz/viewport-container-input
Fix object picking inside ViewportContainers
2019-08-31 17:25:11 +02:00
merumelu 5c7c7dbcb5 HTTPRequest: include faulty URLs in error texts 2019-08-31 16:57:46 +02:00
Paulb23 b1aaeb07ea Fix minimap drag when height is less then control size 2019-08-31 15:43:19 +01:00
Fabian Stiewitz 21b6be28ea process unhandled input in ViewportContainer 2019-08-31 14:51:16 +02:00
Bhupendra Aole 1de3ec911f Default ColorPicker color mode setting
There is a new setting for Default ColorPicker color mode in Editor Settings->Interface->Inspector. Initially this setting will be RGB. Editor ColorPicker will always start with mode defined in this settiing.
Fixes #30755 and #30754
2019-08-31 00:34:33 -04:00
Rémi Verschelde 4f6eb3610f
Merge pull request #31805 from YeldhamDev/collision_object_unneeded_checks
Remove some unneeded checks in CollisionObject(2D)
2019-08-30 20:08:33 +02:00
Rémi Verschelde 9fc359411f
Merge pull request #31803 from KoBeWi/minicursor
Don't change cursor when minimap is disabled
2019-08-30 20:08:21 +02:00
Rémi Verschelde bbaf35c4f5
Merge pull request #31797 from KoBeWi/release_the_lookup
Perform symbol lookup on button release
2019-08-30 20:07:53 +02:00
Michael Alexsander Silva Dias c902066bb5 Remove some unneeded checks in CollisionObject(2D) 2019-08-30 14:22:46 -03:00
Tomasz Chabora b0805a1b53 Don't change cursor when minimap is disabled 2019-08-30 19:13:53 +02:00
Rémi Verschelde ba854bbc7b
Merge pull request #31796 from Chaosus/fix_icons
Fixed GraphEdit header icons to make them update when theme is changed
2019-08-30 16:38:38 +02:00
Tomasz Chabora b55b3d71a8 Perform symbol lookup on button release 2019-08-30 16:19:25 +02:00
Rémi Verschelde efbd2bbf18
Merge pull request #31792 from Calinou/spinbox-expression-ignore-prefix-suffix
Ignore the prefix and suffix in the SpinBox expression
2019-08-30 16:09:06 +02:00
Chaosus89 fde0579ed1 Fixed GraphEdit header icons to make them update when theme is changed 2019-08-30 17:00:25 +03:00
Rémi Verschelde 58e7cbccc0
Merge pull request #30927 from mahubu/console-multi-selection-cursor
Change cursor to multi-selection cursor when selecting text in RichTextLabel
2019-08-30 15:05:54 +02:00
Hugo Locurcio 68f0d21cc4
Ignore the prefix and suffix in the SpinBox expression
This fixes a regression caused by
86a31e9e38.
2019-08-30 14:28:32 +02:00
Rémi Verschelde ca652bbc47
Merge pull request #25353 from azagaya/master
Use also invisible tabs to calculate minimum size of tab container
2019-08-30 13:58:37 +02:00
azagaya fa6f86b886 Make tab containers in editor, project settings, and export dialog, to use hidden tabs for min size computation. 2019-08-30 08:33:32 -03:00
Hugo Locurcio 86a31e9e38
Calculate the SpinBox value using the Expression class
This closes #31780.
2019-08-29 23:50:56 +02:00
Michael Alexsander Silva Dias 9b09daa8c5 Add feature to Button to make its icon expand/shrink with the button's size 2019-08-29 11:25:00 -03:00
Rémi Verschelde 9762372329
Merge pull request #30635 from KoBeWi/billbo_3dns
Add a Billboard property for Sprite3D
2019-08-29 13:06:37 +02:00
Michael Alexsander Silva Dias da5195fc92 Fix wrong offset in Button when alignment is set to left 2019-08-28 23:12:22 -03:00
Tomasz Chabora b055ade1c3 Add a Billboard property for Sprite3D 2019-08-28 23:00:44 +02:00
Rémi Verschelde ebf293d545
Merge pull request #31717 from Calinou/tweak-default-fog-depth-end
Tweak the default fog depth end to use a fixed value
2019-08-28 21:28:39 +02:00
Rémi Verschelde 185072015f
Merge pull request #31606 from toasteater/fix/nativescript-new-json-return-type
Fix the return type of NativeScript::new in API json
2019-08-28 09:15:40 +02:00