aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/qpdf/Pl_TIFFPredictor.hh
AgeCommit message (Collapse)Author
2024-02-04Format codeJay Berkenbilt
2024-01-27In Pl_TIFFPredictor::processRow buffer outputm-holger
2024-01-26In Pl_TIFFPredictor::processRow avoid repeated vector allocationm-holger
Also, modernize for loop.
2024-01-26In Pl_TIFFPredictor avoid repeated calls to getNextm-holger
2024-01-26In Pl_TIFFPredictor remove calls to memcpym-holger
Instead of overwriting cur_row.data() use clear and insert.
2024-01-26Change Pl_TIFFPredictor::cur_row to std::vector<unsigned char>m-holger
2023-06-02Code tidy - reflow comments and stringsm-holger
2023-05-20Replace 'virtual' specifier with 'override'm-holger
2022-05-04Make Pipeline::write take an unsigned char const* (API change)Jay Berkenbilt
2022-04-16Use = default and = delete where possible in classesJay Berkenbilt
2022-04-09Remove methods of private classes from ABIJay Berkenbilt
Prior to the cmake conversion, several private classes had methods that were exported into the shared library so they could be tested with libtests. With cmake, we build libtests using an object library, so this is no longer necessary. The methods that are disappearing from the ABI were never exposed through public headers, so no code should be using them. Removal had to wait until the window for ABI-breaking changes was open.
2022-04-09Replace PointerHolder with std::shared_ptr in library sources onlyJay 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-04Programmatically apply new formatting to codeJay Berkenbilt
Run this: for i in **/*.cc **/*.c **/*.h **/*.hh; do clang-format < $i >| $i.new && mv $i.new $i done
2019-06-22In shippable code, favor smart pointers (fixes #235)Jay Berkenbilt
Use PointerHolder in several places where manually memory allocation and deallocation were being used. This helps to protect against memory leaks when exceptions are thrown in surprising places.
2018-08-12Protect headers with compliant identifiers (fixes #233)Jay Berkenbilt
2018-01-14Add Pl_TIFFPredictorJay Berkenbilt