Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-07-31 | Fix --json-help to take a version parameter | Jay Berkenbilt | |
2022-06-18 | Use the default logger for other writes to stdout/stderr | Jay Berkenbilt | |
When there is no context for writing output or error messages, use the default logger. | |||
2022-05-20 | Major rework -- see long comments | Jay Berkenbilt | |
* Replace --create-from-json=file with --json-input, which causes the regular input to be treated as json. * Eliminate --to-json * In --json=2, bring back "objects" and eliminate "objectinfo". Stream data is never present. * In --json-output=2, write "qpdf-v2" with "objects" and include stream data. | |||
2022-05-16 | Add --create-from-json and --update-from-json arguments | Jay Berkenbilt | |
Also add stubs for top-level QPDF methods (createFromJSON, updateFromJSON) | |||
2022-04-30 | Formatting: remove space in range-style for loops | Jay Berkenbilt | |
Change .clang-format and commit automated changes from a fresh run of format-code | |||
2022-04-04 | Programmatically apply new formatting to code | Jay Berkenbilt | |
Run this: for i in **/*.cc **/*.c **/*.h **/*.hh; do clang-format < $i >| $i.new && mv $i.new $i done | |||
2022-02-15 | Ignore -- at the top level arg parser (fixes #652) | Jay Berkenbilt | |
This was unintended behavior that was added back for backward compatibility. It is intentionally undocumented. | |||
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 | |