Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-02-16 | Reimplement QPDFObjectHandle::getJSON in terms of writeJSON | m-holger | |
2024-02-16 | Add new writeJSON methods | m-holger | |
Create an alternative to getJSON to allow an object handle to be written as JSON without the overhead of creating a JSON object. | |||
2024-02-04 | Format code | Jay Berkenbilt | |
2024-01-12 | Fix null pointer issue on array copy | Jay Berkenbilt | |
2024-01-10 | Tune handling of sparse arrays in QPDF_Array | m-holger | |
Sparse arrays are rare. Dynamically create the variables needed to manage them only when needed. | |||
2023-06-09 | Code tidy - Clang-Tidy rule modernize-use-emplace | m-holger | |
2023-06-02 | Code tidy - reflow comments and strings | m-holger | |
2023-05-21 | Rerun clang-format | Jay Berkenbilt | |
2023-05-20 | Use auto when initialializing with new | m-holger | |
2023-04-01 | Refactor QPDF_Array::unparse | m-holger | |
2023-04-01 | Refactor QPDF_Array::getJSON | m-holger | |
2023-04-01 | Remove SparseOHArray | m-holger | |
2023-04-01 | Refactor QPDF_Array::copy | m-holger | |
2023-04-01 | Refactor QPDF_Array::disconnect | m-holger | |
2023-04-01 | Refactor QPDF_Array::setFromVector | m-holger | |
2023-04-01 | Refactor QPDF_Array::getAsVector | m-holger | |
2023-04-01 | Remove SparseOHArray::at, setAt and append | m-holger | |
2023-04-01 | Remove SparseOHArray::erase | m-holger | |
2023-04-01 | Remove SparseOHArray::insert | m-holger | |
2023-04-01 | Refactor QPDF_Array::setItem and rename to setAt | m-holger | |
2023-04-01 | Refactor QPDF_Array::eraseItem and rename to erase | m-holger | |
2023-04-01 | Refactor QPDF_Array::insertItem and rename to insert | m-holger | |
2023-04-01 | Refactor QPDF_Array::appendItem and rename to push_back | m-holger | |
2023-04-01 | Add new method QPDFValue::checkOwnership | m-holger | |
2023-04-01 | Refactor QPDF_Array::getItem and rename to at | m-holger | |
2023-04-01 | Inline QPDF_Array::getNItems and rename to size | m-holger | |
2023-04-01 | Change SparseOHArray index type to int and elements type to map | m-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-01 | Remove temporary OHArray | m-holger | |
2023-03-29 | Remove temporary OHArray::erase, insert and copy | m-holger | |
2023-03-29 | Remove temporary OHArray::disconnect and setAt | m-holger | |
2023-03-29 | Remove temporary OHArray::at | m-holger | |
2023-03-29 | Remove temporary OHArray::size, append and remove_last | m-holger | |
Also, add const overload of QPDFObjectHandle::getObj | |||
2023-03-29 | Optimize QPDFParser for non-sparse QPDF_Arrays | m-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-29 | Change underlying data structure of QPDF_Array in non-sparse mode to std::vector | m-holger | |
2023-03-29 | Add separate sparse mode to QPDF_Array | m-holger | |
Add temporary clone of SparseOHArray to implement non-sparse mode. | |||
2023-03-29 | Remove redundant QPDF_Array::addExplicitElementsToList | m-holger | |
2022-12-31 | Avoid inserting direct null objects into olist | m-holger | |
2022-12-31 | Change olist variable in QPDFParser::parse to vector<shared_ptr<QPDFObject>> | m-holger | |
2022-11-20 | Refactor QPDFObjectHandle::copyObject1 | m-holger | |
2022-11-20 | Rename QPDFObject::shallowCopy to copy | m-holger | |
Add optional parameter shallow. Change logic errors to runtime errors. | |||
2022-09-08 | Rename QPDFValueProxy back to QPDFObject | Jay Berkenbilt | |
QPDFValueProxy wasn't a good name for it. We decided the evil of having the header file be named QPDFObject_private.hh was less than the evil of having the class be named something other than what it should have been named. | |||
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-09-06 | Rename QPDFObject -> QPDFValueProxy | Jay Berkenbilt | |
This is in preparation for restoring a QPDFObject.hh to ease the transition on qpdf_object_type_e. This commit was created by * Renaming QPDFObject.cc and QPDFObject.hh * Replacing QPDFObject\b with QPDFValueProxy (where \b is word boundary) * Running format-code * Manually resorting files in libqpdf/CMakeLists.txt * Manually refilling the comment in QPDF.hh near class Resolver | |||
2022-09-04 | Fix commit 805c1ad : Reset QPDFValue::qpdf and QPDFValue::og when ... | m-holger | |
On destruction of the QPDF object replace all indirect object references with direct nulls. Remove all existing code to release resolved references. Fixes performance issue due to interaction of resetting QPDFValue::qpdf and og members and prior code. | |||
2022-09-01 | Remove virtual methods QPDFValue::getTypeCode and getTypeName | m-holger | |
2022-09-01 | Split QPDFObject into QPDFObject and QPDFValue | m-holger | |
2022-06-27 | Refactor QPDFObject creation and cloning | m-holger | |
Move responsibility for creating shared pointers to objects and cloning from QPDFObjectHandle to QPDFObject. | |||
2022-06-25 | Remove redundant QPDF_Array::setDescription and QPDF_Dictionary::setDescription | m-holger | |
2022-05-07 | Prepare code for JSON v2 | Jay Berkenbilt | |
Update getJSON() methods and calls to them |