summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibArchive/Zip.cpp
AgeCommit message (Collapse)Author
2022-05-12LibArchive: Use named members for ZIP general purpose flagsTim Schumacher
This fixes the faulty bit check that misclassified ZIPs as having data descriptors.
2022-04-01Everywhere: Run clang-formatIdan Horowitz
2022-03-18Libraries: Change enums to enum classes in LibArchiveLenny Maiorani
2022-02-18LibArchive: Use designated initializersLenny Maiorani
Benefits: - Braced-initialization prevents unknown narrowing conversions. - Using designated initializers will result in a compiler error when a member is skipped or forgotten.
2022-02-18LibArchive: Refactor zip header handlingLenny Maiorani
The directory headers have some common code for reading.
2021-11-11Everywhere: Pass AK::ReadonlyBytes by valueAndreas Kling
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-27LibArchive: Bounds check header offsets in Zip ParserIdan Horowitz
Since the central directory offset in the end of central directory record and the local file offset in each central directory header are user-controlled arbitary data, we have to bounds check them before using them.
2021-03-23LibArchive: Implement ZipOutputStream for zip archive creationIdan Horowitz
This output stream can be used to create zip archives, and will be used in the implementation of the zip utility.
2021-03-23LibArchive: Add Zip file parserIdan Horowitz
This is based on the zip specification on PKWARE's zip specification (https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT) and will be used in the unzip utility and eventually in the zip utility.