Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-01-30 | QPDFJob: reorder functions, no other changes | Jay Berkenbilt | |
2022-01-30 | QPDFJob increment: static functions to member functions | Jay Berkenbilt | |
Convert remaining static functions that take QPDFJob& as a parameter to member functions. Utility functions that don't take QPDFJob& remain static functions and can probably just stay that way since the keep extra complexity out of QPDFJob.hh. | |||
2022-01-30 | QPDFJob increment: remove std::cout, std::cerr, whoami | Jay Berkenbilt | |
Remove remaining temporary duplication of hard-coded values and direct access to std::cout, std::cerr, and whoami in favor of parameters in QPDFJob. This moves a few more static methods into QPDFJob member functions. | |||
2022-01-30 | QPDFJob increment: get rid of exit, handle verbose | Jay Berkenbilt | |
Remove all calls to exit() from QPDFJob. Handle code that runs in verbose mode to enable it to make use of output streams and message prefix (whoami) from QPDFJob. This removes temporarily duplicated exit code logic and most access to whoami/std::cout outside of QPDFJob proper. | |||
2022-01-30 | QPDFJob increment: basic QPDFJob structure | Jay Berkenbilt | |
Move most of the methods called from qpdf.cc after argument parsing into QPDFJob. In this increment, enough QPDFJob API has been added to handle the branch of QPDFJob::run() that creates output with an appropriate division between qpdf.cc and QPDFJob. There are temporary bits of code to enable everything to compile and pass the test suite, including some duplication and hard-coded values. | |||
2022-01-30 | Implement QPDFArgParser based on ArgParser from qpdf.cc | Jay Berkenbilt | |
2022-01-30 | Add some doc comments for QPDFObjectHandle dictionary methods | m-holger | |
2022-01-30 | Fix doc typos | m-holger | |
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-29 | Add QUtil::file_can_be_opened | Jay Berkenbilt | |
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-18 | Remove unneeded paragraph from comments | 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-17 | Make object types available to C API | Jay Berkenbilt | |
2021-12-17 | Add Pl_Buffer::getMallocBuffer | Jay Berkenbilt | |
2021-12-16 | C API: add functions for working with pages (fixes #594) | Jay Berkenbilt | |
2021-12-16 | Change name of formal parameters from data to qpdf | Jay Berkenbilt | |
2021-12-10 | C API: expose functions for indirect objects (fixes #588) | Jay Berkenbilt | |
2021-12-10 | Expose QPDFObjectHandle::addTokenFilter (fixes #580) | 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 | Use a specific error code for type warnings and clarify docs | 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-09 | Typos in comments | Jay Berkenbilt | |
2021-12-09 | Minor documentation updates | m-holger | |
2021-12-02 | C-API expose new_object as qpdf_oh_new_object | m-holger | |
2021-11-29 | Improve testing and error handling around operating before processing | Jay Berkenbilt | |
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 | |
2021-11-04 | Add QIntC::range_check_subtract | Jay Berkenbilt | |
2021-11-04 | Check object ownership when adding | Jay 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-03 | Make 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-03 | Detect recoverable but invalid zlib data streams (fixes #562) | Jay Berkenbilt | |
2021-04-05 | QPDF::addPage*: handle duplicate pages more robustly | Jay Berkenbilt | |
2021-03-05 | QPDFAcroFormDocumentHelper: add missing analyze calls | Jay Berkenbilt | |
2021-03-04 | Revert non-binary-compatible handleWarning change -- see TODO (ABI) | Jay Berkenbilt | |
2021-03-04 | Major rework of handling form fields when copying pages (fixes #509) | Jay Berkenbilt | |
2021-03-04 | Add QPDFMatrix::operator== | Jay Berkenbilt | |
2021-03-04 | Add string to deprecation warning | Jay Berkenbilt | |
2021-03-04 | Add optional conflict detection to mergeResources | Jay Berkenbilt | |
Also improve behavior around direct vs. indirect resources. | |||
2021-03-03 | Enhancements to ParserCallbacks | Jay Berkenbilt | |
2021-03-03 | Add QPDF::numWarnings | Jay Berkenbilt | |
2021-03-03 | Fix behavior for finding /Q, /DA, and /DR for form fields | Jay 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-25 | Have QPDFObjectHandle notice when replaceObject was called | Jay 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-23 | Spell check | Jay Berkenbilt | |
2021-02-23 | Keep only referenced form fields in --pages | Jay Berkenbilt | |