2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-09-28 13:09:05 +00:00
qpdf/libqpdf
Jay Berkenbilt 3d6615b276 Pl_Buffer: reduce memory growth (fixes #228)
Rather than keeping a list of buffers for every write, accumulate
bytes in a single buffer, doubling the size of the buffer when needed
to accommodate new data.

This is not the best possible implementation, but the change was
implemented in this way to avoid changing the shape of Pl_Buffer and
thus breaking backward compatibility.
2018-08-12 17:45:43 -04:00
..
qpdf Protect headers with compliant identifiers (fixes #233) 2018-08-12 14:10:32 -04:00
sph Protect headers with compliant identifiers (fixes #233) 2018-08-12 14:10:32 -04:00
bits.icc Fix and test support for files >= 4 GB 2012-06-24 15:56:50 -04:00
BitStream.cc Add signed support to BitStream and BitWriter 2018-01-13 19:49:42 -05:00
BitWriter.cc Add signed support to BitStream and BitWriter 2018-01-13 19:49:42 -05:00
Buffer.cc ABI change: fix use of off_t, size_t, and integer types 2012-06-20 15:20:26 -04:00
BufferInputSource.cc Include <algorithm> for std::min, std::max 2013-11-29 10:48:16 -05:00
build.mk Add ClosedFileInputSource 2018-06-22 12:52:45 -04:00
ClosedFileInputSource.cc Remove some extraneous null pointer checks (fixes #234) 2018-08-12 12:58:39 -04:00
ContentNormalizer.cc Simplify TokenFilter interface 2018-02-18 21:05:47 -05:00
FileInputSource.cc Lexer enhancements: EOF, comment, space 2018-02-18 20:18:40 -05:00
InputSource.cc Implement findFirst and findLast in InputSource 2017-08-10 21:30:32 -04:00
InsecureRandomDataProvider.cc Refactor random data generation 2013-12-14 15:17:35 -05:00
Makefile update release date to actual date 2008-04-29 12:55:25 +00:00
MD5.cc Call QUtil::safe_fopen in place of fopen 2013-03-05 13:35:46 -05:00
OffsetInputSource.cc Update lastOffset when reading 2013-12-14 15:17:07 -05:00
Pipeline.cc do DLL_EXPORT only in header files and only at the class or top-level function level 2009-10-12 01:15:55 +00:00
Pl_AES_PDF.cc Remove all old-style casts from C++ code 2013-03-04 16:45:16 -05:00
Pl_ASCII85Decoder.cc Remove all old-style casts from C++ code 2013-03-04 16:45:16 -05:00
Pl_ASCIIHexDecoder.cc Remove all calls to strcpy 2013-03-05 13:35:46 -05:00
Pl_Buffer.cc Pl_Buffer: reduce memory growth (fixes #228) 2018-08-12 17:45:43 -04:00
Pl_Concatenate.cc Add Pl_Concatenate filter 2012-06-27 10:20:38 -04:00
Pl_Count.cc Use qpdf_offset_t in place of off_t in public APIs. 2012-06-21 21:23:24 -04:00
Pl_DCT.cc Fix test failure on MSVC 2017-09-15 23:09:04 -04:00
Pl_Discard.cc ABI change: fix use of off_t, size_t, and integer types 2012-06-20 15:20:26 -04:00
Pl_Flate.cc Remove some extraneous null pointer checks (fixes #234) 2018-08-12 12:58:39 -04:00
Pl_LZWDecoder.cc Security: replace operator[] with at 2013-10-18 10:45:14 -04:00
Pl_MD5.cc Implement deterministic ID 2015-10-31 18:56:42 -04:00
Pl_PNGFilter.cc Remove use of std::abs (fixes #172) 2018-02-04 14:19:00 -05:00
Pl_QPDFTokenizer.cc Simplify TokenFilter interface 2018-02-18 21:05:47 -05:00
Pl_RC4.cc Remove some extraneous null pointer checks (fixes #234) 2018-08-12 12:58:39 -04:00
Pl_RunLength.cc Implement Pl_RunLength pipeline 2017-08-19 14:50:55 -04:00
Pl_SHA2.cc Remove all old-style casts from C++ code 2013-03-04 16:45:16 -05:00
Pl_StdioFile.cc Use portable versions of some UNIX-specific calls 2013-03-05 13:35:46 -05:00
Pl_TIFFPredictor.cc Add Pl_TIFFPredictor 2018-01-13 19:49:42 -05:00
QPDF_Array.cc More robust handling of type errors 2018-02-18 21:06:27 -05:00
QPDF_Bool.cc Add getTypeCode() and getTypeName() 2013-01-22 10:01:45 -05:00
QPDF_Dictionary.cc More robust handling of type errors 2018-02-18 21:06:27 -05:00
QPDF_encryption.cc Fix memory access error 2018-08-12 13:16:17 -04:00
QPDF_InlineImage.cc Add getTypeCode() and getTypeName() 2013-01-22 10:01:45 -05:00
QPDF_Integer.cc Add getTypeCode() and getTypeName() 2013-01-22 10:01:45 -05:00
QPDF_linearization.cc More robust handling of type errors 2018-02-18 21:06:27 -05:00
QPDF_Name.cc Security: replace operator[] with at 2013-10-18 10:45:14 -04:00
QPDF_Null.cc Add getTypeCode() and getTypeName() 2013-01-22 10:01:45 -05:00
QPDF_Operator.cc Cosmetic changes to be closer to Adobe terminology 2013-01-23 09:38:05 -05:00
QPDF_optimization.cc Push QPDF member variables into a nested class 2017-08-21 21:35:11 -04:00
QPDF_pages.cc Properly handle pages with no contents (fixes #194) 2018-03-06 11:34:07 -05:00
QPDF_Real.cc Add getTypeCode() and getTypeName() 2013-01-22 10:01:45 -05:00
QPDF_Reserved.cc Add getTypeCode() and getTypeName() 2013-01-22 10:01:45 -05:00
QPDF_Stream.cc More robust handling of type errors 2018-02-18 21:06:27 -05:00
QPDF_String.cc Better support for creating Unicode strings 2018-06-21 15:57:13 -04:00
qpdf-c.cc Add C API for checking PDF files 2018-02-18 21:06:27 -05:00
QPDF.cc Prepare 8.1.0 release 2018-06-23 07:50:11 -04:00
QPDFAcroFormDocumentHelper.cc Allow setting a form field's value 2018-06-21 15:57:13 -04:00
QPDFAnnotationObjectHelper.cc Implement helper class for interactive forms 2018-06-21 15:57:13 -04:00
QPDFExc.cc More robust handling of type errors 2018-02-18 21:06:27 -05:00
QPDFFormFieldObjectHelper.cc Allow setting a form field's value 2018-06-21 15:57:13 -04:00
QPDFObject.cc More robust handling of type errors 2018-02-18 21:06:27 -05:00
QPDFObjectHandle.cc Treat content stream parsing errors as an error, not a warning 2018-06-22 10:44:08 -04:00
QPDFObjGen.cc Fix QPDFObjGen constructor implementation 2013-07-07 19:43:01 -04:00
QPDFPageDocumentHelper.cc When splitting files, remove unreferenced objects (fixes #203) 2018-06-21 21:03:30 -04:00
QPDFPageObjectHelper.cc Don't prune resource dictionaries on errors or by request 2018-06-22 10:45:31 -04:00
QPDFTokenizer.cc Fix EOL handling inside strings (fixes #226) 2018-08-05 20:48:35 -04:00
QPDFWriter.cc Remove some extraneous null pointer checks (fixes #234) 2018-08-12 12:58:39 -04:00
QPDFXRefEntry.cc Remove all old-style casts from C++ code 2013-03-04 16:45:16 -05:00
QTC.cc Call QUtil::safe_fopen in place of fopen 2013-03-05 13:35:46 -05:00
QUtil.cc QUtil::toUTF16 2018-06-21 15:57:13 -04:00
RC4.cc Remove all old-style casts from C++ code 2013-03-04 16:45:16 -05:00
rijndael.cc Remove all old-style casts from C++ code 2013-03-04 16:45:16 -05:00
SecureRandomDataProvider.cc Update references to README files 2017-08-22 14:13:10 -04:00
sha2.c Incorporate sha2 code from sphlib 3.0 2012-12-31 05:36:51 -05:00
sha2big.c Incorporate sha2 code from sphlib 3.0 2012-12-31 05:36:51 -05:00