-
When adding a QPDFObjectHandle to an array or dictionary, if possible, check if the new object belongs to the same QPDF. This makes it much easier to find incorrect code than waiting for the situation to be detected when the file is written.
-
I don't want additional, undiscovered bugs to fully block page splitting/merging operations.
-
When copying a page from the original file to the output in --pages, don't alter the fields or annotations for the first copy of each page.
-
This takes pages from the file in groups of n with default = 1. This partially fixes the enhancement in issue #505 but doesn't implement the entire suggestion.
-
For now, --allow-insecure allows creation of files with the owner passwords empty or matching the user password.
-
Warnings were not being handled per --no-warn or generating exit code 3.
-
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.