Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-06-22 | Fix --completion-* args to work from AppImage (fixes #285) | Jay Berkenbilt | |
2019-06-22 | Provide error message in Windows crypto code (fixes #286) | Jay Berkenbilt | |
Thanks to github user zdenop for supplying some additional error-handling code. | |||
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-22 | Try to use pkg-config to find external dependencies (fixes #324) | Jay Berkenbilt | |
2019-06-22 | Override umask on install (fixes #326) | Jay Berkenbilt | |
2019-06-22 | qpdf: exit 3 for linearization warnings without errors (fixes #50) | Jay Berkenbilt | |
2019-06-22 | ChangeLog: fix errors in previous entries | Jay Berkenbilt | |
2019-06-22 | Add QUtil::read_file_into_memory | Jay Berkenbilt | |
This code was essentially duplicated between test_driver and standalone_fuzz_target_runner. | |||
2019-06-22 | Build with -fvisibility=hidden when supported | Jay Berkenbilt | |
2019-06-22 | Remove broken QPDFTokenizer::expectInlineImage | Jay Berkenbilt | |
2019-06-22 | Remove QPDF::copyForeignObject with unused parameter | Jay Berkenbilt | |
2019-06-22 | Rename QUtil::strcasecmp to QUtil::str_compare_nocase (fixes #242) | Jay Berkenbilt | |
2019-06-21 | Enable int warnings by default | Jay Berkenbilt | |
Now that there aren't any more... | |||
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 | Pl_Flate: constructor's out_bufsize is now unsigned int | Jay Berkenbilt | |
This is the type we need for the underlying zlib implementation. | |||
2019-06-21 | Add new integer accessors to QPDFObjectHandle | Jay Berkenbilt | |
2019-06-21 | QUtil: add unsigned int/string functions | Jay Berkenbilt | |
2019-06-21 | New safe type converters in QIntC | Jay Berkenbilt | |
2019-06-18 | Remove qpdf_read_memory_fuzzer | Jay Berkenbilt | |
2019-06-15 | Run tests with sanitizers in CI | Jay Berkenbilt | |
2019-06-15 | As a test suite, run stand-alone fuzzer on seed corpus | Jay Berkenbilt | |
Temporarily skip fuzz tests on Windows. There are Windows-specific failures to address later. | |||
2019-06-15 | Give up reading objects with too many consecutive errors | Jay Berkenbilt | |
2019-06-13 | oss-fuzz initial integration | Jay Berkenbilt | |
2019-06-09 | Handle empty DecodeParams array for (fixes #331) | Jay Berkenbilt | |
On read, ignore /DecodeParms when empty list; on write, delete it. Some files have been found that include an empty list for /DecodeParms, but this is not technically compliant with the spec, and the only sensible interpretation is to treat it as if there are no decode parameters. | |||
2019-05-18 | Prepare 8.4.2 release | Jay Berkenbilt | |
2019-05-16 | Fix Windows memory error (fixes #330) | Jay Berkenbilt | |
2019-04-28 | Prepare 8.4.1 releaserelease-qpdf-8.4.1 | Jay Berkenbilt | |
2019-04-21 | Compare versions between CLI and library | Jay Berkenbilt | |
2019-04-21 | Add --remove-page-labels option (fixes #317) | Jay Berkenbilt | |
2019-04-21 | Add --keep-files-open-threshold (fixes #288) | Jay Berkenbilt | |
2019-04-21 | Support Unicode in filenames (fixes #298) | Jay Berkenbilt | |
2019-04-21 | Tighten isPageObject (fixes #310) | Jay Berkenbilt | |
2019-04-21 | Revert preservations of outlines with --split-pages | Jay Berkenbilt | |
The preservation of outlines didn't provide very useful behavior anyway as it copied all outlines but most didn't work. This implementation also caused a very significant performance hit and so is being reverted until a proper solution can be coded. The eventual solution will not be compatible with the reverted solution anyway, so it's best not to leave this in. | |||
2019-03-11 | Fix json serialization for {x | -1 < x < 1} (fixes #308) | Jay Berkenbilt | |
JSON serialization was preserving the value as presented, but JSON doesn't accept decimal values without a 0 before the decimal point. | |||
2019-02-02 | Prepare 8.4.0 release | Jay Berkenbilt | |
2019-02-01 | Don't optimize non-8-bit images | Jay Berkenbilt | |
Also add test cases for additional coverage on image optimization. | |||
2019-02-01 | Make inline image token exactly contain the image data | Jay Berkenbilt | |
Do not include the trailing EI, and handle cases where EI is not preceded by a delimiter. Such cases have been seen in the wild. | |||
2019-01-31 | Externalize inline images (fixes #278) | Jay Berkenbilt | |
2019-01-31 | Remove acroread from tests | Jay Berkenbilt | |
This hasn't worked or been exercised in years since Adobe stopped releasing a Linux version of reader. | |||
2019-01-31 | Exclude space after ID in image data | Jay Berkenbilt | |
2019-01-31 | Improve locating inline image's EI | Jay Berkenbilt | |
We've actually seen a PDF file in the wild that contained EI surrounded by delimiters inside the image data, which confused qpdf's naive code. This significantly improves EI detection. | |||
2019-01-31 | Inline image token value ends with EI, not delimiter | Jay Berkenbilt | |
The inline image token erroneously included the delimiter that followed EI. The ObjectHandle created from it was correct. | |||
2019-01-29 | Handle direct page objects (fixes #164) | Jay Berkenbilt | |
2019-01-29 | Fix logic for when to compress object and xref streams (fixes #271) | Jay Berkenbilt | |
2019-01-29 | Resolve duplicated page objects (fixes #268) | Jay Berkenbilt | |
When linearizing a file or getting the list of all pages in a file, detect if the pages tree contains a duplicated page object and, if so, shallow copy it. This makes it possible to have a one to one mapping of page positions to page objects. | |||
2019-01-27 | Add --overlay and --underlay to qpdf CLI (fixes #207) | Jay Berkenbilt | |
2019-01-27 | Example of form XObject, page overlay | Jay Berkenbilt | |
2019-01-27 | Convert pages to form XObjects | Jay Berkenbilt | |
Support conversion of pages to form XObjects and placement of form XObjects on pages. | |||
2019-01-27 | Add QPDFObjectHandle::getUniqueResourceName | Jay Berkenbilt | |
2019-01-26 | Handle inheritable page attributes | Jay Berkenbilt | |
Add getAttribute for handling inheritable page attributes, and fix getPageImages and annotation flattening code to use it. |