ladybird/Userland/Libraries/LibGUI
Andreas Kling 74a4571f02 LibGUI: Reverse internal direction of GUI::UndoStack
The undo stack was very difficult to understand as it grew by adding
new undo commands to the front of the internal vector. This meant we
had to keep updating indices as the stack grew and shrank.

This patch makes the internal vector grow by appending instead.
2021-05-08 13:49:34 +02:00
..
Wizards Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
AboutDialog.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
AboutDialog.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
AbstractButton.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
AbstractButton.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
AbstractScrollableWidget.cpp LibGUI: Rename ScrollableWidget.cpp => AbstractScrollableWidget.cpp 2021-05-04 14:38:43 +02:00
AbstractScrollableWidget.h LibGUI: Rename ScrollableWidget => AbstractScrollableWidget 2021-05-03 21:03:13 +02:00
AbstractSlider.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
AbstractSlider.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
AbstractTableView.cpp LibGUI: Rename ScrollableWidget => AbstractScrollableWidget 2021-05-03 21:03:13 +02:00
AbstractTableView.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
AbstractView.cpp LibGUI: Rename ScrollableWidget => AbstractScrollableWidget 2021-05-03 21:03:13 +02:00
AbstractView.h LibGUI: Rename ScrollableWidget => AbstractScrollableWidget 2021-05-03 21:03:13 +02:00
Action.cpp AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
Action.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ActionGroup.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ActionGroup.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Application.cpp Userland: Make IPC results with one return value available directly 2021-05-03 21:14:40 +02:00
Application.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
AutocompleteProvider.cpp AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
AutocompleteProvider.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
BoxLayout.cpp LibGUI: Move widget registration to LibCore 2021-05-06 08:50:39 +02:00
BoxLayout.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Breadcrumbbar.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Breadcrumbbar.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Button.cpp LibGfx: Unify Rect, Point, and Size 2021-05-02 22:48:06 +02:00
Button.h LibGUI: Fix issue where buttons with a menu sometimes stayed depressed 2021-04-29 01:01:39 +02:00
Calendar.cpp Everywhere: Use "the SerenityOS developers." in copyright headers 2021-04-29 00:59:26 +02:00
Calendar.h Everywhere: Use "the SerenityOS developers." in copyright headers 2021-04-29 00:59:26 +02:00
CheckBox.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
CheckBox.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Clipboard.cpp Userland: Update IPC calls to use proxies 2021-05-03 21:14:40 +02:00
Clipboard.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
CMakeLists.txt LibGUI: Add ScrollableContainerWidget :^) 2021-05-05 22:17:33 +02:00
ColorInput.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ColorInput.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ColorPicker.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ColorPicker.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ColumnsView.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ColumnsView.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ComboBox.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ComboBox.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Command.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Command.h LibGUI+HackStudio: Remove editing specific hacks from GUI::Command 2021-05-02 14:49:46 +02:00
CommonLocationsProvider.cpp LibGUI: Make common locations configurable 2021-04-26 18:57:57 +02:00
CommonLocationsProvider.h LibGUI: Make common locations configurable 2021-04-26 18:57:57 +02:00
Desktop.cpp Userland: Make IPC results with one return value available directly 2021-05-03 21:14:40 +02:00
Desktop.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Dialog.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Dialog.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
DisplayLink.cpp Userland: Update IPC calls to use proxies 2021-05-03 21:14:40 +02:00
DisplayLink.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
DragOperation.cpp Userland: Make IPC results with one return value available directly 2021-05-03 21:14:40 +02:00
DragOperation.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
EditingEngine.cpp EditingEngine: Split selection from movement functions 2021-04-27 09:03:38 +02:00
EditingEngine.h EditingEngine: Split selection from movement functions 2021-04-27 09:03:38 +02:00
EmojiInputDialog.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
EmojiInputDialog.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Event.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Event.h WindowServer+LibGUI+Taskbar: Store window progress as Optional<int> 2021-05-02 10:43:39 +02:00
FileIconProvider.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
FileIconProvider.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
FilePicker.cpp Everywhere: "file name" => "filename" 2021-04-29 22:16:18 +02:00
FilePicker.h Everywhere: "file name" => "filename" 2021-04-29 22:16:18 +02:00
FilePickerDialog.gml LibGUI: Bump up common locations width from 90 to 95 2021-04-30 23:27:29 +02:00
FileSystemModel.cpp LibGUI: Convert StringBuilder::appendf() => AK::Format 2021-05-07 21:12:09 +02:00
FileSystemModel.h AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
FilteringProxyModel.cpp Everywhere: "indexes" => "indices" 2021-04-29 22:23:52 +02:00
FilteringProxyModel.h AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
FocusSource.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
FontPicker.cpp AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
FontPicker.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
FontPickerDialog.gml LibGUI: Allow arbitrary font size in FontPicker 2021-04-16 23:54:03 +02:00
FontPickerWeightModel.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Forward.h LibGUI: Move widget registration to LibCore 2021-05-06 08:50:39 +02:00
Frame.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Frame.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
GMLFormatter.cpp Everywhere: Use linusg@serenityos.org for my copyright headers 2021-04-22 22:51:19 +02:00
GMLFormatter.h Everywhere: Use linusg@serenityos.org for my copyright headers 2021-04-22 22:51:19 +02:00
GMLLexer.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
GMLLexer.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
GMLParser.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
GMLParser.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
GMLSyntaxHighlighter.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
GMLSyntaxHighlighter.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
GroupBox.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
GroupBox.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
HeaderView.cpp LibGfx: Unify Rect, Point, and Size 2021-05-02 22:48:06 +02:00
HeaderView.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Icon.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Icon.h AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
IconView.cpp LibGUI: Rename ScrollableWidget => AbstractScrollableWidget 2021-05-03 21:03:13 +02:00
IconView.h LibGUI: Remove some unused cruft from GUI::IconView 2021-04-24 18:50:12 +02:00
ImageWidget.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ImageWidget.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
INILexer.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
INILexer.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
INISyntaxHighlighter.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
INISyntaxHighlighter.h Userland: Fix two misaligned copyright headers 2021-04-29 00:59:26 +02:00
InputBox.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
InputBox.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ItemListModel.h AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
JsonArrayModel.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
JsonArrayModel.h AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
Label.cpp LibGfx: Unify Rect, Point, and Size 2021-05-02 22:48:06 +02:00
Label.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Layout.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Layout.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
LazyWidget.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
LazyWidget.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
LinkLabel.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
LinkLabel.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ListView.cpp LibGUI: Rename ScrollableWidget => AbstractScrollableWidget 2021-05-03 21:03:13 +02:00
ListView.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Margins.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Menu.cpp WindowServer+LibGUI: Make much of menu construction asynchronous 2021-05-03 21:56:13 +02:00
Menu.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Menubar.cpp WindowServer+LibGUI: Make much of menu construction asynchronous 2021-05-03 21:56:13 +02:00
Menubar.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
MenuItem.cpp WindowServer+LibGUI: Make much of menu construction asynchronous 2021-05-03 21:56:13 +02:00
MenuItem.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
MessageBox.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
MessageBox.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Model.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Model.h Everywhere: "indexes" => "indices" 2021-04-29 22:23:52 +02:00
ModelEditingDelegate.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ModelIndex.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ModelIndex.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ModelRole.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ModelSelection.cpp Everywhere: "indexes" => "indices" 2021-04-29 22:23:52 +02:00
ModelSelection.h Everywhere: "indexes" => "indices" 2021-04-29 22:23:52 +02:00
MultiView.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
MultiView.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Notification.cpp Userland: Update IPC calls to use proxies 2021-05-03 21:14:40 +02:00
Notification.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
OpacitySlider.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
OpacitySlider.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Painter.cpp Revert "LibGfx: Add directional floating-point scaling to Painter" 2021-05-03 16:37:05 +02:00
Painter.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ProcessChooser.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ProcessChooser.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Progressbar.cpp LibGUI: Convert StringBuilder::appendf() => AK::Format 2021-05-07 21:12:09 +02:00
Progressbar.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
RadioButton.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
RadioButton.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
RegularEditingEngine.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
RegularEditingEngine.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ResizeCorner.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ResizeCorner.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
RunningProcessesModel.cpp AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
RunningProcessesModel.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ScrollableContainerWidget.cpp Profiler: Fix scrolling behavior 2021-05-08 09:55:24 +02:00
ScrollableContainerWidget.h LibGUI: Add ScrollableContainerWidget :^) 2021-05-05 22:17:33 +02:00
Scrollbar.cpp LibGUI: Fix off-by-one in Scrollbar::scrubber_rect() 2021-05-03 22:22:53 +01:00
Scrollbar.h LibGUI: Remove unused Scrollbar::{de,in}crement_gutter_rect() 2021-05-03 22:21:21 +01:00
SeparatorWidget.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
SeparatorWidget.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Shortcut.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Shortcut.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Slider.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Slider.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
SortingProxyModel.cpp Everywhere: "indexes" => "indices" 2021-04-29 22:23:52 +02:00
SortingProxyModel.h Everywhere: "indexes" => "indices" 2021-04-29 22:23:52 +02:00
SpinBox.cpp LibGUI: Allow bypassing hook when setting SpinBox range 2021-04-23 11:08:11 +02:00
SpinBox.h LibGUI: Allow bypassing hook when setting SpinBox range 2021-04-23 11:08:11 +02:00
Splitter.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Splitter.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
StackWidget.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
StackWidget.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Statusbar.cpp LibGUI: Don't show resize corner in non-resizable window's statusbar 2021-05-06 12:08:00 +02:00
Statusbar.h LibGUI: Allow specifying GUI::Statusbar segment count in GML 2021-05-05 21:38:45 +02:00
TableView.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TableView.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TabWidget.cpp LibGfx: Unify Rect, Point, and Size 2021-05-02 22:48:06 +02:00
TabWidget.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TextBox.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TextBox.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TextDocument.cpp LibGUI: Remove line-is-empty check in TextDocument return-early 2021-05-06 23:00:43 +01:00
TextDocument.h LibGUI: Remember modified state on undo/redo actions 2021-05-06 08:40:26 +02:00
TextEditor.cpp LibGUI: Rename ScrollableWidget => AbstractScrollableWidget 2021-05-03 21:03:13 +02:00
TextEditor.h LibGUI: Rename ScrollableWidget => AbstractScrollableWidget 2021-05-03 21:03:13 +02:00
TextPosition.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TextRange.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Toolbar.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Toolbar.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ToolbarContainer.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ToolbarContainer.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TreeView.cpp LibGUI: Rename ScrollableWidget => AbstractScrollableWidget 2021-05-03 21:03:13 +02:00
TreeView.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
UndoStack.cpp LibGUI: Reverse internal direction of GUI::UndoStack 2021-05-08 13:49:34 +02:00
UndoStack.h LibGUI: Reverse internal direction of GUI::UndoStack 2021-05-08 13:49:34 +02:00
Variant.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Variant.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
VimEditingEngine.cpp VimEditingEngine: allow selection of the endline character 2021-04-27 19:05:16 +02:00
VimEditingEngine.h VimEditingEngine: allow selection of the endline character 2021-04-27 19:05:16 +02:00
Widget.cpp LibGUI: Move widget registration to LibCore 2021-05-06 08:50:39 +02:00
Widget.h LibGUI: Move widget registration to LibCore 2021-05-06 08:50:39 +02:00
Window.cpp WindowServer+LibGUI: Make much of window construction asynchronous 2021-05-03 21:56:19 +02:00
Window.h WindowServer+LibGUI+Taskbar: Store window progress as Optional<int> 2021-05-02 10:43:39 +02:00
WindowManagerServerConnection.cpp Userland: Change IPC funcs to use plain arguments instead of a struct 2021-05-03 21:14:06 +02:00
WindowManagerServerConnection.h Userland: Change IPC funcs to use plain arguments instead of a struct 2021-05-03 21:14:06 +02:00
WindowServerConnection.cpp Userland: Update IPC calls to use proxies 2021-05-03 21:14:40 +02:00
WindowServerConnection.h Userland: Update IPC calls to use proxies 2021-05-03 21:14:40 +02:00
WindowType.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00