Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-01-31 | Keep JSONHandler and QPDFArgParser private | Jay Berkenbilt | |
Since the functionality of argument parsing has moved into QPDFJob, these classes no longer need to be public. Their methods still have to be in the library's binary interface so they can be tested in libtests. | |||
2022-01-31 | QPDFJob: add checkConfiguration to Config | Jay Berkenbilt | |
2022-01-30 | Use QPDFUsage exception for cli, json, and QPDFJob errors | Jay Berkenbilt | |
2022-01-30 | Fix some comments | Jay Berkenbilt | |
2022-01-30 | QPDFJob: use pointers instead of references for Config | Jay 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-30 | QPDFJob: use manually named end functions for Config classes | Jay Berkenbilt | |
Use named functions rather than just end() for clarity. | |||
2022-01-30 | QPDFJob: move placeholder json to a separate source file | Jay Berkenbilt | |
2022-01-30 | QPDFJob: make remaining members private | Jay Berkenbilt | |
2022-01-30 | Minor cleanup | Jay Berkenbilt | |
2022-01-30 | QPDFJob: move private members into Members | Jay Berkenbilt | |
2022-01-30 | QPDFJob: make easy things private | Jay Berkenbilt | |
2022-01-30 | QPDFJob: move input/output handling into config | Jay Berkenbilt | |
2022-01-30 | Add missing QPDF_DLL | Jay Berkenbilt | |
2022-01-30 | QPDFJob: eliminate most access to QPDFJob members from ArgParser | Jay Berkenbilt | |
All that's left now is input and output handling. | |||
2022-01-30 | QPDFArgParser: remove unused copyFromOtherTable | Jay Berkenbilt | |
This was used, but it no longer is, so let's not keep the extra complexity around. | |||
2022-01-30 | QPDFJob: convert encryption handlers | Jay Berkenbilt | |
2022-01-30 | QPDFJob: convert under/overlay and rotate | Jay Berkenbilt | |
2022-01-30 | QPDFJob: move some helpers from ArgParser to QPDFJob | Jay Berkenbilt | |
2022-01-30 | QPDFJob: move more top-level trivial handlers into config | Jay Berkenbilt | |
2022-01-30 | QPDFJob: convert pages | Jay Berkenbilt | |
2022-01-30 | Add QPDFJob::ConfigError exception | Jay Berkenbilt | |
2022-01-30 | QPDFJob: convert AddAttachment handlers | Jay Berkenbilt | |
2022-01-30 | QPDFJob: generate declarations of trivial config methods | Jay Berkenbilt | |
2022-01-30 | QPDFJob: convert password in two tables | Jay Berkenbilt | |
2022-01-30 | QPDFJob: convert a flag in other than the main table | Jay Berkenbilt | |
2022-01-30 | QPDFJob: start changing generation for trivial config handlers | Jay Berkenbilt | |
2022-01-30 | QPDFJob: convert trivial functions to config API | Jay Berkenbilt | |
2022-01-30 | QPDFJob: begin configuration API with verbose | Jay Berkenbilt | |
2022-01-30 | Move doFinalChecks to QPDFJob::checkConfiguration | Jay Berkenbilt | |
2022-01-30 | QPDFJob: make createsOutput callable before run() | Jay Berkenbilt | |
2022-01-30 | QPDFJob: start real API | Jay 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-30 | QPDFJob: placeholder for initializeFromJson | Jay Berkenbilt | |
2022-01-30 | QPDFJob: allocate QPDFArgParser on stack | Jay 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-30 | QPDFJob: convert Under/Overlay to use shared pointers | Jay Berkenbilt | |
2022-01-30 | QPDFJob: convert Under/Overlay ranges to strings | Jay Berkenbilt | |
2022-01-30 | QPDFJob: convert PageSpec to used shared pointer | Jay Berkenbilt | |
2022-01-30 | QPDFJob: convert outfilename to shared pointer | Jay Berkenbilt | |
2022-01-30 | QPDFJob: convert infilename to shared pointer | Jay Berkenbilt | |
2022-01-30 | QPDFJob: convert encryption_file args to shared pointers | Jay Berkenbilt | |
2022-01-30 | QPDFJob: convert password to shared pointer | Jay Berkenbilt | |
2022-01-30 | QPDFJob: use std::shared_ptr over PointerHolder where possible | Jay Berkenbilt | |
Also fix QPDFArgParser | |||
2022-01-30 | Add QUtil::make_shared_cstr | Jay Berkenbilt | |
Replace most of the calls to QUtil::copy_string with this instead. | |||
2022-01-30 | Allow optional fields in json "schema" checks | Jay Berkenbilt | |
2022-01-30 | JSONHandler: rework dictionary and array handlers | Jay Berkenbilt | |
2022-01-30 | Implement JSONHandler for recursively processing JSON | Jay Berkenbilt | |
2022-01-30 | Add JSON::parse | Jay Berkenbilt | |
2022-01-30 | Add JSON::isDictionary and JSON::isArray | Jay Berkenbilt | |
2022-01-30 | QPDFArgParser: support adding/printing help information | Jay Berkenbilt | |
2022-01-30 | QPDFArgParser: handle optional choices including help | Jay 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-30 | Fix doc typos caught by m-holger -- thanks | Jay Berkenbilt | |