aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2022-02-16Remove special case for 0xad for 10.6.2.release-qpdf-10.6.2Jay Berkenbilt
2022-02-16Prepare 10.6.2 releaseJay Berkenbilt
2022-02-16Spell checkJay Berkenbilt
2022-02-16Fix lgtm warningJay Berkenbilt
2022-02-16Fix asymmetry between newUnicodeString and getUTF8ValueJay Berkenbilt
2022-02-15Add release notes for 10.6.2 changes so farJay Berkenbilt
2022-02-15Silently/transparently recognize UTF-16LE as UTF-16 (fixes #649)Jay Berkenbilt
The PDF spec only allows UTF-16BE, but most readers seem to accept UTF-16LE as well, so now qpdf does too.
2022-02-15Ignore -- at the top level arg parser (fixes #652)Jay Berkenbilt
This was unintended behavior that was added back for backward compatibility. It is intentionally undocumented.
2022-02-15Add missing spaces in usageExitJay Berkenbilt
2022-02-15Temporarily require windows-2019 github runnerJay Berkenbilt
2022-02-15Handle odd PDFDoc codepoints in UTF-8 during transcoding (fixes #650)Jay Berkenbilt
There are codepoints in PDFDoc that are not valid UTF-8 but map to valid UTF-8. We were handling those correctly with bidirectional mapping. However, if those same code points appeared in UTF-8, where they have no meaning, they were left as fixed points when converting to PDFDoc, where they do have meaning. This change recognizes them as errors.
2022-02-11Prepare 10.6.1 releaserelease-qpdf-10.6.1Jay Berkenbilt
2022-02-11Tidy pdf-bookmarks examplem-holger
Convert loops to use range-based for statements. Simplify the extract_bookmarks function.
2022-02-11Remove abs calls and pick correct floating point epsilon values (fixes #641)Jay Berkenbilt
2022-02-11Fix tests for Form XObjectsm-holger
Remove test for type == /XObject in QPDFObjectHandle::isFormXObject as type value is optional (as per spec 8.10.2). Replace code to test for /Form in QPDFJob::shouldRemoveUnreferencedResources with a call to isFormXObject.
2022-02-09Fix one more PDF doc encoding error for 10.6 release (fixes #637)release-qpdf-10.6.0Jay Berkenbilt
2022-02-08Prepare 10.6.0 release (take 2)Jay Berkenbilt
2022-02-08Prepare 10.6.0 releaseJay Berkenbilt
2022-02-08Add additional comments about new accessor methodsJay Berkenbilt
2022-02-08README-maintainer: update instructions on testing pikepdf locallyJay Berkenbilt
2022-02-08Only install docs if they existJay Berkenbilt
Sometimes someone may build only a subset of the documentation. The logic has to be conditional upon whether it exists, not whether it is built, since we pull pre-built docs in for CI installation.
2022-02-08Spell checkJay Berkenbilt
2022-02-08Only update output version from files used as inputJay Berkenbilt
If we're opening a PDF file to copy its encryption information or attachments, its version doesn't need to influence the output version.
2022-02-08Use DOC_DEST variable for installing documentationDirk Müller
2022-02-08Preserve input PDF version on pages/split-pages (fixes #610)Jay Berkenbilt
2022-02-08Add QPDF::getVersionAsPDFVersionJay Berkenbilt
2022-02-08Add PDFVersion classJay Berkenbilt
2022-02-08Revert an incorrect correctionJay Berkenbilt
2022-02-08Check generated QPDFJob files in CIJay Berkenbilt
This is to catch pull requests that make changes that would affect automatically generated job files without including those modifications.
2022-02-08WHITESPACE ONLY -- expand tabs in source codeJay Berkenbilt
This comment expands all tabs using an 8-character tab-width. You should ignore this commit when using git blame or use git blame -w. In the early days, I used to use tabs where possible for indentation, since emacs did this automatically. In recent years, I have switched to only using spaces, which means qpdf source code has been a mixture of spaces and tabs. I have avoided cleaning this up because of not wanting gratuitous whitespaces change to cloud the output of git blame, but I changed my mind after discussing with users who view qpdf source code in editors/IDEs that have other tab widths by default and in light of the fact that I am planning to start applying automatic code formatting soon.
2022-02-08Fix doc typosm-holger
2022-02-08Clarify qpdf's representation of names in the APIJay Berkenbilt
Clarify that names are to appear in canonical form with PDF escaping resolved when used in non-parsing QPDFObjectHandle APIs and their C API counterparts. See https://github.com/qpdf/qpdf/discussions/625.
2022-02-07Update for clean compile with POINTERHOLDER_TRANSITION=2Jay Berkenbilt
2022-02-07Use make_array_pointer_holderJay Berkenbilt
This will be able to be replaced with QUtil::make_shared_array
2022-02-07Replace PointerHolder arrays with shared_ptr arrays where possibleJay Berkenbilt
Replace PointerHolder arrays wherever it can be done without breaking ABI.
2022-02-07Rework PointerHolder transition to make it smootherJay Berkenbilt
* Don't surprise people with deprecation warnings * Provide detailed instructions and support for the transition
2022-02-07Add QUtil::make_shared_array to help with PointerHolder transitionJay Berkenbilt
2022-02-07Add getBufferSharedPointer() to Pl_Buffer and QPDFWriterJay Berkenbilt
2022-02-07Tidy example CLI usagem-holger
Change "-" to "--" for named parameters. Remove spaces inside "[ option ]" for optional parameters. Fix "pdf-mod-info --dump file" to match usage message.
2022-02-06Fix doc typoJay Berkenbilt
2022-02-06Comment, ChangeLog, release note for new contributionJay Berkenbilt
2022-02-06C-API expose QPDFObjectHandle::getKeyIfDictm-holger
2022-02-06Add method QPDFObjectHandle::getKeyIfDictm-holger
2022-02-06C-API expose QPDFObjectHandle::getValueAs... accessorsm-holger
2022-02-05TODO: cleanupJay Berkenbilt
2022-02-05Prepare release notes for 10.6 (so far)Jay Berkenbilt
2022-02-05Doc updates from m-holgerJay Berkenbilt
2022-02-05Update ChangeLog for contributions from m-holgerJay Berkenbilt
2022-02-05Stop using std::iterator (fixes #618)Jay Berkenbilt
Create the typedefs directly in iterators rather than deriving from the deprecated std::iterator class.
2022-02-05Remove stray TODO itemJay Berkenbilt