Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-05 | Add operator ""_qpdf for creating QPDFObjectHandle literals | Jay Berkenbilt | |
2022-02-05 | Add qpdf_empty_pdf to C API | Jay Berkenbilt | |
2022-02-05 | API contract: qpdf_get_qpdf_version() returns a static | Jay Berkenbilt | |
2022-02-05 | Improve use of std::unique_ptr | Jay Berkenbilt | |
* Use unique_ptr in place of shared_ptr in some cases * unique_ptr for arrays does not require a custom deleter * use std::make_unique (c++14) where possible | |||
2022-02-05 | Add new QPDFObjectHandle::getValueAs... accessors | m-holger | |
2022-02-04 | Update copyright for 2022 | Jay Berkenbilt | |
2022-02-04 | Add qpdf version macros to qpdf/DLL.h | Jay Berkenbilt | |
2022-02-04 | Replace containers of PointerHolder with containers of std::shared_ptr | Jay Berkenbilt | |
None of these are in the public API. | |||
2022-02-04 | JSON: use std::shared_ptr internally | Jay Berkenbilt | |
2022-02-04 | PointerHolder: deprecate getPointer() and getRefcount() | Jay Berkenbilt | |
Use get() and use_count() instead. Add #define NO_POINTERHOLDER_DEPRECATION to remove deprecation markers for these only. This commit also removes all deprecated PointerHolder API calls from qpdf's code except in PointerHolder's test suite, which must continue to test the deprecated APIs. | |||
2022-02-04 | PointerHolder: add get() and use_count() for forward compatibility | Jay Berkenbilt | |
PointerHolder will be replaced with shared_ptr, so let people start moving. | |||
2022-02-04 | C-API add two binary UTF8 funtions | m-holger | |
add qpdf_oh_new_binary_unicode_string and qpdf_oh_get_binary_utf8_value | |||
2022-02-02 | Fix some doc typos | m-holger | |
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 | Finish QPDFJob examples and add tests for them | Jay Berkenbilt | |
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 | Add qpdfjob-c.h -- simple C API around parts of QPDFJob | Jay Berkenbilt | |
2022-02-01 | Move more code from qpdf.cc into QPDFJob | Jay Berkenbilt | |
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-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 | QPDFJob: rename function that returns job schema | Jay Berkenbilt | |
2022-01-31 | QPDFJob: partial mode for initializeFromJson | 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: add checkConfiguration to Config | Jay Berkenbilt | |
2022-01-30 | Use QPDFUsage exception for cli, json, and QPDFJob errors | 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 | QPDFJob: move private members into Members | Jay Berkenbilt | |
2022-01-30 | QPDFJob: make easy things private | Jay Berkenbilt | |
2022-01-30 | QPDFJob: move input/output handling into config | Jay Berkenbilt | |
2022-01-30 | Add missing QPDF_DLL | 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 | QPDFArgParser: remove unused copyFromOtherTable | Jay Berkenbilt | |
This was used, but it no longer is, so let's not keep the extra complexity around. | |||
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 | Add QPDFJob::ConfigError exception | Jay Berkenbilt | |
2022-01-30 | QPDFJob: convert AddAttachment handlers | Jay Berkenbilt | |
2022-01-30 | QPDFJob: generate declarations of trivial config methods | 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 | |