Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-11-29 | Improve testing and error handling around operating before processing | Jay Berkenbilt | |
2021-11-29 | Initialize QPDF::Members::file (fixes #584) | Jay Berkenbilt | |
2021-11-16 | Prepare 10.4.0 releaserelease-qpdf-10.4.0 | Jay Berkenbilt | |
2021-11-07 | Make recovery logic flexible about where objects end (fixes #573) | Jay Berkenbilt | |
Don't assume endobj is at the beginning of the line. This means we are looking at tokens for every line, but the odds of n n obj appearing in the middle of the object are likely much lower than endobj not being at the beginning of the line or missing entirely. This will probably have a negative impact on recovery time for very large files. Hopefully it will be worth it. | |||
2021-05-08 | Prepare 10.3.2 releaserelease-qpdf-10.3.2 | Jay Berkenbilt | |
2021-03-11 | Prepare 10.3.1 releaserelease-qpdf-10.3.1 | Jay Berkenbilt | |
2021-03-05 | Prepare 10.3.0 releaserelease-qpdf-10.3.0 | Jay Berkenbilt | |
2021-03-03 | Add QPDF::numWarnings | Jay Berkenbilt | |
2021-02-25 | Have QPDFObjectHandle notice when replaceObject was called | Jay Berkenbilt | |
This results in a performance penalty of 1% to 2% when replaceObject and swapObjects are never called and a somewhat larger penalty if they are called, but it's worth it to avoid very confusing behavior as discussed in depth in qpdf#507. | |||
2021-02-23 | Prepare 10.2.0 releaserelease-qpdf-10.2.0 | Jay Berkenbilt | |
2021-02-21 | QPDFObjectHandle::copyStream | Jay Berkenbilt | |
2021-02-21 | Refactor: separate copyStreamData from replaceForeignIndirectObjects | Jay Berkenbilt | |
2021-02-06 | Remove erroneous handling of /EFF for stream decryption | Jay Berkenbilt | |
I thought /EFF was supposed to be used as a default for decrypting embedded file streams, but actually it's supposed to be advice to a conforming writer about handling new ones. This makes sense since the findAttachmentStreams code, which is not actually needed, was never right. | |||
2021-02-06 | Make wrong object stream type a warning | Jay Berkenbilt | |
2021-01-26 | NNTree: rework iterators to be more memory efficient | Jay Berkenbilt | |
Keep a std::pair internal to the iterators so that operator* can return a reference and operator-> can work, and each can work without copying pairs of objects around. | |||
2021-01-24 | Use new QPDF{Name,Number}TreeObjectHelper API | Jay Berkenbilt | |
2021-01-24 | Use QPDFNameTreeObjectHelper's iterator directly | Jay Berkenbilt | |
2021-01-11 | Treat /EmbeddedFiles as a proper name tree | Jay Berkenbilt | |
If we ever had an encrypted file with different filters for attachments and either the /EmbeddedFiles name tree was deep or some of the file specs didn't have /Type, we would have overlooked those as attachment streams. The code now properly handles /EmbeddedFiles as a name tree. | |||
2021-01-06 | Warn rather than segv on access after closing input source (fixes #495) | Jay Berkenbilt | |
2021-01-04 | Prepare version 10.1.0release-qpdf-10.1.0 | Jay Berkenbilt | |
2020-12-28 | Implement user-provided stream filters | Jay Berkenbilt | |
Refactor QPDF_Stream to use stream filter classes to handle supported stream filters as well. | |||
2020-11-21 | Prepare 10.0.4 releaserelease-qpdf-10.0.4 | Jay Berkenbilt | |
2020-11-04 | Ignore unused field in xref entry, avoiding range error (fixes #482) | Jay Berkenbilt | |
2020-10-31 | Prepare 10.0.3 releaserelease-qpdf-10.0.3 | Jay Berkenbilt | |
2020-10-31 | Add comments explaining the foreign object copying code | Jay Berkenbilt | |
These are the comments I would have liked to have been able to read while fixing #449 and #478. | |||
2020-10-31 | Fix foreign stream copying bug (fixes #478) | Jay Berkenbilt | |
This reverts an incorrect fix to #449 and codes it properly. The real problem was that we were looking at the local dictionaries rather than the foreign dictionaries when saving the foreign stream data. In the case of direct objects, these happened to be the same, but in the case of indirect objects, the object references could be pointing anywhere since object numbers don't match up between the old and new files. | |||
2020-10-27 | Prepare 10.0.2 releaserelease-qpdf-10.0.2 | Jay Berkenbilt | |
2020-10-27 | Revert removal of unreadCh change for performance | Jay Berkenbilt | |
Turns out unreadCh is much more efficient than seek(-1, SEEK_CUR). Update comments and code to reflect this. | |||
2020-10-22 | Avoid leak by resolving object streams more than once (fuzz issue 23642) | Jay Berkenbilt | |
2020-10-22 | Minor code cleanup | Jay Berkenbilt | |
* Return rather than exiting from realmain in qpdf.cc * Remove extraneous blank line * Don't assign temporary to const reference | |||
2020-10-22 | Obscure bug fix copying foreign streams in special cases (fixes #449) | Jay Berkenbilt | |
Specifically, if a stream had its stream data replaced and had indirect /Filter or /DecodeParms, it would result in non-silent loss of data and/or internal error. | |||
2020-10-21 | Protect numeric conversion against user's locale (fixes #459) | Jay Berkenbilt | |
2020-10-18 | Stop using InputSource::unreadCh | Jay Berkenbilt | |
2020-10-17 | Check integer overflow in resolveObjectsInStream | Dean Scarff | |
Fixes a crash found by fuzzing. | |||
2020-04-09 | Prepare 10.0.1 releaserelease-qpdf-10.0.1 | Jay Berkenbilt | |
2020-04-06 | Prepare 10.0.0 release | Jay Berkenbilt | |
2020-04-06 | Allow propagation of errors and retry through StreamDataProvider | Jay Berkenbilt | |
StreamDataProvider::provideStreamData now has a rich enough API for it to effectively proxy to pipeStreamData. | |||
2020-04-04 | Use deterministic assignments for unique_id | Dean Scarff | |
Fixes qpdf/qpdf#419 | |||
2020-01-27 | Prepare 9.1.1 releaserelease-qpdf-9.1.1 | Jay Berkenbilt | |
2019-11-17 | Prepare 9.1.0 releaserelease-qpdf-9.1.0 | Jay Berkenbilt | |
2019-11-10 | Prepare 9.1.rc1 release | Jay Berkenbilt | |
2019-11-04 | Fix two additional fuzz test cases | Jay Berkenbilt | |
2019-10-22 | Add QPDF::getXRefTable() | Masamichi Hosoda | |
2019-10-22 | Exclude signature dictionary from compressible objects | Masamichi Hosoda | |
It seems better not to compress signature dictionaries. Various PDF digital signing tools, including Adobe Acrobat Reader DC, do not compress signature dictionaries. Table 8.93 "Entries in a signature dictionary" in PDF 1.5 reference describes that /ByteRange in the signature dictionary shall be used to describe a digest that does not include the signature value (/Contents) itself. The byte ranges cannot be determined if the dictionary is compressed. | |||
2019-10-13 | Prepare 9.0.2 releaserelease-qpdf-9.0.2 | Jay Berkenbilt | |
2019-09-20 | Prepare 9.0.1 release | Jay Berkenbilt | |
2019-09-18 | Fix fuzz issue 16953 (overflow checking in xref stream index) | Jay Berkenbilt | |
2019-09-01 | Prepare 9.0.0 releaserelease-qpdf-9.0.0 | Jay Berkenbilt | |
2019-08-31 | Add methods QPDF::anyWarnings and QPDF::closeInputSource | Jay Berkenbilt | |
2019-08-28 | Fix fuzz issues 15316 and 15390 | Jay Berkenbilt | |