Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-11-04 | Fix bug in merging resources /DR from foreign AcroForm (fixes #548) | Jay Berkenbilt | |
When making resources indirect in from_dr, the code was using the wrong owning QPDF, forgetting that from_dr had already been copied using CopyForeignObject. | |||
2021-11-04 | Check object ownership when adding | Jay Berkenbilt | |
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. | |||
2021-11-03 | Fix overlay/underlay on page with no resources (fixes #527) | Jay Berkenbilt | |
2021-11-03 | Make QPDF::findPage public (fixes #516) | Jay Berkenbilt | |
This was originally not public because I wanted to get rid fo the pages cache, but I recently realized there were deep reasons not to do that, and the author of pikepdf wanted this, so I decided to make it public. | |||
2021-11-03 | Detect recoverable but invalid zlib data streams (fixes #562) | Jay Berkenbilt | |
2021-11-02 | Better diagnostics when --pages is not closed (fixes #555) | Jay Berkenbilt | |
2021-09-10 | Fix QPDFEFStreamObjectHelper::{get,set}Subtype | Fredrik Fornwall | |
The /Subtype entry that specifies the mime type of an embedded file is inside the embedded file stream dictionary directly, not it in the parameter dictionary. See Table 45 and 46 in the PDF 1.7 specification: https://www.adobe.com/content/dam/acom/en/devnet/pdf/pdfs/PDF32000_2008.pdf#page=112 | |||
2021-05-13 | Fix string bounds checking in completion code (fixes #441) | Jay Berkenbilt | |
2021-05-08 | Prepare 10.3.2 releaserelease-qpdf-10.3.2 | Jay Berkenbilt | |
2021-05-08 | Exclude unreferenced objects in object streams (fixes #520) | Jay Berkenbilt | |
2021-04-05 | QPDF::addPage*: handle duplicate pages more robustly | Jay Berkenbilt | |
2021-04-05 | Fix loop detection in NNTree | Jay Berkenbilt | |
2021-03-11 | Prepare 10.3.1 releaserelease-qpdf-10.3.1 | Jay Berkenbilt | |
2021-03-11 | Protect against future bugs in fixCopiedAnnotations | Jay Berkenbilt | |
I don't want additional, undiscovered bugs to fully block page splitting/merging operations. | |||
2021-03-11 | Allow /DR to be direct in /AcroForm | Jay Berkenbilt | |
Also handle direct annotation, though this is much less likely. | |||
2021-03-05 | Prepare 10.3.0 releaserelease-qpdf-10.3.0 | Jay Berkenbilt | |
2021-03-05 | Tweak form copying to avoid gratuitous field renames | Jay Berkenbilt | |
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. | |||
2021-03-05 | QPDFAcroFormDocumentHelper: add missing analyze calls | Jay Berkenbilt | |
2021-03-04 | Don't use handleWarning, which is being reverted | Jay Berkenbilt | |
2021-03-04 | Major rework of handling form fields when copying pages (fixes #509) | Jay Berkenbilt | |
2021-03-04 | When resolving font from /DR, copy it into resources | Jay Berkenbilt | |
2021-03-04 | Add optional conflict detection to mergeResources | Jay Berkenbilt | |
Also improve behavior around direct vs. indirect resources. | |||
2021-03-03 | Remove unreferenced: ignore names that are not Fonts or XObjects | Jay Berkenbilt | |
Converted ResourceFinder to ParserCallbacks so we can better detect the name that precedes various operators and use the operators to sort the names into resource types. This enables us to be smarter about detecting unreferenced resources in pages and also sets the stage for reconciling differences in /DR across documents. | |||
2021-03-03 | Fix typos in coverage cases | Jay Berkenbilt | |
2021-03-03 | Fix behavior for finding /Q, /DA, and /DR for form fields | Jay Berkenbilt | |
If not found in the field hierarchy, /Q and /DA are supposed to be looked up in the document-level form dictionary. /DR is supposed to only come from the document dictionary. | |||
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-23 | Spell check | Jay Berkenbilt | |
2021-02-23 | Remove warning that gives false positives in some normal cases | Jay Berkenbilt | |
2021-02-23 | Fix input file = output file test for split pages | Jay Berkenbilt | |
2021-02-23 | Keep only referenced form fields in --pages | Jay Berkenbilt | |
2021-02-23 | Fix test case to not leave stray files behind | Jay Berkenbilt | |
2021-02-23 | Preserve form fields when splitting pages (fixes #340) | Jay Berkenbilt | |
2021-02-23 | Add new placeFormXObject that takes a matrix reference | Jay Berkenbilt | |
2021-02-23 | Add copyAnnotations, use with overlay/underlay (fixes #395) | Jay Berkenbilt | |
2021-02-22 | Change from QPDF{Array,Dict}Items to aitems() and ditems() | Jay Berkenbilt | |
2021-02-21 | Add transformAnnotations and fix flattenRotations to use it | Jay Berkenbilt | |
2021-02-21 | Explicitly override inherited rotate in flattenRotations | Jay Berkenbilt | |
2021-02-21 | QPDFObjectHandle::copyStream | Jay Berkenbilt | |
2021-02-20 | Allow --rotate=0 | Jay Berkenbilt | |
2021-02-18 | Use QUtil::path_basename | Jay Berkenbilt | |
2021-02-18 | Add numeric argument to --collate | Jay Berkenbilt | |
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. | |||
2021-02-15 | Add QPDFObjectHandle::parse for strings with context | Jay Berkenbilt | |
2021-02-14 | Add functional versions of QPDFObjectHandle::replaceStreamData | Jay Berkenbilt | |
Also fix a bug in checking consistency of length for stream data providers. Length should not be checked or recorded if the provider says it failed to generate the data. | |||
2021-02-13 | QUtil::double_to_string: trim trailing zeroes with option to disable | Jay Berkenbilt | |
2021-02-10 | Explicitly deprecate old name/number tree constructors | Jay Berkenbilt | |
Use C++14 [[deprecated]] tag | |||
2021-02-10 | Add attachment information to the json output | Jay Berkenbilt | |
2021-02-10 | Add CLI support for working with attachments | Jay Berkenbilt | |
2021-02-10 | Minor clean up of Windows headers | Jay Berkenbilt | |