Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-06-17 | Merge pull request #982 from m-holger/cltidy | Jay Berkenbilt | |
Apply various Clang-Tidy rules | |||
2023-06-09 | Code tidy - Clang-Tidy rule modernize-use-equals-default | m-holger | |
2023-06-09 | Remove redundant loop in QPDFWriter::prepareFileForWrite | m-holger | |
2023-06-02 | Fix doc typos | m-holger | |
2023-06-02 | Code tidy - reflow comments and strings | m-holger | |
2023-05-21 | Rerun clang-format | Jay Berkenbilt | |
2023-05-21 | Globally replace 'this->m->' with 'm->' | m-holger | |
Using search and replace. | |||
2023-05-20 | Rerun format_code (after merging clang-tidy PR) | Jay Berkenbilt | |
2023-05-20 | Use auto when initialializing with new | m-holger | |
2023-05-20 | Replace deprecated C++ includes | m-holger | |
2023-03-21 | Tune indentations in QPDFWriter::unparseObject | m-holger | |
Set indent differently for qdf and non-qdf files. Combine with preceding newline for qdf files. | |||
2023-03-17 | Add new data member QPDFWriter::Members::root_og | m-holger | |
Also, uninitialize QPDFWriter::Members members. | |||
2023-01-23 | Tune QPDFWriter::writeString etc methods | m-holger | |
Use string_view parameters and call pipeline write methods directly. | |||
2023-01-22 | Tidy QPDFXRefEntry creation | m-holger | |
2023-01-08 | Refactor QPDFWriter::writePad | m-holger | |
2023-01-08 | Change QPDFWriter::object_queue to std::vector | m-holger | |
2023-01-08 | Tune QPDFWriter::enqueueObject | m-holger | |
2023-01-07 | Tune QPDFWriter::unparseObject | m-holger | |
2022-12-31 | Refactor QPDFWriter::enqueueObject | m-holger | |
Move test for m->linearized outside loop. | |||
2022-12-06 | Alternative fix logic for fixDanglingReferences | m-holger | |
2022-09-21 | Replace calls to QUtil::int_to_string with std::to_string | m-holger | |
2022-09-08 | Change reset to disconnect and clarify comments | Jay Berkenbilt | |
I decided that it's actually fine to copy a direct object to another QPDF. Even if we eventually prevent a QPDFObject from having multiple parents, this could happen if an object is moved. | |||
2022-09-08 | Clear owning QPDF information for all objects, not just indirect | Jay Berkenbilt | |
2022-08-01 | Add QPDF::getObject to replace getObjectByObjGen and getObjectByID | m-holger | |
For consistency with similar methods, e.g. replaceObject. | |||
2022-07-31 | Merge pull request #734 from m-holger/nullptr | Jay Berkenbilt | |
Code tidy : replace 0 with nullptr or true | |||
2022-07-26 | Code tidy : replace 0 with nullptr or true | m-holger | |
2022-07-24 | Tweak "AndGet" mutator functions again | Jay Berkenbilt | |
Remove any ambiguity around whether old or new value is being returned. | |||
2022-07-24 | Add optional parameter separator to QPDFObjGen::unparse | m-holger | |
Also, revert inlining of unparse and operator << from commit 4c6640c in order to avoid exposing QUtil. | |||
2022-06-19 | Move C-based ProgressReporter helper into QPDFWriter | Jay Berkenbilt | |
2022-05-21 | Code clean up: use range-style for loops wherever possible | m-holger | |
Remove variables obsoleted by commit 4f24617. | |||
2022-05-20 | Add test for bad data and bad datafile | Jay Berkenbilt | |
2022-05-04 | Make use of the new Pipeline methods in some places | Jay Berkenbilt | |
2022-05-04 | Make Pipeline::write take an unsigned char const* (API change) | Jay Berkenbilt | |
2022-05-04 | Make assert handling less error-prone | Jay Berkenbilt | |
Prevent my future self or other contributors from using assert in tests and then having that assert not do anything because of the NDEBUG macro. | |||
2022-05-04 | Remove remaining incorrect assert calls from implementation | Jay Berkenbilt | |
2022-04-30 | Mark weak encryption with API changes (fixes #576) | Jay Berkenbilt | |
2022-04-30 | Remove deprecated (pre-8.4.0) encryption APIs | 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-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-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-08 | Preserve input PDF version on pages/split-pages (fixes #610) | Jay Berkenbilt | |
2022-02-08 | WHITESPACE ONLY -- expand tabs in source code | Jay Berkenbilt | |
This comment expands all tabs using an 8-character tab-width. You should ignore this commit when using git blame or use git blame -w. In the early days, I used to use tabs where possible for indentation, since emacs did this automatically. In recent years, I have switched to only using spaces, which means qpdf source code has been a mixture of spaces and tabs. I have avoided cleaning this up because of not wanting gratuitous whitespaces change to cloud the output of git blame, but I changed my mind after discussing with users who view qpdf source code in editors/IDEs that have other tab widths by default and in light of the fact that I am planning to start applying automatic code formatting soon. | |||
2022-02-07 | Update for clean compile with POINTERHOLDER_TRANSITION=2 | Jay Berkenbilt | |
2022-02-07 | Add getBufferSharedPointer() to Pl_Buffer and QPDFWriter | 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 | Add a blank line after the first header included in each source | 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. |