aboutsummaryrefslogtreecommitdiffstats
path: root/generate_auto_job
AgeCommit message (Collapse)Author
2022-07-31Remove extraneous statement after raising an exceptionJay Berkenbilt
2022-05-03Move generate_auto_job to the top-level CMakeLists.txtJay Berkenbilt
2022-04-24Fix build logic around generate_auto_jobJay Berkenbilt
It was being run at configuration time, not build time.
2022-02-26generate_auto_job: protect generated files from formattingJay Berkenbilt
2022-02-08Check generated QPDFJob files in CIJay Berkenbilt
This is to catch pull requests that make changes that would affect automatically generated job files without including those modifications.
2022-02-02Fix some doc typosm-holger
2022-02-01Make QPDFArgParser accept const argvJay Berkenbilt
This makes it much more convention to use the initializeFromArgv functions since you can use string literals.
2022-02-01QPDFJob: documentationJay Berkenbilt
2022-02-01generate_auto_job: generate overloaded config decls for optionalJay Berkenbilt
For optional parameter/choices, generate an overloaded config method that takes no arguments. This makes it possible to convert from a bare argument to one that takes an optional parameter without breaking binary compatibility.
2022-02-01Tweak short text for job schema helpJay Berkenbilt
2022-02-01QPDFJob json: make bare arguments expect the empty stringJay Berkenbilt
Changing from bool requiring true to string requiring the empty string is more consistent with the CLI and makes it possible to add an optional parameter or choices later without breaking compatibility.
2022-02-01QPDFJob json: flatten json structureJay Berkenbilt
Flatten everything to make it easier to map command-line flags to json. The old structure was an illusion anyway because there was no mechanism to enforce that things were in the right place. This also helps with future flexibility.
2022-01-31Change filename or path to file in json and QPDFJobJay Berkenbilt
Use "file" consistently for specifying a file path. We use "filename" when adding attachments for a completely different purpose.
2022-01-31QPDFJob: fix logic errors in handling arraysJay Berkenbilt
The code was assuming everything was happening inside dictionaries. Instead, make the dictionary key handler creatino explicit only when iterating through dictionary keys.
2022-01-31generate_auto_job: break out build_schema for refactorJay Berkenbilt
2022-01-31QDPFJob: incorporate change to JSONHandler for array start functionJay Berkenbilt
2022-01-31QPDFJob: incorporate change to JSONHandler for dict start functionJay Berkenbilt
2022-01-31QPDFJob: autogenerate json init and declarationsJay Berkenbilt
Now still have to go through and implement the handlers.
2022-01-31QPDFJob: generate json decl and init file skeletonsJay Berkenbilt
2022-01-30Improve top-level help informationJay Berkenbilt
2022-01-30Incorporate editorial changes from m-holgerJay Berkenbilt
2022-01-30Allow --x[=y] in option help short textJay Berkenbilt
2022-01-30Fix some commentsJay Berkenbilt
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-30Minor cleanupJay Berkenbilt
2022-01-30QPDFJob: convert encryption handlersJay Berkenbilt
2022-01-30QPDFJob: convert under/overlay and rotateJay Berkenbilt
2022-01-30QPDFJob: move more top-level trivial handlers into configJay Berkenbilt
2022-01-30QPDFJob: convert pagesJay Berkenbilt
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-30generate_auto_job: don't replace files that are unchangedJay Berkenbilt
2022-01-30QPDFJob: start changing generation for trivial config handlersJay Berkenbilt
2022-01-30Incorporate job schema generation into generate_auto_jobJay Berkenbilt
2022-01-30Refactor generate_auto_job to prepare for jsonJay Berkenbilt
2022-01-30Generate help content from manualJay 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-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-30QPDFJob increment: generate option table initializationJay Berkenbilt
2022-01-30QPDFJob increment: generate handler declarationsJay Berkenbilt
2022-01-30QPDFJob increment: generate choices variables in initJay Berkenbilt
2022-01-30QPDFJob increment: generate table namesJay Berkenbilt
2022-01-30Add basic framework for QPDFJob code generationJay Berkenbilt