aboutsummaryrefslogtreecommitdiffstats
path: root/include
AgeCommit message (Collapse)Author
2022-04-30Remove deprecated (pre-8.4.0) encryption APIsJay Berkenbilt
2022-04-30Add comments around non-security-related uses of MD5Jay Berkenbilt
2022-04-30Revert "Remove QPDFObjectHandle::replaceOrRemoveKey"Jay Berkenbilt
This reverts commit dc059560e73e0b373a6e54e71b07e3af4b692cb4. I changed my mind. There's no harm in leaving it deprecated for a release cycle.
2022-04-30Remove QPDFObjectHandle::replaceOrRemoveKeyJay Berkenbilt
See ChangeLog for rationale for not deprecating it as originally planned.
2022-04-30Add new QPDFObjectHandle methods for more fluent programmingJay Berkenbilt
2022-04-24Deprecate replaceOrRemoveKey -- it's the same as replaceKeyJay Berkenbilt
2022-04-24Have dictionary/streams mutators take const& where possibleJay Berkenbilt
2022-04-24Add new QPDF::warn that takes most of QPDFExc's argumentsJay Berkenbilt
2022-04-24Expose QUtil::get_next_utf8_codepointJay Berkenbilt
2022-04-16Remove deprecated name/number tree constructorsJay Berkenbilt
Remove the name/number tree object helper constructors that don't take a QPDF&.
2022-04-16Remove QPDFAcroFormDocumentHelper::copyFieldsFromForeignPageJay Berkenbilt
2022-04-16Use = default and = delete where possible in classesJay Berkenbilt
2022-04-16Make ABI-breaking changes that don't modify API at allJay Berkenbilt
* Merge overloaded functions by adding default values * Remove non-const methods that are identical to const methods
2022-04-10Fix comments in PointerHolder.hhJay Berkenbilt
2022-04-10Typo: warn -> warningJay Berkenbilt
2022-04-10Mark non-ABI symbols in exported class with QPDF_DLL_PRIVATEJay Berkenbilt
2022-04-10Use QPDF_DLL_CLASS with Pipeline and InputSource subclassesJay Berkenbilt
This enables RTTI so we can use dynamic_cast on them across the shared object boundary.
2022-04-10Clean up/fix DLL.hJay Berkenbilt
* Change DLL_EXPORT to libqpdf_EXPORTS (internal to the build). The new name is cmake's default, is more conventional, and is less likely to clash with other symbols. * Add QPDF_DLL_PRIVATE for non-Windows * Make logic around when to define QPDF_DLL et al more explicit * Add detailed comments
2022-04-10Tweak for clang-format and emacs font-lockJay Berkenbilt
2022-04-09Enable PointerHolder warning and define POINTERHOLDER_IS_SHARED_POINTERJay Berkenbilt
2022-04-09Replace PointerHolder with std::shared_ptr in library sources onlyJay Berkenbilt
(patrepl and cleanpatch are my own utilities) patrepl s/PointerHolder/std::shared_ptr/g {include,libqpdf}/qpdf/*.hh patrepl s/PointerHolder/std::shared_ptr/g libqpdf/*.cc patrepl s/make_pointer_holder/std::make_shared/g libqpdf/*.cc patrepl s/make_array_pointer_holder/QUtil::make_shared_array/g libqpdf/*.cc patrepl s,qpdf/std::shared_ptr,qpdf/PointerHolder, **/*.cc **/*.hh git restore include/qpdf/PointerHolder.hh cleanpatch ./format-code
2022-04-09Rewrite PointerHolder as derived from std::shared_ptrJay Berkenbilt
2022-04-09Bump version to 11.0.0, indicating ABI-breaking changesJay Berkenbilt
2022-04-04Programmatically apply new formatting to codeJay Berkenbilt
Run this: for i in **/*.cc **/*.c **/*.h **/*.hh; do clang-format < $i >| $i.new && mv $i.new $i done
2022-03-19Add cmake configuration filesJay Berkenbilt
2022-03-08DLL.h: remove distinction between QPDF_DLL_CLASS and QPDF_DLL for mingwJay Berkenbilt
2022-02-28Remove Version.h -- it was never usedJay Berkenbilt
2022-02-26generate_auto_job: protect generated files from formattingJay Berkenbilt
2022-02-26Pl_DCT.hh -- protect order of includes for code formattingJay Berkenbilt
2022-02-26Bump version to 10.6.3Jay Berkenbilt
2022-02-16Prepare 10.6.2 releaseJay Berkenbilt
2022-02-16Fix lgtm warningJay 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-11Prepare 10.6.1 releaserelease-qpdf-10.6.1Jay Berkenbilt
2022-02-08Prepare 10.6.0 releaseJay Berkenbilt
2022-02-08Add additional comments about new accessor methodsJay 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-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-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-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-06Comment, ChangeLog, release note for new contributionJay Berkenbilt