summaryrefslogtreecommitdiff
path: root/source/fitz/untar.c
AgeCommit message (Collapse)Author
2018-11-01Bug 700040: tar: Handle posix, ustar and v7 tar formats.Sebastian Rasmussen
These formats are all almost identical to GNU tar format.
2018-08-10Clean up null/range/endstream filter.Tor Andersson
Use separate functions to keep the code simpler. Use memmem to simplify and optimize search for 'endstream' token. Do not look for 'endobj' since that could cause a false positives in compressed object streams that have duff lengths.
2018-04-03Fix error message in tar archive code.Tor Andersson
2017-11-01Use int64_t for public file API offsets.Tor Andersson
Don't mess with conditional compilation with LARGEFILE -- always expose 64-bit file offsets in our public API.
2017-04-27Use FZ_SEEK_SET macros for fz_seek.Tor Andersson
Don't depend on stdio.h for our own I/O functions.
2017-04-27Include required system headers.Tor Andersson
2017-03-28Rename fz_new_archive to fz_new_derived_archiveRobin Watts
Fits with the rest of the code.
2016-12-27Stylistic cleanups.Tor Andersson
2016-11-14Make fz_buffer structure private to fitz.Robin Watts
Move the definition of the structure contents into new fitz-imp.h file. Make all code outside of fitz access the buffer through the defined API. Add a convenience API for people that want to get buffers as null terminated C strings.
2016-09-08Add support for GNU tar archives.Sebastian Rasmussen