summaryrefslogtreecommitdiff
path: root/Userland/Utilities/zip.cpp
AgeCommit message (Collapse)Author
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-07-12Userland: Convert command line arguments to String/StringViewsin-ack
StringView was used where possible. Some utilities still use libc functions which expect null-terminated strings, so String objects were used there instead.
2022-04-01Everywhere: Run clang-formatIdan Horowitz
2022-01-28zip: Ignore symlinks when recursively zipping filesIdan Horowitz
This prevents infinite loops when symlinks point to a parent directory.
2022-01-21zip: Add unveil and pledge promisesDavid Lindbom
2022-01-04zip: Port to LibMain :^)mjz19910
2021-11-26Userland: Use Core::ArgsParser's Vector<StringView> API everywhereAndreas Kling
...and remove the Vector<String> variant since there are no remaining users of this API.
2021-05-12LibCore+Everywhere: Move OpenMode out of IODeviceAli Mohammad Pur
...and make it an enum class so people don't omit "OpenMode".
2021-04-29Utilities: Use Vector<String> positional arguments in some placesAndreas Kling
There are more places we can use these, I just picked some that felt like they improved the code.
2021-04-29Userland: Fix new GCC warningsGunnar Beutner
2021-04-22AK+Userland: Use idan.horowitz@serenityos.org for my copyright headersIdan Horowitz
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-03-23Userland: Add simple zip utilityIdan Horowitz
This uses the recently added ZipOutputStream in LibArchive.