Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-08-22 | Fix logic error in recovery | Jay Berkenbilt | |
A stray semicolon caused a condition to be incorrectly applied during stream length recovery. | |||
2017-08-22 | Push QPDFWriter member variables into a nested class | Jay Berkenbilt | |
2017-08-22 | Push QPDF member variables into a nested class | Jay Berkenbilt | |
Pushing member variables into a nested class enables addition of new member variables without breaking binary compatibility. | |||
2017-08-22 | Improve pclm parameter settings | Jay Berkenbilt | |
2017-08-22 | Combine writePCLm with writeStandard | Jay Berkenbilt | |
Reduce code duplication | |||
2017-08-22 | Combine PCLm header into writeHeader | Jay Berkenbilt | |
2017-08-22 | Remove duplicated coverage cases | Jay Berkenbilt | |
Remove duplicated coverage cases from Sahil's code so existing test suite passes. | |||
2017-08-22 | QPDFWriter: Add setPCLm() and writePCLm() methods | Sahil Arora | |
* Add support for PCLm using setPCLm() and writePCLm() methods in QPDFWriter.hh and QPDFWriter.cc * Add a function writePCLmHeader() for PCLm header in QPDFWriter | |||
2017-08-21 | Precheck streams by default | Jay 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-21 | Enable finer grained control of stream decoding | Jay 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-21 | Implement Pl_DCT pipeline | Jay Berkenbilt | |
Additional testing is added in later commits to be supported by additional changes in the library. | |||
2017-08-19 | Implement Pl_RunLength pipeline | Jay Berkenbilt | |
2017-08-13 | Add page rotation (fixes #132) | Jay Berkenbilt | |
2017-08-12 | Fix infinite loop in QPDFWriter (fixes #143) | Jay Berkenbilt | |
2017-08-12 | Fix --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-12 | Prevent 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-12 | Pad encryption parameters that are too short (fixes #96) | Jay Berkenbilt | |
2017-08-11 | Generate libqpdf.map from autoconf | Jay Berkenbilt | |
Rather than checking consistency of libqpdf.map, generate it. | |||
2017-08-11 | Fix libqpdf.map and prevent future breakage | Jay Berkenbilt | |
The build now checks to make sure libqpdf.map has the right library version number in it. | |||
2017-08-11 | Remove PCRE | Jay Berkenbilt | |
2017-08-11 | Read xref table without PCRE | Jay Berkenbilt | |
Also accept more errors than before. | |||
2017-08-11 | Reconstruct xref without PCRE | Jay Berkenbilt | |
2017-08-11 | Improve stream length recovery | Jay Berkenbilt | |
Eliminate PCRE and find endobj not preceded by endstream. Be more lax about placement of endstream and endobj. | |||
2017-08-11 | Find xref without PCRE | Jay Berkenbilt | |
2017-08-11 | Find lindict without PCRE | Jay Berkenbilt | |
2017-08-11 | Find starxref without PCRE | Jay Berkenbilt | |
2017-08-11 | Find header without PCRE | Jay Berkenbilt | |
2017-08-11 | Implement findFirst and findLast in InputSource | Jay 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-11 | Allow QPDFTokenizer::readToken to return bad tokens | Jay 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-05 | QUtil::strcasecmp | Jay Berkenbilt | |
2017-07-30 | Include missing header in QPDFTokenizer.cc (fixes #125) | Pranjal Bhor | |
Required for strtol() | |||
2017-07-30 | Allow reading command-line args from files (fixes #16) | Jay Berkenbilt | |
2017-07-30 | Detect input file = output file (fixes #29) | Jay Berkenbilt | |
2017-07-30 | Catch more exceptions while resolving objects | Jay Berkenbilt | |
2017-07-30 | When recover stream length, indicate the length (fixes #44) | Jay Berkenbilt | |
2017-07-29 | Add newline-before-endstream option (fixes #103) | Jay Berkenbilt | |
2017-07-29 | Handle zlib data errors better (fixes #106) | Jay Berkenbilt | |
2017-07-29 | Better recovery of bad stream start (fixes #104) | Jay Berkenbilt | |
2017-07-29 | Better handle split content streams (fixes #73) | Jay Berkenbilt | |
When parsing content streams, allow content to be split arbitrarily across stream boundaries. | |||
2017-07-29 | Fix exception catch | Jay Berkenbilt | |
2017-07-29 | Use 1.2 as the version if we can't read it from the header | Jay Berkenbilt | |
The code was using 1.0, but we use /FlateDecode, which didn't appear until 1.2. | |||
2017-07-29 | Add option to preserve unreferenced objects | Jay Berkenbilt | |
2017-07-29 | Explicitly check root dictionary type | Jay 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-28 | Add precheck streams capability | Jay 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-28 | Convert many more errors to warnings | Jay Berkenbilt | |
2017-07-28 | Convert stream filtering errors to warnings | Jay Berkenbilt | |
2017-07-28 | Convert object parsing errors to warnings | Jay 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-27 | Move lexer helper functions to QUtil | Jay Berkenbilt | |
2017-07-27 | Remove PCRE from QPDFTokenizer | Jay Berkenbilt | |
2017-07-26 | Make windows includes lowercase (fixes #123) | slurdge | |
For cross compiling. |