ladybird/Userland/Applets
Sam Atkins b177e0dd66 ClipboardHistory: Be more careful about the history limit
Previously, if the number of history items was already above the history
limit, then it would never trim old history items. This could happen if
the ClipboardHistory.json file was manually edited.

Prevent this by sorting and trimming the data that is read in. For good
measure, also guard against `> m_history_limit` in add_item().
2024-02-08 13:46:12 +00:00
..
Audio Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
ClipboardHistory ClipboardHistory: Be more careful about the history limit 2024-02-08 13:46:12 +00:00
Keymap Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Network Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
ResourceGraph Userland: Use nondeprecated set_tooltip for static and formatted strings 2023-10-06 08:20:11 +02:00
WorkspacePicker Userland: Make Window::set_main_widget() non-fallible 2023-09-21 10:20:23 +02:00
CMakeLists.txt