Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-03-19 | Switch variables to cmake in qpdf-config.h | Jay Berkenbilt | |
2022-03-08 | Rename bits_include.cc to qpdf/bits_functions.hh | Jay Berkenbilt | |
It's better to just make it a .hh file to reduce confusion. | |||
2022-02-26 | generate_auto_job: protect generated files from formatting | Jay Berkenbilt | |
2022-02-08 | WHITESPACE ONLY -- expand tabs in source code | Jay Berkenbilt | |
This comment expands all tabs using an 8-character tab-width. You should ignore this commit when using git blame or use git blame -w. In the early days, I used to use tabs where possible for indentation, since emacs did this automatically. In recent years, I have switched to only using spaces, which means qpdf source code has been a mixture of spaces and tabs. I have avoided cleaning this up because of not wanting gratuitous whitespaces change to cloud the output of git blame, but I changed my mind after discussing with users who view qpdf source code in editors/IDEs that have other tab widths by default and in light of the fact that I am planning to start applying automatic code formatting soon. | |||
2022-02-05 | Stop using std::iterator (fixes #618) | Jay Berkenbilt | |
Create the typedefs directly in iterators rather than deriving from the deprecated std::iterator class. | |||
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 | QPDFJob: documentation | Jay Berkenbilt | |
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 | Add optional version to --json | 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: remove from json a few things that only make sense from CLI | 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 | 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-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 | 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 | 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 more top-level trivial handlers into config | 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: placeholder for initializeFromJson | Jay Berkenbilt | |
2022-01-30 | Incorporate job schema generation into generate_auto_job | Jay Berkenbilt | |
2022-01-30 | cli.rst: remove () from end of short help | Jay Berkenbilt | |
This is used to generate a schema for the job json, which can't contain `)"` because it breaks the R"(...)" syntax in C++. While C++ accepts R"anything(...)anything" to avoid this, as of this writing, MSVC 2019 doesn't understand that. For now, just avoid it by removing parentheses from the end of short help. | |||
2022-01-30 | Add missing help topic for inspection | Jay Berkenbilt | |
2022-01-30 | Editorial changes to cli.rst | Jay Berkenbilt | |
2022-01-30 | CLI doc: use tables where helpful | 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: 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 | 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 | |