summaryrefslogtreecommitdiff
path: root/Userland/Utilities/test-imap.cpp
AgeCommit message (Collapse)Author
2023-05-14test-imap: Prefer Core::File over DeprecatedFileBen Wiederhake
2023-03-13LibCore+Userland: Allow canceling promiseskleines Filmröllchen
To make EventLoop cancel its managed Promises, we need the ability to cancel them in the first place.
2023-03-10Everywhere: Rename equals_ignoring_case => equals_ignoring_ascii_caseAndreas Kling
Let's make it clear that these functions deal with ASCII case only.
2023-02-13LibCore: Rename `File` to `DeprecatedFile`Tim Schumacher
As usual, this removes many unused includes and moves used includes further down the chain.
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-07-12Everywhere: Add sv suffix to strings relying on StringView(char const*)sin-ack
Each of these strings would previously rely on StringView's char const* constructor overload, which would call __builtin_strlen on the string. Since we now have operator ""sv, we can replace these with much simpler versions. This opens the door to being able to remove StringView(char const*). No functional changes.
2022-01-13LibIMAP+Userland: Convert LibIMAP::Client to the Serenity Stream APIssin-ack
You now cannot get an unconnected LibIMAP::Client, but you can still close it. This makes for a nicer API where we don't have a Client object in a limbo state between being constructed and being connected. This code still isn't as nice as it should be, as TLS::TLSv12 is still not a Core::Stream::Socket subclass, which would allow for consolidating most of the TLS/non-TLS code into a single implementation.
2022-01-13test-imap: Convert test-imap to LibMainsin-ack
2021-11-08LibCore: Use ErrorOr<T> for Core::get_password()Andreas Kling
2021-09-12LibCore: Make get_password return SecretString instead of StringBrian Gianforcaro
We shouldn't let secrets sit around in memory, as they could potentially be retrieved by an attacker, or left in memory during a core dump.
2021-09-01LibIMAP: Stop leaking a Core::Promise<bool> in IMAP::Client::connect()Andreas Kling
2021-06-11Utilities: Add a simple utility to test the IMAP libraryx-yl
test-imap is a very simple tool which runs through some of the IMAP commands and makes sure they don't crash.