aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2017-08-21Precheck streams by defaultJay Berkenbilt
There is no need for a --precheck-streams option. We can do the precheck without imposing any penalty, only re-encoding the stream if it fails the first time.
2017-08-21Enable finer grained control of stream decodingJay Berkenbilt
This commit adds several API methods that enable control over which types of filters QPDF will attempt to decode. It also adds support for /RunLengthDecode and /DCTDecode filters for both encoding and decoding.
2017-08-21Implement Pl_DCT pipelineJay Berkenbilt
Additional testing is added in later commits to be supported by additional changes in the library.
2017-08-21Update TODOJay Berkenbilt
2017-08-21Add libjpeg dependencyJay Berkenbilt
2017-08-19Implement Pl_RunLength pipelineJay Berkenbilt
2017-08-19Fix test caseJay Berkenbilt
There was an unintended recoverable error in a test file. It wasn't hurting anything, but it was obscuring the actual intent of the test.
2017-08-16Support NO_REBUILD=1 for testing without rebuildJay Berkenbilt
2017-08-16Move qtest invocation into rules.mkJay Berkenbilt
2017-08-13Revert "Add page rotation example in contrib"Jay Berkenbilt
This reverts commit 8ee83ca722baad9434119bb72d620dfd8e6103c4. This is being removed because qpdf now has its own page rotation. The example was an excellent contribution to qpdf, but now it illustrates rotating pages "by hand", which is no longer needed because of QPDFObjectHandle::rotatePage.
2017-08-13Add page rotation (fixes #132)Jay Berkenbilt
2017-08-12Add --verbose flagJay Berkenbilt
2017-08-12Support groups of pages in --split-pages (fixes #30)Jay Berkenbilt
2017-08-12Change --single-pages to --split-pagesJay Berkenbilt
This is in preparation for implementing page groups.
2017-08-12Note about veraPDFJay Berkenbilt
2017-08-12Fix infinite loop in QPDFWriter (fixes #143)Jay Berkenbilt
2017-08-12Fix --newline-before-endstream option (fixes #133)Jay Berkenbilt
Add a newline unconditionally before endstream even if a newline was already written as part of the stream data.
2017-08-12Prevent a division by zero error (fixes #141)Jay Berkenbilt
Bad /W in an xref stream could cause a division by zero error. Now this is handled as a special case.
2017-08-12Pad encryption parameters that are too short (fixes #96)Jay Berkenbilt
2017-08-11Sanitize test suiteJay Berkenbilt
Remove problematic test files
2017-08-11Rerun libtoolizeJay Berkenbilt
2017-08-11Update maintainer notesJay Berkenbilt
2017-08-11Generate libqpdf.map from autoconfJay Berkenbilt
Rather than checking consistency of libqpdf.map, generate it.
2017-08-11Fix libqpdf.map and prevent future breakageJay Berkenbilt
The build now checks to make sure libqpdf.map has the right library version number in it.
2017-08-11Update TODOJay Berkenbilt
2017-08-11Remove PCREJay Berkenbilt
2017-08-11Read xref table without PCREJay Berkenbilt
Also accept more errors than before.
2017-08-11Reconstruct xref without PCREJay Berkenbilt
2017-08-11Improve stream length recoveryJay Berkenbilt
Eliminate PCRE and find endobj not preceded by endstream. Be more lax about placement of endstream and endobj.
2017-08-11Find xref without PCREJay Berkenbilt
2017-08-11Find lindict without PCREJay Berkenbilt
2017-08-11Find starxref without PCREJay Berkenbilt
2017-08-11Find header without PCREJay Berkenbilt
2017-08-11Implement findFirst and findLast in InputSourceJay Berkenbilt
Preparing to refactor some pattern searching code to use these instead of their own memchr loops. This should simplify the code that replaces PCRE.
2017-08-11Allow QPDFTokenizer::readToken to return bad tokensJay Berkenbilt
Sometimes we want to ignore bad tokens rather than having them throw an exception. A coverage case is commented out here and added in a later commit.
2017-08-11Update TODOJay Berkenbilt
2017-08-11Remove unused PointerHolder interfaceJay Berkenbilt
Also fix a bug resulting from incorrect use of PointerHolder because of this unused parameter.
2017-08-10Call PointerHolder constructor properly (fixes #135)Jay Berkenbilt
Passed arguments to the constructor in the wrong order.
2017-08-05Add --split-pages option (fixes #30)Jay Berkenbilt
2017-08-05QUtil::strcasecmpJay Berkenbilt
2017-08-05Split bug tests into separate chunkJay Berkenbilt
2017-08-05Fix doc typoJay Berkenbilt
2017-08-05Refactor write_outputJay Berkenbilt
2017-08-05Move page spec processing earlierJay Berkenbilt
2017-08-05Split qpdf.cc's main into reasonably sized functionsJay Berkenbilt
main() had gotten absurdly long. Split it into reasonable chunks. This refactoring is in preparation for handling splitting output into single pages.
2017-08-03Fix off-by-one error in --pages argument parsing (fixes #129)Jay Berkenbilt
2017-07-31Fix doc typoJay Berkenbilt
2017-07-30Add page rotation example in contribiskander.sharipov
This is added to contrib rather than examples because it requires c++-11 and lacks a test suite, but it is still useful enough to include with the distribution.
2017-07-30Fix command-line checking in pdf-split-pages exampleJay Berkenbilt
2017-07-30Include missing header in QPDFTokenizer.cc (fixes #125)Pranjal Bhor
Required for strtol()