Rémi Verschelde
083d088de3
Merge pull request #33583 from qarmin/fix_overflows_unitialized
...
Fix some overflows and unitialized variables
2019-11-20 21:31:12 +01:00
Rafał Mikrut
99d8626f4a
Fix some overflows and unitialized variables
2019-11-20 16:22:16 +01:00
lupoDharkael
268fe9dda5
GradientEdit: Fix index crashes
2019-11-19 22:05:37 +01:00
Hugo Locurcio
72b31aafc4
Make holding Ctrl toggle snapping in GraphEdit
...
This affects the visual script and visual shader editors as well.
2019-11-15 19:34:44 +01:00
PouleyKetchoupp
47a4ca0022
Fixed crash when pressing down key on empty Tree
...
Fixes #33554
2019-11-12 08:15:29 +01:00
Rémi Verschelde
2143f46df2
Merge pull request #33516 from qarmin/small_fixes
...
Memory leaks and crash fixes
2019-11-10 10:17:19 +01:00
Rafał Mikrut
7dda9309f9
Memory leak and crash fixes
2019-11-10 09:49:13 +01:00
PouleyKetchoupp
0fc0f0fc98
Fixed crash when using icon override in button
...
Missing change for PR #33495
2019-11-09 23:06:46 +01:00
PouleyKetchoupp
0c79bbeea3
Fixed crash when using icon override in button
...
Fixes #33457
2019-11-09 20:14:52 +01:00
Paulb23
25cba699f0
Fixed not being able to scroll ending wrapped line
2019-11-09 16:45:44 +00:00
Rémi Verschelde
31f327a4a9
Merge pull request #33052 from KoBeWi/naughty_sliders
...
Fix analog input in sliders
2019-11-08 09:55:11 +01:00
Tomasz Chabora
a7b202ef18
Fix analog input in sliders
2019-11-07 16:39:14 +01:00
codecustard
71e79af1f1
Fixes ItemList max column update
...
When setting the max column of an ItemList, the layout does not update until it is resized.
2019-11-06 12:26:51 -08:00
PouleyKetchoupp
13c88878c4
Fixed cases where labels with autowrap can overflow the editor ui
...
Fixes #33155
2019-11-04 10:12:36 +01:00
Rémi Verschelde
e684df08fc
Merge pull request #33286 from groud/fix_tree_edit_rect
...
Fixes the edit rect in TreeItems
2019-11-03 17:35:01 +01:00
Gilles Roudiere
8eb2eeae0f
Fixes the edit rect in TreeItems
2019-11-03 16:08:07 +01:00
Michael Alexsander
6348dfa948
Make the editor dimming even more smarter
2019-11-02 20:25:26 -03:00
Paulb23
362d38ea67
Update connection info on script validation rather then saved copy
2019-11-02 14:41:59 +00:00
Rémi Verschelde
5160d4f5ba
Merge pull request #33233 from hilfazer/dollar-quoted-autocomplete
...
$ autocompletion keeps quotation
2019-11-01 16:52:13 +01:00
hilfazer
c394ef7410
$ autocompletion keeps quotation
2019-11-01 14:52:13 +01:00
Rémi Verschelde
a49c8d4a2b
Merge pull request #33202 from nekomatata/text-edit-search-usability
...
Improved TextEdit search usability & documentation
2019-11-01 14:10:00 +01:00
Michael Alexsander
36c4fd8935
Make the editor dimming smarter
2019-10-31 16:58:53 -03:00
PouleyKetchoupp
d29c8ab81b
Improved TextEdit search usability & documentation
2019-10-31 12:35:23 +01:00
Rémi Verschelde
948a2a03d2
Merge pull request #33091 from MCrafterzz/fix10567
...
Improved project creation UX
2019-10-29 13:27:41 +01:00
MCrafterzz
336e61b36a
Improved UX of selecting directories in (Editor)FileDialog by hiding unused gui elements and moving the drive selection
2019-10-29 11:36:09 +01:00
Rémi Verschelde
aaa9751de3
Merge pull request #33120 from YeldhamDev/popup_dialog_panel_style
...
Add "panel" style to PopupDialog
2019-10-28 12:54:03 +01:00
Rémi Verschelde
0cae264d79
Merge pull request #33119 from creikey/fix-quote-malfunction
...
Remove duplicate quote in displayed quote type
2019-10-28 08:08:38 +01:00
Michael Alexsander
d92123ed97
Add "panel" style to PopupDialog
2019-10-27 19:45:03 -03:00
Cameron Reikes
67ab03e245
Remove duplicate quote in displayed quote type
...
- fixes #32688
- fixes #32593
2019-10-27 15:21:25 -07:00
Rémi Verschelde
2751cea0d4
Merge pull request #33066 from Tabas32/fix_indentation
...
Fixed indenting issue with comment at end of line
2019-10-27 13:42:53 +01:00
Paulb23
2e2a049d3c
Improve performance of connection info in the script editor
2019-10-27 11:07:19 +00:00
Rémi Verschelde
9e572b5bac
Merge pull request #33032 from Calinou/filedialog-scroll-to-top
...
Scroll back to the top after opening a directory in FileDialog
2019-10-27 10:06:34 +01:00
Paulb23
df0c8386a9
Fix text minimap crash when last line is folded
2019-10-26 13:37:25 +01:00
Rémi Verschelde
c39238c7d2
Merge pull request #32870 from bergmannf/27850_rtl_bold_italic
...
Add push_* methods for fonts in rich_text_label
2019-10-25 23:17:59 +02:00
Marian
3322d19cb3
Just initialization, needed by compiler
2019-10-25 16:14:24 +02:00
Marian
616f02e905
Fixed indenting issue with comment at end of line
2019-10-25 15:01:43 +02:00
Zatherz
72d2248276
Don't terminate search if begin_key doesn't fit
...
Previously this code would continue onto the next iteration of the loop if the line was smaller in size than begin_key, meaning that a situation where begin_key.length() > end_key.length() would cause weird behavior with newlines. Now both the checks for begin_key and end_key are in their own condition and do not skip the entire iteration if they can't be found.
2019-10-24 21:59:02 +02:00
volzhs
63e6b1ecce
Fix rendering tooltip
2019-10-24 22:48:20 +09:00
Hugo Locurcio
c3b9319d78
Scroll back to the top after opening a directory in FileDialog
...
This also changes the behavior in EditorFileDialog.
This closes #26041 .
2019-10-24 15:40:47 +02:00
SeleckyErik
61bda112bd
Refactor VideoPlayer and VideoStream
...
VideoStream:
- Fix const correctenss
VideoPlayer:
- Remove unused member variable last_frame
- Move _mix_audios function definition to source file
- Fix function parameter naming to match p_ convention
- Fix const correctness
- Add null checking
2019-10-24 01:35:47 +01:00
Rémi Verschelde
b1c6ba9b24
Merge pull request #32972 from codecustard/fix_spinbox_not_releasingfocus
...
Fixes spinbox not releasing focus on value change
2019-10-23 07:43:47 +02:00
Eoin O'Neill
601b216605
Shadows Now Properly Translate by RichTextEffect offset.
...
Bugfix 32981.
2019-10-22 22:15:36 -07:00
Rémi Verschelde
78848bbfea
Merge pull request #32796 from Paulb23/set_text_caret
...
Changed `set_text` to place caret at start of the text.
2019-10-22 22:44:12 +02:00
Rémi Verschelde
9f28803927
Merge pull request #32940 from nekomatata/text-edit-clear-colors
...
TextEdit syntax highlighting fixes
2019-10-22 20:40:20 +02:00
Rémi Verschelde
b365dc3441
Merge pull request #32965 from volzhs/richtextlabel-scroll-active
...
Fix scrolling RichTextLabel with scroll_active=false
2019-10-22 20:39:12 +02:00
PouleyKetchoupp
e3d4b96ba7
Fixed crashes when renaming a state in AnimationNodeStateMachineEditor
...
Recursive calls to Control::_modal_stack_remove could cause a crash because of the list element not being invalidated while being erased from the list.
It happens in the state machine case by hiding a line edit control when it loses focus.
Fixes #23808
2019-10-22 16:28:11 +02:00
Rémi Verschelde
97a4fe79fb
Merge pull request #32902 from nekomatata/auto-indent-bracket-fix
...
Auto-indent after opening bracket and parenthesis in the script editor
2019-10-22 14:30:16 +02:00
Rémi Verschelde
b67537b14b
Merge pull request #32864 from nekomatata/rich-text-image-size
...
Support for resized images in RichTextLabel
2019-10-22 13:46:11 +02:00
Rémi Verschelde
1e0fb0dc14
Merge pull request #32833 from nekomatata/label-autowrap-fix
...
Allow Label autowrap to cut words when they exceed line width
2019-10-22 12:29:49 +02:00
Emmanuel Barroga
53d6d37fcf
Fixes spinbox not releasing focus on value change
...
Trying to release focus of the spinbox's lineedit would not work when done in the "value_changed" callback. The reason is because the "value_change" signal is called first, then the "get_focus" method is called next. This causes the spinbox to get_focus after you try to release focus within the "value_changed" callback.
To resolve this, spinbox should get focus first and then emit "value_changed".
2019-10-21 16:42:17 -07:00
volzhs
3e738b1798
Fix scrolling RichTextLabel with scroll_active=false
2019-10-22 06:05:10 +09:00
PouleyKetchoupp
4247c21cb0
TextEdit syntax highlighting fixes
...
- Fixed visual update when using add_keyword_color(), add_color_region(), clear_colors() in scripts
- More accurate description for clear_colors() in TextEdit documentation
2019-10-20 17:40:09 +02:00
Paulb23
ee94081b4a
Fixed -1 minimap index when smooth scrolling is enabled
2019-10-20 13:27:53 +01:00
PouleyKetchoupp
74d7cbf920
Auto-indent after opening bracket and parenthesis in the script editor
...
This change makes auto-indent work the same way as for curly brackets, so '[', '(', '{' all act the same.
Fixes #32897
2019-10-18 11:02:05 +02:00
Florian Bergmann
47000f8860
Add push_* methods for fonts in rich_text_label
...
Provides method to push different font styles.
If no fonts are set nothing will happen, when the methods are used.
Fixes #27850
2019-10-16 15:22:56 +02:00
PouleyKetchoupp
9f8ffd4146
Support for resized images in RichTextLabel
...
BBCode Tag:
[img=<width>x<height>]{path}[/img]
2019-10-16 12:00:15 +02:00
PouleyKetchoupp
8df330bacd
Allow Label autowrap to cut words when they exceed line width
...
Fixes #30832
2019-10-16 09:57:44 +02:00
Rémi Verschelde
44293db446
Merge pull request #32820 from qarmin/small_fixes_static_analyzer
...
Small fixes to redundand code, copy paste bugs
2019-10-15 09:54:58 +02:00
Yuri Roubinsky
0a0c3f7fe0
Fix color of FileDialog icons
2019-10-14 16:23:56 +03:00
qarmin
616ab4fac2
Small fixes to redundand code, copy paste bugs
2019-10-14 11:40:55 +02:00
Paulb23
d579d2bf1d
Fix undo / redo scrollbar calulations
2019-10-13 15:34:28 +01:00
Paulb23
aea0761b25
Place caret at 0,0 when setting text not at the end
2019-10-13 15:29:20 +01:00
Rémi Verschelde
be0da31f7a
Merge pull request #32628 from Paulb23/issue_32609_set_text_scrollbar
...
Fixed inserting text at caret not updating scrollbar size
2019-10-11 08:24:13 +02:00
Marcel Admiraal
a8836ba28d
Remove dependency on the editor directory being in the build's include path.
...
- Add or remove the necessary subdirectorires to the includes to remove
dependency on the editor directory being in the build's include path.
- Ensure includes in modified files conform to style guideline.
- Remove editor from the build include path.
2019-10-10 08:57:00 +02:00
Rémi Verschelde
f46bf8e721
Merge pull request #32411 from YeldhamDev/fix_grid_overflow
...
Fix GridContainer's children overflowing it when not all slots of a row are occupied
2019-10-08 17:05:32 +02:00
Rémi Verschelde
45577e4233
Merge pull request #32571 from DavidSichma/rect_flip
...
Correctly flip texture src region
2019-10-08 16:15:45 +02:00
Rémi Verschelde
58dd5d0c78
PopupMenu: Fix missing text/xl_text when using add_shortcut
...
Use macros to ensure that `text`, `xl_text` and `id` are always set
using the same logic.
Fixes #25519 .
Also fixes up #26914 when `p_id == -1` handling was only added for a
couple methods instead of all of them.
2019-10-08 09:33:26 +02:00
Rémi Verschelde
63a19df5e6
PopupMenu: Reorder add_* methods in more natural order
...
Also adds `add_icon_radio_check_shortcut` matching `add_icon_radio_check_item`,
binds them for scripting languages, and binds `add_multistate_item`.
2019-10-08 09:32:01 +02:00
Paulb23
e5b18cea63
Fixed inserting text at caret not updating scrollbar size
2019-10-07 19:17:32 +01:00
Paulb23
6025a76c78
Fixed drawing the caret at eol when at eol is not visible
2019-10-07 17:24:58 +01:00
Rémi Verschelde
f84bf7e8a8
Merge pull request #32351 from nekomatata/texture-rect-size-update
...
Update TextureRect when its Texture is modified directly
2019-10-07 08:57:17 +02:00
dankan1890
b469ff17e2
Added missing bind_method to TreeItem::get_custom_color().
...
Fix #32595
2019-10-06 22:07:50 +02:00
Rémi Verschelde
c8f6661459
Merge pull request #32569 from qarmin/fix_control_crash
...
Fix crash in Control functions
2019-10-06 20:50:18 +02:00
qarmin
17344337a9
Fix crash in Control functions
2019-10-05 19:17:07 +02:00
PouleyKetchoupp
c7834ee566
Update TextureRect and Sprite when their Texture is modified directly.
...
Modified Sprite to use "changed" signal instead of _changed_callback to make it work when tool is disabled (change receptors are editor only).
Fixes #32349
2019-10-05 17:32:46 +02:00
David Sichma
f73e1fae37
Correctly flip texture src region
2019-10-05 16:51:06 +02:00
Rémi Verschelde
ee611d149b
Merge pull request #22834 from lupoDharkael/recursive-item
...
Add call_recursive method to TreeItem
2019-10-04 15:32:14 +02:00
MrCdK
03d6291aaf
Handle scrolling correctly in Tree controls inside ScrollContainers
2019-10-02 12:34:04 +02:00
ternvein
848eeafe29
FIX: GridContainer children visibility check for min size evaluation
2019-10-01 16:13:06 +04:00
Rémi Verschelde
e695ac6e7b
Merge pull request #32364 from Relintai/resizeable-texture-progress
...
TextureProgress: nine_patch_stretch property -> enable stretching for radial fills.
2019-10-01 10:34:21 +02:00
Rémi Verschelde
d735ce80b9
Merge pull request #32440 from Ternvein/control-translation-fix
...
Fix for WindowDialog and Tabs controls translation
2019-10-01 10:27:10 +02:00
Relintai
108068ab41
Make TextureProgress's nine_patch_stretch property to enable stretching for radial fills.
2019-09-30 20:58:29 +02:00
Soumya Lahiri
a1b2364dba
Altered rotation_degrees range
2019-09-30 20:43:57 +05:30
ternvein
118940e7c5
FIX: Tabs text translation
2019-09-30 13:56:20 +04:00
ternvein
efc8314516
FIX: WindowDialog title translation
2019-09-30 13:07:47 +04:00
Rémi Verschelde
d4ff03c0e8
Merge pull request #32390 from lupoDharkael/timer-tree
...
TextEdit: Fix timer inside tree warning
2019-09-30 07:37:59 +02:00
Michael Alexsander Silva Dias
24ed6b58e1
Make empty columns automatically expand in GridContainer
2019-09-28 09:49:58 -03:00
Michael Alexsander Silva Dias
07f3a129c6
Fix GridContainer's children overflowing it when not all slots of a row are occupied
2019-09-28 02:57:11 -03:00
Rémi Verschelde
d0e45e78a4
doc: Sync classref with current source
...
And various fixes to bindings, hyperlinks and an uninitialized variable.
2019-09-27 22:16:42 +02:00
Rémi Verschelde
5966c6b646
Merge pull request #32379 from Calinou/colorpicker-add-overbright-indicator
...
Draw an indicator to denote overbright colors in ColorPicker
2019-09-27 22:03:22 +02:00
Rémi Verschelde
5cb926a001
Merge pull request #29681 from swarnimarun/vs-graph-unification
...
Visual Script Graph Unification
2019-09-27 15:54:37 +02:00
Hugo Locurcio
70c4e96623
Draw an indicator to denote overbright colors in ColorPicker
...
This makes it faster to distinguish overbright colors from
"standard" colors.
2019-09-27 15:28:42 +02:00
lupoDharkael
cb22a875aa
TextEdit: Fix timer inside tree warning
2019-09-27 13:57:20 +02:00
Rémi Verschelde
fd0ad20122
Merge pull request #32369 from ndarilek/get_button_tooltip
...
Implement `TreeItem.get_button_tooltip(column, idx)`.
2019-09-27 08:16:36 +02:00
Nolan Darilek
5629a006d9
#14011 : Implement TreeItem.get_button_tooltip(column, idx)
.
...
When added to `TreeItem`, buttons are given tooltips. When returned via `get_button(...)`, however, the button is a `Texture` and the tooltip information isn't included.
For accessibility purposes, it is useful to have access to the tooltip text. As such, we can retrieve a button's tooltip to use as a button label.
2019-09-26 10:41:02 -05:00
Relintai
25704e81fa
Implement #32347 - RichTextLabel's Item and Item* structs should not inherit Object, it's too expensive
2019-09-26 01:26:02 +02:00
Swarnim Arun
59738e3fa3
Visualscript editor graph unification & refactoring
...
Removes the need to have separate graphs per function for the VisualScript Nodes, and refactoring UI and other improvements such as fuzzy search, right click search boxes and in-graph editable nodes
2019-09-26 01:53:58 +05:30
Rémi Verschelde
dec10dd776
Merge pull request #32051 from qarmin/some_error_explanation
...
Added some obvious errors explanations
2019-09-25 11:51:54 +02:00
qarmin
17732fe698
Added some obvious errors explanations
2019-09-25 10:28:50 +02:00
Michael Alexsander Silva Dias
d24513911d
Make LineEdit's minimal size adapt to its icons
2019-09-25 00:46:29 -03:00