Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-02-04 | Update copyright for 2022 | Jay Berkenbilt | |
2022-02-04 | Add a blank line after the first header included in each source | Jay Berkenbilt | |
2022-02-01 | QPDFJob: let initializeFromArgv just take argv, not argc | Jay Berkenbilt | |
Let argv be a null-terminated array. There is already code that assumes this, and it makes it easier to construct the arguments. | |||
2022-02-01 | Make QPDFArgParser accept const argv | Jay Berkenbilt | |
This makes it much more convention to use the initializeFromArgv functions since you can use string literals. | |||
2022-02-01 | Move QTC::TC for qpdf to QPDFJob | Jay Berkenbilt | |
All the coverage cases that used to be in qpdf.cc are now in QPDFJob*.cc. It doesn't really matter, but better to follow the convention of starting with the class that includes the coverage call. | |||
2022-02-01 | Clean up documentation and help around json options | Jay Berkenbilt | |
2022-01-31 | Change filename or path to file in json and QPDFJob | Jay Berkenbilt | |
Use "file" consistently for specifying a file path. We use "filename" when adding attachments for a completely different purpose. | |||
2022-01-31 | QPDFJob: rename function that returns job schema | Jay Berkenbilt | |
2022-01-31 | QPDFJob: add checkConfiguration to Config | Jay Berkenbilt | |
2022-01-31 | QPDFJob: prepare for automatically generated json handlers | Jay Berkenbilt | |
2022-01-30 | Use QPDFUsage exception for cli, json, and QPDFJob errors | Jay Berkenbilt | |
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: use config API in place-holder json | Jay Berkenbilt | |
2022-01-30 | QPDFJob: move input/output handling into config | 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 | 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 | QPDFJob: convert AddAttachment handlers | 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 | Mark trivial arg functions | Jay Berkenbilt | |
2022-01-30 | Move doFinalChecks to QPDFJob::checkConfiguration | Jay Berkenbilt | |
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 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 | Document how to add a command-line argument | Jay Berkenbilt | |
2022-01-30 | Generate help content from manual | Jay Berkenbilt | |
This is a massive rewrite of the help text and cli.rst section of the manual. All command-line flags now have their own help and are specifically index. qpdf --help is completely redone. | |||
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 | QPDFJob increment: generate option table initialization | Jay Berkenbilt | |
2022-01-30 | QPDFJob increment: generate handler declarations | Jay Berkenbilt | |
2022-01-30 | QPDFJob increment: generate choices variables in init | Jay Berkenbilt | |
2022-01-30 | QPDFJob increment: generate table names | Jay Berkenbilt | |
2022-01-30 | Expose QPDFArgParser::usage | Jay Berkenbilt | |
2022-01-30 | QPDFJob: remove non-check from doFinalChecks | Jay Berkenbilt | |
2022-01-30 | QPDFJob increment: move arg parsing into QPDFJob | Jay 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. |