aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
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()
2017-07-30Allow reading command-line args from files (fixes #16)Jay Berkenbilt
2017-07-30Detect input file = output file (fixes #29)Jay Berkenbilt
2017-07-30Allow --check to coexist with and precede other operations (fixes #42)Jay Berkenbilt
2017-07-30Catch more exceptions while resolving objectsJay Berkenbilt
2017-07-30When recover stream length, indicate the length (fixes #44)Jay Berkenbilt
2017-07-29Add newline-before-endstream option (fixes #103)Jay Berkenbilt
2017-07-29Handle zlib data errors better (fixes #106)Jay Berkenbilt
2017-07-29Better recovery of bad stream start (fixes #104)Jay Berkenbilt
2017-07-29autoconf: find gnu make as gmake or make (fixes #75)Jay Berkenbilt
2017-07-29Better handle split content streams (fixes #73)Jay Berkenbilt
When parsing content streams, allow content to be split arbitrarily across stream boundaries.
2017-07-29Fix exception catchJay Berkenbilt
2017-07-29Clarify documentation on copyForeignObject (fixes #69)Jay Berkenbilt
Be explicit about the need to keep the source QPDF object around.
2017-07-29Use 1.2 as the version if we can't read it from the headerJay Berkenbilt
The code was using 1.0, but we use /FlateDecode, which didn't appear until 1.2.
2017-07-29Update TODOJay Berkenbilt
2017-07-29Update TODOJay Berkenbilt
2017-07-29Add option to preserve unreferenced objectsJay Berkenbilt
2017-07-29Explicitly check root dictionary typeJay Berkenbilt
Very badly corrupted files may not have a retrievable root dictionary. Handle that as a special case so that a more helpful error message can be provided.
2017-07-28Update TODOJay Berkenbilt
2017-07-28Add precheck streams capabilityJay Berkenbilt
When requested, QPDFWriter will do more aggress prechecking of streams to make sure it can actually succeed in decoding them before attempting to do so. This will allow preservation of raw data even when the raw data is corrupted relative to the specified filters.
2017-07-28Convert many more errors to warningsJay Berkenbilt
2017-07-28Convert stream filtering errors to warningsJay Berkenbilt
2017-07-28Convert object parsing errors to warningsJay Berkenbilt
QPDFObjectHandle::parseInternal now issues warnings instead of throwing exceptions for all error conditions that it finds (except internal logic errors) and has stronger recovery for things like invalid tokens and malformed dictionaries. This should improve qpdf's ability to recover from a wide range of broken files that currently cause it to fail.
2017-07-27Move lexer helper functions to QUtilJay Berkenbilt
2017-07-27Remove PCRE from QPDFTokenizerJay Berkenbilt
2017-07-26Make windows includes lowercase (fixes #123)slurdge
For cross compiling.