Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-02-17 | set page labels: detect start page < 1 (fixes #939) | Jay Berkenbilt | |
2024-02-17 | Merge branch 'jw' from #1146 into work | Jay Berkenbilt | |
2024-02-16 | Expose QPDFObjectHandle::writeJSON | m-holger | |
2024-02-16 | Add additional name token JSON tests | m-holger | |
Also, test writing JSON v1 files and files with deeply nested containers. | |||
2024-02-16 | Add additional sparse array JSON tests | m-holger | |
2024-02-11 | Fix previous fix to setting checkbox value (fixes #1056) | Jay Berkenbilt | |
The code accepted values other than /Yes but still used /Yes as the checked value instead of obeying the normal appearance dictionary. | |||
2024-02-06 | Detect JSON object whose value is an indirect object | Jay Berkenbilt | |
2024-02-04 | Handle parse error stream data (fixes #1123) | Jay Berkenbilt | |
A parse error in stream data in which stream data contained a nested object would cause a crash because qpdf was not correctly updating its internal state. Rework the QPDF json reactor to not be sensitive to parse errors in this way. | |||
2024-01-29 | Allow "n:/pdf-syntax" JSON syntax for dictionary keys | m-holger | |
2024-01-17 | Tighten checks for invalid indirect references during xref reconstruction | m-holger | |
2024-01-17 | Tighten checks for invalid indirect references in QPDFParser | m-holger | |
2024-01-12 | Fix null pointer issue on array copy | Jay Berkenbilt | |
2024-01-11 | Add non-trivial multiple overlay/underlay tests | Jay Berkenbilt | |
2024-01-11 | Include filename in verbose output for overlay/underlay | Jay Berkenbilt | |
2024-01-10 | Handle pages/under/overlay JSON file in begin | Jay Berkenbilt | |
...since they have to be handled before other options. It was working because, in both cases, `file` was alphabetically before the other keys, but this implementation gives a stronger guarantee. | |||
2024-01-10 | Allow --file with --overlay and --underlay | Jay Berkenbilt | |
2024-01-10 | Allow --file and --range with --pages | Jay Berkenbilt | |
Accept --file and --range as named parameters in additional to allowing positional arguments. This is in preparation for adding additional flags. | |||
2024-01-10 | Fix arg parsing check with --collate | Jay Berkenbilt | |
The check for the number of items was in the wrong place. | |||
2024-01-07 | Bug fix: treat old generations of reused objects as null | Jay Berkenbilt | |
2024-01-07 | Add better tests for generation > 0 with object streams | Jay Berkenbilt | |
This includes an expected failure for a file with a dangling reference to an old generation. | |||
2024-01-07 | Add failing tests to illustrate qpdf's generation bug | Jay Berkenbilt | |
2024-01-06 | Attempt to find xref streams during recovery (fixes #1103) | Jay Berkenbilt | |
2024-01-05 | Implement --set-page-labels and supporting API (fixes #939) | Jay Berkenbilt | |
2024-01-05 | Wiring for --set-page-labels: manual (non-bisectable commit) | Jay Berkenbilt | |
This commit contains only the manual changes. It is separated for clarity. This commit would not pass CI because it lacks the automated changes, which appear in the next commit. | |||
2024-01-02 | Support comma-separated numeric values with --collate (fixes #505) | Jay Berkenbilt | |
2023-12-29 | Preserve annotations that inherently lack appearance (fixes #1039) | Jay Berkenbilt | |
...when flattening annotations. This includes /Link, /Popup, and /Projection. | |||
2023-12-27 | Tweak utf8 checks | Jay Berkenbilt | |
2023-12-25 | Add overlong UTF-8 bytes into JSON tests | Jay Berkenbilt | |
2023-12-24 | Remove --disable-signatures; incorporate into --remove-restrictions | Jay Berkenbilt | |
Rather than adding yet another flag that is almost never useful on its own, just have --remove-restrictions disable digital signatures. The operations are still separate in the API. | |||
2023-12-23 | Format code, bump clang-format version to 18 | Jay Berkenbilt | |
2023-12-23 | Handle --encrypt -- without crashing | Jay Berkenbilt | |
2023-12-23 | Arbitrarily use new --encrypt syntax for some tests | Jay Berkenbilt | |
Now the tests intermix old and new syntax, ensuring both are exercised. | |||
2023-12-23 | Implement new --encrypt args and completion (fixes #784) | Jay Berkenbilt | |
Positional arguments are supported in a backward-compatible way, but completion no longer guides users to it. | |||
2023-12-21 | Convert scientific notation in JSON to fixed point (fixes #1079) | Jay Berkenbilt | |
JSON accepts scientific notation, but PDF doesn't. | |||
2023-12-21 | Add "n:/pdf-name" to qpdf JSON for binary names (fixes #1072) | Jay Berkenbilt | |
2023-12-21 | Merge branch 'parse_ref' into work | Jay Berkenbilt | |
2023-12-20 | Remove compression from linearization tests where possible | Jay Berkenbilt | |
By combining --linearize with --compress-streams=n, we ensure that no new compressed data will appear in linearized output, which makes the output independent of zlib's output. There are other tests to ensure that linearization works correctly with compression. This commit involves changing some test outputs and test code as well just updating test suites. | |||
2023-12-20 | Avoid depending on exact xref stream offsets | Jay Berkenbilt | |
For the modified test case, we care about successful recovery, not about the exact offsets. Add a filter to remove the specific numbers from show-xref. | |||
2023-12-20 | Bug fix: don't compress hint streams when --compress-streams=n | Jay Berkenbilt | |
2023-12-20 | Bug fix: don't compress object/xref streams with --compress-streams=n | Jay Berkenbilt | |
2023-12-20 | Fix tests with password-protected files | Jay Berkenbilt | |
2023-12-20 | Fix tests with deterministic IDs | Jay Berkenbilt | |
2023-12-20 | Ensure there is a meaningful deterministic ID test | Jay Berkenbilt | |
If we ignore /ID[1], we need to make sure deterministic IDs are tested properly. | |||
2023-12-20 | Fix tests when running comparison tool is adequate | Jay Berkenbilt | |
Fix all tests where the only required fix is to run qpdf-test-compare instead of doing a simple file comparison. | |||
2023-11-23 | Change default for SF_FlateLzwDecode::columns to 1 | m-holger | |
2023-11-03 | In QPDFParser::parse create dictionaries on the fly | m-holger | |
Also, don't search for /Contents name unless the result is used. | |||
2023-11-03 | In QPDFParser::parse refactor parsing of indirect references | m-holger | |
2023-11-03 | Remove redundant code in QPDFParser::parse and parseRemainder | m-holger | |
Also, fix test cases. | |||
2023-11-01 | In QPDFParser::parse refactor eof handling | m-holger | |
2023-10-14 | Add another string parsing test | Jay Berkenbilt | |