aboutsummaryrefslogtreecommitdiffstats
path: root/include
AgeCommit message (Collapse)Author
2021-11-11First increment of improving handling of weak crypto (fixes #358)Jay Berkenbilt
2021-11-04Add QIntC::range_check_subtractJay Berkenbilt
2021-11-04Check object ownership when addingJay 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-03Make 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-03Detect recoverable but invalid zlib data streams (fixes #562)Jay Berkenbilt
2021-04-05QPDF::addPage*: handle duplicate pages more robustlyJay Berkenbilt
2021-03-05QPDFAcroFormDocumentHelper: add missing analyze callsJay Berkenbilt
2021-03-04Revert non-binary-compatible handleWarning change -- see TODO (ABI)Jay Berkenbilt
2021-03-04Major rework of handling form fields when copying pages (fixes #509)Jay Berkenbilt
2021-03-04Add QPDFMatrix::operator==Jay Berkenbilt
2021-03-04Add string to deprecation warningJay Berkenbilt
2021-03-04Add optional conflict detection to mergeResourcesJay Berkenbilt
Also improve behavior around direct vs. indirect resources.
2021-03-03Enhancements to ParserCallbacksJay Berkenbilt
2021-03-03Add QPDF::numWarningsJay Berkenbilt
2021-03-03Fix behavior for finding /Q, /DA, and /DR for form fieldsJay 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-25Have QPDFObjectHandle notice when replaceObject was calledJay 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-23Spell checkJay Berkenbilt
2021-02-23Keep only referenced form fields in --pagesJay Berkenbilt
2021-02-23Add methods for copying form fieldsJay Berkenbilt
2021-02-23Add new placeFormXObject that takes a matrix referenceJay Berkenbilt
2021-02-23Add copyAnnotations, use with overlay/underlay (fixes #395)Jay Berkenbilt
2021-02-22Change from QPDF{Array,Dict}Items to aitems() and ditems()Jay Berkenbilt
2021-02-21Add transformAnnotations and fix flattenRotations to use itJay Berkenbilt
2021-02-21Add QPDFObjGen::unparseJay Berkenbilt
2021-02-21Comment about QPDFMatrix and QPDFObjectHandle::MatrixJay Berkenbilt
2021-02-21QPDFObjectHandle::copyStreamJay Berkenbilt
2021-02-21Refactor: separate copyStreamData from replaceForeignIndirectObjectsJay Berkenbilt
2021-02-21Enhance QPDFMatrix APIJay Berkenbilt
2021-02-20Add const versions of QPDFMatrix::transform*Jay Berkenbilt
2021-02-18Add QPDFAcroFormDocumentHelper::addFormFieldJay Berkenbilt
2021-02-18Add QPDFPageObjectHelper::getMatrixForFormXObjectPlacementJay Berkenbilt
2021-02-18Form field for non-widget just returns nullJay Berkenbilt
2021-02-18Add QUtil::path_basenameJay Berkenbilt
2021-02-18Remove outdated comment from QPDFAnnotationObjectHelper.hhJay Berkenbilt
2021-02-15Add QPDFObjectHandle::parse for strings with contextJay Berkenbilt
2021-02-14Add functional versions of QPDFObjectHandle::replaceStreamDataJay 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-13Move QPDFMatrix into the public APIJay Berkenbilt
2021-02-13QUtil::double_to_string: trim trailing zeroes with option to disableJay Berkenbilt
2021-02-11Allow zone information to be omitted from timestamp stringsJay Berkenbilt
2021-02-10Explicitly deprecate old name/number tree constructorsJay Berkenbilt
Use C++14 [[deprecated]] tag
2021-02-10Implement helpers for file attachmentsJay Berkenbilt
2021-02-09Add QUtil methods for dealing with PDF timestamp stringsJay Berkenbilt
2021-02-08Add QUtil::pipe_file and QUtil::file_providerJay Berkenbilt
2021-02-06Remove erroneous handling of /EFF for stream decryptionJay Berkenbilt
I thought /EFF was supposed to be used as a default for decrypting embedded file streams, but actually it's supposed to be advice to a conforming writer about handling new ones. This makes sense since the findAttachmentStreams code, which is not actually needed, was never right.
2021-02-03Handle 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-03Refactor removal of unreferenced resourcesJay Berkenbilt
Refactor in preparation for resolving unresolved resources in form xobjects from page.
2021-01-31Improve memory safety of dict/array iteratorsJay Berkenbilt
2021-01-30Add example of name/number trees and dictionary/array iterationJay Berkenbilt
2021-01-30Add C++ iterator API around array and dictionary objectsJay Berkenbilt
2021-01-29name/number tree: explicitly declare default destructorsJay Berkenbilt