- Update to version 8.0.0
* QPDFObjectHandle::getUTF8Val now properly treats non-Unicode
strings as encoded with PDF Doc Encoding.
* Add the option --coalesce-contents can be used to combine
content streams of a page whose contents are an array of
streams into a single stream.
* Add function qpdf_check_pdf to the C API. This function does
basic checking that is a subset of what qpdf --check performs.
* Major enhancements to the lexical layer of qpdf. For a complete
list of enhancements, please refer to the ChangeLog file.
* New API for working with PDF content streams at a lexical level.
The new class QPDFObjectHandle::TokenFilter allows the developer
to provide token handlers.
OBS-URL: https://build.opensuse.org/request/show/580506
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=34
* QPDFObjectHandle::getUTF8Val now properly treats non-Unicode
strings as encoded with PDF Doc Encoding.
* Add the option --coalesce-contents can be used to combine
content streams of a page whose contents are an array of
streams into a single stream.
* Add function qpdf_check_pdf to the C API. This function does
basic checking that is a subset of what qpdf --check performs.
* Major enhancements to the lexical layer of qpdf. For a complete
list of enhancements, please refer to the ChangeLog file.
* New API for working with PDF content streams at a lexical level.
The new class QPDFObjectHandle::TokenFilter allows the developer
to provide token handlers.
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=62
- Update to version 7.1.0
* Allow raw encryption key to be specified in libary and command
line with the QPDF::setPasswordIsHexKey method and
--password-is-hex-key option. Allow encryption key to be displayed
with --show-encryption-key option. See
https://blog.didierstevens.com/2017/12/28/cracking-encrypted-pdfs-part-3/
for a discussion of using this for cracking encrypted PDFs. I hope
that a future release of qpdf will include some additional
recovery options that may also make use of this capability.
* Fix lexical error: the PDF specification allows floating point
numbers to end with "."
* Fix link order in the build to avoid conflicts when building
from source while an older version of qpdf is installed
* Add support for TIFF predictor for LZW and Flate streams. Now
* Clarify documentation around options that control parsing but
not output creation. Two options: --suppress-recovery and
--ignore-xref-streams, were documented in the "Advanced
Transformation Options" section of the manual and --help output
even though they are not related to output. These are now
described in a separate section called "Advanced Parsing Options."
* Implement remaining PNG filters for decode. Prior versions could
decode only the "up" filter. Now all PNG filters (sub, up,
average, Paeth, optimal) are supported for decoding.
The implementation of the remaining PNG filters changed the
interface to the private Pl_PNGFilter class, but this class's
header file is not in the installation, and there is no public
interface to the class. Within the library, the class is never
allocated on the stack; it is only ever dynamically allocated. As
such, this does not actually break binary compatibility of the
library. all predictor functions are supported
- cleanup with spec-cleaner
OBS-URL: https://build.opensuse.org/request/show/568802
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=58
- Update to version 7.0.0
* License is now Apache-2.0
* Add new libjpeg8-devel dependency
* Improve the error message that is issued when QPDFWriter
encounters a stream that can't be decoded. In particular, mention
that the stream will be copied without filtering to avoid data
loss.
* Add new methods to the C API to correspond to new additions to
QPDFWriter:
- qpdf_set_compress_streams
- qpdf_set_decode_level
- qpdf_set_preserve_unreferenced_objects
- qpdf_set_newline_before_endstream
* Add support for writing PCLm files
* QPDF now supports reading and writing streams encoded with
JPEG or RunLength encoding. Library API enhancements and
command-line options have been added to control this
behavior. See command-line options --compress-streams
and --decode-level and methods QPDFWriter::setCompressStreams
and QPDFWriter::setDecodeLevel.
* Page rotation is now supported and accessible from both the
library and the command line.
* Fixes CVE-2017-12595 bsc#1055960, CVE-2017-9208 bsc#1040311
CVE-2017-9209 bsc#1040312, CVE-2017-9210 bsc#1040313,
CVE-2017-11627 bsc#1050577, CVE-2017-11626 bsc#1050578,
CVE-2017-11625 bsc#1050579, CVE-2017-11624 bsc#1050581
OBS-URL: https://build.opensuse.org/request/show/527520
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=31
* Improve the error message that is issued when QPDFWriter
encounters a stream that can't be decoded. In particular, mention
that the stream will be copied without filtering to avoid data
loss.
* Add new methods to the C API to correspond to new additions to
QPDFWriter:
- qpdf_set_compress_streams
- qpdf_set_decode_level
- qpdf_set_preserve_unreferenced_objects
- qpdf_set_newline_before_endstream
* Add support for writing PCLm files
* QPDF now supports reading and writing streams encoded with
JPEG or RunLength encoding. Library API enhancements and
command-line options have been added to control this
behavior. See command-line options --compress-streams
and --decode-level and methods QPDFWriter::setCompressStreams
and QPDFWriter::setDecodeLevel.
* Page rotation is now supported and accessible from both the
library and the command line.
* Fixes CVE-2017-12595 bsc#1055960, CVE-2017-9208 bsc#1040311
CVE-2017-9209 bsc#1040312, CVE-2017-9210 bsc#1040313,
CVE-2017-11627 bsc#1050577, CVE-2017-11626 bsc#1050578,
CVE-2017-11625 bsc#1050579, CVE-2017-11624 bsc#1050581
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=55
- Update to version 4.2.0
* Fixes bug that would result in the loss of compressible objects
whose generation numbers were greater than 0 when generating
object streams.
* Added better API calls for handling object ID and generation
together as a QPDFObjGen.
* Added --show-npages option to the qpdf command-line tool.
* Several small enhancements to make qpdf able to handle a wider
range of broken input files.
OBS-URL: https://build.opensuse.org/request/show/182475
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=20
* Fixes bug that would result in the loss of compressible objects
whose generation numbers were greater than 0 when generating
object streams.
* Added better API calls for handling object ID and generation
together as a QPDFObjGen.
* Added --show-npages option to the qpdf command-line tool.
* Several small enhancements to make qpdf able to handle a wider
range of broken input files.
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=36
- Detect binary attachments better (qpdf-ppc64.patch)
This fix eliminates a false test failure on some platforms and makes
the binary test work properly whether characters with the high bit
set, when treated as integers, are negative or not.
- pass --enable-show-failed-test-output to configure, to see
detailed failure reason in build log. (forwarded request 146935 from k0da)
OBS-URL: https://build.opensuse.org/request/show/146937
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=17
* Support for Acrobat X & XI encryption
* Support for extension levels in PDF version information.
* New methods for supporting read and write from/to arbitrary sources.
* Support for unencrypted files with encrypted attachments.
* Support for files with junk preceding the PDF header.
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=30
* Calling QPDFWriter::setOutputMemory would result in a
segmentation fault from write() if setStaticID() was not used.
* New method call QPDFWriter::setExtraHeaderText to add text
* Make it so that you can write the same QPDF object through two
different QPDFWriter objects that both have linearization enabled.
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=28