qpdf/libqpdf
m-holger 08d7b56746 Prevent destruction of shared null objects
#863 uses a single null object for nulls that were previously implicit. In
certain circumstances this shared null object gets destroyed (i.e changed
to a QPDF_Destroyed object) when a QPDF object is destroyed.

Modify the QPDF destructor so that null objects get disconnected from the
dying QPDF object but not destroyed to prevent this from happening.
2023-04-11 18:01:14 +01:00
..
qpdf Add new _qpdf_data constructor taking a std::unique_ptr<QPDF> 2023-04-02 09:24:08 +01:00
sph Remove accidentally committed file 2022-04-09 14:37:00 -04:00
AES_PDF_native.cc Remove remaining incorrect assert calls from implementation 2022-05-03 18:31:22 -04:00
BitStream.cc Update some code manually to get better formatting results 2022-04-05 14:56:19 -04:00
BitWriter.cc Programmatically apply new formatting to code 2022-04-04 08:10:40 -04:00
Buffer.cc Take advantage of unique_ptr and move construction for Buffer 2022-09-05 13:29:56 -07:00
BufferInputSource.cc Remove BufferInputSource::Members 2022-08-27 12:19:51 +01:00
CMakeLists.txt Remove SparseOHArray 2023-04-01 13:58:06 +01:00
ClosedFileInputSource.cc Remove ClosedFileInputSource::Members 2022-08-27 12:13:39 +01:00
ContentNormalizer.cc Use = default and = delete where possible in classes 2022-04-16 11:39:14 -04:00
CryptoRandomDataProvider.cc Use = default and = delete where possible in classes 2022-04-16 11:39:14 -04:00
FileInputSource.cc Replace calls to QUtil::int_to_string with std::to_string 2022-09-21 15:57:14 -04:00
InputSource.cc Code tidy : replace 0 with nullptr or true 2022-07-26 13:40:13 +01:00
InsecureRandomDataProvider.cc Use = default and = delete where possible in classes 2022-04-16 11:39:14 -04:00
JSON.cc Add new function QUtil::hex_decode_char 2023-03-23 20:23:37 +00:00
JSONHandler.cc Replace calls to QUtil::int_to_string with std::to_string 2022-09-21 15:57:14 -04:00
MD5.cc Programmatically apply new formatting to code 2022-04-04 08:10:40 -04:00
MD5_native.cc Exclude formatting on embedded native crypto 2022-04-03 17:58:36 -04:00
NNTree.cc Code tidy re-throwing of exceptions 2023-03-19 17:27:39 +00:00
OffsetInputSource.cc Use = default and = delete where possible in classes 2022-04-16 11:39:14 -04:00
PDFVersion.cc Replace calls to QUtil::int_to_string with std::to_string 2022-09-21 15:57:14 -04:00
Pipeline.cc Replace calls to QUtil::int_to_string with std::to_string 2022-09-21 15:57:14 -04:00
Pl_AES_PDF.cc Replace calls to QUtil::int_to_string with std::to_string 2022-09-21 15:57:14 -04:00
Pl_ASCII85Decoder.cc Make Pipeline::write take an unsigned char const* (API change) 2022-05-03 18:31:22 -04:00
Pl_ASCIIHexDecoder.cc Make Pipeline::write take an unsigned char const* (API change) 2022-05-03 18:31:22 -04:00
Pl_Base64.cc Make Pipeline::write take an unsigned char const* (API change) 2022-05-03 18:31:22 -04:00
Pl_Buffer.cc Refactor Pl_Buffer 2022-09-23 15:09:13 -04:00
Pl_Concatenate.cc Make Pipeline::write take an unsigned char const* (API change) 2022-05-03 18:31:22 -04:00
Pl_Count.cc Make Pipeline::write take an unsigned char const* (API change) 2022-05-03 18:31:22 -04:00
Pl_DCT.cc Replace calls to QUtil::int_to_string with std::to_string 2022-09-21 15:57:14 -04:00
Pl_Discard.cc Code tidy : replace 0 with nullptr or true 2022-07-26 13:40:13 +01:00
Pl_Flate.cc Replace calls to QUtil::int_to_string with std::to_string 2022-09-21 15:57:14 -04:00
Pl_Function.cc Replace calls to QUtil::int_to_string with std::to_string 2022-09-21 15:57:14 -04:00
Pl_LZWDecoder.cc Replace calls to QUtil::int_to_string with std::to_string 2022-09-21 15:57:14 -04:00
Pl_MD5.cc Make Pipeline::write take an unsigned char const* (API change) 2022-05-03 18:31:22 -04:00
Pl_OStream.cc Code tidy : replace 0 with nullptr or true 2022-07-26 13:40:13 +01:00
Pl_PNGFilter.cc Code tidy : replace 0 with nullptr or true 2022-07-26 13:40:13 +01:00
Pl_QPDFTokenizer.cc Add methods QPDFTokenizer::Token::isWord 2022-11-20 11:55:02 -05:00
Pl_RC4.cc Code tidy: remove redundant calls to smart_ptrs get() method 2022-08-07 10:33:25 +01:00
Pl_RunLength.cc Make Pipeline::write take an unsigned char const* (API change) 2022-05-03 18:31:22 -04:00
Pl_SHA2.cc Make Pipeline::write take an unsigned char const* (API change) 2022-05-03 18:31:22 -04:00
Pl_StdioFile.cc Code tidy : replace 0 with nullptr or true 2022-07-26 13:40:13 +01:00
Pl_String.cc Add next to Pl_String and fix comments 2022-05-07 08:26:31 -04:00
Pl_TIFFPredictor.cc Make Pipeline::write take an unsigned char const* (API change) 2022-05-03 18:31:22 -04:00
QPDF.cc Prevent destruction of shared null objects 2023-04-11 18:01:14 +01:00
QPDFAcroFormDocumentHelper.cc Replace calls to QUtil::int_to_string with std::to_string 2022-09-21 15:57:14 -04:00
QPDFAnnotationObjectHelper.cc Use = default and = delete where possible in classes 2022-04-16 11:39:14 -04:00
QPDFArgParser.cc Code tidy : replace 0 with nullptr or true 2022-07-26 13:40:13 +01:00
QPDFCryptoProvider.cc Formatting: remove space in range-style for loops 2022-04-30 13:26:43 -04:00
QPDFCrypto_gnutls.cc Replace calls to QUtil::int_to_string with std::to_string 2022-09-21 15:57:14 -04:00
QPDFCrypto_native.cc Code tidy : replace 0 with nullptr or true 2022-07-26 13:40:13 +01:00
QPDFCrypto_openssl.cc Fix major performance bug with openssl crypto (fixes #798) 2022-10-08 17:04:59 -04:00
QPDFDocumentHelper.cc Be more conservative about QPDF_DLL_CLASS with mingw (fixes #799) 2022-10-06 08:40:08 -04:00
QPDFEFStreamObjectHelper.cc Use QPDF::newStream in library 2022-11-19 14:10:42 -05:00
QPDFEmbeddedFileDocumentHelper.cc Code tidy: remove redundant calls to smart_ptrs get() method 2022-08-07 10:33:25 +01:00
QPDFExc.cc Replace calls to QUtil::int_to_string with std::to_string 2022-09-21 15:57:14 -04:00
QPDFFileSpecObjectHelper.cc Back out fluent QPDFObjectHandle methods. Keep the andGet methods. 2022-05-20 09:16:25 -04:00
QPDFFormFieldObjectHelper.cc Add methods QPDFTokenizer::Token::isWord 2022-11-20 11:55:02 -05:00
QPDFJob.cc Merge pull request #930 from m-holger/throw 2023-04-01 09:42:52 -04:00
QPDFJob_argv.cc Update copyright to 2023 2023-02-25 14:18:13 -05:00
QPDFJob_config.cc Add new procedure QUtil::read_file_into_string 2023-03-08 21:00:26 +00:00
QPDFJob_json.cc Fix --json-help to take a version parameter 2022-07-31 16:23:17 -04:00
QPDFLogger.cc Make QPDFLogger() private and provide create method 2022-09-09 07:03:29 -04:00
QPDFMatrix.cc Make ABI-breaking changes that don't modify API at all 2022-04-16 10:41:46 -04:00
QPDFNameTreeObjectHelper.cc Resolve QPDF{Name,Number} tree helper linker issues (fixes #745) 2022-08-07 09:21:01 -04:00
QPDFNumberTreeObjectHelper.cc Resolve QPDF{Name,Number} tree helper linker issues (fixes #745) 2022-08-07 09:21:01 -04:00
QPDFObjGen.cc Replace calls to QUtil::int_to_string with std::to_string 2022-09-21 15:57:14 -04:00
QPDFObject.cc Rename QPDFValueProxy back to QPDFObject 2022-09-08 11:29:23 -04:00
QPDFObjectHandle.cc Remove SparseOHArray 2023-04-01 13:58:06 +01:00
QPDFObjectHelper.cc Be more conservative about QPDF_DLL_CLASS with mingw (fixes #799) 2022-10-06 08:40:08 -04:00
QPDFOutlineDocumentHelper.cc Code tidy: remove redundant calls to smart_ptrs get() method 2022-08-07 10:33:25 +01:00
QPDFOutlineObjectHelper.cc Use = default and = delete where possible in classes 2022-04-16 11:39:14 -04:00
QPDFPageDocumentHelper.cc Fix annotations properly for page with no /Resources (fixes #827) 2023-01-09 07:31:39 -05:00
QPDFPageLabelDocumentHelper.cc Code tidy: remove redundant calls to smart_ptrs get() method 2022-08-07 10:33:25 +01:00
QPDFPageObjectHelper.cc Add methods QPDFTokenizer::Token::isWord 2022-11-20 11:55:02 -05:00
QPDFParser.cc Optimize QPDFParser for non-sparse QPDF_Arrays 2023-03-29 12:10:19 +01:00
QPDFStreamFilter.cc Implement user-provided stream filters 2020-12-28 12:58:19 -05:00
QPDFSystemError.cc Use = default and = delete where possible in classes 2022-04-16 11:39:14 -04:00
QPDFTokenizer.cc Add new function QUtil::hex_decode_char 2023-03-23 20:23:37 +00:00
QPDFUsage.cc Use QPDFUsage exception for cli, json, and QPDFJob errors 2022-01-30 13:11:03 -05:00
QPDFValue.cc Add method QPDFValue::setChildDescription 2023-02-18 08:35:45 +00:00
QPDFWriter.cc Tune indentations in QPDFWriter::unparseObject 2023-03-21 10:59:05 +00:00
QPDFXRefEntry.cc Tidy QPDFXRefEntry creation 2023-01-21 18:18:15 -05:00
QPDF_Array.cc Refactor QPDF_Array::unparse 2023-04-01 13:58:21 +01:00
QPDF_Bool.cc Rename QPDFObject::shallowCopy to copy 2022-11-20 12:07:22 -05:00
QPDF_Destroyed.cc Rename QPDFObject::shallowCopy to copy 2022-11-20 12:07:22 -05:00
QPDF_Dictionary.cc Overload QPDF_Null::create to take a child object description 2023-02-18 08:35:45 +00:00
QPDF_InlineImage.cc Add new virtual method QPDFObject::getStringValue 2022-12-31 09:31:07 -05:00
QPDF_Integer.cc Rename QPDFObject::shallowCopy to copy 2022-11-20 12:07:22 -05:00
QPDF_Name.cc Fix bug in QPDF_Name::normalizeName introduced in #891 2023-04-04 15:54:54 +01:00
QPDF_Null.cc Refactor QPDF_Array::getJSON 2023-04-01 13:58:15 +01:00
QPDF_Operator.cc Add new virtual method QPDFObject::getStringValue 2022-12-31 09:31:07 -05:00
QPDF_Real.cc Add new virtual method QPDFObject::getStringValue 2022-12-31 09:31:07 -05:00
QPDF_Reserved.cc Rename QPDFObject::shallowCopy to copy 2022-11-20 12:07:22 -05:00
QPDF_Stream.cc Change type of QPDFValue::object_description to std::shared_ptr<std::variant> 2023-02-18 08:33:08 +00:00
QPDF_String.cc Add new virtual method QPDFObject::getStringValue 2022-12-31 09:31:07 -05:00
QPDF_Unresolved.cc Rename QPDFObject::shallowCopy to copy 2022-11-20 12:07:22 -05:00
QPDF_encryption.cc Code tidy: use QPDF::toS and QPDF::toI where possible 2022-10-01 11:17:39 -04:00
QPDF_json.cc Refactor removal of reserved objects in QPDF::JSONReactor 2023-02-19 16:49:09 +00:00
QPDF_linearization.cc Handle linearization warnings as proper warning (fixes #851) 2023-02-18 19:38:49 -05:00
QPDF_optimization.cc Remove redundant parameter depth from QPDF::updateObjectMaps 2023-03-15 17:50:17 +00:00
QPDF_pages.cc Code tidy: use QPDF::toS and QPDF::toI where possible 2022-10-01 11:17:39 -04:00
QTC.cc Fix header ordering in QTC (format code) 2022-08-29 11:55:02 -04:00
QUtil.cc Refactor QUtil::hex_decode 2023-03-23 20:25:42 +00:00
RC4.cc Make Pipeline::write take an unsigned char const* (API change) 2022-05-03 18:31:22 -04:00
RC4_native.cc Make Pipeline::write take an unsigned char const* (API change) 2022-05-03 18:31:22 -04:00
ResourceFinder.cc Programmatically apply new formatting to code 2022-04-04 08:10:40 -04:00
SF_FlateLzwDecode.cc Formatting: remove space in range-style for loops 2022-04-30 13:26:43 -04:00
SHA2_native.cc Remove PointerHolder.hh from other than public header files 2022-04-09 17:33:29 -04:00
SecureRandomDataProvider.cc Replace calls to QUtil::int_to_string with std::to_string 2022-09-21 15:57:14 -04:00
qpdf-c.cc Add new _qpdf_data constructor taking a std::unique_ptr<QPDF> 2023-04-02 09:24:08 +01:00
qpdfjob-c.cc Add new functions qpdfjob_create_qpdf and qpdfjob_write_qpdf 2023-04-02 09:45:19 +01:00
qpdflogger-c.cc Add C API functions for using custom loggers 2022-09-09 10:49:25 -04:00
rijndael.cc Exclude formatting on embedded native crypto 2022-04-03 17:58:36 -04:00
sha2.c Exclude formatting on embedded native crypto 2022-04-03 17:58:36 -04:00
sha2big.c Exclude formatting on embedded native crypto 2022-04-03 17:58:36 -04:00