aboutsummaryrefslogtreecommitdiffstats
path: root/include/qpdf/QPDFObjectHandle.hh
AgeCommit message (Collapse)Author
2024-02-16Expose QPDFObjectHandle::writeJSONm-holger
2024-02-16Add new writeJSON methodsm-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-01-01Update copyright to 2024Jay Berkenbilt
2023-12-17Fix doc typosm-holger
2023-10-07Spell checkJay Berkenbilt
2023-06-14Add QPDFObjectHandle move constructor and assignment operator for future buildm-holger
2023-05-27Code tidy - reflow comments and stringsm-holger
2023-05-21Rerun clang-formatJay Berkenbilt
2023-05-20Add new method QPDF::newReservedm-holger
2023-05-20Merge pull request #929 from m-holger/ogguardJay Berkenbilt
Add new convenience class QPDFObjGen::Guard
2023-05-20Use nullptr instead of 0 or NULLm-holger
2023-05-19Use QPDFObjGen::set in QPDFObjectHandlem-holger
2023-04-01Refactor QPDF_Array::disconnectm-holger
2023-03-29Remove temporary OHArray::disconnect and setAtm-holger
2023-03-29Remove temporary OHArray::size, append and remove_lastm-holger
Also, add const overload of QPDFObjectHandle::getObj
2023-03-29Add separate sparse mode to QPDF_Arraym-holger
Add temporary clone of SparseOHArray to implement non-sparse mode.
2023-02-25Revert "Add QPDFObjectHandle operator bool"Jay Berkenbilt
This reverts commit 56c923d1096b0317d978bdadeb44e8198053286c. This commit breaks pikepdf.
2023-02-25Update copyright to 2023Jay Berkenbilt
2023-01-02Inline QPDFObjectHandle::dereferencem-holger
2023-01-01Add QPDFObjectHandle operator boolm-holger
2023-01-01Remove QPDFObjectHandle::Factory and ObjAccessorm-holger
2023-01-01Add new methods QPDFObjectHandle::getObj and getObjectPtrm-holger
Also, make QPDFObjectHandle(std::shared_ptr<QPDFObject> const&) public.
2022-12-31Change olist variable in QPDFParser::parse to vector<shared_ptr<QPDFObject>>m-holger
2022-12-04Remove redundant friend class statementsm-holger
2022-11-20Fix release notes and ChangeLog for 11.2Jay Berkenbilt
2022-11-20Refactor QPDFObjectHandle::copyObject and rename to makeDirectm-holger
2022-11-20Remove redundant parameter cross_indirect from QPDFObjectHandle::copyObjectm-holger
2022-11-20Remove redundant parameter first_level_only from QPDFObjectHandle::copyObjectm-holger
2022-11-20Refactor QPDFObjectHandle::shallowCopym-holger
2022-11-20Remove redundant parameter first_level_only from ↵m-holger
QPDFObjectHandle::shallowCopyInternal2 and copyObject2
2022-11-20Remove redundant parameters cross_indirect and stop_atstreams from ↵m-holger
QPDFObjectHandle::copyObject1
2022-11-20Refactor QPDFObjectHandle::unsafeShallowCopym-holger
2022-11-20Remove redundant QPDFObjectHandle::copyObject2m-holger
copyObject2 repeats a second time what new_obj = QPDFObjectHandle(obj->copy(true)) in shallowCopyInternal2 already did.
2022-11-20Remove redundant parameter first_level_only from ↵m-holger
QPDFObjectHandle::shallowCopyInternal2 and copyObject2
2022-11-20Remove redundant parameters cross_indirect and stop_atstreams from ↵m-holger
QPDFObjectHandle::copyObject2
2022-11-20Split QPDFObjectHandle::shallowCopyInternal and copyObjectm-holger
Have separate versions for unsafeShallowCopy, shallowCopy and makeDirect.
2022-11-19Remove QPDFObjectHandle::Factory::newStreamm-holger
2022-10-01Inline call to QPDFObjectHandle::parse in QPDF::readObjectm-holger
2022-09-23Comment about qpdf/PointerHolder.hh in public headersJay Berkenbilt
2022-09-14Revert "Add default move constructor/assignment to QPDFObjectHandle"Jay Berkenbilt
This reverts commit 416d9668ee97c54a692d9280364746ce8aeeed43. This commit causes numerous failures in the pikepdf test suite and also causes a symbol to disappear from the public API. More investigation will be required.
2022-09-12Add default move constructor/assignment to QPDFObjectHandlem-holger
2022-09-10Change QPDFObjectHandle == to isSameObjectAsJay Berkenbilt
Replace operator== and operator!=, which were testing for the same underlying object, with isSameObjectAs. This change was motivated by the fact that pikepdf internally had its own operator== method for QPDFObjectHandle that did structural comparison. I backed out qpdf's operator== as a courtesy to pikepdf (in my own testing) but also because I think people might naturally assume that operator== does a structural comparison, and isSameObjectAs is clearer in its intent.
2022-09-08Rename QPDFValueProxy back to QPDFObjectJay 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-08Change reset to disconnect and clarify commentsJay 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-08Create a special "destroyed" type rather than using nullJay Berkenbilt
When a QPDF is destroyed, changing indirect objects to direct nulls makes them effectively disappear silently when they sneak into other places. Instead, we should treat this as an error. Adding a destroyed object type makes this possible.
2022-09-08Clear owning QPDF information for all objects, not just indirectJay Berkenbilt
2022-09-07Revert getOwningQPDF, and add getQPDF that returns a referenceJay Berkenbilt
2022-09-07Implement QPDFObjectHandle equalityJay Berkenbilt
2022-09-06Clarify comments for QPDFObjectHandle::getOwningQPDFJay Berkenbilt
2022-09-06Rename QPDFObject -> QPDFValueProxyJay 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