Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-04-04 | Fix bug in QPDF_Name::normalizeName introduced in #891 | m-holger | |
'#' was omitted from the list of chars that need to be escaped. | |||
2023-04-02 | Add new functions qpdfjob_create_qpdf and qpdfjob_write_qpdf | m-holger | |
2023-04-01 | Refactor QPDF_Array::setItem and rename to setAt | m-holger | |
2023-04-01 | Refactor QPDF_Array::eraseItem and rename to erase | m-holger | |
2023-04-01 | Refactor QPDF_Array::insertItem and rename to insert | m-holger | |
2023-03-20 | Merge pull request #814 from m-holger/check | Jay Berkenbilt | |
Warn if catalog type entry is invalid (fixes #810) | |||
2023-03-19 | Warn if catalog type entry is invalid (fixes #810) | m-holger | |
2023-03-18 | Merge pull request #924 from cdosborn/main | Jay Berkenbilt | |
Improve --optimize-images to find images nested within XObjects | |||
2023-03-18 | Merge pull request #918 from m-holger/fixqdf | Jay Berkenbilt | |
Code tidy QdfFixer methods | |||
2023-03-16 | Add test validating that images in nested XObjects are included in optimization | Connor Osborn | |
The sample file (nested-images.pdf) includes a pdf with an image that is nested within an XObject within an XObject in the Resources dict of the only page. These images were ignored in prior versions of qpdf. | |||
2023-03-09 | Replace std::regex_search with string_view methods in QdfFixer::processLines | m-holger | |
2023-03-09 | Use std::string_view in QdfFixer::processLines | m-holger | |
Change type of local var lines to string_view. Also, instead of constructing a list of lines, read the entire input into a single string and break it up into lines on the fly.stash | |||
2023-03-08 | Tidy QdfFixer::adjustOstreamXref | m-holger | |
2023-03-08 | Tidy QdfFixer::checkObjId | m-holger | |
2023-03-08 | Code tidy QdfFixer::writeBinary | m-holger | |
2023-02-25 | Overlay/underlay: capture origial page as form XObject (fixes #904) | Jay Berkenbilt | |
2023-02-19 | Handle linearization warnings as proper warning (fixes #851) | Jay Berkenbilt | |
2023-02-04 | Add data member JSONParser::token_start | m-holger | |
2023-01-28 | Implement --remove-restrictions (fixes #833) | Jay Berkenbilt | |
2023-01-09 | Fix annotations properly for page with no /Resources (fixes #827) | Jay Berkenbilt | |
2023-01-01 | Do double indirect test correctly | Jay Berkenbilt | |
2022-12-31 | Add test case for broken indirect object reference | Jay Berkenbilt | |
...where the first "number" is an indirect object that happens to be a number. | |||
2022-12-31 | Fix QPDFObjectHandle::isScalar | m-holger | |
Exclude uninitialized, destroyed and reserved objects. | |||
2022-11-27 | Fix logic for fixDanglingReferences | Jay Berkenbilt | |
2022-11-26 | Refactor QPDF::fixDanglingReferences | m-holger | |
2022-11-25 | Add test case of dangling ref not found until xref reconstruction | Jay Berkenbilt | |
2022-11-25 | Temporary (revert after fix): mark test as expected failure | Jay Berkenbilt | |
2022-11-25 | Preserve unreferenced objects in dangling test | Jay Berkenbilt | |
2022-11-25 | Dangling ref test: show new object ID | Jay Berkenbilt | |
2022-11-25 | Code formatting updates | Jay Berkenbilt | |
2022-11-20 | Refactor QPDFObjectHandle::copyObject1 | m-holger | |
2022-11-19 | Correctly handle reuse of xref stream (fixes #809) | Jay Berkenbilt | |
2022-11-19 | Use QPDF::newStream in examples | m-holger | |
2022-10-06 | Attempt to test for QPDFNameTreeObjectHelper's vtable | Jay Berkenbilt | |
It has disappeared from the DLL on Windows a few times. | |||
2022-10-01 | Add private methods QPDF::damagedPDF | m-holger | |
2022-09-26 | Fix edge case in character encoding (fixes #778) | Jay Berkenbilt | |
Avoid representing as PDF Doc encoding any string whose PDF Doc encoding representation starts with a UTF-16 or UTF-8 marker. | |||
2022-09-23 | Add code to CI to verify signed/unsigned char | Jay Berkenbilt | |
Make sure that our attempt to test both signed and unsigned char is actually right. | |||
2022-09-21 | Replace calls to QUtil::int_to_string with std::to_string | m-holger | |
2022-09-13 | Remove explicit direct object check from getObject | Jay Berkenbilt | |
An indirect object reference to 0, 0 is invalid. If it appears in the file or is parsed from a string, the parser catches it. This check would only be useful for someone explicitly calling getObject with 0, 0, and that would trigger an error during resolve(). | |||
2022-09-12 | Remove obsolete LL_FMT check from build (fixes #768) | Jay Berkenbilt | |
This was broken for cross-compilation and has probably been unnecessary for several years now. Also fix extraneous whitespace in related some tests. | |||
2022-09-10 | Change QPDFObjectHandle == to isSameObjectAs | Jay Berkenbilt | |
Replace operator== and operator!=, which were testing for the same underlying object, with isSameObjectAs. This change was motivated by the fact that pikepdf internally had its own operator== method for QPDFObjectHandle that did structural comparison. I backed out qpdf's operator== as a courtesy to pikepdf (in my own testing) but also because I think people might naturally assume that operator== does a structural comparison, and isSameObjectAs is clearer in its intent. | |||
2022-09-09 | Add C API functions for using custom loggers | Jay Berkenbilt | |
Expose functions to the C API to create new loggers and to setLogger and getLogger for QPDF and QPDFJob. | |||
2022-09-09 | Fix tests with GNU grep 3.8 | Andreas Stieger | |
GNU grep 3.8 started to emit warnings when invoking egrep. Convert all calls to grep -E. | |||
2022-09-09 | Add JSON v2 support to C API | Jay Berkenbilt | |
2022-09-08 | Change reset to disconnect and clarify comments | Jay Berkenbilt | |
I decided that it's actually fine to copy a direct object to another QPDF. Even if we eventually prevent a QPDFObject from having multiple parents, this could happen if an object is moved. | |||
2022-09-08 | Create a special "destroyed" type rather than using null | Jay Berkenbilt | |
When a QPDF is destroyed, changing indirect objects to direct nulls makes them effectively disappear silently when they sneak into other places. Instead, we should treat this as an error. Adding a destroyed object type makes this possible. | |||
2022-09-08 | Clear owning QPDF information for all objects, not just indirect | Jay Berkenbilt | |
2022-09-08 | Update QPDFObject with comment | Jay Berkenbilt | |
Also, since it's just there for compatibility, we don't need to add new object types to it. | |||
2022-09-08 | Remove unneeded owning_qpdf from QPDFValue | Jay Berkenbilt | |
The qpdf member was already sufficient. Removing this actually fixed a few pre-existing issues around detecting foreign ownership and allowing certain conditions to be warnings rather than exceptions. | |||
2022-09-07 | Fix typo | Jay Berkenbilt | |