Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-04-24 | Add new QPDF::warn that takes most of QPDFExc's arguments | Jay Berkenbilt | |
2022-04-18 | QPDFJob: pass capture output streams through to underlying QPDF | Jay Berkenbilt | |
2022-04-16 | Use = default and = delete where possible in classes | Jay Berkenbilt | |
2022-04-09 | Replace PointerHolder with std::shared_ptr in library sources only | Jay Berkenbilt | |
(patrepl and cleanpatch are my own utilities) patrepl s/PointerHolder/std::shared_ptr/g {include,libqpdf}/qpdf/*.hh patrepl s/PointerHolder/std::shared_ptr/g libqpdf/*.cc patrepl s/make_pointer_holder/std::make_shared/g libqpdf/*.cc patrepl s/make_array_pointer_holder/QUtil::make_shared_array/g libqpdf/*.cc patrepl s,qpdf/std::shared_ptr,qpdf/PointerHolder, **/*.cc **/*.hh git restore include/qpdf/PointerHolder.hh cleanpatch ./format-code | |||
2022-04-05 | Update some code manually to get better formatting results | Jay Berkenbilt | |
Add comments to force line breaks, parenthesize function arguments that are contatenated strings, etc. -- these kinds of changes improve clang-format's results and also cause emacs cc-mode to match clang-format. After this type of change, most of the time, when clang-format and emacs disagree, clang-format is better. | |||
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-26 | Move default values to constexpr | Jay Berkenbilt | |
This was mainly to get comments about defaults out of constructor initializer lists where their fragile when a code formatter is being used. | |||
2022-02-11 | Fix tests for Form XObjects | m-holger | |
Remove test for type == /XObject in QPDFObjectHandle::isFormXObject as type value is optional (as per spec 8.10.2). Replace code to test for /Form in QPDFJob::shouldRemoveUnreferencedResources with a call to isFormXObject. | |||
2022-02-08 | Only update output version from files used as input | Jay Berkenbilt | |
If we're opening a PDF file to copy its encryption information or attachments, its version doesn't need to influence the output version. | |||
2022-02-08 | Preserve input PDF version on pages/split-pages (fixes #610) | Jay Berkenbilt | |
2022-02-07 | Update for clean compile with POINTERHOLDER_TRANSITION=2 | Jay Berkenbilt | |
2022-02-05 | Add operator ""_qpdf for creating QPDFObjectHandle literals | 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-04 | Fix --check-linearization of non-linearized files (fixes #615) | m-holger | |
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 | Move more code from qpdf.cc into QPDFJob | Jay Berkenbilt | |
2022-02-01 | QPDFJob: documentation | Jay Berkenbilt | |
2022-01-31 | Add optional version to --json | Jay Berkenbilt | |
2022-01-31 | QPDFJob: rename function that returns job schema | Jay Berkenbilt | |
2022-01-30 | Use QPDFUsage exception for cli, json, and QPDFJob errors | Jay Berkenbilt | |
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: 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 under/overlay and rotate | Jay Berkenbilt | |
2022-01-30 | QPDFJob: move some helpers from ArgParser to QPDFJob | Jay Berkenbilt | |
2022-01-30 | Add QPDFJob::ConfigError exception | Jay Berkenbilt | |
2022-01-30 | QPDFJob: convert a flag in other than the main table | Jay Berkenbilt | |
2022-01-30 | QPDFJob: begin configuration API with verbose | Jay Berkenbilt | |
2022-01-30 | QPDFJob: TRUE -> true | Jay Berkenbilt | |
2022-01-30 | Move doFinalChecks to QPDFJob::checkConfiguration | Jay Berkenbilt | |
2022-01-30 | QPDFJob: make createsOutput callable before run() | Jay Berkenbilt | |
2022-01-30 | QPDFJob: convert Under/Overlay to use shared pointers | Jay Berkenbilt | |
2022-01-30 | QPDFJob: convert Under/Overlay ranges to strings | Jay Berkenbilt | |
2022-01-30 | QPDFJob: convert PageSpec to used shared pointer | 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 | Fix json schema for objects to include dictionary key | Jay Berkenbilt | |
2022-01-30 | Use JSON::parse to initialize schema for json mode | Jay Berkenbilt | |
2022-01-30 | Fix comment on duplicated top-level json keys | Jay Berkenbilt | |
2022-01-30 | Minor code cleanup | Jay Berkenbilt | |
2022-01-30 | Fix doc typos caught by m-holger -- thanks | Jay Berkenbilt | |
2022-01-30 | QPDFJob: remove non-check from doFinalChecks | Jay Berkenbilt | |
2022-01-30 | QPDFJob increment: move arg parsing into QPDFJob | Jay Berkenbilt | |
Move ArgParser from qpdf.cc into QPDFJob.cc. It still works with millions of public member variables, but now qpdf.cc is minimal and just calls stable library functions. | |||
2022-01-30 | QPDFJob: reorder functions, no other changes | Jay Berkenbilt | |
2022-01-30 | QPDFJob increment: static functions to member functions | Jay Berkenbilt | |
Convert remaining static functions that take QPDFJob& as a parameter to member functions. Utility functions that don't take QPDFJob& remain static functions and can probably just stay that way since the keep extra complexity out of QPDFJob.hh. |