Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-02-16 | Add new method QPDF_Stream::writeStreamJSON | m-holger | |
(Replacing the temporary implementation from the last commit.) | |||
2024-02-16 | Reimplement QPDF_Stream::getStreamJSON in terms of writeStreamJSON | m-holger | |
writeStreamJSON is a temporary implementation minimally adapted from getStreamJSON. | |||
2024-02-16 | Reimplement QPDFObjectHandle::getJSON in terms of writeJSON | m-holger | |
2024-02-16 | Add new writeJSON methods | m-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-11-26 | Refactor QPDF_Stream::getStreamJSON | m-holger | |
2023-05-27 | Code tidy - reflow comments and strings | m-holger | |
2023-05-21 | Rerun clang-format | Jay Berkenbilt | |
2023-05-20 | Replace 'virtual' specifier with 'override' | m-holger | |
2023-05-20 | Use auto when initializing with a cast | m-holger | |
2023-02-18 | Change type of QPDFValue::object_description to std::shared_ptr<std::variant> | m-holger | |
Also, name the type QPDFValue::Description. | |||
2022-12-31 | Refactor QPDFValue::getDescription | m-holger | |
Remove parameters and return the description. | |||
2022-12-31 | Make QPDFValue::object_description a shared pointer | m-holger | |
2022-12-31 | Refactor QPDFParser::setDescriptionFromInput and rename to setDescription | m-holger | |
Set parsed offset at the same time as setting description. | |||
2022-11-20 | Refactor QPDFObjectHandle::copyObject1 | m-holger | |
2022-11-20 | Rename QPDFObject::shallowCopy to copy | m-holger | |
Add optional parameter shallow. Change logic errors to runtime errors. | |||
2022-11-19 | Remove QPDF_Stream::getOffset and QPDF_Stream::setObjGen | m-holger | |
2022-11-19 | Remove QPDF_Stream::offset | m-holger | |
2022-11-19 | Remove redundant parameters from QPDF_Stream::warn | m-holger | |
2022-11-19 | Remove QPDF_Stream qpdf and og data members | m-holger | |
2022-10-08 | Fix stray formatting error | Jay Berkenbilt | |
2022-10-03 | Fix typos in error message | m-holger | |
2022-09-21 | Replace calls to QUtil::int_to_string with std::to_string | m-holger | |
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 | 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 | Clear owning QPDF information for all objects, not just indirect | Jay Berkenbilt | |
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-01 | Remove virtual methods QPDFValue::getTypeCode and getTypeName | m-holger | |
2022-09-01 | Split QPDFObject into QPDFObject and QPDFValue | m-holger | |
2022-07-26 | Code tidy : replace 0 with nullptr or true | m-holger | |
2022-07-24 | Overload StreamDataProvider::provideStreamData | m-holger | |
Use 'QPDFObjGen const&' instead of 'int, int' in signature. | |||
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-07-24 | QPDFObjGen : tidy QPDF private methods | m-holger | |
Change method signatures to use QPDFObjGen. Use QPDFObjGen methods where possible. Remove redundant QPDF::objGenToIndirect. | |||
2022-07-24 | Add optional parameter separator to QPDFObjGen::unparse | m-holger | |
Also, revert inlining of unparse and operator << from commit 4c6640c in order to avoid exposing QUtil. | |||
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-05-20 | Bug fix: don't clobber stream length with replaceDict | Jay Berkenbilt | |
2022-05-20 | replaceStreamData: accept uninitialized filter/decode_parms | Jay Berkenbilt | |
These mean to leave the original values alone. This is needed for reconstructing streams from JSON given that the stream data and stream dictionary may appear in any order in the JSON. | |||
2022-05-20 | Back out fluent QPDFObjectHandle methods. Keep the andGet methods. | Jay Berkenbilt | |
I decided these were confusing and inconsistent with how JSON works. They muddle the API rather than improving it. | |||
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-07 | Prepare code for JSON v2 | Jay Berkenbilt | |
Update getJSON() methods and calls to them | |||
2022-04-30 | Formatting: remove space in range-style for loops | Jay Berkenbilt | |
Change .clang-format and commit automated changes from a fresh run of format-code | |||
2022-04-30 | Use fluent replaceKey | 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 | |
2022-04-24 | Add new QPDF::warn that takes most of QPDFExc's arguments | Jay Berkenbilt | |
2022-04-16 | Use anonymous namespaces for file-private classes | Jay Berkenbilt | |
2022-04-16 | Use = default and = delete where possible in classes | Jay Berkenbilt | |