Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-09-12 | Improve message for stream decoding error | Jay Berkenbilt | |
Tweak the message so that we inform the user that we are mitigating data loss. | |||
2017-09-12 | Update C API with new QPDFWriter methods | Jay Berkenbilt | |
2017-09-08 | Pl_DCT: Use custom source and destination managers (fixes #153) | Jay Berkenbilt | |
Avoid calling jpeg_mem_src and jpeg_mem_dest. The custom destination manager writes to the pipeline in smaller chunks to avoid having the whole image in memory at once. The source manager works directly with the Buffer object. Using customer managers avoids use of memory source and destination managers, which are not present in older versions of libjpeg still in use by some Linux distributions. | |||
2017-08-31 | PNGFilter: Better range checking for columns | Jay Berkenbilt | |
2017-08-29 | Replace all atoi calls with QUtil::string_to_int | Jay Berkenbilt | |
The latter catches underflow/overflow. | |||
2017-08-29 | Pl_PNGFilter: disallow columns = 0 | Jay Berkenbilt | |
2017-08-29 | Detect integer overflow/underflow | Jay Berkenbilt | |
2017-08-29 | Fix memory leak with bad jpeg data | Jay Berkenbilt | |
2017-08-29 | Clean up circular references in QPDF_Stream | Jay Berkenbilt | |
2017-08-27 | Fix error caught by clang | Jay Berkenbilt | |
2017-08-27 | Pad keys to avoid memory errors (fixes #147) | Jay Berkenbilt | |
2017-08-26 | Fix Pl_Flate memory leak on error (fixes #148) | Jay Berkenbilt | |
2017-08-26 | Parse iteratively to avoid stack overflow (fixes #146) | Jay Berkenbilt | |
2017-08-26 | Detect xref pointer infinite loop (fixes #149) | Jay Berkenbilt | |
2017-08-22 | Bump soname to 18 and version to 7.0.b1release-qpdf-7.0.b1 | Jay Berkenbilt | |
2017-08-22 | Spell check | Jay Berkenbilt | |
2017-08-22 | Update references to README files | Jay Berkenbilt | |
Most of the README files have been renamed. Refer to the new names. | |||
2017-08-22 | Do memory checks | Jay Berkenbilt | |
Slightly improve memory cleanup in Pl_DCT Make it easier to test with valgrind | |||
2017-08-22 | Limit token length during xref recovery | Jay Berkenbilt | |
While scanning the file looking for objects, limit the length of tokens we allow. This prevents us from getting caught up in reading a file character by character while digging through large streams. | |||
2017-08-22 | Fix compiler warnings for clang/mac OS X | Jay Berkenbilt | |
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 | |