aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf
AgeCommit message (Collapse)Author
2022-01-30QPDFJob: use pointers instead of references for ConfigJay Berkenbilt
Why? The main methods that create them return smart pointers so that users can initialize them when needed, which you can't do with references. Returning pointers instead of references makes for a more uniform interface.
2022-01-30QPDFJob: use manually named end functions for Config classesJay Berkenbilt
Use named functions rather than just end() for clarity.
2022-01-30QPDFJob: move placeholder json to a separate source fileJay Berkenbilt
2022-01-30QPDFJob: make remaining members privateJay Berkenbilt
2022-01-30Minor cleanupJay Berkenbilt
2022-01-30QPDFJob: move private members into MembersJay Berkenbilt
2022-01-30QPDFJob: use config API in place-holder jsonJay Berkenbilt
2022-01-30QPDFJob: move input/output handling into configJay Berkenbilt
2022-01-30QPDFJob: eliminate most access to QPDFJob members from ArgParserJay Berkenbilt
All that's left now is input and output handling.
2022-01-30QPDFArgParser: remove unused copyFromOtherTableJay Berkenbilt
This was used, but it no longer is, so let's not keep the extra complexity around.
2022-01-30QPDFJob: convert encryption handlersJay Berkenbilt
2022-01-30QPDFJob: convert under/overlay and rotateJay Berkenbilt
2022-01-30QPDFJob: move some helpers from ArgParser to QPDFJobJay Berkenbilt
2022-01-30QPDFJob: move more top-level trivial handlers into configJay Berkenbilt
2022-01-30QPDFJob: convert pagesJay Berkenbilt
2022-01-30Add QPDFJob::ConfigError exceptionJay Berkenbilt
2022-01-30QPDFJob: convert AddAttachment handlersJay 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-30Mark trivial arg functionsJay Berkenbilt
2022-01-30QPDFJob: TRUE -> trueJay 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-30Incorporate job schema generation into generate_auto_jobJay 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-30cli.rst: remove () from end of short helpJay Berkenbilt
This is used to generate a schema for the job json, which can't contain `)"` because it breaks the R"(...)" syntax in C++. While C++ accepts R"anything(...)anything" to avoid this, as of this writing, MSVC 2019 doesn't understand that. For now, just avoid it by removing parentheses from the end of short help.
2022-01-30Allow optional fields in json "schema" checksJay Berkenbilt
2022-01-30Add missing help topic for inspectionJay Berkenbilt
2022-01-30JSONHandler: rework dictionary and array handlersJay Berkenbilt
2022-01-30Editorial changes to cli.rstJay Berkenbilt
2022-01-30Fix json schema for objects to include dictionary keyJay Berkenbilt
2022-01-30Use JSON::parse to initialize schema for json modeJay Berkenbilt
2022-01-30Implement JSONHandler for recursively processing JSONJay Berkenbilt
2022-01-30CLI doc: use tables where helpfulJay Berkenbilt
2022-01-30Add JSON::parseJay Berkenbilt
2022-01-30Add missing \f support for JSON string encoderJay Berkenbilt