Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-02-01 | generate_auto_job: generate overloaded config decls for optional | Jay 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-01 | Clean up documentation and help around json options | Jay Berkenbilt | |
2022-02-01 | Tweak short text for job schema help | Jay Berkenbilt | |
2022-02-01 | QPDFJob json: make bare arguments expect the empty string | Jay 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-01 | QPDFJob json: flatten json structure | Jay 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-31 | QPDFJob: add test cases | Jay Berkenbilt | |
2022-01-31 | Add optional version to --json | Jay Berkenbilt | |
2022-01-31 | Remove outdated comments | Jay Berkenbilt | |
2022-01-31 | job.yml: remove stray line | 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 | job json: move deterministic-id into output options | Jay Berkenbilt | |
2022-01-31 | QPDFJob: fix logic errors in handling arrays | Jay 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-31 | QPDFJob: rename function that returns job schema | Jay Berkenbilt | |
2022-01-31 | TODO note | Jay Berkenbilt | |
2022-01-31 | generate_auto_job: break out build_schema for refactor | Jay Berkenbilt | |
2022-01-31 | QPDFJob: partial mode for initializeFromJson | Jay Berkenbilt | |
2022-01-31 | QPDFJob: remove from json a few things that only make sense from CLI | Jay Berkenbilt | |
2022-01-31 | QPDFJob_json: implement handlers for pages | Jay Berkenbilt | |
2022-01-31 | QDPFJob: incorporate change to JSONHandler for array start function | Jay Berkenbilt | |
2022-01-31 | JSONHandler: pass JSON object to array start function | Jay Berkenbilt | |
2022-01-31 | QPDFJob_json: implement handlers except pages | Jay Berkenbilt | |
2022-01-31 | QPDFJob: incorporate change to JSONHandler for dict start function | Jay Berkenbilt | |
2022-01-31 | JSONHandler: pass JSON object to dict start function | Jay Berkenbilt | |
If some keys depend on others, we have to check up front since there is no control of what order key handlers will be called. Anyway, keys are unordered in json, so we don't want to depend on ordering. | |||
2022-01-31 | QPDFJob: autogenerate json init and declarations | Jay Berkenbilt | |
Now still have to go through and implement the handlers. | |||
2022-01-31 | QPDFJob_json: add code to register handlers | Jay Berkenbilt | |
2022-01-31 | Fix typo in error message | Jay Berkenbilt | |
2022-01-31 | Fix false compiler warning in debug mode | Jay Berkenbilt | |
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: generate json decl and init file skeletons | 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 | More doc tweaks | Jay Berkenbilt | |
2022-01-30 | More editorial changes from m-holger + spell check | Jay Berkenbilt | |
2022-01-30 | Improve top-level help information | Jay Berkenbilt | |
2022-01-30 | Use QPDFUsage exception for cli, json, and QPDFJob errors | Jay Berkenbilt | |
2022-01-30 | TODO note | Jay Berkenbilt | |
2022-01-30 | Incorporate editorial changes from m-holger | Jay Berkenbilt | |
2022-01-30 | Fix typos in manual | m-holger | |
Fix typos in cli.rst | |||
2022-01-30 | Allow --x[=y] in option help short text | Jay Berkenbilt | |
2022-01-30 | Placeholder QPDFJob example | 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 | TODO note | 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: use config API in place-holder json | Jay Berkenbilt | |