aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2018-08-14New exception class QPDFSystemError (fixes #221)Jay Berkenbilt
2018-08-14Protect against virus warnings (fixes #216)Jay Berkenbilt
Some files in the test suite trigger antivirus warnings. These are not infected files with malicious intent. They are test files to ensure that qpdf does not crash when it encounters the files. This change enables those files to be obfuscated in the source repository so that checking out qpdf from version control or extracting the source code doesn't trigger antivirus warnings.
2018-08-13Fix fallback logic for encryption (fixes #229)Jay Berkenbilt
2018-08-13Add --no-warn option to suppress warnings (fixes #232)Jay Berkenbilt
2018-08-13Fix one more identifier (fixes #236)Jay Berkenbilt
2018-08-13Catch exceptions as const references (fixes #236)Jay Berkenbilt
This fix allows qpdf to compile/test cleanly with gcc 8.
2018-08-12Pl_Buffer: reduce memory growth (fixes #228)Jay Berkenbilt
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-12Fix manual page formatting issuesJay Berkenbilt
Reported in debian bug 902642
2018-08-12Protect headers with compliant identifiers (fixes #233)Jay Berkenbilt
2018-08-12Fix memory access errorJay Berkenbilt
A previous fix introduced a potentially memory overrun under certain rare conditions. The test suite now once again passes with address sanitizer.
2018-08-12Remove some extraneous null pointer checks (fixes #234)Jay Berkenbilt
There were a few places in the code that were checking that a pointer wasn't null before deleting it, even though C++ has always allowed delete 0. Most of the code did not perform these checks.
2018-08-06Fix EOL handling inside strings (fixes #226)Jay Berkenbilt
CR, CRLF, and LF are all supposed to be treated as LF; only one EOL is to be ignored after backslash.
2018-08-05Return correct method for string encryption (fixes #227)Jay Berkenbilt
2018-08-05Fix infinite loop on small files with progress reporting (fixes #230)Jay Berkenbilt
Turns out you can keep adding zero to a number over and over again and it just doesn't get any bigger. Who would have known?
2018-08-05Add QPDF_DLL to public destructors (fixes #220)Jay Berkenbilt
A few public destructors were missing QPDF_DLL, which could cause some Windows applications to fail to link.
2018-08-05Keep file open while adding its pages during merge (fixes #217)Jay Berkenbilt
2018-08-05ClosedFileInputSource: add method to keep file openJay Berkenbilt
During periods of intensive operation on a specific file, this method can reduce the overhead of repeated open/close operations.
2018-07-01Add detail about Unicode passwordsJay Berkenbilt
2018-06-23Prepare 8.1.0 releaserelease-qpdf-8.1.0Jay Berkenbilt
2018-06-23Tweak release processJay Berkenbilt
2018-06-23Bump shared library minor revisionJay Berkenbilt
2018-06-23Fix typoJay Berkenbilt
2018-06-23Bug fix: honor encryption key length with R=3 (fixes #212)Jay Berkenbilt
2018-06-22Windows test workaroundJay Berkenbilt
2018-06-22Windows fixesJay Berkenbilt
2018-06-22Add tests for progress and verbose changesJay Berkenbilt
2018-06-22spell checkJay Berkenbilt
2018-06-22With --verbose, give information on processing merge inputsJay Berkenbilt
2018-06-22Add progress reporting for QPDFWriter (fixes #200)Jay Berkenbilt
2018-06-22Add method to get count of objects in QPDFJay Berkenbilt
2018-06-22Correct incorrect commentJay Berkenbilt
2018-06-22Use ClosedFileInputSource when merging files (fixes #154)Jay Berkenbilt
2018-06-22Add ClosedFileInputSourceJay Berkenbilt
ClosedFileInputSource is an input source that keeps the file closed when not reading it.
2018-06-22Add missing headersJay Berkenbilt
2018-06-22Don't prune resource dictionaries on errors or by requestJay Berkenbilt
If we are unable to filter a page's content streams, don't attempt to remove objects from the page's resource dictionary. Also provide a command line option to suppress resource removal in case we ever need this as a workaround for some bug or broken PDF files.
2018-06-22Treat content stream parsing errors as an error, not a warningJay Berkenbilt
If parsing content streams is treated as a warning, there is no way for a caller to know if a parsing operation has failed. This is very dangerous and will likely result in data loss when token filters are parser callbacks are in use.
2018-06-22When splitting files, remove unreferenced objects (fixes #203)Jay Berkenbilt
2018-06-22Fix QPDFObjectHandle::shallowCopyJay Berkenbilt
It's not really a shallow copy. It just doesn't cross indirect object boundaries. The old implementation had a bug that would cause multiple shallow copies of the same object to share memory, which was not the intention.
2018-06-21Make page range optional in --rotate (fixes #211)Jay Berkenbilt
2018-06-21Update TODOJay Berkenbilt
Remove form flattening Clarify splitting/merging with document level constructs
2018-06-21Add interactive form exampleJay Berkenbilt
2018-06-21spell checkJay Berkenbilt
2018-06-21Allow setting a form field's valueJay Berkenbilt
2018-06-21Better support for creating Unicode stringsJay Berkenbilt
2018-06-21QUtil::toUTF16Jay Berkenbilt
2018-06-21Label qutil test outputJay Berkenbilt
2018-06-21Add information about helper classes to the documentationJay Berkenbilt
2018-06-21Implement helper class for interactive formsJay Berkenbilt
2018-06-21Convert command-line and test suite to use page helper classesJay Berkenbilt
This provides better test coverage and more useful code for people to read and copy.
2018-06-21Convert examples to use new page helper classesJay Berkenbilt