Jay Berkenbilt
|
60965d5f4d
|
Rerun clang-format
|
2023-05-21 13:35:09 -04:00 |
|
Jay Berkenbilt
|
cdd0b4fb7d
|
Use = default and = delete where possible in classes
|
2022-04-16 11:39:14 -04:00 |
|
Jay Berkenbilt
|
a68703b07e
|
Replace PointerHolder with std::shared_ptr in library sources only
(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-09 17:33:29 -04:00 |
|
Jay Berkenbilt
|
12f1eb15ca
|
Programmatically apply new formatting to code
Run this:
for i in **/*.cc **/*.c **/*.h **/*.hh; do
clang-format < $i >| $i.new && mv $i.new $i
done
|
2022-04-04 08:10:40 -04:00 |
|
Jay Berkenbilt
|
2229e37e88
|
Add a blank line after the first header included in each source
|
2022-02-04 16:31:31 -05:00 |
|
Jay Berkenbilt
|
98f6c00dad
|
Protect numeric conversion against user's locale (fixes #459)
|
2020-10-21 16:42:51 -04:00 |
|
Jay Berkenbilt
|
456c285b02
|
Fix fuzz issue 16172 (overflow checking in OffsetInputSource)
|
2019-08-27 13:08:07 -04:00 |
|
Jay Berkenbilt
|
7393a03868
|
Update lastOffset when reading
|
2013-12-14 15:17:07 -05:00 |
|
Jay Berkenbilt
|
7f84239cad
|
Find PDF header anywhere in the first 1024 bytes
|
2012-12-25 14:43:37 -05:00 |
|