Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-02-03 | Handle older PDFs whose form XObjects inherit resources (fixes #494) | Jay Berkenbilt | |
When removing unreferenced resources, notice if a page (recursively) contains a form XObject with unreferenced resources, and count any such resources as referenced by the page. | |||
2021-02-03 | Refactor removal of unreferenced resources | Jay Berkenbilt | |
Refactor in preparation for resolving unresolved resources in form xobjects from page. | |||
2021-01-31 | Handle strings in inline image dictionaries | Jay Berkenbilt | |
We need to use token.getRawValue, not token.getValue | |||
2021-01-31 | Recover from exceptions during filtering for inline images | Jay Berkenbilt | |
2021-01-31 | Improve memory safety of dict/array iterators | Jay Berkenbilt | |
2021-01-30 | Add C++ iterator API around array and dictionary objects | Jay Berkenbilt | |
2021-01-29 | Make QPDFObjectHandle::is* return false for uninitialized objects | Jay Berkenbilt | |
2021-01-29 | name/number tree: explicitly declare default destructors | 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-26 | name/number trees: remove | Jay Berkenbilt | |
2021-01-25 | name/number trees: insertAfter | Jay Berkenbilt | |
2021-01-25 | name/number trees: newEmpty, increment/decrement end() | Jay Berkenbilt | |
2021-01-25 | Implement repair and insert for name/number trees | Jay Berkenbilt | |
2021-01-24 | QPDFObjectHandle::newUnicodeString to uses UTF-16 only when needed | Jay Berkenbilt | |
Use the first of ASCII, PDFDocEncoding, or UTF-16 that is capable of encoding the string. | |||
2021-01-24 | Use new QPDF{Name,Number}TreeObjectHelper API | Jay Berkenbilt | |
2021-01-24 | Add new constructors for name/number tree helpers | Jay Berkenbilt | |
Add constructors that take a QPDF object so we can issue warnings and create new indirect objects. | |||
2021-01-24 | Use QPDFNameTreeObjectHelper's iterator directly | Jay Berkenbilt | |
2021-01-24 | Add iterators to name/number tree helpers | Jay Berkenbilt | |
2021-01-24 | Reimplement name and number tree object helpers | Jay Berkenbilt | |
Create a computationally and memory efficient implementation of name and number trees that does binary searches as intended by the data structure rather than loading into a map, which can use a great deal of memory and can be very slow. | |||
2021-01-17 | Add warn() to QPDF's public API | 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 | |
2021-01-04 | Spell check | Jay Berkenbilt | |
2021-01-04 | Fix some pipelines to be safe if downstream write fails (fuzz issue 28262) | Jay Berkenbilt | |
2021-01-03 | Fix outdated comment | Jay Berkenbilt | |
2021-01-02 | Make more QPDFPageObjectHelper methods work with form XObject | Jay Berkenbilt | |
2021-01-02 | Externalize inline images now includes form XObjects | Jay Berkenbilt | |
2021-01-02 | Bug fix: avoid extraneous pipeline finish calls with multiple contents | Jay Berkenbilt | |
Avoid calling finish() multiple times on the pipeline passed to pipeContentStreams. This commit also fixes a bug in which qpdf was not exiting with the proper exit status if warnings found while splitting pages; this was exposed by a test case that changed. | |||
2021-01-02 | Add several methods for working with form XObjects (fixes #436) | Jay Berkenbilt | |
Make some more methods in QPDFPageObjectHelper work with form XObjects, provide forEach methods to walk through nested form XObjects, possibly recursively. This should make it easier to work with form XObjects from user code. | |||
2021-01-02 | QPDFPageObjectHelper: filterPageContents -> filterContents + form XObject | Jay Berkenbilt | |
2021-01-02 | QPDFPageObjectHelper: getPageImages -> getImages | Jay Berkenbilt | |
2021-01-02 | QPDFPageObjectHelper::getPageImages: support form XObjects | Jay Berkenbilt | |
2021-01-01 | Add QPDFObjectHandle::isFormXObject | Jay Berkenbilt | |
2020-12-30 | Add QPDFPageObjectHelper::flattenRotation and --flatten-rotation | Jay Berkenbilt | |
2020-12-28 | Add QPDFObjectHandle::setFilterOnWrite | Jay Berkenbilt | |
2020-12-28 | Add ostream << for QPDFObjGen | Jay Berkenbilt | |
2020-12-28 | Let optimize filter stream parameters instead of making them direct | Jay Berkenbilt | |
Also removes preclusion of stream references in stream parameters of filterable streams and reduces write times by about 8% by eliminating an extra traversal of the objects. | |||
2020-12-28 | Restructure optimize to allow skipping parameters of filtered streams | Jay Berkenbilt | |
2020-12-28 | Refactor: separate code that determines whether to filter a stream | 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-12-26 | Add QPDFObjectHandle::makeDirect(bool allow_streams) | Jay Berkenbilt | |
2020-12-20 | Provide qpdf write progress reporting from C API (fixes #487) | Jay Berkenbilt | |
2020-11-29 | Add QPDFObjectHandle manipulation to C API | Jay Berkenbilt | |
2020-11-21 | Prepare 10.0.4 releaserelease-qpdf-10.0.4 | Jay Berkenbilt | |
2020-11-11 | Treat direct page as runtime rather than logic error (fuzz issue 27393) | 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 | Fix stack overflow on direct root (fuzz issue 26761) | 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. |