aboutsummaryrefslogtreecommitdiffstats
path: root/include
AgeCommit message (Collapse)Author
2022-01-30QPDFJob: convert AddAttachment handlersJay Berkenbilt
2022-01-30QPDFJob: generate declarations of trivial config methodsJay Berkenbilt
2022-01-30QPDFJob: convert password in two tablesJay Berkenbilt
2022-01-30QPDFJob: convert a flag in other than the main tableJay Berkenbilt
2022-01-30QPDFJob: start changing generation for trivial config handlersJay Berkenbilt
2022-01-30QPDFJob: convert trivial functions to config APIJay Berkenbilt
2022-01-30QPDFJob: begin configuration API with verboseJay Berkenbilt
2022-01-30Move doFinalChecks to QPDFJob::checkConfigurationJay Berkenbilt
2022-01-30QPDFJob: make createsOutput callable before run()Jay Berkenbilt
2022-01-30QPDFJob: start real APIJay Berkenbilt
Create QPDFJob_options.cc to hold API implementation functions. Reorganize a little in preparation for moving public member variables private and creating the real QPDFJob API that will be used by callers as well as the argv/json initialization methods.
2022-01-30QPDFJob: placeholder for initializeFromJsonJay Berkenbilt
2022-01-30QPDFJob: allocate QPDFArgParser on stackJay Berkenbilt
The previous commits have removed all references to memory from QPDFArgParser from QPDFJob. This commit removes the constraint that QPDFArgParser remain in scope. This is a prerequisite to allowing JSON as an alternative way to initialize QPDFJob and to initialize it directly using a public API.
2022-01-30QPDFJob: convert Under/Overlay to use shared pointersJay Berkenbilt
2022-01-30QPDFJob: convert Under/Overlay ranges to stringsJay Berkenbilt
2022-01-30QPDFJob: convert PageSpec to used shared pointerJay Berkenbilt
2022-01-30QPDFJob: convert outfilename to shared pointerJay Berkenbilt
2022-01-30QPDFJob: convert infilename to shared pointerJay Berkenbilt
2022-01-30QPDFJob: convert encryption_file args to shared pointersJay Berkenbilt
2022-01-30QPDFJob: convert password to shared pointerJay Berkenbilt
2022-01-30QPDFJob: use std::shared_ptr over PointerHolder where possibleJay Berkenbilt
Also fix QPDFArgParser
2022-01-30Add QUtil::make_shared_cstrJay Berkenbilt
Replace most of the calls to QUtil::copy_string with this instead.
2022-01-30Allow optional fields in json "schema" checksJay Berkenbilt
2022-01-30JSONHandler: rework dictionary and array handlersJay Berkenbilt
2022-01-30Implement JSONHandler for recursively processing JSONJay Berkenbilt
2022-01-30Add JSON::parseJay Berkenbilt
2022-01-30Add JSON::isDictionary and JSON::isArrayJay Berkenbilt
2022-01-30QPDFArgParser: support adding/printing help informationJay Berkenbilt
2022-01-30QPDFArgParser: handle optional choices including helpJay Berkenbilt
Handle optional choices in addition to required choices. Refactor the way help options are added to completion to make it work with optional help choices.
2022-01-30Fix doc typos caught by m-holger -- thanksJay Berkenbilt
2022-01-30Add QPDFArgParser::copyFromOtherTableJay Berkenbilt
2022-01-30Expose QPDFArgParser::usageJay Berkenbilt
2022-01-30QPDFJob increment: move arg parsing into QPDFJobJay Berkenbilt
Move ArgParser from qpdf.cc into QPDFJob.cc. It still works with millions of public member variables, but now qpdf.cc is minimal and just calls stable library functions.
2022-01-30QPDFJob: reorder functions, no other changesJay Berkenbilt
2022-01-30QPDFJob increment: static functions to member functionsJay 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-30QPDFJob increment: remove std::cout, std::cerr, whoamiJay 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-30QPDFJob increment: get rid of exit, handle verboseJay 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-30QPDFJob increment: basic QPDFJob structureJay 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-30Implement QPDFArgParser based on ArgParser from qpdf.ccJay Berkenbilt
2022-01-30Add some doc comments for QPDFObjectHandle dictionary methodsm-holger
2022-01-30Fix doc typosm-holger
2022-01-22Make a few whitespace fixes from last commitm-holger
Commit by ejb@ql.org using m-holger as author so git annotate gives proper credit for changes.
2022-01-22Add new convenience methods QPDFObjectHandle::isNameAndEquals, etcm-holger
Add methods isNameAndEquals, isDictionaryOfType, isStreamOfType
2021-12-29Add QUtil::file_can_be_openedJay Berkenbilt
2021-12-20Change names of qpdf_object_type_e enumerationsJay 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-19Further improvements to handling binary stringsJay Berkenbilt
2021-12-18Remove unneeded paragraph from commentsJay Berkenbilt
2021-12-17C API: simplify new error handling and improve documentationJay Berkenbilt
2021-12-17C-API expose QPDFObjectHandle::getTypeCode and getTypeName (fixes #597)m-holger
2021-12-17C API: add several stream functions (fixes #596)Jay Berkenbilt
2021-12-17Make object types available to C APIJay Berkenbilt