aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2022-09-02Disable copying/assigning to QPDF objects, add QPDF::create()Jay Berkenbilt
2022-09-02Fix outdated commentJay Berkenbilt
2022-09-02Update spell check dictionaryJay Berkenbilt
2022-09-02Remove remaining virtual functions from QPDFObjectJay Berkenbilt
This doesn't need an explicit destructor anymore.
2022-09-02Make QPDFObject::releaseResolved publicJay Berkenbilt
Now that QPDFObject.hh is out of the public API, we don't really need QPDFObjAccessor. Also, the function didn't have to be virtual anymore.
2022-09-02Remove copyright banner from newly private header filesJay Berkenbilt
We don't put specific copyright banners on files that aren't installed.
2022-09-02Remove QPDFObject and QPDFValue from public include directoryJay Berkenbilt
2022-09-02Stop including QPDFObject.hh from other than private filesJay 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-02Remove QPDFObject::object_type_e as alias for qpdf_object_type_eJay Berkenbilt
2022-09-01Update TODOJay Berkenbilt
2022-09-01Include memory usage in performance test outputJay Berkenbilt
2022-09-01Rename --report-mem-usage to --report-memory-usageJay Berkenbilt
Avd xcsv brvtns.
2022-09-01Update performance_check to notify about qpdf/performance-test-filesJay Berkenbilt
2022-09-01Update ChangeLog and Release Notes from previous pull requestsJay Berkenbilt
2022-09-01Add comments after merge of last pull requestJay Berkenbilt
2022-09-01Add QPDFParser to spelling checkerJay Berkenbilt
2022-09-01Add a file with arrays with lots of nulls to the test suiteJay Berkenbilt
A bug was fixed between qpdf 8.4.2 and 9.0.0 regarding this type of file (see #305 and #311), but it was necessary to retest after some major refactoring work at the lexical and parsing layers. This lays the groundwork for including this in performance benchmarks and in the qpdf test suite rather than having to keep a large, non-redistributable file around. 20 arrays of 20K nulls is plenty for performance memory testing and doesn't take too long to run. Compared to qpdf 8.4.2, in qpdf 11.0.0, the file generated here uses 3% of the RAM and runs over 4 times faster.
2022-09-01Merge pull request #730 from m-holger/allpagesJay Berkenbilt
Tidy QPDF::getAllPagesInternal and QPDF::pushInheritedAttributesToPageInternal
2022-09-01Merge pull request #726 from m-holger/tidy3Jay Berkenbilt
Split QPDFObject into QPDFObject and QPDFValue
2022-09-01Reset QPDFValue::qpdf and QPDFValue::og when the owning QPDF object gets ↵m-holger
destroyed
2022-09-01Remove methods and parameters obsoleted by the last two commitsm-holger
2022-09-01Add method QPDFObject::getObjGen and remove QPDFObjectHandle::ogm-holger
2022-09-01Add method QPDFObject::getQPDF and remove QPDFObjectHandle::qpdfm-holger
2022-09-01Add method QPDFObject::resolvem-holger
2022-09-01Add methods QPDFObject::setObjGen and QPDFObject::resetObjGenm-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-01Change QPDF_Unresolved::create method to take QPDF* and QPDFObjGen parametersm-holger
2022-09-01Change return type of QPDF::resolve to voidm-holger
2022-09-01Remove QPDFObjectHandle::newIndirectm-holger
Modify QPDFParser::parse to call QPDF::getObject instead.
2022-09-01Modify QPDF::getObject to not to resolve the objectm-holger
2022-09-01Add private method QPDF::ObjCache::updatem-holger
Add a new obj_cache entry or update an existing entry in place.
2022-09-01Add private methods QPDF::isCached and QPDF::isUnresolvedm-holger
2022-09-01Remove QPDFObjectHandle::initializedm-holger
2022-09-01Remove virtual methods QPDFValue::getTypeCode and getTypeNamem-holger
2022-09-01Remove QPDF::ObjectChangedm-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-01Split QPDFObject into QPDFObject and QPDFValuem-holger
2022-09-01Change QPDFObjectHandle::shallowCopyInternal to copy scalarsm-holger
2022-09-01Add private methods QPDFObjectHandle::asArray etcm-holger
Centralise casting of QPDFObjects and reduce repeated dereferencing.
2022-08-31Modify newIndirect to set QPDFObjectHandle::objm-holger
2022-08-31Remove QPDFObjectHandle::makeReservedm-holger
2022-08-31Remove QPDFObjectHandle::reservedm-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.
2022-08-31Replace calls to QPDFObjectHandle::Factory::newIndirect where possiblem-holger
2022-08-31Merge pull request #752 from jberkenbilt/report-mem-usageJay Berkenbilt
Report mem usage
2022-08-31Add ChangeLog for previous contributionJay Berkenbilt
Also remove no-longer-needed #include
2022-08-31Update TODO with reminders about memory testingJay Berkenbilt
2022-08-31Add --report-mem-usage option for debugging/testingJay Berkenbilt
2022-08-31Add QUtil::get_max_memory_usage for testingJay Berkenbilt
2022-08-30Inline QPDFObjectHandle::setParsedOffsetm-holger
Part of #729
2022-08-30Optimise QPDFParser::parse for #311 problemm-holger
Avoid creating new null objects that later will be discarded and made implicit. Part of #729
2022-08-30Avoid setting descriptions / offsets for direct nulls in QPDFParser::parsem-holger
Part of #729