aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2023-05-20Replace 'virtual' specifier with 'override'm-holger
2023-05-20Remove redundant 'virtual' specifiersm-holger
2023-05-20Use auto when declaring iteratorsm-holger
2023-05-20Use auto when initializing with a castm-holger
2023-05-20Use auto when initialializing with newm-holger
2023-05-20Use nullptr instead of 0 or NULLm-holger
2023-05-20Replace deprecated C++ includesm-holger
2023-05-20Remove unused include directivesm-holger
2023-05-05Bump AppImage to Ubuntu 20.04Jay Berkenbilt
18.04 is out of security support, and cmake for 18.04 is no longer available via kitware's debian repository (or at least fetching it failed for one build).
2023-05-05Add the file to reproduce fuzz issue 57639Jay Berkenbilt
It is possible to reproduce the failure with this file following the instructions with oss-fuzz, though it does not cause a failure in CI. The failure was introduced in 18c1ffe0df335a46cddbeb96e2cb939d850df9fa.
2023-04-15Merge pull request #947 from m-holger/nullJay Berkenbilt
Prevent destruction of shared null objects
2023-04-11Prevent destruction of shared null objectsm-holger
#863 uses a single null object for nulls that were previously implicit. In certain circumstances this shared null object gets destroyed (i.e changed to a QPDF_Destroyed object) when a QPDF object is destroyed. Modify the QPDF destructor so that null objects get disconnected from the dying QPDF object but not destroyed to prevent this from happening.
2023-04-04Merge pull request #941 from m-holger/normJay Berkenbilt
Fix bug in QPDF_Name::normalizeName introduced in #891
2023-04-04Fix bug in QPDF_Name::normalizeName introduced in #891m-holger
'#' was omitted from the list of chars that need to be escaped.
2023-04-02Merge pull request #933 from m-holger/c_jobJay Berkenbilt
C-API : expose QPDFJob::createQPDF and writeQPDF
2023-04-02Add new functions qpdfjob_create_qpdf and qpdfjob_write_qpdfm-holger
2023-04-02Add new _qpdf_data constructor taking a std::unique_ptr<QPDF>m-holger
Also, move _qpdf_data and to new header filer _qpdf_error to new header file qpdf-c_impl.hh
2023-04-02Initialize _qpdf_data membersm-holger
2023-04-01Merge pull request #863 from m-holger/arrayJay Berkenbilt
Refactor QPDF_Array
2023-04-01Merge pull request #930 from m-holger/throwJay Berkenbilt
Code tidy re-throwing of exceptions
2023-04-01Merge pull request #932 from m-holger/wr_upoJay Berkenbilt
Tune indentations in QPDFWriter::unparseObject
2023-04-01Merge pull request #936 from m-holger/hexJay Berkenbilt
Refactor QUtil::hex_decode
2023-04-01Refactor QPDF_Array::unparsem-holger
2023-04-01Refactor QPDF_Array::getJSONm-holger
2023-04-01Remove SparseOHArraym-holger
2023-04-01Refactor QPDF_Array::copym-holger
2023-04-01Refactor QPDF_Array::disconnectm-holger
2023-04-01Refactor QPDF_Array::setFromVectorm-holger
2023-04-01Refactor QPDF_Array::getAsVectorm-holger
2023-04-01Remove SparseOHArray::at, setAt and appendm-holger
2023-04-01Remove SparseOHArray::erasem-holger
2023-04-01Remove SparseOHArray::insertm-holger
2023-04-01Change sparse_array test to test sparse QPDF_Arraysm-holger
2023-04-01Refactor QPDF_Array::setItem and rename to setAtm-holger
2023-04-01Refactor QPDF_Array::eraseItem and rename to erasem-holger
2023-04-01Refactor QPDF_Array::insertItem and rename to insertm-holger
2023-04-01Refactor QPDF_Array::appendItem and rename to push_backm-holger
2023-04-01Add new method QPDFValue::checkOwnershipm-holger
2023-04-01Refactor QPDF_Array::getItem and rename to atm-holger
2023-04-01Inline QPDF_Array::getNItems and rename to sizem-holger
2023-04-01Change SparseOHArray index type to int and elements type to mapm-holger
There are no reasons other than historical to use size_t. On balance, using map is more efficient. Hold shared pointers to QPDFObjects rather than QPDFObjectHandles for consistencey with QPDF_Array.
2023-04-01Remove temporary OHArraym-holger
2023-03-29Remove temporary OHArray::erase, insert and copym-holger
2023-03-29Remove temporary OHArray::disconnect and setAtm-holger
2023-03-29Remove temporary OHArray::atm-holger
2023-03-29Remove temporary OHArray::size, append and remove_lastm-holger
Also, add const overload of QPDFObjectHandle::getObj
2023-03-29Optimize QPDFParser for non-sparse QPDF_Arraysm-holger
Stop using nullptr to represent null objects. Count null array elements and trigger creation of sparse arrays if null count is greater than 100.
2023-03-29Change underlying data structure of QPDF_Array in non-sparse mode to std::vectorm-holger
2023-03-29Add separate sparse mode to QPDF_Arraym-holger
Add temporary clone of SparseOHArray to implement non-sparse mode.
2023-03-29Remove redundant QPDF_Array::addExplicitElementsToListm-holger