commit b782d4be006c184c49c6b46bec1d23dd28f1683a
Author: Albert Astals Cid <aacid@kde.org>
Date:   Thu Jun 3 22:42:20 2021 +0200

    poppler 21.06.1

 CMakeLists.txt   | 2 +-
 NEWS             | 4 ++++
 cpp/Doxyfile     | 2 +-
 qt5/src/Doxyfile | 2 +-
 qt6/src/Doxyfile | 2 +-
 5 files changed, 8 insertions(+), 4 deletions(-)

commit b9314b06c7e458f26e7ca0d55b071f4eb1dced58
Author: Nelson Benítez León <nbenitezl@gmail.com>
Date:   Wed Jun 2 15:25:47 2021 +0100

    glib: fix poppler_rectangle_free() regression

    Regression from e3fed321f230a4a91df873e6d9a213ba8dad6694

    Fixes issue #1087

 glib/poppler-page.cc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 07edd3d3933549578f91f5744ea5d82feadeb3f6
Author: Albert Astals Cid <aacid@kde.org>
Date:   Tue Jun 1 23:07:40 2021 +0200

    poppler 21.06.0

 CMakeLists.txt         |  4 ++--
 NEWS                   | 20 ++++++++++++++++++++
 cpp/Doxyfile           |  2 +-
 qt5/src/CMakeLists.txt |  2 +-
 qt5/src/Doxyfile       |  2 +-
 qt6/src/CMakeLists.txt |  2 +-
 qt6/src/Doxyfile       |  2 +-
 7 files changed, 27 insertions(+), 7 deletions(-)

commit b4146c1bb021b48dba20ee343d8c3058ba4d756c
Author: Albert Astals Cid <aacid@kde.org>
Date:   Sun May 30 00:14:52 2021 +0200

    Move the ownerKey/userKey padding to the correct place

 poppler/SecurityHandler.cc | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

commit dc587846bff99b07dc351d2d21e5b6908c99afdb
Author: Albert Astals Cid <aacid@kde.org>
Date:   Sat May 29 01:31:02 2021 +0200

    pad ownerKey/userKey if < 32

    Inspired by xpdf

 poppler/SecurityHandler.cc | 11 +++++++++++
 1 file changed, 11 insertions(+)

commit 9293e4bf9f6fa6513ddd51fe3426c39b54b1a49d
Author: Albert Astals Cid <aacid@kde.org>
Date:   Thu May 27 23:30:46 2021 +0200

    Don't force ownerKey and userKey to be exacly 32 chars long

    The spec says that they have to be this long, but then when
    calculating
    the hashes says "if it is longer, cut it, if it is shorter, add these
    characters" (and we implement that) so it's a bit of spec mismatch.

    Fixes issue #1083

 poppler/SecurityHandler.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit c59a6ffe3d4168d40e8ee95801c09069a32c34d4
Author: Albert Astals Cid <aacid@kde.org>
Date:   Tue May 25 23:59:30 2021 +0200

    uintx -> uintx_t

    The non _t types were provided by libtiff and are now deprecated

 goo/TiffWriter.cc | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

commit 9700352e67fc35d3202a39b7dd593485d01d175d
Author: Albert Astals Cid <aacid@kde.org>
Date:   Tue May 25 23:11:00 2021 +0200

    Update (C) of last commit

 poppler/SecurityHandler.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit ed802a62ef42e7e19d632278c2ccb405c9db1a24
Author: Albert Astals Cid <aacid@kde.org>
Date:   Tue May 25 11:41:27 2021 +0200

    Be a bit more verbose when we think Invalid encryption key length
    is wrong

 poppler/SecurityHandler.cc | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

commit ad785d73c400a7681511b13ccd5d6de4b6cfa360
Author: Albert Astals Cid <aacid@kde.org>
Date:   Thu May 20 22:40:00 2021 +0200

    Update (C)

 qt6/demos/documentobserver.cpp       | 1 +
 qt6/demos/pageview.cpp               | 1 +
 qt6/demos/thumbnails.cpp             | 1 +
 qt6/demos/viewer.cpp                 | 2 +-
 qt6/demos/viewer.h                   | 1 +
 qt6/src/poppler-annotation-private.h | 1 +
 qt6/src/poppler-annotation.h         | 1 +
 qt6/src/poppler-document.cc          | 2 +-
 qt6/src/poppler-link-private.h       | 2 +-
 qt6/src/poppler-page-private.h       | 1 +
 qt6/src/poppler-page.cc              | 3 +--
 qt6/src/poppler-private.h            | 2 +-
 12 files changed, 12 insertions(+), 6 deletions(-)

commit 8f9115bf4475866eef160af06d17bcd0087cdaed
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri May 14 21:05:04 2021 +0200

    Remove OutlineItem::close

    It was only used in the Outline destructor and in HtmlOutputDev but
    there it was kind of pointless

 poppler/Outline.cc     | 20 +++++++-------------
 poppler/Outline.h      |  3 +--
 utils/HtmlOutputDev.cc |  2 --
 3 files changed, 8 insertions(+), 17 deletions(-)

commit 90bcd4967e82534f3c141c2c14cf292d6813bbd8
Author: Albert Astals Cid <aacid@kde.org>
Date:   Thu May 20 14:21:24 2021 +0200

    Cast to the actual type we're storing in

    Fixes a warning in gcc 11

 poppler/Form.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 45717a50c52ab13f405584eab4e1c586bd39a0ce
Author: Oliver Sander <oliver.sander@tu-dresden.de>
Date:   Wed May 19 21:58:33 2021 +0000

    Use std::unique_ptr in the Qt6 interface

 qt6/demos/documentobserver.cpp           |   2 +-
 qt6/demos/pageview.cpp                   |   3 +-
 qt6/demos/thumbnails.cpp                 |   3 +-
 qt6/demos/viewer.cpp                     |  15 ++---
 qt6/demos/viewer.h                       |   4 +-
 qt6/src/poppler-annotation-private.h     |   6 +-
 qt6/src/poppler-annotation.cc            |  92
 +++++++++++++--------------
 qt6/src/poppler-annotation.h             |  15 ++---
 qt6/src/poppler-document.cc              |  46 +++++++-------
 qt6/src/poppler-form.cc                  |  28 ++++----
 qt6/src/poppler-form.h                   |   8 +--
 qt6/src/poppler-link-extractor-private.h |   8 ++-
 qt6/src/poppler-link-extractor.cc        |  16 ++---
 qt6/src/poppler-link-private.h           |   2 +-
 qt6/src/poppler-link.cc                  |  14 ++--
 qt6/src/poppler-link.h                   |   4 +-
 qt6/src/poppler-page-private.h           |   4 +-
 qt6/src/poppler-page.cc                  | 106
 +++++++++++++++----------------
 qt6/src/poppler-private.h                |   2 +-
 qt6/src/poppler-qt6.h                    |  94
 ++++++++++-----------------
 qt6/tests/check_actualtext.cpp           |  22 ++-----
 qt6/tests/check_annotations.cpp          |  27 +++-----
 qt6/tests/check_attachments.cpp          |  27 ++------
 qt6/tests/check_fonts.cpp                |  63 ++++++------------
 qt6/tests/check_forms.cpp                |  68 ++++++++++----------
 qt6/tests/check_links.cpp                |  64 +++++++------------
 qt6/tests/check_metadata.cpp             |  91 ++++++--------------------
 qt6/tests/check_optcontent.cpp           |  20 ++----
 qt6/tests/check_pagelayout.cpp           |  15 +----
 qt6/tests/check_pagemode.cpp             |  25 ++------
 qt6/tests/check_password.cpp             |  40 +++---------
 qt6/tests/check_permissions.cpp          |   5 +-
 qt6/tests/check_search.cpp               |  30 ++++-----
 qt6/tests/check_stroke_opacity.cpp       |   2 +-
 qt6/tests/poppler-attachments.cpp        |   3 +-
 qt6/tests/poppler-fonts.cpp              |   3 +-
 qt6/tests/poppler-forms.cpp              |  19 +++---
 qt6/tests/poppler-page-labels.cpp        |   3 +-
 qt6/tests/poppler-texts.cpp              |   6 +-
 qt6/tests/stress-poppler-dir.cpp         |   7 +-
 qt6/tests/stress-poppler-qt6.cpp         |   6 +-
 qt6/tests/stress-threads-qt6.cpp         |  47 ++++++--------
 qt6/tests/test-password-qt6.cpp          |  22 +++----
 qt6/tests/test-poppler-qt6.cpp           |  36 ++++-------
 qt6/tests/test-render-to-file.cpp        |   6 +-
 45 files changed, 433 insertions(+), 696 deletions(-)

commit a89965b44f6a8b1bdf05d36380b9f883877fbdd2
Author: Albert Astals Cid <aacid@kde.org>
Date:   Sat May 15 00:26:42 2021 +0200

    Update (C)

 poppler/PDFDoc.cc           | 1 +
 poppler/PDFDoc.h            | 1 +
 poppler/XRef.cc             | 1 +
 poppler/XRef.h              | 1 +
 qt5/demos/viewer.cpp        | 1 +
 qt5/demos/viewer.h          | 1 +
 qt5/src/poppler-document.cc | 1 +
 qt5/src/poppler-private.cc  | 1 +
 qt5/src/poppler-private.h   | 1 +
 qt5/src/poppler-qt5.h       | 1 +
 qt6/demos/viewer.cpp        | 1 +
 qt6/demos/viewer.h          | 1 +
 qt6/src/poppler-document.cc | 1 +
 qt6/src/poppler-private.cc  | 1 +
 qt6/src/poppler-private.h   | 1 +
 qt6/src/poppler-qt6.h       | 1 +
 16 files changed, 16 insertions(+)

commit 2254e62a7e2fe3a4144251e47c7578ce3b717bc9
Author: Mahmoud Khalil <mahmoudkhalil11@gmail.com>
Date:   Wed Jan 27 21:14:57 2021 +0200

    Provides the `wasReconstructed` value to caller

    Modifies the Poppler backend library to call a callback method
    submitted
    by callers in case a XRef reconstruction occurs, as well as, providing
    an API for setting the callback from the qt5/qt6 frontend so that
    users
    be able to set callback and check whether it has already happened or
    not.

    FIXES #416

 poppler/PDFDoc.cc           | 20 ++++++++++----------
 poppler/PDFDoc.h            |  8 ++++----
 poppler/XRef.cc             |  8 +++++++-
 poppler/XRef.h              |  5 ++++-
 qt5/demos/viewer.cpp        | 21 +++++++++++++++++++++
 qt5/demos/viewer.h          |  2 ++
 qt5/src/poppler-document.cc | 10 ++++++++++
 qt5/src/poppler-private.cc  | 13 +++++++++++++
 qt5/src/poppler-private.h   | 19 +++++++++++++++----
 qt5/src/poppler-qt5.h       | 17 +++++++++++++++++
 qt6/demos/viewer.cpp        | 21 +++++++++++++++++++++
 qt6/demos/viewer.h          |  2 ++
 qt6/src/poppler-document.cc | 10 ++++++++++
 qt6/src/poppler-private.cc  | 13 +++++++++++++
 qt6/src/poppler-private.h   | 19 +++++++++++++++----
 qt6/src/poppler-qt6.h       | 17 +++++++++++++++++
 16 files changed, 181 insertions(+), 24 deletions(-)

commit 541e7778520bb99bd4c07ffcf62143ee3de406ff
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri May 14 21:32:44 2021 +0200

    Mark two Stream::isFoo functions as const

 poppler/DCTStream.cc      |  4 ++--
 poppler/DCTStream.h       |  4 ++--
 poppler/Decrypt.cc        |  4 ++--
 poppler/Decrypt.h         |  4 ++--
 poppler/FlateEncoder.h    |  6 ++---
 poppler/FlateStream.cc    |  4 ++--
 poppler/FlateStream.h     |  4 ++--
 poppler/JBIG2Stream.cc    |  2 +-
 poppler/JBIG2Stream.h     |  4 ++--
 poppler/JPEG2000Stream.cc |  2 +-
 poppler/JPEG2000Stream.h  |  4 ++--
 poppler/JPXStream.cc      |  4 ++--
 poppler/JPXStream.h       |  4 ++--
 poppler/PSOutputDev.cc    |  4 ++--
 poppler/Stream.cc         | 20 ++++++++--------
 poppler/Stream.h          | 58
 +++++++++++++++++++++++------------------------
 16 files changed, 66 insertions(+), 66 deletions(-)

commit 5e543fceba7ffc370d3523715568cdd05da194c7
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri May 14 20:51:31 2021 +0200

    Update (C) of previous commit

 poppler/Annot.h                  | 2 +-
 qt5/src/poppler-pdf-converter.cc | 2 +-
 qt6/src/poppler-pdf-converter.cc | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

commit 5acd6659559907e3cfbfbcd8a8e94c66f38596f0
Author: Albert Astals Cid <albert.astals.cid@kdab.com>
Date:   Tue Apr 13 17:00:12 2021 +0200

    Fancier left/right signature visual representation

 poppler/Annot.cc                 | 77
 +++++++++++++++++++++++++++++-----------
 poppler/Annot.h                  |  1 +
 poppler/Form.cc                  | 20 +++++++++++
 poppler/Form.h                   |  8 +++++
 qt5/src/poppler-pdf-converter.cc | 25 +++++++++++++
 qt5/src/poppler-qt5.h            | 18 ++++++++++
 qt6/src/poppler-pdf-converter.cc | 25 +++++++++++++
 qt6/src/poppler-qt6.h            | 18 ++++++++++
 8 files changed, 172 insertions(+), 20 deletions(-)

commit 26f8a7d1bc9c6cd511989d74fdb54f233b25d663
Author: Hubert Figuière <hub@figuiere.net>
Date:   Tue May 11 19:43:55 2021 -0400

    make boost opt-out if building splash

    https://gitlab.freedesktop.org/poppler/poppler/-/issues/1080

 .gitlab-ci.yml | 7 ++++---
 CMakeLists.txt | 9 +++++++--
 2 files changed, 11 insertions(+), 5 deletions(-)

commit 2e8ad35f95965459ebef9a20ba1a98f7fe982e26
Author: Albert Astals Cid <aacid@kde.org>
Date:   Wed May 12 23:39:14 2021 +0200

    FoFiTrueType::cvtSfnts: Protect against integer overflow

    oss-fuzz/34214

 fofi/FoFiTrueType.cc | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

commit 60eae9d0cfc05bd14f3081e4bb128de868fc5e93
Author: Albert Astals Cid <aacid@kde.org>
Date:   Sun May 9 22:46:46 2021 +0200

    FoFiTrueType::cvtSfnts: Protect against integer overflow

    oss-fuzz/34113

 fofi/FoFiTrueType.cc | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

commit 4ef3535bffedd217707ea16f2ba415dbcdc1ed41
Author: Albert Astals Cid <aacid@kde.org>
Date:   Sat May 8 01:11:57 2021 +0200

    qt: Don't assert when trying to invert singular matrices

    oss-fuzz/33611

 qt5/src/poppler-annotation-helper.h | 9 +++++++--
 qt6/src/poppler-annotation-helper.h | 9 +++++++--
 2 files changed, 14 insertions(+), 4 deletions(-)

commit 10306f08f903a69ff79c727194dc230f4353fb51
Author: Albert Astals Cid <aacid@kde.org>
Date:   Sat May 8 01:10:47 2021 +0200

    Update (C) of previous commit

 poppler/Annot.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 5dbe101b7c3561aedf33872e218b8d1b6984f623
Author: Albert Astals Cid <aacid@kde.org>
Date:   Sat May 8 00:54:13 2021 +0200

    Restore setting the Encoding in createAnnotDrawFont

    It was removed in 9db685f379c1c9195b5f0c9a693e7a581e6b214f and as
    far as
    i remember the reason was that signatures created with that hung Adobe
    Reader, but I can't reproduce it anymore and on top of that is causing
    regressions when rendering PDF files (Issue #1070) so restore it.

 poppler/Annot.cc | 1 +
 1 file changed, 1 insertion(+)

commit 7961ff99df6db70319548b07249194cabfc74783
Author: Albert Astals Cid <aacid@kde.org>
Date:   Sun May 2 21:36:32 2021 +0200

    Poppler 21.05.0

 CMakeLists.txt         |  4 ++--
 NEWS                   | 19 +++++++++++++++++++
 cpp/Doxyfile           |  2 +-
 glib/CMakeLists.txt    |  2 +-
 qt5/src/CMakeLists.txt |  2 +-
 qt5/src/Doxyfile       |  2 +-
 qt6/src/CMakeLists.txt |  2 +-
 qt6/src/Doxyfile       |  2 +-
 8 files changed, 27 insertions(+), 8 deletions(-)

commit 17b2b174d1e867588b4fe839fb0e7194bca60a52
Author: Albert Astals Cid <aacid@kde.org>
Date:   Wed Apr 28 00:07:06 2021 +0200

    Update (C) of previous commits

 poppler/TextOutputDev.h        | 2 +-
 qt5/src/poppler-page-private.h | 2 +-
 qt5/src/poppler-qt5.h          | 2 +-
 qt6/src/poppler-page-private.h | 2 +-
 qt6/src/poppler-qt6.h          | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

commit efa43f709a83f5401aa4d99a9412c8ea249663ea
Author: Albert Astals Cid <aacid@kde.org>
Date:   Tue Apr 27 21:36:57 2021 +0200

    CI: Use fedora 34 for mingw

 .gitlab-ci.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit e3fed321f230a4a91df873e6d9a213ba8dad6694
Author: Nelson Benítez León <nbenitezl@gmail.com>
Date:   Sun Apr 25 22:24:50 2021 +0000

    find, glib: Enhance find to support multi-line matching

    On the backend side, adds 3 new parameters to TextPage::findText(),
    one bool to enable the feature, one out PDFRectangle to store
    the part of the match that falls on the next line, and one out
    bool to inform whether hyphen was present and ignored at end of
    the previous match part.

    For the glib binding, this extends the public PopplerRectangle
    struct by new members to hold additional information about
    whether the rectangle belongs to a group of rectangles for the
    same match, and whether a hyphen was ignored at the end of the
    line. Since PopplerRectangle is public ABI, this is done by making
    the public PopplerRectangle API return the enlarged struct, and
    internally casting to the new struct when required, the new
    members are accessible only via accessor functions.

    For Qt5 Qt6 bindings, this commit only implements the new flag
    Poppler::Page::AcrossLines (but no new function and no new
    return data type) and if this flag is passed, the returned
    list of rectangles will also include rectangles for the
    second part of across-line matches.

    This minimum Qt bindings still allows for the creation of
    tests for this feature (using the Qt test framework) which
    this commit *do includes*. But a more complete binding (with
    a new return type that includes 'matchContinued' and 'ignoredHypen'
    boolean fields) is left to do for qt backend maintainers
    if they want to use this feature in eg. Okular.

    So, as mentioned, this commit incorporates tests for the
    implemented across-line matching feature, and the tests do
    also check for two included aspects of this feature, which are:

     - Ignoring hyphen character while matching when 1) it's the
       last character of the line and 2) its corresponding matching
       character in the search term is not an hyphen too.

     - Any whitespace characters in the search term will be allowed
       to match on the logic position where the lines split (i.e. what
       would normally be the newline character in a text file, but
       PDF text does not include newline characters between lines).

    Regarding the enhancement to findText() function which implements
    matching across lines, just two more notes:

     - It won't match on text spanning more than two lines, i.e. it
       only matches text spanning from end of one line to start of
       next line.

     - It does not supports finding backwards, if findText() receives
       both <backward> and <matchAcrossLines> parameters as true, it
       will ignore the <matchAcrossLines> parameter. Implementing
       <matchAcrossLines> with backwards direction is possible, but
       it will make an already complex function like findText() to be
       even more complex, for little gain as eg. Evince does not even
       use the <backward> parameter of findText().

    Fixes poppler issues #744 and #755
    Related Evince issue https://gitlab.gnome.org/GNOME/evince/issues/333

 glib/demo/find.c                    |  83 +++++++++++-----
 glib/poppler-page.cc                | 144 +++++++++++++++++++++++++---
 glib/poppler-page.h                 |   4 +
 glib/poppler-private.h              |  19 ++++
 glib/poppler.h                      |   7 +-
 glib/reference/poppler-sections.txt |   2 +
 poppler/TextOutputDev.cc            | 182
 +++++++++++++++++++++++++++++-------
 poppler/TextOutputDev.h             |  15 +++
 qt5/src/poppler-page-private.h      |   4 +-
 qt5/src/poppler-page.cc             |  39 ++++++--
 qt5/src/poppler-qt5.h               |  12 ++-
 qt5/tests/check_search.cpp          | 128 ++++++++++++++++++++-----
 qt6/src/poppler-page-private.h      |   4 +-
 qt6/src/poppler-page.cc             |  35 +++++--
 qt6/src/poppler-qt6.h               |  12 ++-
 qt6/tests/check_search.cpp          |  85 +++++++++++++++++
 16 files changed, 652 insertions(+), 123 deletions(-)

commit 60fec72677af099e7865a09398263d2508944ad2
Author: Albert Astals Cid <aacid@kde.org>
Date:   Thu Apr 22 19:13:00 2021 +0200

    CI: rename clazy CI to make it clear it uses a new C compiler

 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit d5ab9b5dbf0024f269001fcea87f4d01a44c2ec6
Author: Albert Astals Cid <aacid@kde.org>
Date:   Wed Apr 21 16:42:09 2021 +0200

    CI: Use clang-12

    Disable new performance-no-int-to-ptr clang-tidy check since it
    triggers
    too many issues deep in too many places

 .gitlab-ci.yml      | 18 +++++++++---------
 README.contributors |  2 +-
 2 files changed, 10 insertions(+), 10 deletions(-)

commit aad32f4999eb3fb6aa5b8d0485af9fabc98bb01a
Author: Albert Astals Cid <aacid@kde.org>
Date:   Wed Apr 21 23:54:27 2021 +0200

    GfxShading::init: Fix assert in broken files

    Fixes issue #1071

 poppler/GfxState.cc | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

commit e43a3d9cff01c7d2b6374b3aa340882528da9c85
Author: Albert Astals Cid <albert.astals.cid@kdab.com>
Date:   Tue Apr 13 16:06:48 2021 +0200

    qt: Allow to pass the border width when signing

 qt5/src/poppler-pdf-converter.cc | 13 ++++++++++++-
 qt5/src/poppler-qt5.h            | 14 +++++++++++++-
 qt6/src/poppler-pdf-converter.cc | 13 ++++++++++++-
 qt6/src/poppler-qt6.h            | 14 +++++++++++++-
 4 files changed, 50 insertions(+), 4 deletions(-)

commit d672fbe5c1f22c69e30824d7cb896e6b8fb560eb
Author: Albert Astals Cid <albert.astals.cid@kdab.com>
Date:   Tue Apr 13 13:59:47 2021 +0200

    qt: Make sure new signatures are always properly oriented

    With the old code if it the page we were adding a signature was
    landscape and then rotated 90 degrees to look like portrait
    (relatively
    common on scanned documents) the text would appear wrongly oriented

 qt5/src/poppler-pdf-converter.cc | 5 +++--
 qt6/src/poppler-pdf-converter.cc | 5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

commit 3554a152a9badfde6c02bb0001755a7e9c830b32
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri Apr 16 22:49:29 2021 +0200

    Prevent integer overflow PSOutputDev::checkPageSlice

    oss-fuzz/33333

 poppler/PSOutputDev.cc | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

commit 0e732883671754fff843c9e869bdc43f4ab6d4db
Author: Albert Astals Cid <aacid@kde.org>
Date:   Thu Apr 1 17:27:57 2021 +0200

    pdftoppm: Fix regression when using single scaleTo

    Fixes #1062

 utils/pdftoppm.cc | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

commit b770a55a47278f4104fc410034577cc4ea0434a6
Author: Albert Astals Cid <albert.astals.cid@kdab.com>
Date:   Tue Apr 13 17:59:34 2021 +0200

    qt: QStringToUnicodeGooString don't produce a "fake empty" string

    if the input string is empty, just return an empty GooString, not a
    GooString with only the unicode marker

 qt5/src/poppler-private.cc  |  4 ++++
 qt5/tests/check_strings.cpp | 12 +++++++++---
 qt6/src/poppler-private.cc  |  4 ++++
 qt6/tests/check_strings.cpp | 12 +++++++++---
 4 files changed, 26 insertions(+), 6 deletions(-)

commit be9960e86db051a4eabf30e0ab216168b8ce7b59
Author: Albert Astals Cid <aacid@kde.org>
Date:   Wed Apr 14 00:02:11 2021 +0200

    PSOutputDev::setupResources: Fix infinite recursion call on broken
    files

    Issue #1065

 poppler/PSOutputDev.cc | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

commit 8859bffbc14342f2a630212110a24f105dc819f9
Author: Albert Astals Cid <albert.astals.cid@kdab.com>
Date:   Tue Apr 13 17:23:30 2021 +0200

    Annot: Make things more const correct

 poppler/Annot.cc | 5 +++--
 poppler/Annot.h  | 3 ++-
 2 files changed, 5 insertions(+), 3 deletions(-)

commit db1bf17777068a34e7586236efefb74a42460932
Author: Volker Krause <vkrause@kde.org>
Date:   Sun Apr 11 10:54:57 2021 +0000

    Allow to disable building manual tests

    This is consistent with all the other test programs, and helps in
    environments where building regular executables doesn't work out of
    the box, such as the Android x86 32bit environment I have here.

 CMakeLists.txt | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

commit 2ed4cd66401bc1d9683c94238e9024218d7be3ba
Author: Albert Astals Cid <aacid@kde.org>
Date:   Wed Apr 7 00:14:59 2021 +0200

    TextOutputDev: Fix crash in malformed file

    oss-fuzz/32952

 poppler/TextOutputDev.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit d7aa275b0bca86ae174e7e504dd269df2a0234cf
Author: Evangelos Foutras <evangelos@foutrelis.com>
Date:   Tue Apr 6 09:56:55 2021 +0300

    Export SplashFont* symbols used by Scribus

    Scribus 1.5.6.1 compiled against poppler 21.04.0 was unable to
    load its
    PDF importer plugin without these classes being exported by
    libpoppler:

    - SplashFontFileID
    - SplashFontEngine
    - SplashFontSrc

 splash/SplashFontEngine.h | 3 ++-
 splash/SplashFontFile.h   | 3 ++-
 splash/SplashFontFileID.h | 4 +++-
 3 files changed, 7 insertions(+), 3 deletions(-)

commit 83a39c7be2148acdb267ba9a03aba991b50c3437
Author: Albert Astals Cid <aacid@kde.org>
Date:   Thu Apr 1 19:14:48 2021 +0200

    Poppler 21.04.0

 CMakeLists.txt      |  4 ++--
 NEWS                | 32 ++++++++++++++++++++++++++++++++
 cpp/Doxyfile        |  2 +-
 glib/CMakeLists.txt |  2 +-
 qt5/src/Doxyfile    |  2 +-
 qt6/src/Doxyfile    |  2 +-
 6 files changed, 38 insertions(+), 6 deletions(-)

commit 104fc940ca3c3eb8b706abd11d35be83dbcd0c3b
Author: Albert Astals Cid <aacid@kde.org>
Date:   Mon Mar 29 19:12:23 2021 +0200

    pdfimages: Do not assert in "too big images"

    Fixes #1061

 utils/ImageOutputDev.cc | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

commit 29c3fc62d4997bb514d4748cca264fc6868cb52d
Author: Albert Astals Cid <aacid@kde.org>
Date:   Sun Mar 28 17:23:47 2021 +0200

    Update (C)

 poppler/Form.cc | 2 +-
 poppler/Form.h  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 40cc13db621f2f49f55c4e4390bf2e862cc05d41
Author: Nelson Benítez León <nbenitezl@gmail.com>
Date:   Tue Mar 9 16:47:27 2021 -0400

    Forms: fix unclicking standalone form buttons

    We can find pdf forms that eg. have three related
    radio buttons where their *only* relationship is
    having the same full qualified name.

    Such a form is supported by Adobe Reader and
    produced by LaTeX through TeXStudio. So, when
    clicking one such radio button, Poppler failed
    to unclick the other radio buttons as they are
    not children nor parent of the clicked one (which
    is the ordinary way to set radio button groups
    as per the PDF standard).

    So, when clicking a radio button, let's add support
    to find other radio buttons in the same page that
    are only related by having same fully qualified name
    (these may be in standalone or normal fields).

    Where trying to find where PDF standard covers this
    special case of related radio buttons, the closest
    thing we can find is section "Field names" inside
    chapter "8.6.2 Field Dictionaries" in 1.7 PDF spec.

    Issue #1034

 poppler/Form.cc | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++--
 poppler/Form.h  |  2 +-
 poppler/Page.h  |  2 ++
 3 files changed, 53 insertions(+), 3 deletions(-)

commit c8d66bee757d7b0c8858115cd7772ed88bf1fe01
Author: Albert Astals Cid <aacid@kde.org>
Date:   Sun Mar 28 16:25:51 2021 +0200

    Update (C)

 poppler/Gfx.cc | 1 +
 1 file changed, 1 insertion(+)

commit 12a47e31bfa7d00d04f1ef436fe19092feb34501
Author: Steve Rosenhamer <srosenhamer@me.com>
Date:   Sun Mar 28 14:23:13 2021 +0000

    Implement rendering of Masks of Image subtype.

    Issue #1058

 poppler/Gfx.cc | 47 +++++++++++++++++++++++++++++++++++++++++------
 1 file changed, 41 insertions(+), 6 deletions(-)

commit bdd110b45a38e8a4f80f522892e4c4a9e432abd5
Author: Christian Persch <chpe@src.gnome.org>
Date:   Fri Mar 26 18:17:25 2021 +0100

    glib: Remove incorrecly used volatile from enum type registration code

 glib/poppler-enums.c.template | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

commit 47de887d7658cfd68df44b3acf710971054f957b
Author: Christian Persch <chpe@src.gnome.org>
Date:   Fri Mar 26 18:17:25 2021 +0100

    glib: Use stock glib macro to define boxed type

    Poppler already depends on a sufficiently new glib version, so we can
    simply use G_DEFINE_BOXED_TYPE instead of defining our own macro.

 glib/poppler-action.cc            |  4 ++--
 glib/poppler-annot.cc             |  2 +-
 glib/poppler-document.cc          |  6 +++---
 glib/poppler-page.cc              | 20 ++++++++++----------
 glib/poppler-private.h            | 15 ---------------
 glib/poppler-structure-element.cc |  4 ++--
 6 files changed, 18 insertions(+), 33 deletions(-)

commit 56453310d4241a917a4d2ff27fa76c2878f87508
Author: Marek Kasik <mkasik@redhat.com>
Date:   Fri Mar 26 13:10:19 2021 +0100

    utils: New paragraph for "-sign" in pdfsig.1

    Create new paragraph for "-sign" option in pdfsig.1 man page.

 utils/pdfsig.1 | 1 +
 1 file changed, 1 insertion(+)

commit 42dde686bf5a674401850b2d3fdd2bc7467e9a66
Author: Albert Astals Cid <aacid@kde.org>
Date:   Mon Mar 22 00:03:59 2021 +0100

    qt: Fix memory leak when QImage constructor "fails"

 qt5/src/poppler-page.cc | 8 ++++++--
 qt6/src/poppler-page.cc | 8 ++++++--
 2 files changed, 12 insertions(+), 4 deletions(-)

commit 57836ce2210183704f685ccc6b1820e16859a0c7
Author: Albert Astals Cid <aacid@kde.org>
Date:   Tue Mar 16 09:08:53 2021 +0100

    Fix rendering of text in some files

    Update CMap::addCIDs from xpdf 3.04

    Fixes issue #1052

 poppler/CMap.cc | 48 ++++++++++++++++++++++++------------------------
 1 file changed, 24 insertions(+), 24 deletions(-)

commit 81bee89c88d632ce6de878d338dd53a8150ea8aa
Author: Clément Pit-Claudel <clement.pitclaudel@gmail.com>
Date:   Mon Mar 15 20:43:38 2021 +0000

    [glib] Expose more fields from MediaRendition in PopplerMedia

 glib/poppler-media.cc               | 61
 +++++++++++++++++++++++++++++++++++++
 glib/poppler-media.h                |  6 ++++
 glib/reference/poppler-sections.txt |  3 ++
 3 files changed, 70 insertions(+)

commit e07f3e2e6a6df4ece88873ecbdbaf558f8910091
Author: Nelson Benítez León <nbenitezl@gmail.com>
Date:   Sat Mar 13 13:41:04 2021 -0400

    refactor Page::getFormWidgets() to use unique_ptr

    Refactor Page::getFormWidgets() to return
    std::unique_ptr<FormPageWidgets> so to avoid
    possible leaks in API users who forget
    to delete object.

 glib/poppler-document.cc | 3 +--
 glib/poppler-page.cc     | 5 +----
 poppler/Page.cc          | 6 +++---
 poppler/Page.h           | 4 ++--
 qt5/src/poppler-page.cc  | 6 ++----
 qt6/src/poppler-page.cc  | 6 ++----
 6 files changed, 11 insertions(+), 19 deletions(-)

commit 7578e04f8d48d307e82764e05ab13f6612180641
Author: Nelson Benítez León <nbenitezl@gmail.com>
Date:   Sun Feb 28 23:44:43 2021 -0400

    TextSelectionDumper: fix word order for RTL text

    This is used by glib backend (Evince).

    Fixes issue #53

 poppler/TextOutputDev.cc | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

commit 6267bf4dadf85842f73e32cf8abf056f150d1bf2
Author: Albert Astals Cid <aacid@kde.org>
Date:   Tue Mar 9 19:54:38 2021 +0100

    Update (C)

 poppler/Form.h              | 2 +-
 qt5/src/poppler-document.cc | 2 +-
 qt6/src/poppler-document.cc | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

commit 59d5036451cc55f57e15e4ae1538024c62452978
Author: Albert Astals Cid <aacid@kde.org>
Date:   Tue Mar 9 17:53:00 2021 +0100

    qt: Fix crash in files with malformed signatures

    For signatures we need the formwidget, so even if they don't have the
    Subtype Widget create one when asked for signatures in the document

    Fixes KDE bug #433909

 poppler/Form.cc             | 12 ++++++++++++
 poppler/Form.h              |  2 ++
 qt5/src/poppler-document.cc |  2 +-
 qt6/src/poppler-document.cc |  2 +-
 4 files changed, 16 insertions(+), 2 deletions(-)

commit ce1fcd4352f920a59d965310440be18ff48acb8f
Author: Albert Astals Cid <aacid@kde.org>
Date:   Sun Jan 17 18:31:19 2021 +0100

    Hide symbols by default

    Use cmake for better import/export defines

 CMakeLists.txt                   |  7 +++++
 cpp/CMakeLists.txt               |  2 ++
 cpp/poppler-global.h             | 14 +--------
 fofi/FoFiTrueType.h              |  3 +-
 fofi/FoFiType1C.h                |  4 ++-
 glib/CMakeLists.txt              |  8 ++---
 glib/poppler-macros.h            | 33 --------------------
 goo/GooString.h                  |  4 ++-
 goo/GooTimer.h                   |  4 ++-
 goo/ImgWriter.h                  |  4 ++-
 goo/JpegWriter.h                 |  3 +-
 goo/NetPBMWriter.h               |  3 +-
 goo/PNGWriter.h                  |  3 +-
 goo/TiffWriter.h                 |  3 +-
 goo/gbase64.h                    |  4 ++-
 goo/gbasename.h                  |  3 +-
 goo/gfile.h                      | 15 ++++-----
 goo/glibc.h                      |  7 +++--
 goo/gstrtod.h                    |  4 ++-
 poppler/Annot.h                  | 67
 ++++++++++++++++++++--------------------
 poppler/Array.h                  |  3 +-
 poppler/BBoxOutputDev.h          |  2 +-
 poppler/CachedFile.h             |  7 +++--
 poppler/Catalog.h                |  5 +--
 poppler/CertificateInfo.h        |  3 +-
 poppler/DateInfo.h               |  7 +++--
 poppler/Dict.h                   |  3 +-
 poppler/Error.h                  |  5 +--
 poppler/FileSpec.h               |  7 +++--
 poppler/FontInfo.h               |  5 +--
 poppler/Form.h                   | 17 +++++-----
 poppler/Function.h               |  2 +-
 poppler/Gfx.h                    |  5 +--
 poppler/GfxFont.h                |  9 +++---
 poppler/GfxState.h               | 27 ++++++++--------
 poppler/GlobalParams.h           |  7 +++--
 poppler/JSInfo.h                 |  4 +--
 poppler/Lexer.h                  |  2 +-
 poppler/Link.h                   | 13 ++++----
 poppler/MarkedContentOutputDev.h |  3 +-
 poppler/Movie.h                  |  3 +-
 poppler/Object.h                 |  3 +-
 poppler/OptionalContent.h        |  5 +--
 poppler/Outline.h                |  3 +-
 poppler/OutputDev.h              |  3 +-
 poppler/PDFDoc.h                 |  3 +-
 poppler/PDFDocEncoding.h         |  5 +--
 poppler/PDFDocFactory.h          |  3 +-
 poppler/PSOutputDev.h            |  3 +-
 poppler/Page.h                   |  3 +-
 poppler/PageTransition.h         |  2 +-
 poppler/Parser.h                 |  2 +-
 poppler/Rendition.h              |  2 +-
 poppler/SignatureHandler.h       |  3 +-
 poppler/SignatureInfo.h          |  4 ++-
 poppler/Sound.h                  |  2 +-
 poppler/SplashOutputDev.h        |  3 +-
 poppler/Stream.h                 | 19 ++++++------
 poppler/StructElement.h          |  5 +--
 poppler/TextOutputDev.h          | 13 ++++----
 poppler/UTF.h                    | 17 +++++-----
 poppler/UnicodeMap.h             |  3 +-
 poppler/UnicodeMapFuncs.h        |  2 +-
 poppler/UnicodeTypeTable.h       |  5 +--
 poppler/XRef.h                   |  3 +-
 qt5/demos/CMakeLists.txt         |  1 +
 qt5/src/CMakeLists.txt           |  3 +-
 qt5/src/poppler-export.h         | 20 ------------
 qt5/tests/CMakeLists.txt         |  1 +
 qt6/demos/CMakeLists.txt         |  1 +
 qt6/src/CMakeLists.txt           |  3 +-
 qt6/src/poppler-export.h         | 20 ------------
 qt6/tests/CMakeLists.txt         |  1 +
 splash/Splash.h                  |  3 +-
 splash/SplashBitmap.h            |  3 +-
 splash/SplashPath.h              |  3 +-
 splash/SplashPattern.h           |  3 +-
 77 files changed, 251 insertions(+), 261 deletions(-)

commit d1e5c5b29214d82f43eb72d51b2df5184fcbbe33
Author: Albert Astals Cid <aacid@kde.org>
Date:   Wed Feb 3 00:26:26 2021 +0100

    Require the newer glib&friends provided by the new base CI

 CMakeLists.txt | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit 0b34c18882ee3920c5ab9e9b953b3bb642f1b198
Author: Albert Astals Cid <aacid@kde.org>
Date:   Wed Feb 3 00:24:11 2021 +0100

    Require the newer qt5 provided by the new base CI

