Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-04-10 | Typo: warn -> warning | Jay Berkenbilt | |
2022-04-10 | Mark non-ABI symbols in exported class with QPDF_DLL_PRIVATE | Jay Berkenbilt | |
2022-04-10 | Use QPDF_DLL_CLASS with Pipeline and InputSource subclasses | Jay Berkenbilt | |
This enables RTTI so we can use dynamic_cast on them across the shared object boundary. | |||
2022-04-10 | Clean up/fix DLL.h | Jay 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-10 | Tweak for clang-format and emacs font-lock | Jay Berkenbilt | |
2022-04-09 | Enable PointerHolder warning and define POINTERHOLDER_IS_SHARED_POINTER | Jay Berkenbilt | |
2022-04-09 | Replace PointerHolder with std::shared_ptr in library sources only | Jay 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-09 | Rewrite PointerHolder as derived from std::shared_ptr | Jay Berkenbilt | |
2022-04-09 | Bump version to 11.0.0, indicating ABI-breaking changes | Jay Berkenbilt | |
2022-04-04 | Programmatically apply new formatting to code | Jay Berkenbilt | |
Run this: for i in **/*.cc **/*.c **/*.h **/*.hh; do clang-format < $i >| $i.new && mv $i.new $i done | |||
2022-03-19 | Add cmake configuration files | Jay Berkenbilt | |
2022-03-08 | DLL.h: remove distinction between QPDF_DLL_CLASS and QPDF_DLL for mingw | Jay Berkenbilt | |
2022-02-28 | Remove Version.h -- it was never used | Jay Berkenbilt | |
2022-02-26 | generate_auto_job: protect generated files from formatting | Jay Berkenbilt | |
2022-02-26 | Pl_DCT.hh -- protect order of includes for code formatting | Jay Berkenbilt | |
2022-02-26 | Bump version to 10.6.3 | Jay Berkenbilt | |
2022-02-16 | Prepare 10.6.2 release | Jay Berkenbilt | |
2022-02-16 | Fix lgtm warning | Jay Berkenbilt | |
2022-02-15 | Silently/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-11 | Prepare 10.6.1 releaserelease-qpdf-10.6.1 | Jay Berkenbilt | |
2022-02-08 | Prepare 10.6.0 release | Jay Berkenbilt | |
2022-02-08 | Add additional comments about new accessor methods | Jay Berkenbilt | |
2022-02-08 | Only update output version from files used as input | Jay 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-08 | Preserve input PDF version on pages/split-pages (fixes #610) | Jay Berkenbilt | |
2022-02-08 | Add QPDF::getVersionAsPDFVersion | Jay Berkenbilt | |
2022-02-08 | Add PDFVersion class | Jay Berkenbilt | |
2022-02-08 | Revert an incorrect correction | Jay Berkenbilt | |
2022-02-08 | WHITESPACE ONLY -- expand tabs in source code | Jay 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-08 | Fix doc typos | m-holger | |
2022-02-08 | Clarify qpdf's representation of names in the API | Jay 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-07 | Update for clean compile with POINTERHOLDER_TRANSITION=2 | Jay Berkenbilt | |
2022-02-07 | Replace PointerHolder arrays with shared_ptr arrays where possible | Jay Berkenbilt | |
Replace PointerHolder arrays wherever it can be done without breaking ABI. | |||
2022-02-07 | Rework PointerHolder transition to make it smoother | Jay Berkenbilt | |
* Don't surprise people with deprecation warnings * Provide detailed instructions and support for the transition | |||
2022-02-07 | Add QUtil::make_shared_array to help with PointerHolder transition | Jay Berkenbilt | |
2022-02-07 | Add getBufferSharedPointer() to Pl_Buffer and QPDFWriter | Jay Berkenbilt | |
2022-02-06 | Comment, ChangeLog, release note for new contribution | Jay Berkenbilt | |
2022-02-06 | C-API expose QPDFObjectHandle::getKeyIfDict | m-holger | |
2022-02-06 | Add method QPDFObjectHandle::getKeyIfDict | m-holger | |
2022-02-06 | C-API expose QPDFObjectHandle::getValueAs... accessors | m-holger | |
2022-02-05 | Stop using std::iterator (fixes #618) | Jay Berkenbilt | |
Create the typedefs directly in iterators rather than deriving from the deprecated std::iterator class. | |||
2022-02-05 | Add operator ""_qpdf for creating QPDFObjectHandle literals | Jay Berkenbilt | |
2022-02-05 | Add qpdf_empty_pdf to C API | Jay Berkenbilt | |
2022-02-05 | API contract: qpdf_get_qpdf_version() returns a static | Jay Berkenbilt | |
2022-02-05 | Improve use of std::unique_ptr | Jay Berkenbilt | |
* Use unique_ptr in place of shared_ptr in some cases * unique_ptr for arrays does not require a custom deleter * use std::make_unique (c++14) where possible | |||
2022-02-05 | Add new QPDFObjectHandle::getValueAs... accessors | m-holger | |
2022-02-04 | Update copyright for 2022 | Jay Berkenbilt | |
2022-02-04 | Add qpdf version macros to qpdf/DLL.h | Jay Berkenbilt | |
2022-02-04 | Replace containers of PointerHolder with containers of std::shared_ptr | Jay Berkenbilt | |
None of these are in the public API. | |||
2022-02-04 | JSON: use std::shared_ptr internally | Jay Berkenbilt | |
2022-02-04 | PointerHolder: deprecate getPointer() and getRefcount() | Jay Berkenbilt | |
Use get() and use_count() instead. Add #define NO_POINTERHOLDER_DEPRECATION to remove deprecation markers for these only. This commit also removes all deprecated PointerHolder API calls from qpdf's code except in PointerHolder's test suite, which must continue to test the deprecated APIs. |