Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-04-03 | Use an unordered map for SparseOHArray for efficiency | Jay Berkenbilt | |
This was added in C++11. | |||
2019-11-09 | Implement 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-09 | Update autoconf to support crypto selection | Jay Berkenbilt | |
2019-11-09 | Fix typos in configure.ac | Jay Berkenbilt | |
2019-11-09 | AES_PDF: move CBC logic from pipeline to AES_PDF implementation | Jay Berkenbilt | |
2019-11-09 | AES_PDF: switch to pluggable crypto | Jay Berkenbilt | |
2019-11-09 | SHA2: switch to pluggable crypto | Jay Berkenbilt | |
2019-11-09 | Rename SHA2 implementation (non-bisectable) | Jay Berkenbilt | |
2019-11-09 | RC4: switch to pluggable crypto | Jay Berkenbilt | |
2019-11-09 | Rename RC4 implementation (non-bisectable) | Jay Berkenbilt | |
2019-11-09 | MD5: switch to pluggable crypto | Jay Berkenbilt | |
2019-11-09 | Rename 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-09 | QPDFCryptoProvider: initial implementation | Jay Berkenbilt | |
2019-11-09 | Remove int type checks -- subsumed by C++-11 | Jay Berkenbilt | |
2019-11-09 | Require C++-11 | Jay 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. | |||
2019-08-27 | Fix fuzz issue 16172 (overflow checking in OffsetInputSource) | Jay Berkenbilt | |
2019-08-18 | Improve efficiency of fixDanglingReferences | Jay Berkenbilt | |
2019-08-18 | Shallow copy arrays without removing sparseness | Jay Berkenbilt | |
2019-08-18 | Use SparseOHArray in QPDF_Array | Jay Berkenbilt | |
2019-08-18 | Refactor QPDF_Array in preparation for using SparseOHArray | Jay Berkenbilt | |
2019-08-18 | SparseOHArray | Jay Berkenbilt | |
2019-06-22 | In shippable code, favor smart pointers (fixes #235) | Jay Berkenbilt | |
Use PointerHolder in several places where manually memory allocation and deallocation were being used. This helps to protect against memory leaks when exceptions are thrown in surprising places. | |||
2019-06-21 | Fix sign and conversion warnings (major) | Jay Berkenbilt | |
This makes all integer type conversions that have potential data loss explicit with calls that do range checks and raise an exception. After this commit, qpdf builds with no warnings when -Wsign-conversion -Wconversion is used with gcc or clang or when -W3 -Wd4800 is used with MSVC. This significantly reduces the likelihood of potential crashes from bogus integer values. There are some parts of the code that take int when they should take size_t or an offset. Such places would make qpdf not support files with more than 2^31 of something that usually wouldn't be so large. In the event that such a file shows up and is valid, at least qpdf would raise an error in the right spot so the issue could be legitimately addressed rather than failing in some weird way because of a silent overflow condition. | |||
2019-06-21 | Change QPDFObjectHandle::pipeStreamData's encode_flags type | Jay Berkenbilt | |
Change from unsigned long to int since we pass enumerated type values to this field. | |||
2019-06-21 | configure: determine wordsize automatically | Jay Berkenbilt | |
Based on sizeof(size_t). Assumes 64 if not 32. | |||
2019-01-27 | Move rectangle transformation into QPDFMatrix | Jay Berkenbilt | |
2019-01-11 | Add configure option AVOID_WINDOWS_HANDLE | Jay Berkenbilt | |
If set, we avoid using Windows I/O HANDLE, which is disallowed in some versions of the Windows SDK, such as for Windows phones. QUtil::same_file will always return false in this case. Only applies to Windows builds. | |||
2019-01-07 | Mostly don't require original QPDF for copyForeignObject (fixes #219) | Jay Berkenbilt | |
The original QPDF is only required now when the source QPDFObjectHandle is a stream that gets its stream data from a QPDFObjectHandle::StreamDataProvider. | |||
2019-01-01 | Add Matrix class under QPDFObjectHandle | Jay Berkenbilt | |
2019-01-01 | Transformation matrix | Jay Berkenbilt | |
2018-12-22 | Add QPDFObjectHandle::getJSON() | Jay Berkenbilt | |
2018-10-11 | Commit automatically generated files | Jay Berkenbilt | |
2018-08-13 | Fix one more identifier (fixes #236) | Jay Berkenbilt | |
2018-08-12 | Protect headers with compliant identifiers (fixes #233) | Jay Berkenbilt | |
2018-06-21 | Better support for creating Unicode strings | Jay Berkenbilt | |
2018-02-19 | More robust handling of type errors | Jay Berkenbilt | |
Give objects descriptions and context so it is possible to issue warnings instead of fatal errors for attempts to access objects of the wrong type. | |||
2018-02-19 | Simplify TokenFilter interface | Jay Berkenbilt | |
Expose Pl_QPDFTokenizer, and have it do more of the work of managing the token filter's pipeline. | |||
2018-02-19 | Move Pl_QPDFTokenizer to public interface | Jay Berkenbilt | |
2018-02-19 | Clean up comment | Jay Berkenbilt | |
2018-02-19 | Detect and report bad tokens in content normalization | Jay Berkenbilt | |
2018-02-19 | Implement TokenFilter and refactor Pl_QPDFTokenizer | Jay Berkenbilt | |
Implement a TokenFilter class and refactor Pl_QPDFTokenizer to use a TokenFilter class called ContentNormalizer. Pl_QPDFTokenizer is now a general filter that passes data through a TokenFilter. | |||
2018-02-19 | Use space tokens in tokenizer filter | Jay Berkenbilt | |
2018-02-19 | Use inline image token type in tokenizer filter | Jay Berkenbilt | |
2018-01-14 | Add Pl_TIFFPredictor | Jay Berkenbilt | |
2018-01-14 | Add signed support to BitStream and BitWriter | Jay Berkenbilt | |
2018-01-14 | Minor fixes to Pl_PNGFilter | Jay Berkenbilt | |
Fix comment, remove restriction that doesn't actually matter. | |||
2017-12-25 | Correct errors in PNG filters and make use from library | Jay Berkenbilt | |
2017-12-25 | Initial implementation of other PNG decode filters | Casey Rojas | |
Initial implementation provided by Casey Rojas <crojas@infotechfl.com> Some problems are fixed in a subsequent commit. | |||
2017-09-12 | Improve message for stream decoding error | Jay Berkenbilt | |
Tweak the message so that we inform the user that we are mitigating data loss. | |||
2017-08-29 | Clean up circular references in QPDF_Stream | Jay Berkenbilt | |