summaryrefslogtreecommitdiff
path: root/Userland/Utilities/gzip.cpp
AgeCommit message (Collapse)Author
2023-04-01gzip: Use utilities from LibCompress to (de)compress filesTimothy Flynn
2023-03-13AK: Rename Stream::write_entire_buffer to Stream::write_until_depletedTim Schumacher
No functional changes.
2023-02-13LibCore: Move Stream-based file into the `Core` namespaceTim Schumacher
2023-01-20LibCore: Remove `FileStream`Tim Schumacher
2023-01-10LibCompress: Port `GzipCompressor` to `Core::Stream`Tim Schumacher
2022-12-10LibCompress: Port GzipDecompressor to `Core::Stream`Tim Schumacher
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-01-08gzip: Don't fail when trying to compress empty filesRummskartoffel
Given an empty file, gzip would try to create a zero-size memory mapping of that file, which would fail with EINVAL.
2022-01-08gzip: Port to LibMainRummskartoffel
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-11-23LibCore+AK: Move MappedFile from AK to LibCoreAndreas Kling
MappedFile is strictly a userspace thing, so it doesn't belong in AK (which is supposed to be user/kernel agnostic.)
2021-08-22Utilities: Add -d option to gzipItamar
This option specifies that we should perform decompression instead of compression.
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-27Utilities: Add gzip utilityIdan Horowitz
This is a small utility that is similar to gunzip but is used for compression instead of decompression.