Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-12-16 | Allow regular C++ functions to interoperate with the C API | Jay Berkenbilt | |
2023-06-09 | Code tidy - Clang-Tidy rule modernize-use-emplace | m-holger | |
2023-06-02 | Code tidy - reflow comments and strings | m-holger | |
2023-05-21 | Rerun clang-format | Jay Berkenbilt | |
2023-05-20 | Use auto when initialializing with new | m-holger | |
2023-05-20 | Remove unused include directives | m-holger | |
2023-04-02 | Add new _qpdf_data constructor taking a std::unique_ptr<QPDF> | m-holger | |
Also, move _qpdf_data and to new header filer _qpdf_error to new header file qpdf-c_impl.hh | |||
2023-04-02 | Initialize _qpdf_data members | m-holger | |
2022-11-19 | Use QPDF::newStream in library | m-holger | |
2022-09-21 | Replace calls to QUtil::int_to_string with std::to_string | m-holger | |
2022-09-09 | Add C API functions for using custom loggers | Jay Berkenbilt | |
Expose functions to the C API to create new loggers and to setLogger and getLogger for QPDF and QPDFJob. | |||
2022-09-09 | Add JSON v2 support to C API | Jay Berkenbilt | |
2022-09-02 | Disable copying/assigning to QPDF objects, add QPDF::create() | Jay Berkenbilt | |
2022-07-26 | Code tidy : replace 0 with nullptr or true | m-holger | |
2022-06-19 | Move C-based ProgressReporter helper into QPDFWriter | Jay Berkenbilt | |
2022-06-18 | Use the default logger for other writes to stdout/stderr | Jay Berkenbilt | |
When there is no context for writing output or error messages, use the default logger. | |||
2022-04-30 | Mark weak encryption with API changes (fixes #576) | Jay Berkenbilt | |
2022-04-30 | Remove deprecated (pre-8.4.0) encryption APIs | Jay Berkenbilt | |
2022-04-24 | Deprecate replaceOrRemoveKey -- it's the same as replaceKey | Jay Berkenbilt | |
2022-04-16 | Use anonymous namespaces for file-private classes | Jay Berkenbilt | |
2022-04-16 | Use = default and = delete where possible in classes | 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-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-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-07 | Update for clean compile with POINTERHOLDER_TRANSITION=2 | Jay Berkenbilt | |
2022-02-06 | C-API expose QPDFObjectHandle::getKeyIfDict | m-holger | |
2022-02-06 | C-API expose QPDFObjectHandle::getValueAs... accessors | m-holger | |
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-04 | Add a blank line after the first header included in each source | 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. | |||
2022-02-04 | C-API add two binary UTF8 funtions | m-holger | |
add qpdf_oh_new_binary_unicode_string and qpdf_oh_get_binary_utf8_value | |||
2022-01-22 | Make a few whitespace fixes from last commit | m-holger | |
Commit by ejb@ql.org using m-holger as author so git annotate gives proper credit for changes. | |||
2022-01-22 | Add new convenience methods QPDFObjectHandle::isNameAndEquals, etc | m-holger | |
Add methods isNameAndEquals, isDictionaryOfType, isStreamOfType | |||
2021-12-20 | Change names of qpdf_object_type_e enumerations | Jay Berkenbilt | |
They have to be ot_* rather than qpdf_ot_* for compatibility. * Different enumerated types are not assignment-compatible in C++, at least with strict compiler settings * While you can do `constexpr ot_xyz = ::qpdf_ot_xyz` in QPDFObject.hh to make QPDFObject::ot_xyz work, QPDFObject::object_type_e::ot_xyz will only work if the enumerated type names are the same. | |||
2021-12-19 | Further improvements to handling binary strings | Jay Berkenbilt | |
2021-12-17 | C API: simplify new error handling and improve documentation | Jay Berkenbilt | |
2021-12-17 | C-API expose QPDFObjectHandle::getTypeCode and getTypeName (fixes #597) | m-holger | |
2021-12-17 | C API: add several stream functions (fixes #596) | Jay Berkenbilt | |
2021-12-16 | C API: add functions for working with pages (fixes #594) | Jay Berkenbilt | |
2021-12-16 | Use value rather than reference captures where possible | Jay Berkenbilt | |
2021-12-10 | C API: expose functions for indirect objects (fixes #588) | Jay Berkenbilt | |
2021-12-10 | C API: overhaul error handling | Jay Berkenbilt | |
* Handle error conditions that occur when using the object handle interfaces. In the past, some exceptions were not correctly converted to errors or warnings. * Add more detailed information to qpdf-c.h * Make it possible to work more explicitly with uninitialized objects | |||
2021-12-10 | Add missing unit test for register progress reporter in C API | Jay Berkenbilt | |
It was exercised in the pdf-linearize example but not in qpdf-ctest. | |||
2021-12-09 | Refactor trap_errors to use std::function | Jay Berkenbilt | |
2021-12-09 | C API: qpdf_oh_is_initialized | Jay Berkenbilt | |
2021-12-09 | C API: qpdf_get_last_string_length | Jay Berkenbilt | |
2021-12-02 | C-API expose new_object as qpdf_oh_new_object | m-holger | |
2021-11-19 | Ensure qpdf_oh handles returned by C-API functions are unique. | m-holger | |
Return new qpdf_oh from qpdf_oh_wrap_in_array when input is already an array. Update some doc comments in qpdf-c.h. | |||
2021-11-11 | First increment of improving handling of weak crypto (fixes #358) | Jay Berkenbilt | |