Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-05-07 | Add --test-json-schema command-line option | Jay Berkenbilt | |
2022-05-07 | QPDFJob: have doJSON write to a pipeline | Jay Berkenbilt | |
2022-05-04 | Add new FileInputSource constructors | Jay Berkenbilt | |
2022-05-04 | Make "objects" and "pages" consistent in JSON output | Jay Berkenbilt | |
2022-05-04 | Don't call pushInheritedAttributesToPage in json mode | Jay Berkenbilt | |
We used to have to do that, but for quite some time, the code that gets images has no longer required it. | |||
2022-05-01 | Spell check | Jay Berkenbilt | |
2022-04-30 | Mark weak encryption with API changes (fixes #576) | Jay Berkenbilt | |
2022-04-30 | Using insecure crytpo from the CLI is now an error by default | Jay Berkenbilt | |
2022-04-30 | Code clean up: use range-style for loops wherever possible | Jay Berkenbilt | |
Where not possible, use "auto" to get the iterator type. Editorial note: I have avoid this change for a long time because of not wanting to make gratuitous changes to version history, which can obscure when certain changes were made, but with having recently touched every single file to apply automatic code formatting and with making several broad changes to the API, I decided it was time to take the plunge and get rid of the older (pre-C++11) verbose iterator syntax. The new code is just easier to read and understand, and in many cases, it will be more effecient as fewer temporary copies are being made. m-holger, if you're reading, you can see that I've finally come around. :-) | |||
2022-04-30 | Formatting: remove space in range-style for loops | Jay Berkenbilt | |
Change .clang-format and commit automated changes from a fresh run of format-code | |||
2022-04-30 | Use replaceKeyAndGet in a few places in existing code | Jay Berkenbilt | |
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 | |