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 | Remove unneeded owning_qpdf from QPDFValue | Jay 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-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-02 | Remove remaining virtual functions from QPDFObject | Jay Berkenbilt | |
This doesn't need an explicit destructor anymore. | |||
2022-09-02 | Make QPDFObject::releaseResolved public | Jay 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-02 | Remove copyright banner from newly private header files | Jay Berkenbilt | |
We don't put specific copyright banners on files that aren't installed. | |||
2022-09-02 | Remove QPDFObject and QPDFValue from public include directory | Jay Berkenbilt | |
2022-09-01 | Rename --report-mem-usage to --report-memory-usage | Jay Berkenbilt | |
Avd xcsv brvtns. | |||
2022-09-01 | Change QPDF_Unresolved::create method to take QPDF* and QPDFObjGen parameters | m-holger | |
2022-09-01 | Remove virtual methods QPDFValue::getTypeCode and getTypeName | m-holger | |
2022-09-01 | Split QPDFObject into QPDFObject and QPDFValue | 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 | Move QPDFObjectHandle::setObjectDescriptionFromInput to QPDFParser | m-holger | |
Part of #729 | |||
2022-08-30 | Add private methods QPDFParser::warn | m-holger | |
Part of #729 | |||
2022-08-30 | Move QPDFObjectHandle::parseInternal to new class QPDFParser | m-holger | |
Part of #729 | |||
2022-07-31 | Clean up documentation | Jay Berkenbilt | |
2022-07-31 | Simplify --json-output | Jay Berkenbilt | |
Now --json-output just changes defaults. Allow output file with --json. | |||
2022-07-31 | Fix --json-help to take a version parameter | Jay Berkenbilt | |
2022-07-31 | Change the output of --json to use "qpdf" instead of "objects" | Jay Berkenbilt | |
2022-07-31 | Update docs and prepare QPDF::writeJSON for changes | Jay Berkenbilt | |
Add additional parameters that will be needed to call QPDF::writeJSON in partial mode. | |||
2022-07-24 | QPDFObjGen : tidy QPDF_Stream | m-holger | |
Change method signatures to use QPDFObjGen. Replace QPDF_Stream::objid and generation with QPDF_Stream::og. | |||
2022-06-27 | Run format-code | Jay Berkenbilt | |
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 QPDF_Stream::setStreamDescription | m-holger | |
2022-06-25 | Remove redundant QPDF_Array::setDescription and QPDF_Dictionary::setDescription | m-holger | |
2022-05-31 | Update documentation for qpdf JSON v2 | Jay Berkenbilt | |
2022-05-21 | Change default decode level to "none" with --json-output | Jay Berkenbilt | |
2022-05-20 | Make version default to latest for --json-output (like --json) | Jay Berkenbilt | |
2022-05-20 | Major rework -- see long comments | Jay Berkenbilt | |
* Replace --create-from-json=file with --json-input, which causes the regular input to be treated as json. * Eliminate --to-json * In --json=2, bring back "objects" and eliminate "objectinfo". Stream data is never present. * In --json-output=2, write "qpdf-v2" with "objects" and include stream data. | |||
2022-05-16 | Add --create-from-json and --update-from-json arguments | Jay Berkenbilt | |
Also add stubs for top-level QPDF methods (createFromJSON, updateFromJSON) | |||
2022-05-08 | Add --to-json option | Jay Berkenbilt | |
2022-05-08 | Implement JSON v2 output | Jay Berkenbilt | |
2022-05-08 | Implement JSON v2 for Stream | Jay Berkenbilt | |
Not fully exercised in this commit | |||
2022-05-08 | Implement JSON v2 for String | Jay Berkenbilt | |
Also refine the herustic for deciding whether to use hexadecimal notation for a string. | |||
2022-05-07 | Prepare code for JSON v2 | Jay Berkenbilt | |
Update getJSON() methods and calls to them | |||
2022-05-07 | Add --test-json-schema command-line option | Jay Berkenbilt | |
2022-05-04 | Make Pipeline::write take an unsigned char const* (API change) | Jay Berkenbilt | |
2022-05-04 | Make assert handling less error-prone | Jay Berkenbilt | |
Prevent my future self or other contributors from using assert in tests and then having that assert not do anything because of the NDEBUG macro. | |||
2022-05-04 | Add internal Pl_Base64 | Jay Berkenbilt | |
Bidirectional base64; will be used by JSON v2. | |||
2022-04-24 | QPDFJob json: make removeAttachment take an array (fixes #693) | Jay Berkenbilt | |
2022-04-24 | Deprecate replaceOrRemoveKey -- it's the same as replaceKey | Jay Berkenbilt | |
2022-04-24 | Have dictionary/streams mutators take const& where possible | Jay Berkenbilt | |