2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-12-31 14:01:59 +00:00
qpdf/libqpdf
m-holger 06001ed25b Refactor the creation of unresolved objects
Create unresolved objects only for objects in the xref table (except during
parsing of the xref table). Do not add indirect nulls into the the object
cache as the result of a cache miss during a call to getObject except
during parsing or creation/updating from JSON. To support this behaviour,
add new private methods getObjectForParser and getObjectForJSON.

As a result of this change, dangling references are treated as direct nulls
rather than indirect nulls.
2024-08-06 12:22:09 +01:00
..
qpdf Refactor the creation of unresolved objects 2024-08-06 12:22:09 +01:00
sph Remove accidentally committed file 2022-04-09 14:37:00 -04:00
AES_PDF_native.cc Rerun clang-format 2023-05-21 13:35:09 -04:00
BitStream.cc Rerun clang-format 2023-05-21 13:35:09 -04:00
BitWriter.cc Programmatically apply new formatting to code 2022-04-04 08:10:40 -04:00
Buffer.cc Add Buffer constructors taking std::string parameters 2023-11-26 12:26:44 +00:00
BufferInputSource.cc Rerun clang-format 2023-05-21 13:35:09 -04:00
ClosedFileInputSource.cc Code tidy - Clang-Tidy rule modernize-use-equals-default 2023-06-09 15:45:14 +01:00
CMakeLists.txt Install cmake files with dev component 2023-12-09 06:28:13 -05:00
ContentNormalizer.cc Code tidy - reflow comments and strings 2023-06-02 16:00:40 +01:00
CryptoRandomDataProvider.cc Use = default and = delete where possible in classes 2022-04-16 11:39:14 -04:00
FileInputSource.cc Code tidy - reflow comments and strings 2023-06-02 16:00:40 +01:00
InputSource.cc Code tidy - Clang-Tidy rule modernize-return-braced-init-list 2023-06-09 15:35:56 +01:00
InsecureRandomDataProvider.cc Code tidy - reflow comments and strings 2023-06-02 16:00:40 +01:00
JSON.cc Add new private class JSON::Writer 2024-02-16 10:32:41 +00:00
JSONHandler.cc JSONHandler: add fallback handler support 2024-01-11 06:13:57 -05:00
MD5_native.cc In MD5_native::transform disable sanitizer unsigned integer overflow checks 2024-07-22 13:11:07 +01:00
MD5.cc Code tidy - reflow comments and strings 2023-06-02 16:00:40 +01:00
NNTree.cc Code tidy - Clang-Tidy rule performance-for-range-copy 2023-06-09 15:55:49 +01:00
OffsetInputSource.cc Rerun clang-format 2023-05-21 13:35:09 -04:00
PDFVersion.cc Rerun clang-format 2023-05-21 13:35:09 -04:00
Pipeline.cc Rerun clang-format 2023-05-21 13:35:09 -04:00
Pl_AES_PDF.cc Code tidy - reflow comments and strings 2023-06-02 16:00:40 +01:00
Pl_ASCII85Decoder.cc ascii85: ignore whitespace between ~ and > (fixes #973) 2023-09-03 13:56:34 -04:00
Pl_ASCIIHexDecoder.cc Code tidy - reflow comments and strings 2023-06-02 16:00:40 +01:00
Pl_Base64.cc Rerun clang-format 2023-05-21 13:35:09 -04:00
Pl_Buffer.cc Add Buffer constructors taking std::string parameters 2023-11-26 12:26:44 +00:00
Pl_Concatenate.cc Code tidy - Clang-Tidy rule modernize-use-equals-default 2023-06-09 15:45:14 +01:00
Pl_Count.cc Code tidy - Clang-Tidy rule modernize-use-equals-default 2023-06-09 15:45:14 +01:00
Pl_DCT.cc Further limit size of uncompressed JPEG for fuzzing 2024-07-11 14:32:22 +01:00
Pl_Discard.cc Code tidy - Clang-Tidy rule modernize-use-equals-default 2023-06-09 15:45:14 +01:00
Pl_Flate.cc In qpdf_fuzzer add a memory limit for Pl_Flate 2024-07-28 19:54:38 +01:00
Pl_Function.cc Code tidy - Clang-Tidy rule modernize-use-equals-default 2023-06-09 15:45:14 +01:00
Pl_LZWDecoder.cc Add new Buffer method copy and deprecate copy constructor / assignment operator 2023-06-17 17:18:31 +01:00
Pl_MD5.cc Code tidy - reflow comments and strings 2023-06-02 16:00:40 +01:00
Pl_OStream.cc Code tidy - Clang-Tidy rule modernize-use-equals-default 2023-06-09 15:45:14 +01:00
Pl_PNGFilter.cc Limit memory used by Pl_PNGFilter and Pl_TIFFPredictor during fuzzing 2024-07-18 16:50:30 +01:00
Pl_QPDFTokenizer.cc Code tidy - Clang-Tidy rule modernize-use-equals-default 2023-06-09 15:45:14 +01:00
Pl_RC4.cc Rerun clang-format 2023-05-21 13:35:09 -04:00
Pl_RunLength.cc Refactor Pl_RunLength::decode 2024-08-03 15:52:45 +01:00
Pl_SHA2.cc Code tidy - reflow comments and strings 2023-06-02 16:00:40 +01:00
Pl_StdioFile.cc Code tidy - Clang-Tidy rule modernize-use-equals-default 2023-06-09 15:45:14 +01:00
Pl_String.cc Code tidy - Clang-Tidy rule modernize-use-equals-default 2023-06-09 15:45:14 +01:00
Pl_TIFFPredictor.cc Limit memory used by Pl_PNGFilter and Pl_TIFFPredictor during fuzzing 2024-07-18 16:50:30 +01:00
QPDF_Array.cc Refactor resolving of objects 2024-06-19 10:34:01 +01:00
QPDF_Bool.cc Reimplement QPDFObjectHandle::getJSON in terms of writeJSON 2024-02-16 11:00:20 +00:00
QPDF_Destroyed.cc Reimplement QPDFObjectHandle::getJSON in terms of writeJSON 2024-02-16 11:00:20 +00:00
QPDF_Dictionary.cc Reimplement QPDFObjectHandle::getJSON in terms of writeJSON 2024-02-16 11:00:20 +00:00
QPDF_encryption.cc In QPDF::pipeStreamData use unique_ptr as heap 2023-11-26 13:06:12 +00:00
QPDF_InlineImage.cc Reimplement QPDFObjectHandle::getJSON in terms of writeJSON 2024-02-16 11:00:20 +00:00
QPDF_Integer.cc Reimplement QPDFObjectHandle::getJSON in terms of writeJSON 2024-02-16 11:00:20 +00:00
QPDF_json.cc Refactor the creation of unresolved objects 2024-08-06 12:22:09 +01:00
QPDF_linearization.cc In QPDFWriter::writeLinearized use object table obj in call to getLinearizedParts 2024-03-08 10:41:24 +00:00
QPDF_Name.cc Tweak pull request contribution on fixing non-standard basic_string_view 2024-03-03 13:40:59 -05:00
QPDF_Null.cc Refactor the creation of unresolved objects 2024-08-06 12:22:09 +01:00
QPDF_Operator.cc Reimplement QPDFObjectHandle::getJSON in terms of writeJSON 2024-02-16 11:00:20 +00:00
QPDF_optimization.cc Format code 2024-06-07 08:07:51 -04:00
QPDF_pages.cc Throw an exception if the root of the pages tree misses the /Kids array 2024-07-16 14:44:47 +01:00
QPDF_Real.cc Fix writing reals with trailing '.' as JSON (fixes #1261) 2024-08-06 01:09:48 +01:00
QPDF_Reserved.cc Reimplement QPDFObjectHandle::getJSON in terms of writeJSON 2024-02-16 11:00:20 +00:00
QPDF_Stream.cc Add new method QPDF_Stream::writeStreamJSON 2024-02-16 11:37:50 +00:00
QPDF_String.cc Format code 2024-02-24 10:29:41 -05:00
QPDF_Unresolved.cc Refactor resolving of objects 2024-06-19 10:34:01 +01:00
qpdf-c.cc Allow regular C++ functions to interoperate with the C API 2023-12-16 10:06:34 -05:00
QPDF.cc Refactor the creation of unresolved objects 2024-08-06 12:22:09 +01:00
QPDFAcroFormDocumentHelper.cc Remove --disable-signatures; incorporate into --remove-restrictions 2023-12-24 07:36:07 -05:00
QPDFAnnotationObjectHelper.cc Fix comment formatting and update notes 2023-12-29 13:16:01 -05:00
QPDFArgParser.cc Quote program name in completion output (fixes #1021) 2023-09-03 10:13:17 -04:00
QPDFCrypto_gnutls.cc Code tidy - reflow comments and strings 2023-06-02 16:00:40 +01:00
QPDFCrypto_native.cc Rerun clang-format 2023-05-21 13:35:09 -04:00
QPDFCrypto_openssl.cc Code tidy - Clang-Tidy rule modernize-return-braced-init-list 2023-06-09 15:35:56 +01:00
QPDFCryptoProvider.cc Code tidy - reflow comments and strings 2023-06-02 16:00:40 +01:00
QPDFDocumentHelper.cc Code tidy - Clang-Tidy rule modernize-use-equals-default 2023-06-09 15:45:14 +01:00
QPDFEFStreamObjectHelper.cc Code tidy - reflow comments and strings 2023-06-02 16:00:40 +01:00
QPDFEmbeddedFileDocumentHelper.cc Code tidy - reflow comments and strings 2023-06-02 16:00:40 +01:00
QPDFExc.cc Remove unused include directives 2023-05-20 15:37:41 +01:00
QPDFFileSpecObjectHelper.cc Rerun clang-format 2023-05-21 13:35:09 -04:00
QPDFFormFieldObjectHelper.cc Fix previous fix to setting checkbox value (fixes #1056) 2024-02-11 15:49:44 -05:00
QPDFJob_argv.cc Allow --file and --range with --pages 2024-01-10 16:44:17 -05:00
QPDFJob_config.cc set page labels: detect start page < 1 (fixes #939) 2024-02-17 16:13:42 -05:00
QPDFJob_json.cc Remove extraneous blank lines 2024-01-15 11:07:49 -05:00
qpdfjob-c.cc Rerun clang-format 2023-05-21 13:35:09 -04:00
QPDFJob.cc Handle null form field from annotation (fixes #1189) 2024-06-18 08:51:15 -04:00
qpdflogger-c.cc Rerun clang-format 2023-05-21 13:35:09 -04:00
QPDFLogger.cc Code tidy - Clang-Tidy rule modernize-use-default-member-init 2023-06-09 15:43:21 +01:00
QPDFMatrix.cc Code tidy - Clang-Tidy rule modernize-return-braced-init-list 2023-06-09 15:35:56 +01:00
QPDFNameTreeObjectHelper.cc Code tidy - Clang-Tidy rule modernize-use-equals-default 2023-06-09 15:45:14 +01:00
QPDFNumberTreeObjectHelper.cc Code tidy - Clang-Tidy rule modernize-use-equals-default 2023-06-09 15:45:14 +01:00
QPDFObject.cc Refactor resolving of objects 2024-06-19 10:34:01 +01:00
QPDFObjectHandle.cc In QPDFParser constructor add add parameter parse_pdf 2024-08-06 10:02:07 +01:00
QPDFObjectHelper.cc Code tidy - Clang-Tidy rule modernize-use-equals-default 2023-06-09 15:45:14 +01:00
QPDFObjGen.cc Code tidy - reflow comments and strings 2023-06-02 16:00:40 +01:00
QPDFOutlineDocumentHelper.cc In QPDFParser constructor add add parameter parse_pdf 2024-08-06 10:02:07 +01:00
QPDFOutlineObjectHelper.cc In QPDFOutlineObjectHelper detect loops in direct children 2024-06-29 12:38:07 +01:00
QPDFPageDocumentHelper.cc Preserve annotations that inherently lack appearance (fixes #1039) 2023-12-29 13:40:08 -05:00
QPDFPageLabelDocumentHelper.cc Remove explicit type from PageLabel dictionary 2024-01-06 17:20:55 -05:00
QPDFPageObjectHelper.cc Format code, bump clang-format version to 18 2023-12-22 21:45:10 -05:00
QPDFParser.cc Refactor the creation of unresolved objects 2024-08-06 12:22:09 +01:00
QPDFStreamFilter.cc Implement user-provided stream filters 2020-12-28 12:58:19 -05:00
QPDFSystemError.cc Rerun clang-format 2023-05-21 13:35:09 -04:00
QPDFTokenizer.cc Don't lose character after \d or \dd parsing string (fixes #1050) 2023-10-14 17:12:56 -04:00
QPDFUsage.cc Use QPDFUsage exception for cli, json, and QPDFJob errors 2022-01-30 13:11:03 -05:00
QPDFValue.cc Rerun clang-format 2023-05-21 13:35:09 -04:00
QPDFWriter.cc Refactor the creation of unresolved objects 2024-08-06 12:22:09 +01:00
QPDFXRefEntry.cc Code tidy - Clang-Tidy rule modernize-use-equals-default 2023-06-09 15:45:14 +01:00
QTC.cc Rerun format_code (after merging clang-tidy PR) 2023-05-20 14:52:19 -04:00
QUtil.cc Further refactor QUtil::call_main_from_wmain 2024-05-17 10:31:50 +01:00
RC4_native.cc Rerun clang-format 2023-05-21 13:35:09 -04:00
RC4.cc Rerun format_code (after merging clang-tidy PR) 2023-05-20 14:52:19 -04:00
ResourceFinder.cc Programmatically apply new formatting to code 2022-04-04 08:10:40 -04:00
rijndael.cc Format code 2023-07-09 09:59:55 -04:00
SecureRandomDataProvider.cc Move random number device check to runtime (fixes #1022) 2023-09-03 09:36:13 -04:00
SF_FlateLzwDecode.cc Change default for SF_FlateLzwDecode::columns to 1 2023-11-23 01:51:38 +00: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
SHA2_native.cc Rerun clang-format 2023-05-21 13:35:09 -04:00