Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | Rename QPDFValueProxy.hh and QPDFValueProxy.cc | Jay Berkenbilt | |
Preparing to change the class name back to QPDFObject | |||
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 | Create a special "destroyed" type rather than using null | Jay 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-08 | Clear owning QPDF information for all objects, not just indirect | Jay Berkenbilt | |
2022-09-08 | Update QPDFObject with comment | Jay Berkenbilt | |
Also, since it's just there for compatibility, we don't need to add new object types to it. | |||
2022-09-07 | Revert getOwningQPDF, and add getQPDF that returns a reference | Jay Berkenbilt | |
2022-09-07 | Clarify and improve QPDFPageObjectHelper::get*Box methods | Jay Berkenbilt | |
Add copy_if_fallback and explain how it differs from copy_if_shared. | |||
2022-09-07 | Implement QPDFObjectHandle equality | Jay Berkenbilt | |
2022-09-06 | Support --show-encryption without a valid password (fixes #598) | Jay Berkenbilt | |
2022-09-06 | Clarify comments for QPDFObjectHandle::getOwningQPDF | Jay Berkenbilt | |
2022-09-06 | Re-introduce QPDFObject.hh as deprecated | Jay Berkenbilt | |
* Just removing a header file would cause build errors with no hint as to what happened. This way, people get a warning rather than error for the life of qpdf 11, and the warning tells them what to do. * This avoids build surprises resulting from having two versions of QPDF headers installed at once. If you were building code out of a checkout of qpdf but had an older version installed on your system, if your code included <qpdf/QPDFObject.hh>, everything would work, but then your code would break without QPDFObject.hh later. | |||
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-06 | Update formatting a documentation from last PR | Jay Berkenbilt | |
2022-09-05 | Take advantage of unique_ptr and move construction for Buffer | James R. Barlow | |
Since Buffer has always implemented its copy constructor with a deep copy, its Members object will never have multiple owners. Change to unique_ptr. Also implement move constructors for Buffer, since there may be cases where a deep copy is not needed. | |||
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-02 | Update comments in Constants.h | Jay Berkenbilt | |
2022-09-02 | Disable copying/assigning to QPDF objects, add QPDF::create() | Jay Berkenbilt | |
2022-09-02 | Fix outdated comment | Jay Berkenbilt | |
2022-09-02 | Remove QPDFObject and QPDFValue from public include directory | Jay Berkenbilt | |
2022-09-02 | Stop including QPDFObject.hh from other than private files | Jay Berkenbilt | |
This required moving some newly inlined functions back to the cc file, but that seems to have had no measurable performance impact. | |||
2022-09-02 | Remove QPDFObject::object_type_e as alias for qpdf_object_type_e | Jay Berkenbilt | |
2022-09-01 | Rename --report-mem-usage to --report-memory-usage | Jay Berkenbilt | |
Avd xcsv brvtns. | |||
2022-09-01 | Merge pull request #730 from m-holger/allpages | Jay Berkenbilt | |
Tidy QPDF::getAllPagesInternal and QPDF::pushInheritedAttributesToPageInternal | |||
2022-09-01 | Remove methods and parameters obsoleted by the last two commits | m-holger | |
2022-09-01 | Add method QPDFObject::getObjGen and remove QPDFObjectHandle::og | m-holger | |
2022-09-01 | Add method QPDFObject::getQPDF and remove QPDFObjectHandle::qpdf | m-holger | |
2022-09-01 | Add method QPDFObject::resolve | m-holger | |
2022-09-01 | Add methods QPDFObject::setObjGen and QPDFObject::resetObjGen | m-holger | |
Also, modify QPDFObject::swapWith to update the ObjGens of the swapped objects. Modify QPDF::newIndirect and QPDF::updateCache to keep object ObjGens up to date. | |||
2022-09-01 | Change QPDF_Unresolved::create method to take QPDF* and QPDFObjGen parameters | m-holger | |
2022-09-01 | Change return type of QPDF::resolve to void | m-holger | |
2022-09-01 | Remove QPDFObjectHandle::newIndirect | m-holger | |
Modify QPDFParser::parse to call QPDF::getObject instead. | |||
2022-09-01 | Add private method QPDF::ObjCache::update | m-holger | |
Add a new obj_cache entry or update an existing entry in place. | |||
2022-09-01 | Add private methods QPDF::isCached and QPDF::isUnresolved | m-holger | |
2022-09-01 | Remove QPDFObjectHandle::initialized | m-holger | |
2022-09-01 | Remove virtual methods QPDFValue::getTypeCode and getTypeName | m-holger | |
2022-09-01 | Remove QPDF::ObjectChanged | m-holger | |
Also change QPDF::replaceObject and QPDF::swapObjects such that the QPDFObject assigned to an og in the obj_cache is never replaced; only QPDFObject::value is updated. | |||
2022-09-01 | Split QPDFObject into QPDFObject and QPDFValue | m-holger | |
2022-09-01 | Add private methods QPDFObjectHandle::asArray etc | m-holger | |
Centralise casting of QPDFObjects and reduce repeated dereferencing. | |||
2022-08-31 | Modify newIndirect to set QPDFObjectHandle::obj | m-holger | |
2022-08-31 | Remove QPDFObjectHandle::makeReserved | m-holger | |
2022-08-31 | Remove QPDFObjectHandle::reserved | m-holger | |
2022-08-31 | Add class QPDF_Unresolved | m-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. | |||
2022-08-31 | Merge pull request #752 from jberkenbilt/report-mem-usage | Jay Berkenbilt | |
Report mem usage | |||
2022-08-31 | Add --report-mem-usage option for debugging/testing | Jay Berkenbilt | |
2022-08-31 | Add QUtil::get_max_memory_usage for testing | Jay Berkenbilt | |
2022-08-30 | Inline QPDFObjectHandle::setParsedOffset | m-holger | |
Part of #729 | |||
2022-08-30 | Move QPDFObjectHandle::setObjectDescriptionFromInput to QPDFParser | m-holger | |
Part of #729 | |||
2022-08-30 | Move QPDFObjectHandle::parseInternal to new class QPDFParser | m-holger | |
Part of #729 | |||
2022-08-29 | Merge pull request #747 from m-holger/new_stream | Jay Berkenbilt | |
Add optional parameter allow_nullptr to QPDFObjectHandle::getOwningQPDF |