SHA256
8
0
forked from pool/qpdf

163 Commits
devel ... main

Author SHA256 Message Date
9fbf1ba00b Accepting request 1288546 from devel:libraries:c_c++
- disable specific-bugs and inline-images tests for s390x [bsc#1245308]

OBS-URL: https://build.opensuse.org/request/show/1288546
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=81
2025-06-26 12:05:37 +00:00
5aee581afd Accepting request 1285363 from devel:libraries:c_c++
- version update to 11.10.1
  11.10.1: February 15, 2025
    Build fixes
     .  Fix incorrect detection of zopfli.
     .  Recognize cygwin perl as Windows when running test suite.
  11.10.0: February 8, 2025
    Bug fixes
     .  Detect and break loops in the outline (bookmark) tree.
     .  Correctly handle outline (bookmark) items where the destination is
        given as a dictionary with ‘/D’ entry.
     .  When loading object streams, ignore any objects not included in the
        xref table.
     .  When writing real numbers as JSON ensure they do not end in a
        trailing decimal point.
     .  When QPDF::getObject, getObjectByObjGen or getObjectByID are called
        with a QPDFObjGen that does not
        exists in the xref and object tables return a direct null.
     .  Fix handling of certain deleted objects in hybrid reference files.
     .  Default the stream decode level to generalized.
     .  Reject CLI flags with parameters.
    CLI Enhancements
     .  The fix-qdf command now allows an output file to be specified as an
        optional second argument.
     .  New --remove-metadata and --remove-info options to exclude document
        metadata and information from the output PDF.
    Library Enhancements
     .  qpdf can now be built with zopfli support.
     .  Add QPDFObjectHandle operator bool.
     .  New C API function qpdf_oh_free_buffer to free malloc allocated buffers.
  * for other changes see (forwarded request 1285092 from pgajdos)

OBS-URL: https://build.opensuse.org/request/show/1285363
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=80
2025-06-14 14:17:01 +00:00
5a919e103d - version update to 11.10.1
11.10.1: February 15, 2025
    Build fixes
     .  Fix incorrect detection of zopfli.
     .  Recognize cygwin perl as Windows when running test suite.
  11.10.0: February 8, 2025
    Bug fixes
     .  Detect and break loops in the outline (bookmark) tree.
     .  Correctly handle outline (bookmark) items where the destination is
        given as a dictionary with ‘/D’ entry.
     .  When loading object streams, ignore any objects not included in the
        xref table.
     .  When writing real numbers as JSON ensure they do not end in a
        trailing decimal point.
     .  When QPDF::getObject, getObjectByObjGen or getObjectByID are called
        with a QPDFObjGen that does not
        exists in the xref and object tables return a direct null.
     .  Fix handling of certain deleted objects in hybrid reference files.
     .  Default the stream decode level to generalized.
     .  Reject CLI flags with parameters.
    CLI Enhancements
     .  The fix-qdf command now allows an output file to be specified as an
        optional second argument.
     .  New --remove-metadata and --remove-info options to exclude document
        metadata and information from the output PDF.
    Library Enhancements
     .  qpdf can now be built with zopfli support.
     .  Add QPDFObjectHandle operator bool.
     .  New C API function qpdf_oh_free_buffer to free malloc allocated buffers.
  * for other changes see

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=156
2025-06-13 07:02:25 +00:00
b8b69e6768 Accepting request 1284933 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1284933
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=79
2025-06-12 13:51:54 +00:00
8b23c7a062 No functional changes, but fix source_validator failure for the
first changelog entry:


date: invalid date ‘ Mon Apr 28 2008 Jay Berkenbilt’
ERROR: INVALID DATE " Mon Apr 28 2008 Jay Berkenbilt" (qpdf.changes:978)

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=154
2025-06-11 20:04:34 +00:00
7e7d7a1629 Accepting request 1274146 from devel:libraries:c_c++
add qpdf-11.9.1-gcc15.patch from upstream to fix gcc-15 compile time error (forwarded request 1274144 from hsk17)

OBS-URL: https://build.opensuse.org/request/show/1274146
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=78
2025-05-06 14:38:20 +00:00
77c86cce69 add qpdf-11.9.1-gcc15.patch from upstream to fix gcc-15 compile time error
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=152
2025-05-03 17:05:40 +00:00
4ab38eadb7 Accepting request 1180732 from devel:libraries:c_c++
- update to 11.9.1:
  * Rewrite a recursive function to be iterative in linearization
    to enable more complex files to be linearized, especially on
    Windows.
  * Avoid non-standard use of `std::basic_string_view`.

OBS-URL: https://build.opensuse.org/request/show/1180732
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=77
2024-06-14 16:57:51 +00:00
a50cbbefae - update to 11.9.1:
* Rewrite a recursive function to be iterative in linearization
    to enable more complex files to be linearized, especially on
    Windows.
  * Avoid non-standard use of `std::basic_string_view`.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=150
2024-06-13 15:35:04 +00:00
b54b97ef16 Accepting request 1153455 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1153455
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=76
2024-03-02 22:20:32 +00:00
11b9526da2 Accepting request 1153437 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
- Update to 11.9.0:
  * CLI Enhancements
    - Add new command-line arguments --file and --range which can be
      used within --pages in place of positional arguments. Allow
      --file to be used inside of --overlay and --underlay as well.
      These new options can be freely intermixed with positional
      arguments.
    - Allow --overlay and --underlay to be repeated. They may appear
      multiple times on the command-line and will be stacked in the
      order in which they appear. In QPDFJob JSON (see QPDFJob: a
      Job-Based Interface), the overlay and underlay keys may contain
      arrays. For compatibility, they may also contain a single dictionary.
  * Library Enhancements
    - Add file(), range(), and password() to QPDFJob::PagesConfig
      as an alternative to pageSpec.
    - Add QPDFObjectHandle::writeJSON to write the JSON representation
      of the object directly to a pipeline. This is much faster than
      calling QPDFObjectHandle::getJSON.
  * Other Enhancements
    - There have been non-user-visible improvements to the reliability
      of the JSON parser. The JSON parser has been added to fuzz testing
      with OSS-Fuzz.
  * Remove openssl3_2-fuzz-16214.patch fixed upstream

OBS-URL: https://build.opensuse.org/request/show/1153437
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=148
2024-02-29 15:57:21 +00:00
6629e60ce1 Accepting request 1140140 from devel:libraries:c_c++
- Temporary workaround for test fuzz-16214 (bsc#1218902)
  * Add openssl3_2-fuzz-16214.patch
- Update to 11.8.0:
  * Bug fixes:
    - When flattening annotations, preserve hyperlinks and other annotations
      that inherently have no appearance information.
  * CLI Enhancements
    - Introduce x in the numeric range syntax to allow exclusion of pages
      within a page range. See Page Ranges for details.
    - Support comma-separated numeric values with --collate to select
      different numbers of pages from different groups.
    - Add --set-page-labels option to completely override page labels in the
      output.
  * Library Enhancements
    - Add API to support --set-page-labels:
    - QPDFJob::Config::setPageLabels
    - pdf_page_label_e enumerated type
    - QPDFPageLabelDocumentHelper::pageLabelDict
    - Improve file recovery logic to better handle files with cross-reference
      streams. This should enable qpdf to recover some files that it would
      previously have reported “unable to find trailer dictionary.” (forwarded request 1139461 from ohollmann)

OBS-URL: https://build.opensuse.org/request/show/1140140
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=75
2024-01-21 22:07:17 +00:00
3d9292de1f Accepting request 1139461 from home:ohollmann:branches:security:tls
- Temporary workaround for test fuzz-16214 (bsc#1218902)
  * Add openssl3_2-fuzz-16214.patch
- Update to 11.8.0:
  * Bug fixes:
    - When flattening annotations, preserve hyperlinks and other annotations
      that inherently have no appearance information.
  * CLI Enhancements
    - Introduce x in the numeric range syntax to allow exclusion of pages
      within a page range. See Page Ranges for details.
    - Support comma-separated numeric values with --collate to select
      different numbers of pages from different groups.
    - Add --set-page-labels option to completely override page labels in the
      output.
  * Library Enhancements
    - Add API to support --set-page-labels:
    - QPDFJob::Config::setPageLabels
    - pdf_page_label_e enumerated type
    - QPDFPageLabelDocumentHelper::pageLabelDict
    - Improve file recovery logic to better handle files with cross-reference
      streams. This should enable qpdf to recover some files that it would
      previously have reported “unable to find trailer dictionary.”

OBS-URL: https://build.opensuse.org/request/show/1139461
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=146
2024-01-20 14:37:42 +00:00
0690889155 Accepting request 1135299 from devel:libraries:c_c++
- update to 11.7.0:
  * Add QPDFAcroFormDocumentHelper::disableDigitalSignatures,
    which disables any digital signature fields, leaving their
    visual representations intact.
    The --remove-restrictions command-line argument now calls this.
  * Generate a more complete qpdf "man page" from the same source
    as qpdf --help. Fixes #1064.
  * Allow the syntax "--encrypt --user-password=user-password
    --owner-password=owner-password --bits={40,128,256}" when
    encrypting PDF files. This is an alternative to the syntax
    "--encrypt user-password owner-password {40,128,256}", which
    will continue to be supported. The new syntax works better with
    shell completion and allows creation of passwords that start
    with "-".
  * When setting a check box value, allow any value other than
    /Off to mean checked. This is permitted by the spec.
  * Fix to QPDF JSON: a floating point number that appears in
    scientific notation will be converted to fixed-point notation,
    rounded to six digits after the decimal point.
  * Fix to QPDF JSON: the syntax "n:/pdf-syntax" is now accepted
    as an alternative way to represent names. This can be used for
    any name (e.g. "n:/text#2fplain"), but it is necessary when the
    name contains binary characters.
  * Update code and tests so that qpdf's test suite no longer
    depends on the output of any specific zlib implementation.
    This makes it possible to get a fully passing test suite with any
    API-compatible zlib library. CI tests with the default zlib
    as well as zlib-ng (including verifying that zlib-ng is not the
    default), but any zlib implementation should work. Fixes
    #774.

OBS-URL: https://build.opensuse.org/request/show/1135299
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=74
2023-12-28 21:55:03 +00:00
f1f0475cb0 - update to 11.7.0:
* Add QPDFAcroFormDocumentHelper::disableDigitalSignatures,
    which disables any digital signature fields, leaving their
    visual representations intact.
    The --remove-restrictions command-line argument now calls this.
  * Generate a more complete qpdf "man page" from the same source
    as qpdf --help. Fixes #1064.
  * Allow the syntax "--encrypt --user-password=user-password
    --owner-password=owner-password --bits={40,128,256}" when
    encrypting PDF files. This is an alternative to the syntax
    "--encrypt user-password owner-password {40,128,256}", which
    will continue to be supported. The new syntax works better with
    shell completion and allows creation of passwords that start
    with "-".
  * When setting a check box value, allow any value other than
    /Off to mean checked. This is permitted by the spec.
  * Fix to QPDF JSON: a floating point number that appears in
    scientific notation will be converted to fixed-point notation,
    rounded to six digits after the decimal point.
  * Fix to QPDF JSON: the syntax "n:/pdf-syntax" is now accepted
    as an alternative way to represent names. This can be used for
    any name (e.g. "n:/text#2fplain"), but it is necessary when the
    name contains binary characters.
  * Update code and tests so that qpdf's test suite no longer
    depends on the output of any specific zlib implementation.
    This makes it possible to get a fully passing test suite with any
    API-compatible zlib library. CI tests with the default zlib
    as well as zlib-ng (including verifying that zlib-ng is not the
    default), but any zlib implementation should work. Fixes
    #774.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=144
2023-12-27 12:05:35 +00:00
9ee67e4944 Accepting request 1133444 from devel:libraries:c_c++
- update to 11.6.4:
  * Install fix: include cmake files with the dev component.
  * Build AppImage with an older Linux distribution to support
    AWS Lambda. Fixes #1086.

OBS-URL: https://build.opensuse.org/request/show/1133444
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=73
2023-12-17 20:28:47 +00:00
ab64ce1fd2 - update to 11.6.4:
* Install fix: include cmake files with the dev component.
  * Build AppImage with an older Linux distribution to support
    AWS Lambda. Fixes #1086.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=142
2023-12-15 14:00:29 +00:00
fd3b8f1b34 Accepting request 1121012 from devel:libraries:c_c++
- update to 11.6.3:
  * Tweak linearization code to better handle files between 2 GB
    and 4 GB in size. Fixes #1023.
  * Fix data loss bug: qpdf could discard a the character after
    an escaped octal string consisting of less than three
    digits. For content, this would only happen with QDF or when
    normalizing content. Outside of content, it could have happened
    in any binary string, such as /ID, if the encoding software used
    octal escape strings with less than three digits. This bug was
    introduced between 10.6.3 and 11.0.0.

    used as a cross reference stream in an earlier stage of the file.
  * CLI: breaking changes:
- add fix-signedness-warning.patch (build for aarch64)
  * Improve diagnostics around parsing --pages command-line options
- Update to version 10.0.0
    than the object level. New methods include QPDF::getXRefTable(),
    QPDFObjectHandle::getParsedOffset(),
    QPDFWriter::getRenumberedObjGen(QPDFObjGen),
    writing process it is.
    security handler but use 40 bit keys
    with --show-encryption-key option. See
- pass --enable-show-failed-test-output to configure, to see
  *  qpdf may falsely report premature EOF when reading files that
     have object streams that end with scalars not followed by
    them from another file.
- fix build with pcre 8.30
  confirms it works and saves a few dozens of entries in the
- Remove unicode data to make sure its not redistributed
- Add qpdf-nostrip.patch: don't strip libraries

OBS-URL: https://build.opensuse.org/request/show/1121012
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=72
2023-10-31 19:25:13 +00:00
fb31e7e038 - update to 11.6.3:
* Tweak linearization code to better handle files between 2 GB
    and 4 GB in size. Fixes #1023.
  * Fix data loss bug: qpdf could discard a the character after
    an escaped octal string consisting of less than three
    digits. For content, this would only happen with QDF or when
    normalizing content. Outside of content, it could have happened
    in any binary string, such as /ID, if the encoding software used
    octal escape strings with less than three digits. This bug was
    introduced between 10.6.3 and 11.0.0.
    used as a cross reference stream in an earlier stage of the file.
  * CLI: breaking changes:
- add fix-signedness-warning.patch (build for aarch64)
  * Improve diagnostics around parsing --pages command-line options
- Update to version 10.0.0
    than the object level. New methods include QPDF::getXRefTable(),
    QPDFObjectHandle::getParsedOffset(),
    QPDFWriter::getRenumberedObjGen(QPDFObjGen),
    writing process it is.
    security handler but use 40 bit keys
    with --show-encryption-key option. See
- pass --enable-show-failed-test-output to configure, to see
  *  qpdf may falsely report premature EOF when reading files that
     have object streams that end with scalars not followed by
    them from another file.
- fix build with pcre 8.30
  confirms it works and saves a few dozens of entries in the
- Remove unicode data to make sure its not redistributed
- Add qpdf-nostrip.patch: don't strip libraries
    * Compatibility fixes with some PDF files

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=140
2023-10-29 15:55:15 +00:00
c2cd5119c0 Accepting request 1116662 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1116662
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=71
2023-10-11 21:54:01 +00:00
e07fbd149f Accepting request 1116653 from home:polslinux:branches:devel:libraries:c_c++
- version update to 11.6.2:
  * Bug fix: when piping stream data, don't call finish on failure
    if the failure was caused by a previous call to finish.

OBS-URL: https://build.opensuse.org/request/show/1116653
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=138
2023-10-10 12:13:30 +00:00
308636ee1c Accepting request 1114784 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1114784
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=70
2023-10-03 18:15:17 +00:00
f081a5a8be Accepting request 1114768 from home:pgajdos
- version update to 11.6.1
  * Bug fixes:
    - Fix a logic error introduced in 11.6.0 in the fix to copyForeignObject.
      The bug could result in some pages not being copied.

OBS-URL: https://build.opensuse.org/request/show/1114768
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=136
2023-10-02 09:40:11 +00:00
816b21db21 Accepting request 1113867 from devel:libraries:c_c++
forward merge from ecsos

OBS-URL: https://build.opensuse.org/request/show/1113867
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=69
2023-09-29 19:13:12 +00:00
e467bdb3f2 Accepting request 1113865 from home:ecsos:python
- version update to 11.6.0
  - Bug fixes:
    - Fix corner case in the ASCII85 decoder.
    - Properly report warnings when ``--pages`` is used and the
      warnings appear in other than the primary file.
    - Improve ``--bash-completion`` and ``--zsh-completion`` to better
      support paths with spaces in them.
    - Move detection of random number device from compile-time to
      runtime to improve cross compilation.
    - Fix bugs around attempting to copy ``/Pages`` objects with
      ``copyForeignObject`` (which explicitly doesn't allow this).
- Don't build doc for Leap. Will break building of packages.
  Only build doc for Tumbleweed.
- Update to 11.5.0:
  * When copying the same page more than once, ensure that annotations
    are copied and not shared among multiple pages.
  * Add new method Buffer::copy and deprecate Buffer copy constructor
    and assignment operator. Buffer copies are expensive and should be
    done explicitly.
  * The source code was reformatted to 100 columns instead of 80.
    Numerous cosmetic changes and changes suggested by clang-tidy were made.
- version update to 11.4.0
  CLI Enhancements
  * The --optimize-images option now optimizes images inside of form XObjects.
  Library Enhancements
  * Allow QPDFJob’s workflow to be split into a reading phase and a writing
    phase to allow the caller to operate on the QPDF object before it is written.
    This adds methods QPDFJob::createQPDF and QPDFJob::writeQPDF and corresponding
    C API functions qpdfjob_create_qpdf and qpdfjob_write_qpdf.
  * Add QPDF::newReserved as a better alternative to QPDFObjectHandle::newReserved.
  * If you add an uninitialized QPDFObjectHandle to an array, qpdf will throw a
    logic_error. It has always been invalid to do this, but before, it wouldn’t
    have been caught until later.
  Bug fixes
  * Ignore an annotation’s appearance state when the annotation only has one
    appearance. This prevents qpdf’s annotation flattening logic from throwing
    away appearances of annotations whose annotation state is set incorrectly,
    as has been seen in some PDF files.
- Use -fexcess-precision=fast as GCC 13 changes the default
for C++ compiler and without the change some tests fail on i586.
- update to 11.3.0:
  * When performing overlay or underlay operations, convert the
    original page to a form XObject instead of simply isolating its
    contents with q/Q operators. This prevents unbalanced q/Q
    operators in any of the original pages from messing up the
    graphics state of anything that is overlaid on top of it.
- update to 11.2.0:
  * Move stream creation functions in the QPDF object where they belong. The ones
    in QPDFObjectHandle are not deprecated and will stick around.
  * Add some convenience methods to QPDFTokenizer::Token for testing token types.
    This is part of qpdf’s lexical layer and will not be needed by most developers.
  * Fix issue with missing symbols in the mingw build.
  * Fix major performance bug with the OpenSSL crypto provider. This bug was
    causing a 6x to 12x slowdown for encrypted files when OpenSSL 3 was in use.
    This includes the default Windows builds distributed with the qpdf release.
  * Fix obscure bug involving appended files that reuse an object number that was
    used as a cross reference stream in an earlier stage of the file. 
- update to 11.1.1:
  * Bug fixes for #778 & #789
  * Code tidying and performance improvements
- version 11.1.0: Build fixes
- version 11.0.0:
  * Replacement of PointerHolder with std::shared_ptr
  * JSON output mode is now at version 2
  * Performance improvements, cleanup and refactoring.
  * CLI: breaking changes: 
    The --show-encryption flag now provides encryption information
    even if a correct password is not supplied.
    Default json output version with --json has changed from 1 to 2.
    The --allow-weak-crypto flag is now mandatory when explicitly
    creating files with weak cryptographic algorithms.
  * API: breaking changes:
    Deprecate QPDFObject.hh for removal in qpdf 12.
    Pipeline::write use unsigned char const* instead of unsigned char*.
    Deprecated QPDFAcroFormDocumentHelper::copyFieldsFromForeignPage.
    The function passed to and called by QPDFJob::doIfVerbose now
    takes a Pipeline& argument instead of a std::ostream& argument.
    Remove pre qpdf-8.4.0 encryption API methods from QPDFWriter and
    their corresponding C API functions.
    QPDFObjectHandle::warnIfPossible no longer takes an optional
    argument to throw an exception if there is no description.
    QPDF objects can no longer be copied or assigned to.
  * CLI Enhancements
  * Library Enhancements:
    A new object QPDFLogger has been added.
    In QPDFObjectHandle, new methods insertItemAndGetNew,
    appendItemAndGetNew, and replaceKeyAndGetNew. New methods
    eraseItemAndGetOld, replaceKeyAndGetOld, and removeKeyAndGetOld.
    QPDFObjectHandle::isDestroyed method.
    QPDFObjectHandle::getOwningQPDF method now returns a null pointer
    when the owning QPDF object has been destroyed.
    QPDFObjectHandle::getQPDF is an alternative to
    QPDFObjectHandle::getOwningQPDF.
    Add method QPDFObjectHandle::isSameObjectAs.
    New factory method QPDF::create() returns a std::shared_ptr<QPDF>.
    New Pipeline methods have been added to reduce the amount of casting
    that is needed (write, writeCstr, writeString, operator <<)
    New Pipeline type Pl_OStream writes to a std::ostream.
    New Pipeline type Pl_String appends to a std::string.
    New Pipeline type Pl_Function.
    Methods have been added to QUtil for converting PDF timestamps and
    QPDFTime objects to ISO-8601 timestamps.
    Enhancement to JSON class.
    Add new functions to the C API for qpdfjob that use a qpdfjob_handle.
    QPDFJob::registerProgressReporter & qpdfjob_register_progress_reporter
    as a custom progress reporter with QPDFJob.
    New overloads: QPDFObjectHandle::StreamDataProvider::provideStreamData
    with QPDFObjGen const& instead of object ID and generation parameters.
    In QPDFPageObjectHelper, add a copy_if_fallback parameter to most of
    the page bounding box methods.
    Add a move constructor to the Buffer class.
  * Other changes:
    In JSON v1 mode: "objects" key now reflects the repaired pages
    tree if "pages" is specified.
    Chapter "Contributing to qpdf" was added to the documentation.
    The qpdf source code is now formatted automatically with clang-format.
- drop obsolete patches:
  disable-newpdf-renderer.patch
  qpdf-10.6.3-grep-3.8.patch
- fix build with GNU grep 3.8 (boo#1203231)
  add qpdf-10.6.3-grep-3.8.patch
- add disable-newpdf-renderer.patch (bsc#1201642)
- update to 10.6.3:
  * Minor internal changes to assist with building in other
    environments: rename internal bits.icc to qpdf/bits_functions.hh
    (not part of public API), enforce reordering of header files to
    prevent jpeglib.h from interfering with other headers, remove an
    unused header that was accidentally added in 10.6.0 but never
    referenced by any code.
  * Make build work and tests work when NDEBUG is defined. This
    involved a few changes to some test files but no changes to any
    library code.
  * Bug fix in JSON parser: accept \/ in a string as valid input per
    JSON spec even though we don't translate / to \/ on output.
  * Recognize PDF strings explicitly marked as UTF-8 as allowed by
    the PDF 2.0 spec. Fixes #654.
  * Bug fix: when generating appearance streams, the font size was
    substituted incorrectly from /DA if Tf was absent or the number
    preceding Tf was out of range. Fixes #655.
- Update to version 10.6.2:
  * Recognize strings encoded as UTF-16LE as Unicode. The PDF spec
    only allows UTF-16BE, but most readers accept UTF16-LE as well.
  * Fix a regression in command-line argument parsing to restore a
    previously undocumented behavior that some people were relying
    on.
  * Fix one more problem with mapping Unicode to PDF doc encoding.
- Drop fix-signedness-warning.patch for real, the patch was still
  present in obs.
- update to 10.6.1:
  * All functionality previously available only from the qpdf CLI has been
    exposed to the library using a new QPDFJob API, which includes fluent
    interfaces as well as a JSON format that's equivalent to qpdf's
    command-line arguments.
  * Many new interfaces have been added to QPDFObjectHandle and the C API to
    allow more convient ways querying types and accessing object values in a
    more type-safe fashion.
  * qpdf --help has been revamped so that help is divided into categories, and
    help is available for each option
  * The Running qpdf section of the manual has been rewritten. The manual now
    includes an index of command-line arguments.
  * see https://qpdf.readthedocs.io/en/stable/release-notes.html
- drop build-without-pdf.patch, fix-signedness-warning.patch (upstream)
 
- add fix-signedness-warning.patch (build for aarch64) 
- update to 10.5.0:
  * Since qpdf version 8, using object accessor methods on an
    instance of ``QPDFObjectHandle`` may create warnings if the
    object is not of the expected type. These warnings now have an
    error code of ``qpdf_e_object`` instead of
    ``qpdf_e_damaged_pdf``. Also, comments have been added to
    :file:`QPDFObjectHandle.hh` to explain in more detail what the
    behavior is. See :ref:`object-accessors` for a more in-depth
    discussion.
  * Add ``Pl_Buffer::getMallocBuffer()`` to initialize a buffer
    allocated with ``malloc()`` for better cross-language
    interoperability.
  * Overhaul error handling for the object handle functions C API.
    Some rare error conditions that would previously have caused a
    crash are now trapped and reported, and the functions that
    generate them return fallback values. See comments in the
    ``ERROR HANDLING`` section of :file:`include/qpdf/qpdf-c.h` for
    details. In particular, exceptions thrown by the underlying C++
    code when calling object accessors are caught and converted into
    errors. The errors can be checked by calling ``qpdf_has_error``.
    Use ``qpdf_silence_errors`` to prevent the error from being
    written to stderr.
  * Add ``qpdf_get_last_string_length`` to the C API to get the
    length of the last string that was returned. This is needed to
    handle strings that contain embedded null characters.
  * Add ``qpdf_oh_is_initialized`` and
    ``qpdf_oh_new_uninitialized`` to the C API to make it possible
    to work with uninitialized objects.
  * Add ``qpdf_oh_new_object`` to the C API. This allows you to
    clone an object handle.
  * Add ``qpdf_get_object_by_id``, ``qpdf_make_indirect_object``,
    and ``qpdf_replace_object``, exposing the corresponding methods
    in ``QPDF`` and ``QPDFObjectHandle``.
- add build-without-pdf.patch to fix documentation installation
- enable documentation build, enable tests, enable werror
- update to 10.4.0:
  * From the qpdf CLI, the --allow-weak-crypto is now required to suppress a
    warning when explicitly creating PDF files using RC4 encryption. While qpdf
    will always retain the ability to read and write such files, doing so will
    require explicit acknowledgment moving forward. For qpdf 10.4, this change
    only affects the command-line tool. Starting in qpdf 11, there will be
    small API changes to require explicit acknowledgment in those cases as
    well. For additional information, see Chapter 6, Weak Cryptography.
  * Fix potential bounds error when handling shell completion that could occur
    when given bogus input.
  * Properly handle overlay/underlay on completely empty pages
  * Fix crash that could occur under certain conditions when using --pages with
    files that had form fields.
  * Make QPDF::findPage functions public.
  * Add methods to Pl_Flate to be able to receive warnings on certain recoverable
    conditions.
  * Add an extra check to the library to detect when foreign objects are inserted
    directly (instead of using QPDF::copyForeignObject) at the time of insertion
    rather than when the file is written. Catching the error sooner makes it much
    easier to locate the incorrect code.
  * Improve diagnostics around parsing --pages command-line options 
- Update to version 10.3.2
  * See http://qpdf.sourceforge.net/files/qpdf-manual.html#ref.release-notes
    for the complete changelog.
- Update to version 10.3.1
  * See http://qpdf.sourceforge.net/files/qpdf-manual.html#ref.release-notes
    for the complete changelog.
- Update to version 10.3.0
  * See http://qpdf.sourceforge.net/files/qpdf-manual.html#ref.release-notes
    for the complete changelog.
- Update to version 10.2.0
  * See http://qpdf.sourceforge.net/files/qpdf-manual.html#ref.release-notes
    for the complete changelog.
- Update to version 10.1.0
  * See http://qpdf.sourceforge.net/files/qpdf-manual.html#ref.release-notes
    for the complete changelog.
- Update to version 10.0.4
  * Fix a handful of integer overflows.
- Update to version 10.0.3
  * Fixes a regression introduced in 10.0.2
- Update to version 10.0.2
  * Bug fixes and performance improvements
  * See http://qpdf.sourceforge.net/files/qpdf-manual.html#ref.release-notes
    for a complete changelog.
- Update to version 10.0.1
  * Fixes a regression in QPDFObjectHandle::getStreamData
- Update to version 10.0.0 
  * Several internal optimizations
  * OpenSSL support as alternative crypto provider
  * Bug fixes
  * See http://qpdf.sourceforge.net/files/qpdf-manual.html#ref.release-notes
    for the complete changelog.
- Add BR on pkgconfig(openssl) to add support for OpenSSL crypto
  provider and enable with --enable-crypto-openssl.
- Drop BR on pkgconfig(gnutls) now that we have OpenSSL support.
- Pass --disable-implicit-crypto to configure to make sure weak
  crypto code is disabled.
- Update to version 9.1.1
  * fix-qdf is rewritten in C++
  * Added options --is-encrypted and --requires-password for testing
    whether a file is encrypted or requires a password other than
    the supplied (or empty) password.
  * Added encrypt key to JSON options. With the exception of the
    reconstructed user password for older encryption formats,
    this provides the same information as --show-encryption but in
    a consistent, parseable format. See output of qpdf --json-help
    for details.
  * In QDF mode, be sure not to write more than one XRef stream to a
    file, even when --preserve-unreferenced is used. fix-qdf
    assumes that there is only one XRef stream, and that it appears
    at the end of the file.
  * When externalizing inline images, properly handle images whose
    color space is a reference to an object in the page's resource
    dictionary.
- Update to version 9.1.0
  * Incorporate contribution from Masamichi Hosoda to properly handle
    signature dictionaries by not including them in object streams,
    formatting the Contents key has a hexadecimal string,
    and excluding the /Contents key from encryption and decryption.
  * Incorporate contribution from Masamichi Hosoda to provide new API
    calls for getting file-level information about input and output files,
    enabling certain operations on the files at the file level rather
    than the object level. New methods include QPDF::getXRefTable(), 
    QPDFObjectHandle::getParsedOffset(), 
    QPDFWriter::getRenumberedObjGen(QPDFObjGen), 
    and QPDFWriter::getWrittenXRefTable().
  * Support build-time and runtime selectable crypto providers.
    This includes the addition of new classes QPDFCryptoProvider
    and QPDFCryptoImpl and the recognition of the QPDF_CRYPTO_PROVIDER
    environment variable. Crypto providers are described in depth
    in Section 2.3, “Crypto Providers”.
  * Addition of the --show-crypto option in support of selectable
    crypto providers, as described in Section 2.3, “Crypto Providers”.
  * Allow :even or :odd to be appended to numeric ranges for
    specification of the even or odd pages from among the pages
    specified in the range.
* Add BR on pkgconfig(gnutls) to add support for GnuTLS for encryption
  operations.
- Update to version 9.0.2
  * Fix the name of the temporary file used by --replace-input so
    that it doesn't require path splitting and works with paths
    include directories.
- Update to version 9.0.1
  * Upstream fixed bsc#1150151, removed explicit -fsigned-chars
    from CXXFLAGS
  * See included ChangeLog file for the complete changelog
- Add -fsigned-char to CXXFLAGS. Otherwise, tests fail on ppc64le,
  s390x, and aarch64 (bsc#1150151).
- Update to version 9.0.0
  * See included ChangeLog file for the complete changelog
- Update to version 8.4.1
  * See included ChangeLog file for the complete changelog
- Update to version 8.4.0
  See included ChangeLog file for the complete changelog
- Drop qpdf-data-loss-fix.patch, fixed upstream.
- Update to version 8.3.0
  See included ChangeLog file for the complete changelog
- Add qpdf-data-loss-fix.patch to fix
  https://github.com/qpdf/qpdf/issues/276
- Update to version 8.2.1
  Command-line Enchancements
  * Add --keep-files-open=[yn] to override default determination
    of whether to keep files open when merging.
- Update to version 8.2.0
  Command-line Enhancements
  * Add --no-warn option to suppress issuing warning messages.
    If there are any conditions that would have caused warnings
    to be issued, the exit status is still 3.
  Bug fixesd and Optimizations
  * Performance fix: optimize page merging operation to avoid
    unnecessary open/close calls on files being merged. This
    solves a dramatic slow-down that was observed when merging
    certain types of files.
  * Optimize how memory was used for the TIFF predictor,
    drastically improving performance and memory usage for files
    containing high-resolution images compressed with Flate
    using the TIFF predictor.
  * Bug fix: end of line characters were not properly handled
    inside strings in some cases.
  * Bug fix: using --progress on very small files could cause
    an infinite loop.
  API enhancements
  * Add new class QPDFSystemError, derived from std::runtime_error,
    which is now thrown by QUtil::throw_system_error. This enables
    the triggering errno value to be retrieved.
  * Add ClosedFileInputSource::stayOpen method, enabling a
    ClosedFileInputSource to stay open during manually indicated
    periods of high activity, thus reducing the overhead of
    frequent open/close operations.
- Update to version 8.1.0
  Usability improvements:
  * When splitting files, qpdf detects fonts and images that the
    document metadata claims are referenced from a page but are
    not actually referenced and omits them from the output file.
  * When merging multiple PDF files, qpdf no longer leaves all
    the files open.
  * The --rotate option's syntax has been extended to make the
    page range optional. If you specify --rotate=angle without
    specifying a page range, the rotation will be applied to
    all pages.
  * When merging multiple files, the --verbose option now prints
    information about each file as it operates on that file.
  * When the --progress option is specified, qpdf will print a
    running indicator of its best guess at how far through the
    writing process it is. 
  Bug fixes:
  
  * Properly decrypt files that use revision 3 of the standard
    security handler but use 40 bit keys 
    (even though revision 3 supports 128-bit keys).
  * Limit depth of nested data structures to prevent crashes
    from certain types of malformed (malicious) PDFs.
  * In “newline before endstream” mode, insert the required
    extra newline before the endstream at the end of object streams.
  Please see included ChangeLog for complete changelog including
  API changes.
- Update to version 8.0.2
  * Proper handling of pages with no content
  * Better handling of files with loops following cross reference
    tables
- Update to version 8.0.1
  * Handle zlib streams with data checksum errors
  * In the command line tool, allow specification of page numbers
    counting from the end in page ranges.
- 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.
- Update to version 7.1.1
  * Fix one linearization bug affecting files whose first /ID
    component is not 16 bytes long
  * Fix some build issues
- Add signature and keyring
- 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
- 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
- Update to version 6.0.0
  * Bump shared library version since 5.2.0 broke ABI.
- Update to version 5.2.0
  * Support for deterministic /IDs for non-encrypted files. This is
    off by default.
  * Handle more invalid xref tables
- Update to version 5.1.3
  * Handle object streams with more than 255 objects
  * Security fixes courtesy of Google Security Team
  * Properly handle pages that have no content
  * Robustness fixes for invalid PDF files
- Update to version 5.1.2
  * Please see the included ChangeLog file
- Provide the license source file Artistic-2.0 in the binary RPM
  (fix declined IBS submitrequest 30947).
  
- Update to version 5.1.1
  * Fixes https://github.com/qpdf/qpdf/issues/28
- Update to version 5.1.0
  * Add ability to provide your own source of random numbers
    at runtime
  * More handling of damaged PDF files
- Update to version 5.0.1
  * Some security fixes, courtesy of Redhat
- Update to 5.0.0
  * Same as 4.2.0 but shared lib version bumped due to ABI changes
- Apply shared library packaging policy
- 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.
- Update to version 4.1.0
  * New API calls for parsing PDF content streams
  * qpdf --check now parses all pages' content streams in addition
    to doing other checks.
  * Overridden compressed objects are properly handled.
- Drop qpdf-ppc64.patch: merged upstream
- 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.
- Update to version 4.0.0
  * 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.
- Update to version 3.0.2
  * 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.
- Update to version 3.0.1
  *  qpdf may falsely report premature EOF when reading files that 
     have object streams that end with scalars not followed by 
     whitespace.
- Update to version 3.0.0
  * Page-based splitting and merging
  * Support for large files
  * The ability to set the encryption parameters of one file by copying
    them from another file. 
  * Support for creating PDF files from scratch
- Drop applied patches
- Add qpdf-gcc47.patch: Fix build with gcc 4.7.
- fix build with pcre 8.30 
- Remove redundant sections (see specfile guidelines)
- Fix devel package requires
- Build with -fvisibility-inlines-hidden, test suite
  confirms it works and saves a few dozens of entries in the 
  exported symbol table.
- Update to v2.3.1
  * Fix threading problem with PCRE usage
- Update to v2.2.4
  * Build system fixes
- Drop qpdf-gcc46.patch and qpdf-nostrip.patch: applied upstream
- Remove unicode data to make sure its not redistributed 
- Add qpdf-nostrip.patch: don't strip libraries 
- Update to v2.3.3
    * API improvements
    * Compatibility fixes with some PDF files 
* 
- Initial packaging

OBS-URL: https://build.opensuse.org/request/show/1113865
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=134
2023-09-27 12:16:47 +00:00
fffa38032f Accepting request 1108887 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1108887
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=68
2023-09-06 16:55:41 +00:00
489b12bcb0 Accepting request 1108886 from home:pgajdos
- version update to 11.6.0
  - Bug fixes:
    - Fix corner case in the ASCII85 decoder.
    - Properly report warnings when ``--pages`` is used and the
      warnings appear in other than the primary file.
    - Improve ``--bash-completion`` and ``--zsh-completion`` to better
      support paths with spaces in them.
    - Move detection of random number device from compile-time to
      runtime to improve cross compilation.
    - Fix bugs around attempting to copy ``/Pages`` objects with
      ``copyForeignObject`` (which explicitly doesn't allow this).

OBS-URL: https://build.opensuse.org/request/show/1108886
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=132
2023-09-04 13:26:32 +00:00
897ea86e3b Accepting request 1098562 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1098562
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=67
2023-07-15 21:14:54 +00:00
e42e706b53 Accepting request 1098541 from home:polslinux:branches:devel:libraries:c_c++
- Update to 11.5.0:
  * When copying the same page more than once, ensure that annotations
    are copied and not shared among multiple pages.
  * Add new method Buffer::copy and deprecate Buffer copy constructor
    and assignment operator. Buffer copies are expensive and should be
    done explicitly.
  * The source code was reformatted to 100 columns instead of 80.
    Numerous cosmetic changes and changes suggested by clang-tidy were made.

OBS-URL: https://build.opensuse.org/request/show/1098541
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=130
2023-07-13 18:17:37 +00:00
11836af06b Accepting request 1091346 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1091346
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=66
2023-06-09 18:36:56 +00:00
9ceb6bb557 Accepting request 1091268 from home:pgajdos
- version update to 11.4.0
  CLI Enhancements
  * The --optimize-images option now optimizes images inside of form XObjects.
  Library Enhancements
  * Allow QPDFJob’s workflow to be split into a reading phase and a writing
    phase to allow the caller to operate on the QPDF object before it is written.
    This adds methods QPDFJob::createQPDF and QPDFJob::writeQPDF and corresponding
    C API functions qpdfjob_create_qpdf and qpdfjob_write_qpdf.
  * Add QPDF::newReserved as a better alternative to QPDFObjectHandle::newReserved.
  * If you add an uninitialized QPDFObjectHandle to an array, qpdf will throw a
    logic_error. It has always been invalid to do this, but before, it wouldn’t
    have been caught until later.
  Bug fixes
  * Ignore an annotation’s appearance state when the annotation only has one
    appearance. This prevents qpdf’s annotation flattening logic from throwing
    away appearances of annotations whose annotation state is set incorrectly,
    as has been seen in some PDF files.

OBS-URL: https://build.opensuse.org/request/show/1091268
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=128
2023-06-07 23:18:39 +00:00
2371f403f3 Accepting request 1068695 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1068695
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=65
2023-03-03 21:24:27 +00:00
6118f5cf87 Accepting request 1068683 from home:marxin:branches:devel:libraries:c_c++
- Use -fexcess-precision=fast as GCC 13 changes the default
for C++ compiler and without the change some tests fail on i586.

OBS-URL: https://build.opensuse.org/request/show/1068683
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=126
2023-03-02 13:16:22 +00:00
672be1b8f2 Accepting request 1068371 from home:polslinux:branches:devel:libraries:c_c++
- update to 11.3.0:
  * When performing overlay or underlay operations, convert the
    original page to a form XObject instead of simply isolating its
    contents with q/Q operators. This prevents unbalanced q/Q
    operators in any of the original pages from messing up the
    graphics state of anything that is overlaid on top of it.

OBS-URL: https://build.opensuse.org/request/show/1068371
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=125
2023-03-01 11:06:48 +00:00
241a43feaf Accepting request 1039929 from devel:libraries:c_c++
- update to 11.2.0:
  * Move stream creation functions in the QPDF object where they belong. The ones
    in QPDFObjectHandle are not deprecated and will stick around.
  * Add some convenience methods to QPDFTokenizer::Token for testing token types.
    This is part of qpdf’s lexical layer and will not be needed by most developers.
  * Fix issue with missing symbols in the mingw build.
  * Fix major performance bug with the OpenSSL crypto provider. This bug was
    causing a 6x to 12x slowdown for encrypted files when OpenSSL 3 was in use.
    This includes the default Windows builds distributed with the qpdf release.
  * Fix obscure bug involving appended files that reuse an object number that was
    used as a cross reference stream in an earlier stage of the file. (forwarded request 1039918 from dirkmueller)

OBS-URL: https://build.opensuse.org/request/show/1039929
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=64
2022-12-05 17:00:33 +00:00
ff378a6d12 Accepting request 1039918 from home:dirkmueller:Factory
- update to 11.2.0:
  * Move stream creation functions in the QPDF object where they belong. The ones
    in QPDFObjectHandle are not deprecated and will stick around.
  * Add some convenience methods to QPDFTokenizer::Token for testing token types.
    This is part of qpdf’s lexical layer and will not be needed by most developers.
  * Fix issue with missing symbols in the mingw build.
  * Fix major performance bug with the OpenSSL crypto provider. This bug was
    causing a 6x to 12x slowdown for encrypted files when OpenSSL 3 was in use.
    This includes the default Windows builds distributed with the qpdf release.
  * Fix obscure bug involving appended files that reuse an object number that was
    used as a cross reference stream in an earlier stage of the file.

OBS-URL: https://build.opensuse.org/request/show/1039918
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=123
2022-12-04 01:15:02 +00:00
b23ebb4966 Accepting request 1012004 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1012004
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=63
2022-10-18 10:44:19 +00:00
2b7ebb1370 Accepting request 1010217 from home:CJ:branches:devel:libraries:c_c++
- update to 11.1.1:
  * Bug fixes for #778 & #789
  * Code tidying and performance improvements
- version 11.1.0: Build fixes
- version 11.0.0:
  * Replacement of PointerHolder with std::shared_ptr
  * JSON output mode is now at version 2
  * Performance improvements, cleanup and refactoring.
  * CLI: breaking changes: 
    The --show-encryption flag now provides encryption information
    even if a correct password is not supplied.
    Default json output version with --json has changed from 1 to 2.
    The --allow-weak-crypto flag is now mandatory when explicitly
    creating files with weak cryptographic algorithms.
  * API: breaking changes:
    Deprecate QPDFObject.hh for removal in qpdf 12.
    Pipeline::write use unsigned char const* instead of unsigned char*.
    Deprecated QPDFAcroFormDocumentHelper::copyFieldsFromForeignPage.
    The function passed to and called by QPDFJob::doIfVerbose now
    takes a Pipeline& argument instead of a std::ostream& argument.
    Remove pre qpdf-8.4.0 encryption API methods from QPDFWriter and
    their corresponding C API functions.
    QPDFObjectHandle::warnIfPossible no longer takes an optional
    argument to throw an exception if there is no description.
    QPDF objects can no longer be copied or assigned to.
  * CLI Enhancements
  * Library Enhancements:
    A new object QPDFLogger has been added.
    In QPDFObjectHandle, new methods insertItemAndGetNew,
    appendItemAndGetNew, and replaceKeyAndGetNew. New methods
    eraseItemAndGetOld, replaceKeyAndGetOld, and removeKeyAndGetOld.
    QPDFObjectHandle::isDestroyed method.
    QPDFObjectHandle::getOwningQPDF method now returns a null pointer
    when the owning QPDF object has been destroyed.
    QPDFObjectHandle::getQPDF is an alternative to
    QPDFObjectHandle::getOwningQPDF.
    Add method QPDFObjectHandle::isSameObjectAs.
    New factory method QPDF::create() returns a std::shared_ptr<QPDF>.
    New Pipeline methods have been added to reduce the amount of casting
    that is needed (write, writeCstr, writeString, operator <<)
    New Pipeline type Pl_OStream writes to a std::ostream.
    New Pipeline type Pl_String appends to a std::string.
    New Pipeline type Pl_Function.
    Methods have been added to QUtil for converting PDF timestamps and
    QPDFTime objects to ISO-8601 timestamps.
    Enhancement to JSON class.
    Add new functions to the C API for qpdfjob that use a qpdfjob_handle.
    QPDFJob::registerProgressReporter & qpdfjob_register_progress_reporter
    as a custom progress reporter with QPDFJob.
    New overloads: QPDFObjectHandle::StreamDataProvider::provideStreamData
    with QPDFObjGen const& instead of object ID and generation parameters.
    In QPDFPageObjectHelper, add a copy_if_fallback parameter to most of
    the page bounding box methods.
    Add a move constructor to the Buffer class.
  * Other changes:
    In JSON v1 mode: "objects" key now reflects the repaired pages
    tree if "pages" is specified.
    Chapter "Contributing to qpdf" was added to the documentation.
    The qpdf source code is now formatted automatically with clang-format.
- drop obsolete patches:
  disable-newpdf-renderer.patch
  qpdf-10.6.3-grep-3.8.patch

OBS-URL: https://build.opensuse.org/request/show/1010217
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=121
2022-10-17 07:26:49 +00:00
fea47eeaa0 Accepting request 1002722 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1002722
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=62
2022-09-13 13:07:38 +00:00
d4d8c3b1cc Accepting request 1002442 from home:AndreasStieger:grep
fix build with GNU grep 3.8 (boo#1203231)

OBS-URL: https://build.opensuse.org/request/show/1002442
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=119
2022-09-12 07:51:21 +00:00
ef07fe06eb Accepting request 990379 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/990379
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=61
2022-07-22 17:20:19 +00:00
245a70844b Accepting request 990284 from home:dirkmueller:Factory
- add disable-newpdf-renderer.patch (bsc#1201642)

OBS-URL: https://build.opensuse.org/request/show/990284
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=117
2022-07-20 10:13:26 +00:00
19f7b760a2 Accepting request 963461 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/963461
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=60
2022-03-23 19:15:24 +00:00
ebe26d1524 Accepting request 963358 from home:dirkmueller:Factory
- update to 10.6.3:
  * Minor internal changes to assist with building in other
    environments: rename internal bits.icc to qpdf/bits_functions.hh
    (not part of public API), enforce reordering of header files to
    prevent jpeglib.h from interfering with other headers, remove an
    unused header that was accidentally added in 10.6.0 but never
    referenced by any code.
  * Make build work and tests work when NDEBUG is defined. This
    involved a few changes to some test files but no changes to any
    library code.
  * Bug fix in JSON parser: accept \/ in a string as valid input per
    JSON spec even though we don't translate / to \/ on output.
  * Recognize PDF strings explicitly marked as UTF-8 as allowed by
    the PDF 2.0 spec. Fixes #654.
  * Bug fix: when generating appearance streams, the font size was
    substituted incorrectly from /DA if Tf was absent or the number
    preceding Tf was out of range. Fixes #655.

OBS-URL: https://build.opensuse.org/request/show/963358
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=115
2022-03-21 07:21:58 +00:00
cc0535a440 Accepting request 957060 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/957060
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=59
2022-02-24 17:18:26 +00:00
4248d7474a Accepting request 957019 from home:iznogood:factory
- Update to version 10.6.2:
  * Recognize strings encoded as UTF-16LE as Unicode. The PDF spec
    only allows UTF-16BE, but most readers accept UTF16-LE as well.
  * Fix a regression in command-line argument parsing to restore a
    previously undocumented behavior that some people were relying
    on.
  * Fix one more problem with mapping Unicode to PDF doc encoding.
- Drop fix-signedness-warning.patch for real, the patch was still
  present in obs.

OBS-URL: https://build.opensuse.org/request/show/957019
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=114
2022-02-23 12:25:21 +00:00
989173f3a2 Accepting request 954402 from home:dirkmueller:Factory
- update to 10.6.1:
  * All functionality previously available only from the qpdf CLI has been
    exposed to the library using a new QPDFJob API, which includes fluent
    interfaces as well as a JSON format that's equivalent to qpdf's
    command-line arguments.
  * Many new interfaces have been added to QPDFObjectHandle and the C API to
    allow more convient ways querying types and accessing object values in a
    more type-safe fashion.
  * qpdf --help has been revamped so that help is divided into categories, and
    help is available for each option
  * The Running qpdf section of the manual has been rewritten. The manual now
    includes an index of command-line arguments.
  * see https://qpdf.readthedocs.io/en/stable/release-notes.html

- drop build-without-pdf.patch, fix-signedness-warning.patch (upstream)

OBS-URL: https://build.opensuse.org/request/show/954402
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=113
2022-02-14 22:27:00 +00:00
419cd436ba Accepting request 945525 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/945525
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=58
2022-01-12 23:22:04 +00:00
5c5fef0936 Accepting request 945415 from home:dirkmueller:Factory
- add fix-signedness-warning.patch (build for aarch64)

OBS-URL: https://build.opensuse.org/request/show/945415
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=112
2022-01-11 09:00:35 +00:00
218bb9d5fa Accepting request 943949 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/943949
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=57
2022-01-07 11:44:51 +00:00
e913056c51 Accepting request 943944 from home:dirkmueller:Factory
- update to 10.5.0:
  * Since qpdf version 8, using object accessor methods on an
    instance of ``QPDFObjectHandle`` may create warnings if the
    object is not of the expected type. These warnings now have an
    error code of ``qpdf_e_object`` instead of
    ``qpdf_e_damaged_pdf``. Also, comments have been added to
    :file:`QPDFObjectHandle.hh` to explain in more detail what the
    behavior is. See :ref:`object-accessors` for a more in-depth
    discussion.
  * Add ``Pl_Buffer::getMallocBuffer()`` to initialize a buffer
    allocated with ``malloc()`` for better cross-language
    interoperability.
  * Overhaul error handling for the object handle functions C API.
    Some rare error conditions that would previously have caused a
    crash are now trapped and reported, and the functions that
    generate them return fallback values. See comments in the
    ``ERROR HANDLING`` section of :file:`include/qpdf/qpdf-c.h` for
    details. In particular, exceptions thrown by the underlying C++
    code when calling object accessors are caught and converted into
    errors. The errors can be checked by calling ``qpdf_has_error``.
    Use ``qpdf_silence_errors`` to prevent the error from being
    written to stderr.
  * Add ``qpdf_get_last_string_length`` to the C API to get the
    length of the last string that was returned. This is needed to
    handle strings that contain embedded null characters.
  * Add ``qpdf_oh_is_initialized`` and
    ``qpdf_oh_new_uninitialized`` to the C API to make it possible
    to work with uninitialized objects.
  * Add ``qpdf_oh_new_object`` to the C API. This allows you to
    clone an object handle.

OBS-URL: https://build.opensuse.org/request/show/943944
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=111
2022-01-05 10:11:08 +00:00
9330fd1440 Accepting request 934623 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/934623
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=56
2021-12-01 19:46:16 +00:00
260ae39a48 Accepting request 934176 from home:dirkmueller:Factory
- update to 10.4.0:
  * From the qpdf CLI, the --allow-weak-crypto is now required to suppress a
    warning when explicitly creating PDF files using RC4 encryption. While qpdf
    will always retain the ability to read and write such files, doing so will
    require explicit acknowledgment moving forward. For qpdf 10.4, this change
    only affects the command-line tool. Starting in qpdf 11, there will be
    small API changes to require explicit acknowledgment in those cases as
    well. For additional information, see Chapter 6, Weak Cryptography.
  * Fix potential bounds error when handling shell completion that could occur
    when given bogus input.
  * Properly handle overlay/underlay on completely empty pages
  * Fix crash that could occur under certain conditions when using --pages with
    files that had form fields.
  * Make QPDF::findPage functions public.
  * Add methods to Pl_Flate to be able to receive warnings on certain recoverable
    conditions.
  * Add an extra check to the library to detect when foreign objects are inserted
    directly (instead of using QPDF::copyForeignObject) at the time of insertion
    rather than when the file is written. Catching the error sooner makes it much
    easier to locate the incorrect code.
  * Improve diagnostics around parsing --pages command-line options

OBS-URL: https://build.opensuse.org/request/show/934176
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=110
2021-11-29 19:39:34 +00:00
5134593e8d Accepting request 892116 from devel:libraries:c_c++
- Update to version 10.3.2
  * See http://qpdf.sourceforge.net/files/qpdf-manual.html#ref.release-notes
    for the complete changelog.

OBS-URL: https://build.opensuse.org/request/show/892116
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=55
2021-05-13 20:17:15 +00:00
Ismail Dönmez
e13186d780 -
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=108
2021-05-10 19:23:34 +00:00
Ismail Dönmez
d60fad3cbd - Update to version 10.3.1
* See http://qpdf.sourceforge.net/files/qpdf-manual.html#ref.release-notes
    for the complete changelog.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=107
2021-05-10 19:18:47 +00:00
Richard Brown
58429b7b72 Accepting request 878472 from devel:libraries:c_c++
- Update to version 10.3.1
  * See http://qpdf.sourceforge.net/files/qpdf-manual.html#ref.release-notes
    for the complete changelog.

OBS-URL: https://build.opensuse.org/request/show/878472
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=54
2021-03-16 14:43:39 +00:00
Ismail Dönmez
f921a36f5d - Update to version 10.3.1
* See http://qpdf.sourceforge.net/files/qpdf-manual.html#ref.release-notes
    for the complete changelog.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=105
2021-03-12 06:53:31 +00:00
9894db7a86 Accepting request 877261 from devel:libraries:c_c++
- Update to version 10.3.0
  * See http://qpdf.sourceforge.net/files/qpdf-manual.html#ref.release-notes
    for the complete changelog.

OBS-URL: https://build.opensuse.org/request/show/877261
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=53
2021-03-10 07:50:27 +00:00
Ismail Dönmez
f9234ec933 - Update to version 10.3.0
* See http://qpdf.sourceforge.net/files/qpdf-manual.html#ref.release-notes
    for the complete changelog.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=103
2021-03-05 15:24:20 +00:00
Richard Brown
ada12cb081 Accepting request 874989 from devel:libraries:c_c++
- Update to version 10.2.0
  * See http://qpdf.sourceforge.net/files/qpdf-manual.html#ref.release-notes
    for the complete changelog.

OBS-URL: https://build.opensuse.org/request/show/874989
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=52
2021-03-02 11:25:44 +00:00
Ismail Dönmez
3011461e63 - Update to version 10.2.0
* See http://qpdf.sourceforge.net/files/qpdf-manual.html#ref.release-notes
    for the complete changelog.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=101
2021-02-25 08:05:53 +00:00
a4db1f6be5 Accepting request 860521 from devel:libraries:c_c++
- Update to version 10.1.0
  * See http://qpdf.sourceforge.net/files/qpdf-manual.html#ref.release-notes
    for the complete changelog.

OBS-URL: https://build.opensuse.org/request/show/860521
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=51
2021-01-10 18:38:31 +00:00
Ismail Dönmez
d156dc43a0 - Update to version 10.1.0
* See http://qpdf.sourceforge.net/files/qpdf-manual.html#ref.release-notes
    for the complete changelog.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=99
2021-01-05 18:34:52 +00:00
8198d15588 Accepting request 849955 from devel:libraries:c_c++
- Update to version 10.0.4
  * Fix a handful of integer overflows.

OBS-URL: https://build.opensuse.org/request/show/849955
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=50
2020-11-26 22:10:28 +00:00
Ismail Dönmez
70182fe713 - Update to version 10.0.4
* Fix a handful of integer overflows.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=97
2020-11-22 10:42:09 +00:00
f77fef0414 Accepting request 845210 from devel:libraries:c_c++
- Update to version 10.0.3
  * Fixes a regression introduced in 10.0.2

- Update to version 10.0.2
  * Bug fixes and performance improvements
  * See http://qpdf.sourceforge.net/files/qpdf-manual.html#ref.release-notes
    for a complete changelog.

OBS-URL: https://build.opensuse.org/request/show/845210
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=49
2020-11-02 08:38:38 +00:00
Ismail Dönmez
48a2eb390d - Update to version 10.0.3
* Fixes a regression introduced in 10.0.2

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=95
2020-10-31 21:02:37 +00:00
Ismail Dönmez
b34d57468d - Update to version 10.0.2
* Bug fixes and performance improvements
  * See http://qpdf.sourceforge.net/files/qpdf-manual.html#ref.release-notes
    for a complete changelog.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=94
2020-10-28 12:14:26 +00:00
b27a450a2a Accepting request 792831 from devel:libraries:c_c++
- Update to version 10.0.1
  * Fixes a regression in QPDFObjectHandle::getStreamData

OBS-URL: https://build.opensuse.org/request/show/792831
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=48
2020-04-13 10:49:17 +00:00
Ismail Dönmez
8d64784436 - Update to version 10.0.1
* Fixes a regression in QPDFObjectHandle::getStreamData

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=92
2020-04-10 04:33:19 +00:00
a1ec65ef4f Accepting request 791839 from devel:libraries:c_c++
- Update to version 10.0.0 
  * Several internal optimizations
  * OpenSSL support as alternative crypto provider
  * Bug fixes
  * See http://qpdf.sourceforge.net/files/qpdf-manual.html#ref.release-notes
    for the complete changelog.
- Add BR on pkgconfig(openssl) to add support for OpenSSL crypto
  provider and enable with --enable-crypto-openssl.
- Drop BR on pkgconfig(gnutls) now that we have OpenSSL support.
- Pass --disable-implicit-crypto to configure to make sure weak
  crypto code is disabled.

OBS-URL: https://build.opensuse.org/request/show/791839
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=47
2020-04-09 21:14:26 +00:00
Ismail Dönmez
96df71459d - Update to version 10.0.0
* Several internal optimizations
  * OpenSSL support as alternative crypto provider
  * Bug fixes
  * See http://qpdf.sourceforge.net/files/qpdf-manual.html#ref.release-notes
    for the complete changelog.
- Add BR on pkgconfig(openssl) to add support for OpenSSL crypto
  provider and enable with --enable-crypto-openssl.
- Drop BR on pkgconfig(gnutls) now that we have OpenSSL support.
- Pass --disable-implicit-crypto to configure to make sure weak
  crypto code is disabled.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=90
2020-04-06 18:33:45 +00:00
66011c92cd Accepting request 767599 from devel:libraries:c_c++
- Update to version 9.1.1
  * fix-qdf is rewritten in C++
  * Added options --is-encrypted and --requires-password for testing
    whether a file is encrypted or requires a password other than
    the supplied (or empty) password.
  * Added encrypt key to JSON options. With the exception of the
    reconstructed user password for older encryption formats,
    this provides the same information as --show-encryption but in
    a consistent, parseable format. See output of qpdf --json-help
    for details.
  * In QDF mode, be sure not to write more than one XRef stream to a
    file, even when --preserve-unreferenced is used. fix-qdf
    assumes that there is only one XRef stream, and that it appears
    at the end of the file.
  * When externalizing inline images, properly handle images whose
    color space is a reference to an object in the page's resource
    dictionary.

OBS-URL: https://build.opensuse.org/request/show/767599
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=46
2020-01-30 08:34:52 +00:00
Ismail Dönmez
f41a628cce - Update to version 9.1.1
* fix-qdf is rewritten in C++
  * Added options --is-encrypted and --requires-password for testing
    whether a file is encrypted or requires a password other than
    the supplied (or empty) password.
  * Added encrypt key to JSON options. With the exception of the
    reconstructed user password for older encryption formats,
    this provides the same information as --show-encryption but in
    a consistent, parseable format. See output of qpdf --json-help
    for details.
  * In QDF mode, be sure not to write more than one XRef stream to a
    file, even when --preserve-unreferenced is used. fix-qdf
    assumes that there is only one XRef stream, and that it appears
    at the end of the file.
  * When externalizing inline images, properly handle images whose
    color space is a reference to an object in the page's resource
    dictionary.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=88
2020-01-27 08:00:25 +00:00
90a1880446 Accepting request 749120 from devel:libraries:c_c++
- Update to version 9.1.0
  * Incorporate contribution from Masamichi Hosoda to properly handle
    signature dictionaries by not including them in object streams,
    formatting the Contents key has a hexadecimal string,
    and excluding the /Contents key from encryption and decryption.
  * Incorporate contribution from Masamichi Hosoda to provide new API
    calls for getting file-level information about input and output files,
    enabling certain operations on the files at the file level rather
    than the object level. New methods include QPDF::getXRefTable(), 
    QPDFObjectHandle::getParsedOffset(), 
    QPDFWriter::getRenumberedObjGen(QPDFObjGen), 
    and QPDFWriter::getWrittenXRefTable().
  * Support build-time and runtime selectable crypto providers.
    This includes the addition of new classes QPDFCryptoProvider
    and QPDFCryptoImpl and the recognition of the QPDF_CRYPTO_PROVIDER
    environment variable. Crypto providers are described in depth
    in Section 2.3, “Crypto Providers”.
  * Addition of the --show-crypto option in support of selectable
    crypto providers, as described in Section 2.3, “Crypto Providers”.
  * Allow :even or :odd to be appended to numeric ranges for
    specification of the even or odd pages from among the pages
    specified in the range.
* Add BR on pkgconfig(gnutls) to add support for GnuTLS for encryption
  operations.

OBS-URL: https://build.opensuse.org/request/show/749120
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=45
2019-11-20 12:43:45 +00:00
Ismail Dönmez
070efbbf96 - Update to version 9.1.0
* Incorporate contribution from Masamichi Hosoda to properly handle
    signature dictionaries by not including them in object streams,
    formatting the Contents key has a hexadecimal string,
    and excluding the /Contents key from encryption and decryption.
  * Incorporate contribution from Masamichi Hosoda to provide new API
    calls for getting file-level information about input and output files,
    enabling certain operations on the files at the file level rather
    than the object level. New methods include QPDF::getXRefTable(), 
    QPDFObjectHandle::getParsedOffset(), 
    QPDFWriter::getRenumberedObjGen(QPDFObjGen), 
    and QPDFWriter::getWrittenXRefTable().
  * Support build-time and runtime selectable crypto providers.
    This includes the addition of new classes QPDFCryptoProvider
    and QPDFCryptoImpl and the recognition of the QPDF_CRYPTO_PROVIDER
    environment variable. Crypto providers are described in depth
    in Section 2.3, “Crypto Providers”.
  * Addition of the --show-crypto option in support of selectable
    crypto providers, as described in Section 2.3, “Crypto Providers”.
  * Allow :even or :odd to be appended to numeric ranges for
    specification of the even or odd pages from among the pages
    specified in the range.
* Add BR on pkgconfig(gnutls) to add support for GnuTLS for encryption
  operations.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=86
2019-11-17 13:55:56 +00:00
31bcfe5ce8 Accepting request 738319 from devel:libraries:c_c++
- Update to version 9.0.2
  * Fix the name of the temporary file used by --replace-input so
    that it doesn't require path splitting and works with paths
    include directories.

OBS-URL: https://build.opensuse.org/request/show/738319
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=44
2019-10-17 10:18:01 +00:00
Ismail Dönmez
a1868efec8 - Update to version 9.0.2
* Fix the name of the temporary file used by --replace-input so
    that it doesn't require path splitting and works with paths
    include directories.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=84
2019-10-14 12:01:27 +00:00
7a0c922daa Accepting request 732210 from devel:libraries:c_c++
- Update to version 9.0.1
  * Upstream fixed bsc#1150151, removed explicit -fsigned-chars
    from CXXFLAGS
  * See included ChangeLog file for the complete changelog

OBS-URL: https://build.opensuse.org/request/show/732210
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=43
2019-09-25 05:53:15 +00:00
Ismail Dönmez
f485e2c0ea - Update to version 9.0.1
* Upstream fixed bsc#1150151, removed explicit -fsigned-chars
    from CXXFLAGS
  * See included ChangeLog file for the complete changelog

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=82
2019-09-20 14:53:20 +00:00
990e122f00 Accepting request 730146 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/730146
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=42
2019-09-18 11:05:44 +00:00
Ismail Dönmez
53bddfb8d1 Accepting request 729970 from home:mgorse:branches:devel:libraries:c_c++
- Add -fsigned-char to CXXFLAGS. Otherwise, tests fail on ppc64le,
  s390x, and aarch64 (bsc#1150151).

OBS-URL: https://build.opensuse.org/request/show/729970
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=80
2019-09-11 13:20:23 +00:00
e54edac3c5 Accepting request 727558 from devel:libraries:c_c++
- Update to version 9.0.0
  * See included ChangeLog file for the complete changelog

OBS-URL: https://build.opensuse.org/request/show/727558
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=41
2019-09-11 08:19:49 +00:00
Ismail Dönmez
a8d01b051c - Update to version 9.0.0
* See included ChangeLog file for the complete changelog

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=78
2019-09-01 06:26:38 +00:00
b84d883573 Accepting request 699431 from devel:libraries:c_c++
- Update to version 8.4.1
  * See included ChangeLog file for the complete changelog

OBS-URL: https://build.opensuse.org/request/show/699431
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=40
2019-05-02 17:14:59 +00:00
Ismail Dönmez
f69e44986c - Update to version 8.4.1
* See included ChangeLog file for the complete changelog

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=76
2019-04-29 13:34:12 +00:00
Stephan Kulow
15d709b22d Accepting request 671340 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/671340
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=39
2019-02-08 12:46:22 +00:00
Ismail Dönmez
4d5c86c97b Accepting request 671023 from home:namtrac:branches:devel:libraries:c_c++
- Update to version 8.4.0
  See included ChangeLog file for the complete changelog
- Drop qpdf-data-loss-fix.patch, fixed upstream.

  See included ChangeLog file for the complete changelog

OBS-URL: https://build.opensuse.org/request/show/671023
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=74
2019-02-05 09:18:23 +00:00
f26195798d Accepting request 667891 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/667891
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=38
2019-01-25 21:41:52 +00:00
b1a8339e4c Accepting request 667597 from home:namtrac:branches:devel:libraries:c_c++
- Update to version 8.3.0
  See included ChangeLog for the complete changelog
- Add qpdf-data-loss-fix.patch to fix
  https://github.com/qpdf/qpdf/issues/276

OBS-URL: https://build.opensuse.org/request/show/667597
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=72
2019-01-22 22:25:02 +00:00
4a9e783a49 Accepting request 630484 from devel:libraries:c_c++
- Update to version 8.2.1
  Command-line Enchancements
  * Add --keep-files-open=[yn] to override default determination
    of whether to keep files open when merging.
- Update to version 8.2.0
  Command-line Enhancements
  * Add --no-warn option to suppress issuing warning messages.
    If there are any conditions that would have caused warnings
    to be issued, the exit status is still 3.
  Bug fixesd and Optimizations
  * Performance fix: optimize page merging operation to avoid
    unnecessary open/close calls on files being merged. This
    solves a dramatic slow-down that was observed when merging
    certain types of files.
  * Optimize how memory was used for the TIFF predictor,
    drastically improving performance and memory usage for files
    containing high-resolution images compressed with Flate
    using the TIFF predictor.
  * Bug fix: end of line characters were not properly handled
    inside strings in some cases.
  * Bug fix: using --progress on very small files could cause
    an infinite loop.
  API enhancements
  * Add new class QPDFSystemError, derived from std::runtime_error,
    which is now thrown by QUtil::throw_system_error. This enables
    the triggering errno value to be retrieved.
  * Add ClosedFileInputSource::stayOpen method, enabling a
    ClosedFileInputSource to stay open during manually indicated
    periods of high activity, thus reducing the overhead of
    frequent open/close operations.

OBS-URL: https://build.opensuse.org/request/show/630484
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=37
2018-08-28 07:20:39 +00:00
Ismail Dönmez
80bade739d - Update to version 8.2.1
Command-line Enchancements
  * Add --keep-files-open=[yn] to override default determination
    of whether to keep files open when merging.
- Update to version 8.2.0
  Command-line Enhancements
  * Add --no-warn option to suppress issuing warning messages.
    If there are any conditions that would have caused warnings
    to be issued, the exit status is still 3.
  Bug fixesd and Optimizations
  * Performance fix: optimize page merging operation to avoid
    unnecessary open/close calls on files being merged. This
    solves a dramatic slow-down that was observed when merging
    certain types of files.
  * Optimize how memory was used for the TIFF predictor,
    drastically improving performance and memory usage for files
    containing high-resolution images compressed with Flate
    using the TIFF predictor.
  * Bug fix: end of line characters were not properly handled
    inside strings in some cases.
  * Bug fix: using --progress on very small files could cause
    an infinite loop.
  API enhancements
  * Add new class QPDFSystemError, derived from std::runtime_error,
    which is now thrown by QUtil::throw_system_error. This enables
    the triggering errno value to be retrieved.
  * Add ClosedFileInputSource::stayOpen method, enabling a
    ClosedFileInputSource to stay open during manually indicated
    periods of high activity, thus reducing the overhead of
    frequent open/close operations.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=70
2018-08-20 08:46:21 +00:00
0bc5eed627 Accepting request 619138 from devel:libraries:c_c++
- Update to version 8.1.0
  Usability improvements:
  * When splitting files, qpdf detects fonts and images that the
    document metadata claims are referenced from a page but are
    not actually referenced and omits them from the output file.
  * When merging multiple PDF files, qpdf no longer leaves all
    the files open.
  * The --rotate option's syntax has been extended to make the
    page range optional. If you specify --rotate=angle without
    specifying a page range, the rotation will be applied to
    all pages.
  * When merging multiple files, the --verbose option now prints
    information about each file as it operates on that file.
  * When the --progress option is specified, qpdf will print a
    running indicator of its best guess at how far through the
    writing process it is. 
  Bug fixes:
  
  * Properly decrypt files that use revision 3 of the standard
    security handler but use 40 bit keys 
    (even though revision 3 supports 128-bit keys).
  * Limit depth of nested data structures to prevent crashes
    from certain types of malformed (malicious) PDFs.
  * In “newline before endstream” mode, insert the required
    extra newline before the endstream at the end of object streams.
  Please see included ChangeLog for complete changelog including
  API changes.

OBS-URL: https://build.opensuse.org/request/show/619138
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=36
2018-07-04 21:49:26 +00:00
Ismail Dönmez
2905b8ad8c - Update to version 8.1.0
Usability improvements:
  * When splitting files, qpdf detects fonts and images that the
    document metadata claims are referenced from a page but are
    not actually referenced and omits them from the output file.
  * When merging multiple PDF files, qpdf no longer leaves all
    the files open.
  * The --rotate option's syntax has been extended to make the
    page range optional. If you specify --rotate=angle without
    specifying a page range, the rotation will be applied to
    all pages.
  * When merging multiple files, the --verbose option now prints
    information about each file as it operates on that file.
  * When the --progress option is specified, qpdf will print a
    running indicator of its best guess at how far through the
    writing process it is. 
  Bug fixes:
  
  * Properly decrypt files that use revision 3 of the standard
    security handler but use 40 bit keys 
    (even though revision 3 supports 128-bit keys).
  * Limit depth of nested data structures to prevent crashes
    from certain types of malformed (malicious) PDFs.
  * In “newline before endstream” mode, insert the required
    extra newline before the endstream at the end of object streams.
  Please see included ChangeLog for complete changelog including
  API changes.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=68
2018-06-26 10:38:08 +00:00
6db4044348 Accepting request 583769 from devel:libraries:c_c++
- Update to version 8.0.2
  * Proper handling of pages with no content
  * Better handling of files with loops following cross reference
    tables

- Update to version 8.0.1
  * Handle zlib streams with data checksum errors
  * In the command line tool, allow specification of page numbers
    counting from the end in page ranges.

OBS-URL: https://build.opensuse.org/request/show/583769
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=35
2018-03-12 11:04:09 +00:00
Ismail Dönmez
24f499013f - Update to version 8.0.2
* Proper handling of pages with no content
  * Better handling of files with loops following cross reference
    tables

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=66
2018-03-07 09:13:53 +00:00
Ismail Dönmez
b9ea746e98 - Update to version 8.0.1
* Handle zlib streams with data checksum errors
  * In the command line tool, allow specification of page numbers
    counting from the end in page ranges.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=65
2018-03-05 10:49:57 +00:00
7c6157e5b5 Accepting request 580506 from devel:libraries:c_c++
- 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
2018-03-01 11:06:36 +00:00
Ismail Dönmez
03abd4b0d4 -
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=63
2018-02-27 08:48:05 +00:00
Ismail Dönmez
b9e3332798 - 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/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=62
2018-02-27 08:47:16 +00:00
cadb6a03de Accepting request 572535 from devel:libraries:c_c++
- Update to version 7.1.1
  * Fix one linearization bug affecting files whose first /ID
    component is not 16 bytes long
  * Fix some build issues
- Add signature and keyring

OBS-URL: https://build.opensuse.org/request/show/572535
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=33
2018-02-06 15:46:28 +00:00
Ismail Dönmez
3d719c54c0 - Update to version 7.1.1
* Fix one linearization bug affecting files whose first /ID
    component is not 16 bytes long
  * Fix some build issues
- Add signature and keyring

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=60
2018-02-05 09:58:55 +00:00
6441c6e081 Accepting request 568821 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/568821
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=32
2018-01-26 12:56:13 +00:00
6b76a726d6 Accepting request 568802 from home:avindra
- 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
2018-01-24 07:39:59 +00:00
d194471844 Accepting request 527520 from devel:libraries:c_c++
- 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
2017-09-25 11:53:11 +00:00
Ismail Dönmez
9626e4c933 -
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=56
2017-09-20 11:58:50 +00:00
Ismail Dönmez
b629b9d566 - Update to version 7.0.0
* 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
2017-09-20 11:58:26 +00:00
Stephan Kulow
2a57df0a95 Accepting request 343515 from devel:libraries:c_c++
- Update to version 6.0.0
  * Bump shared library version since 5.2.0 broke ABI.

- Update to version 5.2.0
  * Support for deterministic /IDs for non-encrypted files. This is
    off by default.
  * Handle more invalid xref tables

OBS-URL: https://build.opensuse.org/request/show/343515
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=30
2015-11-22 09:58:31 +00:00
Ismail Dönmez
3a4d7ad503 - Update to version 6.0.0
* Bump shared library version since 5.2.0 broke ABI.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=53
2015-11-10 19:24:56 +00:00
Ismail Dönmez
dda98465a6 - Update to version 5.2.0
* Support for deterministic /IDs for non-encrypted files. This is
    off by default.
  * Handle more invalid xref tables

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=52
2015-11-08 11:14:15 +00:00
90b2d5659b Accepting request 308619 from devel:libraries:c_c++
- Update to version 5.1.3
  * Handle object streams with more than 255 objects
  * Security fixes courtesy of Google Security Team
  * Properly handle pages that have no content
  * Robustness fixes for invalid PDF files

OBS-URL: https://build.opensuse.org/request/show/308619
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=29
2015-05-27 10:38:49 +00:00
Ismail Dönmez
bef8e57628 - Update to version 5.1.3
* Handle object streams with more than 255 objects
  * Security fixes courtesy of Google Security Team
  * Properly handle pages that have no content
  * Robustness fixes for invalid PDF files

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=50
2015-05-25 09:08:18 +00:00
Stephan Kulow
56594d0754 Accepting request 236946 from devel:libraries:c_c++
- Update to version 5.1.2
  * Please see the included ChangeLog file

OBS-URL: https://build.opensuse.org/request/show/236946
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=27
2014-06-16 19:43:04 +00:00
Ismail Dönmez
6b4e373d62 - Update to version 5.1.2
* Please see the included ChangeLog file

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=48
2014-06-12 07:57:21 +00:00
Stephan Kulow
511a3ab83c Accepting request 215559 from devel:libraries:c_c++
Provide the license source file Artistic-2.0 in the binary RPM (forwarded request 215486 from jsmeix)

OBS-URL: https://build.opensuse.org/request/show/215559
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=26
2014-01-29 21:22:20 +00:00
Ismail Dönmez
4048f6cac1 Accepting request 215486 from home:jsmeix:branches:devel:libraries:c_c++
Provide the license source file Artistic-2.0 in the binary RPM

OBS-URL: https://build.opensuse.org/request/show/215486
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=46
2014-01-29 17:01:56 +00:00
Stephan Kulow
6272044a68 Accepting request 214178 from devel:libraries:c_c++
- Update to version 5.1.1
  * Fixes https://github.com/qpdf/qpdf/issues/28

OBS-URL: https://build.opensuse.org/request/show/214178
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=25
2014-01-20 19:44:00 +00:00
Ismail Dönmez
02fe609c83 - Update to version 5.1.1
* Fixes https://github.com/qpdf/qpdf/issues/28

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=44
2014-01-17 12:18:21 +00:00
Stephan Kulow
64b35a7e28 Accepting request 211438 from devel:libraries:c_c++
- Update to version 5.1.0
  * Add ability to provide your own source of random numbers
    at runtime
  * More handling of damaged PDF files

OBS-URL: https://build.opensuse.org/request/show/211438
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=24
2013-12-19 11:31:49 +00:00
Ismail Dönmez
57e98b615e - Update to version 5.1.0
* Add ability to provide your own source of random numbers
    at runtime
  * More handling of damaged PDF files

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=42
2013-12-18 18:11:56 +00:00
Tomáš Chvátal
7ef86f2394 Accepting request 204265 from devel:libraries:c_c++
- Update to version 5.0.1
  * Some security fixes, courtesy of Redhat

OBS-URL: https://build.opensuse.org/request/show/204265
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=23
2013-10-23 08:11:09 +00:00
Ismail Dönmez
9430c48aee - Update to version 5.0.1
* Some security fixes, courtesy of Redhat

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=40
2013-10-22 09:36:29 +00:00
Stephan Kulow
c698c55ab0 Accepting request 182762 from devel:libraries:c_c++
- Update to 5.0.0
  * Same as 4.2.0 but shared lib version bumped due to ABI changes
- Apply shared library packaging policy

OBS-URL: https://build.opensuse.org/request/show/182762
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=21
2013-07-12 18:57:08 +00:00
Ismail Dönmez
6b2b1d8ff2 - Update to 5.0.0
* Same as 4.2.0 but shared lib version bumped due to ABI changes
- Apply shared library packaging policy

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=38
2013-07-10 18:21:07 +00:00
Stephan Kulow
df449b7bdc Accepting request 182475 from devel:libraries:c_c++
- 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
2013-07-08 19:45:49 +00:00
Ismail Dönmez
f4bfb51003 - 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/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=36
2013-07-08 10:17:36 +00:00
Stephan Kulow
b016d94944 Accepting request 164008 from devel:libraries:c_c++
- Update to version 4.1.0
  * New API calls for parsing PDF content streams
  * qpdf --check now parses all pages' content streams in addition
    to doing other checks.
  * Overridden compressed objects are properly handled.
- Drop qpdf-ppc64.patch: merged upstream

OBS-URL: https://build.opensuse.org/request/show/164008
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=19
2013-04-15 09:17:27 +00:00
Ismail Dönmez
f2615d7313 - Update to version 4.1.0
* New API calls for parsing PDF content streams
  * qpdf --check now parses all pages' content streams in addition
    to doing other checks.
  * Overridden compressed objects are properly handled.
- Drop qpdf-ppc64.patch: merged upstream

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=34
2013-04-14 21:20:31 +00:00
Ismail Dönmez
af75a4a114 Accepting request 146937 from devel:libraries:c_c++
- 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
2013-01-04 10:38:14 +00:00
Ismail Dönmez
5769b797c5 Accepting request 146935 from home:k0da:ppc
- 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.

OBS-URL: https://build.opensuse.org/request/show/146935
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=32
2013-01-03 22:04:25 +00:00
Ismail Dönmez
6112c848e9 Accepting request 146752 from devel:libraries:c_c++
- Update to version 4.0.0
  * 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/request/show/146752
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=16
2013-01-02 12:01:09 +00:00
Ismail Dönmez
5374bfae8c - Update to version 4.0.0
* 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
2012-12-31 20:10:23 +00:00
Stephan Kulow
7d3077eaf2 Accepting request 133223 from devel:libraries:c_c++
- Update to version 3.0.2
  * 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/request/show/133223
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=15
2012-09-11 07:18:53 +00:00
Ismail Dönmez
b9b13e321d - Update to version 3.0.2
* 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
2012-09-07 12:05:19 +00:00
Ismail Dönmez
5b67f74d01 Accepting request 130658 from devel:libraries:c_c++
- Update to version 3.0.1
  *  qpdf may falsely report premature EOF when reading files that 
     have object streams that end with scalars not followed by 
     whitespace.

OBS-URL: https://build.opensuse.org/request/show/130658
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=14
2012-08-12 13:27:59 +00:00
Ismail Dönmez
c267c879ec - Update to version 3.0.1
*  qpdf may falsely report premature EOF when reading files that 
     have object streams that end with scalars not followed by 
     whitespace.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=26
2012-08-11 19:27:36 +00:00
Stephan Kulow
9fb178b1f2 Accepting request 129653 from devel:libraries:c_c++
- Update to version 3.0.0
  * Page-based splitting and merging
  * Support for large files
  * The ability to set the encryption parameters of one file by copying
    them from another file. 
  * Support for creating PDF files from scratch
- Drop applied patches

OBS-URL: https://build.opensuse.org/request/show/129653
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=13
2012-08-04 07:31:33 +00:00
Ismail Dönmez
ccab451983 - Update to version 3.0.0
* Page-based splitting and merging
  * Support for large files
  * The ability to set the encryption parameters of one file by copying
    them from another file. 
  * Support for creating PDF files from scratch
- Drop applied patches

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=24
2012-08-02 11:54:47 +00:00
Stephan Kulow
cee5e65200 Accepting request 114947 from devel:libraries:c_c++
Fix build with gcc 4.7 - Please work with upstream to resolve it in upstream code base. There is also a chance that a newer version of the package might have this fixed already. (forwarded request 114934 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/114947
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=11
2012-04-23 14:12:46 +00:00
Ismail Dönmez
9c4acc270c Accepting request 114934 from home:dimstar:gcc47
Fix build with gcc 4.7 - Please work with upstream to resolve it in upstream code base. There is also a chance that a newer version of the package might have this fixed already.

OBS-URL: https://build.opensuse.org/request/show/114934
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=22
2012-04-22 13:30:43 +00:00
Stephan Kulow
f6363d7072 Accepting request 107116 from devel:libraries:c_c++
- fix build with pcre 8.30

OBS-URL: https://build.opensuse.org/request/show/107116
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=10
2012-02-27 17:36:19 +00:00
4fe93fa077 - fix build with pcre 8.30
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=20
2012-02-27 08:51:07 +00:00
Stephan Kulow
029bab6fb8 Accepting request 103129 from devel:libraries:c_c++
Forward

OBS-URL: https://build.opensuse.org/request/show/103129
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=9
2012-02-08 14:42:08 +00:00
Stephan Kulow
cd7c1c103e Accepting request 101210 from devel:libraries:c_c++
- Fix devel package requires
- Build with -fvisibility-inlines-hidden, test suite
  confirms it works and saves a few dozens of entries in the 
  exported symbol table. (forwarded request 101208 from elvigia)

OBS-URL: https://build.opensuse.org/request/show/101210
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=8
2012-01-25 09:40:53 +00:00
f2b1be4d59 Remove redundant sections
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=16
2012-01-24 12:07:42 +00:00
0e69130ab7 Accepting request 101208 from home:elvigia:branches:devel:libraries:c_c++
- Fix devel package requires
- Build with -fvisibility-inlines-hidden, test suite
  confirms it works and saves a few dozens of entries in the 
  exported symbol table.

OBS-URL: https://build.opensuse.org/request/show/101208
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=15
2012-01-23 19:36:48 +00:00
Stephan Kulow
4715fdf2b2 Accepting request 98601 from devel:libraries:c_c++
- Update to v2.3.1
  * Fix threading problem with PCRE usage

- Update to v2.2.4
- Update to v2.3.3

OBS-URL: https://build.opensuse.org/request/show/98601
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=7
2012-01-04 06:30:46 +00:00
Ismail Dönmez
c68d529673 -
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=12
2012-01-03 10:57:58 +00:00
Ismail Dönmez
e6e768b084 - Update to v2.3.1
* Fix threading problem with PCRE usage
- Update to v2.2.4
- Update to v2.3.3

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=11
2012-01-02 21:33:24 +00:00
Sascha Peilicke
fbd7f0e8f1 Autobuild autoformatter for 77997
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=4
2011-08-04 12:49:16 +00:00
Sascha Peilicke
0f3caa3434 Accepting request 77997 from devel:libraries:c_c++
- Update to v.2.2.4
  * Build system fixes
- Drop qpdf-gcc46.patch and qpdf-nostrip.patch: applied upstream

OBS-URL: https://build.opensuse.org/request/show/77997
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=3
2011-08-04 12:49:06 +00:00
Ismail Dönmez
0af86e66cc - Update to v.2.2.4
* Build system fixes
- Drop qpdf-gcc46.patch and qpdf-nostrip.patch: applied upstream

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=9
2011-08-04 11:37:35 +00:00
Sascha Peilicke
afe52a333c Autobuild autoformatter for 77853
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=2
2011-08-04 08:45:22 +00:00
OBS User buildservice-autocommit
e7dacea09c Updating link to change in openSUSE:Factory/qpdf revision 2.0
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=ff38d52256e65ae5f6bad4415321bc7b
2011-08-04 08:45:22 +00:00
Sascha Peilicke
7538051b08 Accepting request 77853 from devel:libraries:c_c++
qpdf is a C++ library with a console program for PDF manipulation. It has a non-trivial test-suite and included in Debian.

OBS-URL: https://build.opensuse.org/request/show/77853
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qpdf?expand=0&rev=1
2011-08-04 08:45:11 +00:00
Ismail Dönmez
98d8fe7d00 - Remove unicode data to make sure its not redistributed
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=7
2011-08-03 07:09:25 +00:00
Ismail Dönmez
40adfd788d Fix license string
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=6
2011-06-23 13:07:42 +00:00
Ismail Dönmez
cea8625d31 - Add qpdf-nostrip.patch: don't strip libraries
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=5
2011-06-23 13:03:03 +00:00
Ismail Dönmez
3d9860b1ba Really fix SLE11
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=4
2011-06-23 08:03:03 +00:00
Ismail Dönmez
bee48a698d Fix SLE11 build
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=3
2011-06-23 07:33:35 +00:00
Ismail Dönmez
ae8e1a1810 Fix build on 11.4
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=2
2011-06-23 07:29:53 +00:00
368e97b34b Accepting request 74351 from home:namtrac
qpdf is a library which can modify/transform PDF packages, as command line interface and a C++ library that can used from 3rd party applications.

OBS-URL: https://build.opensuse.org/request/show/74351
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/qpdf?expand=0&rev=1
2011-06-23 02:42:09 +00:00

Diff Content Not Available