aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf
AgeCommit message (Collapse)Author
2020-04-06Remove QUtil::srandomJay Berkenbilt
2020-04-06Add OpenSSL/BoringSSL crypto providerDean Scarff
Fixes qpdf/qpdf#417
2020-04-06Allow propagation of errors and retry through StreamDataProviderJay Berkenbilt
StreamDataProvider::provideStreamData now has a rich enough API for it to effectively proxy to pipeStreamData.
2020-04-05JSON: implement pattern keys in schemaJay Berkenbilt
2020-04-04Use deterministic assignments for unique_idDean Scarff
Fixes qpdf/qpdf#419
2020-04-04Allow qpdf to be built on systems without wchar_t (fixes #406)Jay Berkenbilt
2020-04-04Avoid potential segfault in warning methodsJay Berkenbilt
2020-04-04placeFormXObject: allow control of shrink/expand (fixes #409)Jay Berkenbilt
2020-04-03C API: accept any non-zero value as TRUEJay Berkenbilt
2020-04-03Remove redundant methods in QUtilJay Berkenbilt
This was being saved until we had to break ABI.
2020-04-03QPDFPageObjectHelper::placeFormXObject: use std::string const& (fixes #374)Jay Berkenbilt
2020-04-03Performance: remove Members indirection for PipelineJay Berkenbilt
2020-04-03Use an unordered map for SparseOHArray for efficiencyJay Berkenbilt
This was added in C++11.
2020-04-03Use auto for iterating over sparse arrayJay Berkenbilt
2020-04-03Internally use unsafeShallowCopy where we canJay Berkenbilt
2020-04-03Add QPDFObjectHandle::unsafeShallowCopyJay Berkenbilt
2020-04-03Performance: remove indirection through Members for QPDFObjectJay Berkenbilt
2020-04-03Performance: remove Members indirection for QPDFObjectHandleJay Berkenbilt
2020-03-31Look in form XObjects when removing unreferenced resources (fixes #373)Jay Berkenbilt
If a page contains a form XObject, also filter the form XObject and remove its unreferenced resources.
2020-03-31Refactor QPDFPageObjectHelper::removeUnreferencedResources()Jay Berkenbilt
Refactor removeUnreferencedResources to prepare for filtering form XObjects.
2020-02-29Include header for wcslen (fixes #405)Jay Berkenbilt
2020-02-22Handle root /Pages pointing to other than page tree root (fixes #398)Jay Berkenbilt
2020-01-27Prepare 9.1.1 releaserelease-qpdf-9.1.1Jay Berkenbilt
2020-01-26In qdf mode, don't write extra XRef streams (fixes #386)Jay Berkenbilt
fix-qdf assumes there is exactly one XRef stream and that it is at the end of the file.
2020-01-26Bug fix: handle ColorSpace lookup for inline images (fixes #392)Jay Berkenbilt
If the value of /CS in the inline image dictionary was is key in the page's /Resource -> /ColorSpace dictionary, properly resolve it by referencing the proper colorspace, and not just the name, in the external image dictionary.
2020-01-15Fix for Windows unable to acquire crypt context with new keyset (fixes #387)Cloudmersive
Fix is based on guidance https://support.microsoft.com/en-us/help/238187/cryptacquirecontext-use-and-troubleshooting and is the proper fix for #285/#286
2020-01-14Pull wmain -> main code from qpdf.cc into QUtil.ccJay Berkenbilt
2020-01-14Add error detection for read_lines_from_file(FILE*)Jay Berkenbilt
2020-01-13QUtil::read_lines_from_file: optional EOL preservationJay Berkenbilt
2020-01-13Refactor QUtil::read_lines_from_fileJay Berkenbilt
This commit adds the preserve_eol flags but doesn't implement EOL preservation yet.
2019-11-17Prepare 9.1.0 releaserelease-qpdf-9.1.0Jay Berkenbilt
2019-11-10Prepare 9.1.rc1 releaseJay Berkenbilt
2019-11-09Allow odd/even modifiers in numeric range (fixes #364)Jay Berkenbilt
2019-11-09Allow /P in encryption dictionary to be positive (fixes #382)Jay Berkenbilt
Even though this is disallowed by the spec, files like this have been encountered in the wild.
2019-11-09Allow runtime inspection/override of crypto providerJay Berkenbilt
2019-11-09Implement gnutls crypto provider (fixes #218)Jay Berkenbilt
Thanks to Zdenek Dohnal <zdohnal@redhat.com> for contributing the code used for the gnutls crypto provider.
2019-11-09Update autoconf to support crypto selectionJay Berkenbilt
2019-11-09Fix typos in configure.acJay Berkenbilt
2019-11-09Isolate source files used for native cryptoJay Berkenbilt
2019-11-09AES_PDF: move CBC logic from pipeline to AES_PDF implementationJay Berkenbilt
2019-11-09AES_PDF: switch to pluggable cryptoJay Berkenbilt
2019-11-09SHA2: switch to pluggable cryptoJay Berkenbilt
2019-11-09Rename SHA2 implementation (non-bisectable)Jay Berkenbilt
2019-11-09RC4: switch to pluggable cryptoJay Berkenbilt
2019-11-09Rename RC4 implementation (non-bisectable)Jay Berkenbilt
2019-11-09MD5: switch to pluggable cryptoJay Berkenbilt
2019-11-09Rename MD5 implementation (non-bisectable)Jay Berkenbilt
Just rename MD5 -> MD5_native in place so that git annotate will show the lines as having originated there.
2019-11-09QPDFCryptoProvider: initial implementationJay Berkenbilt
2019-11-09Remove int type checks -- subsumed by C++-11Jay Berkenbilt
2019-11-09Require C++-11Jay Berkenbilt
Includes updates to m4/ax_cxx_compile_stdcxx.m4 to make it work with msvc, which supports C++-11 with no flags but doesn't set __cplusplus to a recent value.