summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/Clipboard.h
AgeCommit message (Collapse)Author
2023-05-08Applets/ClipboardHistory: Add persistent storageLucas CHOLLET
Clipboard entries are now preserved upon reboot :^). Unfortunately, it only supports data with the mimetype "text/". This is done by writing all entries as a JSON object in a file located in ~/.data. Co-authored-by: Sagittarius-a <sagittarius-a@users.noreply.github.com>
2023-05-05LibGUI: Make `Clipboard::initialize` propagate errorsLucas CHOLLET
2023-02-13LibGUI: Make Clipboard::set_plain_text take text as a StringViewKarol Kosek
2023-01-17LibGUI: Allow extra metadata when copying bitmaps to the clipboardTim Ledbetter
2022-12-06AK+Everywhere: Rename String to DeprecatedStringLinus Groh
We have a new, improved string type coming up in AK (OOM aware, no null state), and while it's going to use UTF-8, the name UTF8String is a mouthful - so let's free up the String name by renaming the existing class. Making the old one have an annoying name will hopefully also help with quick adoption :^)
2022-02-25LibGUI: Rename ClipboardServerConnection=>ConnectionToClipboardServerItamar
This was done with CLion's automatic rename feature.
2021-11-21LibGUI+Everywhere: Make sync requests to Clipboard server more obviousBen Wiederhake
2021-11-21LibGUI: Make clipboard-as-bitmap parsing less data-race-yBen Wiederhake
This encourages the caller to first fetch data and type atomically, and then parse that, instead of potentially making multiple requests.
2021-11-11Everywhere: Pass AK::ReadonlyBytes by valueAndreas Kling
2021-07-27LibGUI: Add a ClipboardClient for GUI::ClipboardTheFightingCatfish
Anyone who inherits from `GUI::Clipboard::ClipboardClient` will receive clipboard notifications via `clipboard_content_did_change()`. Update ClipboardHistoryModel, TextEditor and TerminalWidget to inherit from this class.
2021-05-10LibGUI: Add Clipboard::clear()Sergey Bugaev
Does exactly what it says on the tin :^)
2021-04-22Everything: Move to SPDX license identifiers in all files.Brian Gianforcaro
SPDX License Identifiers are a more compact / standardized way of representing file license information. See: https://spdx.dev/resources/use/#identifiers This was done with the `ambr` search and replace tool. ambr --no-parent-ignore --key-from-file --rep-from-file key.txt rep.txt *
2021-01-12Libraries: Move to Userland/Libraries/Andreas Kling