-
…lify `withinLimits` logic, and improve code readability with subscript operators.
-
…` and `getArrayNItems` with subscript operators for readability and cleaner syntax.
-
…edundant debug traces.
-
…and improve `findInternal` readability.
-
…dding error counting and leveraging `reconstructed_xref` for improved robustness, limiting the acceptable number of errors for damaged files.
-
…cess for consistency and readability.
-
Refactored several classes to use C++11 `final` specifiers for inheritance restrictions and added default member initializations. These changes enhance code clarity, improve safety, and ensure modern coding practices.
-
This improves indentation of long strings. This commit also fixes some trailing whitespace in ChangeLog.
-
Avoid copying exceptions.
-
I decided these were confusing and inconsistent with how JSON works. They muddle the API rather than improving it.
-
Change .clang-format and commit automated changes from a fresh run of format-code
-
Remove the name/number tree object helper constructors that don't take a QPDF&.
-
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.
-
Run this: for i in **/*.cc **/*.c **/*.h **/*.hh; do clang-format < $i >| $i.new && mv $i.new $i done
-
Keep a std::pair internal to the iterators so that operator* can return a reference and operator-> can work, and each can work without copying pairs of objects around.
-
Add constructors that take a QPDF object so we can issue warnings and create new indirect objects.
-
Create a computationally and memory efficient implementation of name and number trees that does binary searches as intended by the data structure rather than loading into a map, which can use a great deal of memory and can be very slow.