aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDF_Unresolved.cc
AgeCommit message (Collapse)Author
2024-02-16Reimplement QPDFObjectHandle::getJSON in terms of 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.
2023-05-21Rerun clang-formatJay Berkenbilt
2022-11-20Rename QPDFObject::shallowCopy to copym-holger
Add optional parameter shallow. Change logic errors to runtime errors.
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-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-08Remove unneeded owning_qpdf from QPDFValueJay Berkenbilt
The qpdf member was already sufficient. Removing this actually fixed a few pre-existing issues around detecting foreign ownership and allowing certain conditions to be warnings rather than exceptions.
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
2022-09-01Change QPDF_Unresolved::create method to take QPDF* and QPDFObjGen parametersm-holger
2022-09-01Remove virtual methods QPDFValue::getTypeCode and getTypeNamem-holger
2022-09-01Split QPDFObject into QPDFObject and QPDFValuem-holger
2022-08-31Add class QPDF_Unresolvedm-holger
Allow QPDFObjectHandle::obj to be set prior resolving object. ot_unresolved has been appended to the list object types in order to preserve the output of existing test cases.