m-holger
|
d7b470761b
|
Remove QPDFObjectHandle::Factory and ObjAccessor
|
2022-12-31 19:16:38 -05:00 |
|
m-holger
|
3f567ae02d
|
Refactor dictionary processing loop in QPDFParser::parse
|
2022-12-31 14:37:35 -05:00 |
|
m-holger
|
d67a54ae93
|
Tune parsing of dictionaries in QPDFParser::parse
Use move semantics for dictionary creation.
|
2022-12-31 14:37:35 -05:00 |
|
m-holger
|
846504129f
|
Remove redundant parameter qpdf from QPDFParser::warn
|
2022-12-31 14:37:35 -05:00 |
|
m-holger
|
b19e06fd8b
|
Change QPDFParser::setDescription to take a shared_ptr<QPDFObject> parameter
|
2022-12-31 14:37:35 -05:00 |
|
m-holger
|
8391022416
|
Avoid inserting direct null objects into olist
|
2022-12-31 14:37:35 -05:00 |
|
m-holger
|
9da50ca360
|
Change olist variable in QPDFParser::parse to vector<shared_ptr<QPDFObject>>
|
2022-12-31 14:37:35 -05:00 |
|
m-holger
|
e91e642cf3
|
Change object variable in QPDFParser::parse to shared_ptr<QPDFObject>
|
2022-12-31 14:37:35 -05:00 |
|
m-holger
|
ec35156ab0
|
Refactor QPDFValue::getDescription
Remove parameters and return the description.
|
2022-12-31 10:23:59 -05:00 |
|
m-holger
|
0ef2def8ad
|
Delay adding offsets to object descriptions until necessary
|
2022-12-31 10:23:59 -05:00 |
|
m-holger
|
c833c25499
|
Delay adding ObjGen to object descriptions until necessary
|
2022-12-31 10:23:59 -05:00 |
|
m-holger
|
e684d8169b
|
Make QPDFValue::object_description a shared pointer
|
2022-12-31 10:23:59 -05:00 |
|
m-holger
|
218f069a69
|
Add new method QPDFObject::setDefaultDescription
|
2022-12-31 10:23:59 -05:00 |
|
m-holger
|
d03ca88275
|
Refactor QPDFParser::setDescriptionFromInput and rename to setDescription
Set parsed offset at the same time as setting description.
|
2022-12-31 10:23:59 -05:00 |
|
m-holger
|
6cbc55a5b5
|
Add new virtual method QPDFObject::getStringValue
Avoid dynamic casting.
|
2022-12-31 09:31:07 -05:00 |
|
m-holger
|
0ca44ef84c
|
Fix QPDFObjectHandle::isScalar
Exclude uninitialized, destroyed and reserved objects.
|
2022-12-31 09:27:19 -05:00 |
|
m-holger
|
383f5a0077
|
Refactor QPDFWriter::enqueueObject
Move test for m->linearized outside loop.
|
2022-12-31 09:22:45 -05:00 |
|
m-holger
|
2693a082ab
|
Fix check for direct nulls in QPDFParser::parse
|
2022-12-15 13:07:42 -05:00 |
|
m-holger
|
cfcb279e49
|
Alternative fix logic for fixDanglingReferences
|
2022-12-06 15:21:34 -05:00 |
|
Jay Berkenbilt
|
ff42ea4e6c
|
Fix logic for fixDanglingReferences
|
2022-11-26 18:13:46 -05:00 |
|
m-holger
|
3f632458ae
|
Refactor QPDF::fixDanglingReferences
|
2022-11-26 16:26:42 -05:00 |
|
Jay Berkenbilt
|
562ff1b608
|
Rename function for pikepdf (for 11.2.0)
A new private overload of QPDF::makeIndirectObject breaks pikepdf's
build, so renaming function.
|
2022-11-20 16:04:58 -05:00 |
|
m-holger
|
4325e6e4a7
|
Refactor QPDFObjectHandle::copyObject and rename to makeDirect
|
2022-11-20 12:07:22 -05:00 |
|
m-holger
|
585ecf17c8
|
Remove redundant parameter cross_indirect from QPDFObjectHandle::copyObject
|
2022-11-20 12:07:22 -05:00 |
|
m-holger
|
ebc15f4dd0
|
Remove redundant parameter first_level_only from QPDFObjectHandle::copyObject
|
2022-11-20 12:07:22 -05:00 |
|
m-holger
|
64059014c9
|
Refactor QPDFObjectHandle::shallowCopy
|
2022-11-20 12:07:22 -05:00 |
|
m-holger
|
b1eb1a9584
|
Refactor QPDFObjectHandle::copyObject1
|
2022-11-20 12:07:22 -05:00 |
|
m-holger
|
3e3b79a774
|
Remove redundant parameter first_level_only from QPDFObjectHandle::shallowCopyInternal2 and copyObject2
|
2022-11-20 12:07:22 -05:00 |
|
m-holger
|
3efd665703
|
Remove redundant parameters cross_indirect and stop_atstreams from QPDFObjectHandle::copyObject1
|
2022-11-20 12:07:22 -05:00 |
|
m-holger
|
d7b8525235
|
Refactor QPDFObjectHandle::unsafeShallowCopy
|
2022-11-20 12:07:22 -05:00 |
|
m-holger
|
0289b21c3b
|
Remove redundant QPDFObjectHandle::copyObject2
copyObject2 repeats a second time what
new_obj = QPDFObjectHandle(obj->copy(true))
in shallowCopyInternal2 already did.
|
2022-11-20 12:07:22 -05:00 |
|
m-holger
|
15e8d3a763
|
Remove redundant parameter first_level_only from QPDFObjectHandle::shallowCopyInternal2 and copyObject2
|
2022-11-20 12:07:22 -05:00 |
|
m-holger
|
0827b1096e
|
Remove redundant parameters cross_indirect and stop_atstreams from QPDFObjectHandle::copyObject2
|
2022-11-20 12:07:22 -05:00 |
|
m-holger
|
63d1dcb414
|
Split QPDFObjectHandle::shallowCopyInternal and copyObject
Have separate versions for unsafeShallowCopy, shallowCopy and makeDirect.
|
2022-11-20 12:07:22 -05:00 |
|
m-holger
|
dbc5f07b90
|
Rename QPDFObject::shallowCopy to copy
Add optional parameter shallow. Change logic errors to runtime errors.
|
2022-11-20 12:07:22 -05:00 |
|
m-holger
|
34a6f8938f
|
Add methods QPDFTokenizer::Token::isWord
|
2022-11-20 11:55:02 -05:00 |
|
m-holger
|
dca70f13e7
|
Add method QPDFTokenizer::Token::isInteger
|
2022-11-20 11:55:02 -05:00 |
|
Jay Berkenbilt
|
e9980efec8
|
Correctly handle reuse of xref stream (fixes #809)
|
2022-11-19 17:03:17 -05:00 |
|
m-holger
|
d79a823d66
|
Remove QPDF_Stream::getOffset and QPDF_Stream::setObjGen
|
2022-11-19 14:10:42 -05:00 |
|
m-holger
|
6350cf16e6
|
Remove QPDF_Stream::offset
|
2022-11-19 14:10:42 -05:00 |
|
m-holger
|
3a86b893f7
|
Remove redundant parameters from QPDF_Stream::warn
|
2022-11-19 14:10:42 -05:00 |
|
m-holger
|
69e67b45bb
|
Remove QPDF_Stream qpdf and og data members
|
2022-11-19 14:10:42 -05:00 |
|
m-holger
|
bf347dfb73
|
Remove QPDFObjectHandle::Factory::newStream
|
2022-11-19 14:10:42 -05:00 |
|
m-holger
|
743a735ee0
|
Use QPDF::newStream in library
|
2022-11-19 14:10:42 -05:00 |
|
m-holger
|
9ebabd1953
|
Add new methods QPDF::newStream
|
2022-11-19 14:10:42 -05:00 |
|
m-holger
|
0a3c533186
|
Add private method QPDF::nextObjGen
|
2022-11-19 14:10:42 -05:00 |
|
m-holger
|
b3d71e1f58
|
Add private overload of QPDF::makeIndirectObject taking a QPDFObject shared_ptr
|
2022-11-19 14:10:42 -05:00 |
|
m-holger
|
fc64d0a371
|
Fix stray formatting error
|
2022-11-14 07:05:58 -05:00 |
|
Jay Berkenbilt
|
d94e6958ef
|
Fix stray formatting error
|
2022-10-08 17:05:11 -04:00 |
|
Jay Berkenbilt
|
2bc9121fa1
|
Fix major performance bug with openssl crypto (fixes #798)
Lazily load MD5 and RC4 once in the life of the program. Only load the
legacy provider if RC4 is actually being used.
|
2022-10-08 17:04:59 -04:00 |
|