godot/scene/gui
John Wigg ee8b3bef2d Limit undo stack size
The stack size of the undo history of a TextEdit was not limited leading
to potential memory leaks when doing lots of operations on a TextEdit.

This commit adds the option gui/common/text_edit_undo_stack_max_size
to the project settings. The first element of the undo stack is popped
if the stack's size exceeds this value ensuring limited memory usage.

The default stack size setting is 1024.

Fixes #37838.

(cherry picked from commit 4a82390aaf)
2020-05-01 10:56:58 +02:00
..
base_button.cpp Fixes BaseButton not triggering the "pressed" signal on "Button Press" Action Mode 2020-01-09 02:17:53 +02:00
base_button.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
box_container.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
box_container.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
button.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
button.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
center_container.cpp Updates min size on CenterContainer::set_use_top_left 2020-01-14 08:35:21 +08:00
center_container.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
check_box.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
check_box.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
check_button.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
check_button.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
color_picker.cpp Corrected text selection in color picker 2020-04-16 11:43:35 +02:00
color_picker.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
color_rect.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
color_rect.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
container.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
container.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
control.cpp Revert "Fix control node transform animation jitter with pivot offset" 2020-03-04 09:50:21 +01:00
control.h Don't compile editor-only function when tools=no 2020-01-09 22:15:48 +01:00
dialogs.cpp Clicking backgrd. dimming of editor popup stops input event propagation 2020-03-25 11:38:54 +01:00
dialogs.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
file_dialog.cpp Fixes leak with drives [3.2] 2020-04-12 14:05:47 +02:00
file_dialog.h Improve UX of drive letters 2020-03-17 14:48:54 +01:00
gradient_edit.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
gradient_edit.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
graph_edit.cpp Add "node_unselected" signal for GraphEdit 2020-04-16 16:56:58 +03:00
graph_edit.h Add "node_unselected" signal for GraphEdit 2020-04-16 16:56:58 +03:00
graph_node.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
graph_node.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
grid_container.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
grid_container.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
item_list.cpp Don't allow to use too big index in ItemList 2020-01-14 20:17:48 +01:00
item_list.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
label.cpp Revert "make Label consider spaces for visible_characters" 2020-01-28 19:37:04 +01:00
label.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
line_edit.cpp fix project manager don't consume Enter key #17620 2020-04-16 11:44:44 +02:00
line_edit.h Update cached_width of the line_edit element when setting it to be secret 2020-02-14 15:56:48 +01:00
link_button.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
link_button.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
margin_container.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
margin_container.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
menu_button.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
menu_button.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
nine_patch_rect.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
nine_patch_rect.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
option_button.cpp Fix OptionButton docs godotengine#36803 2020-04-16 11:45:19 +02:00
option_button.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
panel.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
panel.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
panel_container.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
panel_container.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
popup.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
popup.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
popup_menu.cpp fixed PopupMenus letterjumping on any InputEvent 2020-04-16 11:58:14 +02:00
popup_menu.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
progress_bar.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
progress_bar.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
range.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
range.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
reference_rect.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
reference_rect.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
rich_text_effect.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
rich_text_effect.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
rich_text_label.cpp Avoid invocation to Object's copy constructor 2020-04-23 12:44:47 +02:00
rich_text_label.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
scroll_bar.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
scroll_bar.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
scroll_container.cpp Merge pull request #35183 from YeldhamDev/scrollbar_regression 2020-01-16 07:56:05 +01:00
scroll_container.h Fix scrollbar regression on large scales 2020-01-16 00:59:46 -03:00
SCsub
separator.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
separator.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
shortcut.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
shortcut.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
slider.cpp Add style for highlighted Slider grab area 2020-04-16 12:47:17 +02:00
slider.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
spin_box.cpp Add apply method to SpinBox 2020-01-11 10:47:51 +00:00
spin_box.h Add apply method to SpinBox 2020-01-11 10:47:51 +00:00
split_container.cpp Uses split cursor for SplitContainer 2020-02-14 16:02:56 +01:00
split_container.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
tab_container.cpp Fix incorrect TabContainer documentation for 'get_tab_control()' 2020-04-16 12:57:22 +02:00
tab_container.h Fix tab container too large when tabs are hidden 2020-03-25 11:38:54 +01:00
tabs.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
tabs.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
text_edit.cpp Limit undo stack size 2020-05-01 10:56:58 +02:00
text_edit.h Limit undo stack size 2020-05-01 10:56:58 +02:00
texture_button.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
texture_button.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
texture_progress.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
texture_progress.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
texture_rect.cpp Fix TextureRect::flip_* when used with atlas texture 2020-04-16 12:47:18 +02:00
texture_rect.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
tool_button.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
tool_button.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
tree.cpp Remove unused ofs variable 2020-04-16 12:47:18 +02:00
tree.h Fixes add group in Group Editor dialog 2020-02-14 15:58:36 +01:00
video_player.cpp Updates minimum size on VideoPlayer::set_stream 2020-01-26 10:24:56 +08:00
video_player.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
viewport_container.cpp Update copyright statements to 2020 2020-01-01 11:16:22 +01:00
viewport_container.h Update copyright statements to 2020 2020-01-01 11:16:22 +01:00