Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-09-10 | Fix QPDFEFStreamObjectHelper::{get,set}Subtype | Fredrik Fornwall | |
The /Subtype entry that specifies the mime type of an embedded file is inside the embedded file stream dictionary directly, not it in the parameter dictionary. See Table 45 and 46 in the PDF 1.7 specification: https://www.adobe.com/content/dam/acom/en/devnet/pdf/pdfs/PDF32000_2008.pdf#page=112 | |||
2021-03-05 | QPDFAcroFormDocumentHelper: add missing analyze calls | Jay Berkenbilt | |
2021-03-04 | Major rework of handling form fields when copying pages (fixes #509) | Jay Berkenbilt | |
2021-02-25 | Update examples to use copyStream() | Jay Berkenbilt | |
2021-02-23 | Remove accidentally-committed file and fix test that created it | Jay Berkenbilt | |
2021-02-23 | Update pdf-overlay-page example to copy annotations | Jay Berkenbilt | |
2021-02-22 | Change from QPDF{Array,Dict}Items to aitems() and ditems() | Jay Berkenbilt | |
2021-02-18 | Use QUtil::path_basename | Jay Berkenbilt | |
2021-02-18 | Add file attachment example | Jay Berkenbilt | |
2021-02-13 | QUtil::double_to_string: trim trailing zeroes with option to disable | Jay Berkenbilt | |
2021-02-10 | Minor clean up of Windows headers | Jay Berkenbilt | |
2021-02-08 | Make newly created name/number trees indirect objects | Jay Berkenbilt | |
2021-01-31 | Improve memory safety of dict/array iterators | Jay Berkenbilt | |
2021-01-30 | Add example of name/number trees and dictionary/array iteration | Jay Berkenbilt | |
2021-01-30 | Update examples to use QPDFObjectHandle iterators | Jay Berkenbilt | |
2021-01-24 | QPDFObjectHandle::newUnicodeString to uses UTF-16 only when needed | Jay Berkenbilt | |
Use the first of ASCII, PDFDocEncoding, or UTF-16 that is capable of encoding the string. | |||
2021-01-04 | Spell check | Jay Berkenbilt | |
2021-01-02 | Make more QPDFPageObjectHelper methods work with form XObject | Jay Berkenbilt | |
2021-01-02 | QPDFPageObjectHelper: filterPageContents -> filterContents + form XObject | Jay Berkenbilt | |
2021-01-02 | QPDFPageObjectHelper: getPageImages -> getImages | Jay Berkenbilt | |
2020-12-28 | Add pdf-custom-filter example | Jay Berkenbilt | |
2020-12-20 | Provide qpdf write progress reporting from C API (fixes #487) | Jay Berkenbilt | |
2020-11-29 | Add QPDFObjectHandle manipulation to C API | Jay Berkenbilt | |
2020-04-16 | Fix warnings reported by -Wshadow=local (fixes #431) | Jay Berkenbilt | |
2020-04-09 | Fix typo in test case name | Jay Berkenbilt | |
2020-04-09 | Fix memory leak in pdf-invert-images | Jay Berkenbilt | |
A class can't have a PointerHolder to itself since PointerHolder doesn't have the concept of weak references. | |||
2020-04-08 | Improve pdf-invert-images example | Jay Berkenbilt | |
2020-02-22 | Mention appearances in pdf-set-form-values example | Jay Berkenbilt | |
2019-08-23 | Pass offset and length to ParserCallbacks::handleObject | Jay Berkenbilt | |
2019-07-04 | Change list to vector for outline helpers (fixes #297) | Thorsten Schöning | |
This change works around STL problems with Embarcadero C++ Builder version 10.2, but std::vector is more common than std::list in qpdf, and this is a relatively new API, so an API change is tolerable. Thanks to Thorsten Schöning <6223655+ams-tschoening@users.noreply.github.com> for the fix. | |||
2019-06-22 | Add missing #include <cstring> | Jay Berkenbilt | |
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-03-12 | Undefined functions because of missing std:: or header. (#295) | Thorsten Schöning | |
* [bcc32 Error] QPDF.cc(375): E2268 Call to undefined function 'atof' Full parser context QPDF.cc(358): parsing: void QPDF::parse(const char *) * [bcc32 Error] QPDFTokenizer.cc(183): E2268 Call to undefined function 'strtol' Full parser context QPDFTokenizer.cc(163): parsing: void QPDFTokenizer::resolveLiteral() * [bcc32 Error] pdf-split-pages.cc(52): E2268 Call to undefined function 'exit' Full parser context pdf-split-pages.cc(50): parsing: void usage() * PR #295: Including "cstdlib" should be replaced with "stdlib.h" to be more consistent. At the same time I changed the order of the surrounding includes to reflect alphabetical order, because at some files this already have been the case. | |||
2019-02-02 | Incorporate improved Windows fragility workaround from qtest | Jay Berkenbilt | |
2019-01-27 | Example of form XObject, page overlay | Jay Berkenbilt | |
2019-01-07 | Work around test fragility on Windows | Jay Berkenbilt | |
2018-12-23 | Add comment about json to pdf-bookmarks | Jay Berkenbilt | |
2018-12-22 | Rewrite bookmark example to use outline helpers | Jay Berkenbilt | |
Now uses QPDFOutlineDocumentHelper and QPDFOutlineObjectHelper. | |||
2018-08-13 | Catch exceptions as const references (fixes #236) | Jay Berkenbilt | |
This fix allows qpdf to compile/test cleanly with gcc 8. | |||
2018-06-22 | Add missing headers | Jay Berkenbilt | |
2018-06-21 | Add interactive form example | Jay Berkenbilt | |
2018-06-21 | Convert examples to use new page helper classes | Jay Berkenbilt | |
2018-02-19 | Properly handle strings with PDF Doc Encoding (fixes #179) | Jay Berkenbilt | |
The QPDF_String::getUTF8Val() method was not treating strings that weren't explicitly Unicode as PDF Doc Encoded. This only affects characters in the range 0x80 through 0xa0. | |||
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 | Add additional interface for filtering page contents | Jay Berkenbilt | |
2018-02-19 | Filter tokens example | Jay Berkenbilt | |
2018-02-19 | Bug fix: content normalizer should not add trailing newline | Jay Berkenbilt | |
Adding a trailing newline in content normalization damages files whose contents are split across streams in the middle of tokens. Let QPDFWriter add the newline with the indicator to ignore the newline, which it already does. This changes the way some qdf files look. | |||
2018-02-19 | Switch from parseContentStream to parsePageContents | Jay Berkenbilt | |
2018-02-04 | Rename test output files (fixes #173) | Jay Berkenbilt | |
Some file names had `...` in their name, which causes problems on some systems. | |||
2018-02-04 | Add comment to setStaticID call | Jay Berkenbilt | |