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

 CMakeLists.txt                | 2 +-
 qt5/CMakeLists.txt            | 2 +-
 qt5/src/poppler-annotation.cc | 4 ++--
 qt5/src/poppler-form.cc       | 6 +++---
 qt5/tests/poppler-forms.cpp   | 6 +-----
 5 files changed, 8 insertions(+), 12 deletions(-)

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

    Require the newer cmake provided by the new base CI

 CMakeLists.txt               | 9 ++-------
 cmake/modules/FindGLIB.cmake | 6 +-----
 cmake/modules/FindGTK.cmake  | 6 +-----
 cmake/modules/FindNSS3.cmake | 6 +-----
 glib/CMakeLists.txt          | 6 +-----
 glib/demo/CMakeLists.txt     | 6 +-----
 glib/tests/CMakeLists.txt    | 9 ++-------
 7 files changed, 9 insertions(+), 39 deletions(-)

commit 73c1e61b183db17692b3ddec51f1859ed4030765
Author: Albert Astals Cid <aacid@kde.org>
Date:   Wed Feb 3 00:06:47 2021 +0100

    Increase our supported Linux to >= ubuntu 18.04

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

commit a9662d36c2faa6f8590ccd7c99758de6dcf4e324
Author: Albert Astals Cid <aacid@kde.org>
Date:   Mon Mar 1 19:33:25 2021 +0100

    Poppler 21.03.0

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

commit 1d91d03325662ca368cf5da77d09012998e7720e
Author: Nelson Benítez León <nbenitezl@gmail.com>
Date:   Mon Mar 1 00:22:26 2021 -0400

    glib/poppler-structure-element: fix memleak

    in convert_doubles_array(), which was not
    assigning the allocated memory to the
    out variable.

    This means this function was never returning
    anything until now, which means there's probably
    no users of this function in the wild (certainly
    not in Evince).

    Issue #1049

 glib/poppler-structure-element.cc | 2 ++
 1 file changed, 2 insertions(+)

commit 6a81075c91277d7106bccba66dea0c0bca7be536
Author: Albert Astals Cid <aacid@kde.org>
Date:   Mon Mar 1 00:45:24 2021 +0100

    pdftoppm: Compile fix for the unsupported UTILS_USE_PTHREADS define

 utils/pdftoppm.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 9514dceca09af53cf5e920ec76edb3937f87e6ad
Author: Albert Astals Cid <aacid@kde.org>
Date:   Sat Feb 20 22:37:50 2021 +0100

    Make TextSelectionSizer a bit easier to understand standalone

    Nothing really changes because it's only used in one place and that
    place called getRegion so there's no leak but looking at the class
    standalone one could think that one would get a leak if getRegion was
    not called.

 poppler/TextOutputDev.cc | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

commit 31734dcb365e2b69d88c86ddaee3bd62af97fade
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri Feb 26 00:19:58 2021 +0100

    strtok -> strtok_r

    Otherwise we have threading issues if two threads are doing strtok at
    the same time

    Fixes issue #1050

 fofi/FoFiType1.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 03b6705006e563c95cfcad47fa3d3c4c2e248651
Author: Albert Astals Cid <aacid@kde.org>
Date:   Sat Feb 20 23:05:22 2021 +0100

    poppler_annot_free_text_get_callout_line: Fix wrong static cast

    static_cast always "suceeds" so it makes no sense using it to check if
    the callout is multiline or not

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

commit 7d7e09cf815c94bb3e50e6ef957dc81a14964f2f
Author: Albert Astals Cid <aacid@kde.org>
Date:   Sat Feb 20 23:11:29 2021 +0100

    JPEG2000Stream.cc: Remove useless two if (priv->image)

    We're already inside an if (priv->image) check

 poppler/JPEG2000Stream.cc | 34 ++++++++++++++++------------------
 1 file changed, 16 insertions(+), 18 deletions(-)

commit 5161fa6f1ff9f7d2c19b5326aed6ad2858c30476
Author: Albert Astals Cid <aacid@kde.org>
Date:   Sat Feb 20 22:30:14 2021 +0100

    Fix memory leak in broken file in JBIG2Stream::readGenericBitmap

    It could happen that codingLine succeeds but refLine fails because
    we're
    just on the edge of the allocatable memory so free codingLine just in
    case

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

commit 3746704a810fc9a67a91444da300e0683d452e6d
Author: Albert Astals Cid <aacid@kde.org>
Date:   Sat Feb 20 22:25:06 2021 +0100

    Gfx: Make clear neither printCommands nor profileCommands change

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

commit a622a5a88242fc99c3ce37879337b980458fc4e6
Author: Albert Astals Cid <aacid@kde.org>
Date:   Sat Feb 20 22:22:03 2021 +0100

    Mark Object::streamGetChar[s] as non const

    Calling them twice in a row will potentially return different
    things, so
    I would say probably don't qualify as const

 poppler/Object.h | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

commit 5d08242584215a5ccf6201b94ca00d96f48c9c54
Author: Albert Astals Cid <aacid@kde.org>
Date:   Sat Feb 20 22:19:08 2021 +0100

    Fix leak in case of fread failing

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

commit 61d052e9aade5bec68b07fad7c0fc7521f8e86a9
Author: Albert Astals Cid <aacid@kde.org>
Date:   Sat Feb 20 21:46:19 2021 +0100

    Make getMin return the min, not the max ^_^

 poppler/ProfileData.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 94e310e85049ffec92217aa5ac5959dec217fa25
Author: Albert Astals Cid <aacid@kde.org>
Date:   Sun Feb 14 12:17:31 2021 +0100

    Update (C)

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

commit d6cccfb8d814d89c51c9e65563be2e475f46212b
Author: Nelson Benítez León <nbenitezl@gmail.com>
Date:   Mon Feb 8 14:06:15 2021 -0400

    TextSelectionDumper: Fix getText() for space after word

    Fix TextSelectionDumper::getText() (which is
    currently only used by the glib frontend) to
    not default to add a space after word in the
    case the word is explicitly set to not carry
    that space by means of the 'spaceAfter' TextWord
    field.

    Fixes issue #1042

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

commit e7fa274dd7c0bd5e66a3b68329d7d56541bb839b
Author: Kyle Auble <kyle.auble@outlook.com>
Date:   Sat Nov 28 13:42:13 2020 -0500

    glib: Add deprecation guards for compiler

 glib/poppler-attachment.h | 10 ++++++----
 glib/poppler-document.h   |  2 +-
 glib/poppler-page.cc      |  5 ++++-
 glib/poppler-page.h       |  4 ++--
 4 files changed, 13 insertions(+), 8 deletions(-)

commit db52669444284b8ab00cbb12574496f489b2e093
Author: Kyle Auble <kyle.auble@outlook.com>
Date:   Wed Oct 28 00:49:42 2020 -0400

    glib: Update more gtk-doc comments

    Expanding the note for poppler_document_new_from_data() fixes #550.
    Formally deprecating it also closes #100 as moot.

 glib/poppler-document.cc | 29 +++++++++++++++++------------
 1 file changed, 17 insertions(+), 12 deletions(-)

commit 4d3d3e31c8b1ae0a4169214a0e3f085a8f01f7a9
Author: Kyle Auble <kyle.auble@outlook.com>
Date:   Tue Oct 27 23:46:09 2020 -0400

    glib: Deprecate unintentionally public class

    Fixes #33 by settling PopplerAttachmentClass (item 3).

 glib/poppler-attachment.h | 10 ++++++++++
 1 file changed, 10 insertions(+)

commit 133fb388029ec6e124e74b3a4111da20abe9ce7e
Author: Kyle Auble <kyle.auble@outlook.com>
Date:   Tue Oct 27 22:51:59 2020 -0400

    glib: Document a recently added struct

 glib/poppler-action.h | 20 ++++++++++++++++++--
 1 file changed, 18 insertions(+), 2 deletions(-)

commit f58525e501684358a377b6412ea514a2ed8af333
Author: Evan Nemerson <evan@coeus-group.com>
Date:   Thu Feb 14 03:55:01 2013 -0800

    glib: add documentation for PopplerActions

    Resolves most of #33 (items 1 & 2)

    Signed-off-by: Kyle Auble <kyle.auble@outlook.com>

 glib/poppler-action.h | 95
 +++++++++++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 93 insertions(+), 2 deletions(-)

commit e21c83650f15a197b286f8eed8c7d723c6900925
Author: Oliver Sander <oliver.sander@tu-dresden.de>
Date:   Wed Feb 10 21:36:51 2021 +0100

    pdftoppm: Fix rounding bug in computation of output bitmap size

    When a specific output image size was requested, the code would use
    that size to compute the target resolution, and then use the
    resolution to get the image size back.  In finite-precision
    arithmetic the resulting image size is not necessarily an
    integer, and a subsequent call to `ceil` then sometimes lead to
    an image size that was 1 larger than what was explicitly
    requested.

    Fix this by using a given image size directly, without converting
    it to resolution and back.

    BUG: https://gitlab.freedesktop.org/poppler/poppler/issues/927

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

commit 5528ab8a5c274fb8da938bff9ed51e492a39a12b
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri Feb 12 14:30:25 2021 +0100

    pdfseparate: Remove exitCode variable

 utils/pdfseparate.cc | 31 ++++++++++++-------------------
 1 file changed, 12 insertions(+), 19 deletions(-)

commit 2cc34b8e14649381fc1d8b90c0a861f7fe2c08e3
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri Feb 12 14:27:24 2021 +0100

    pdftoppm: Remove exitcode variable

 utils/pdftoppm.cc | 28 +++++++++++++++-------------
 1 file changed, 15 insertions(+), 13 deletions(-)

commit f51a042ace89c6fa69948356da6f7422a1e9a88b
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri Feb 12 14:23:53 2021 +0100

    pdfunite: remove exitCode variable

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

commit 63177bca2e15ce1d75b1e14581664d49c1bf8ed9
Author: Albert Astals Cid <aacid@kde.org>
Date:   Sat Feb 13 11:36:01 2021 +0100

    Update (C)

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

commit 282b9ea0c0db18ed8177e2123996569d232c12a0
Author: Nelson Benítez León <nbenitezl@gmail.com>
Date:   Fri Feb 12 11:47:38 2021 -0400

    glib: keep same visual appearance between displayed and copied text

    When copying text from displayed document to the clipboard,
    we want a normalization that preserves 'canonical equivalence'
    i.e. that the text after normalization is not visually
    different than the original text. Our previous normalization
    was just preserving unicode 'compatibility'.

    Relevant documentation:
    * https://www.win.tue.nl/~aeb/linux/uc/nfc_vs_nfd.html
    * https://en.wikipedia.org/wiki/Unicode_equivalence
    *
    https://developer.gnome.org/glib/stable/glib-Unicode-Manipulation.html#g-utf8-normalize

    Issue #724

 glib/demo/selections.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

commit 2e62feafbc5095cedf948aefdf771d328d978de9
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri Feb 12 14:16:09 2021 +0100

    Improve well formed check for shading functions

 poppler/GfxState.cc | 191
 ++++++++++++++++++++++++++++++++++++++++++++--------
 poppler/GfxState.h  |  16 ++++-
 2 files changed, 176 insertions(+), 31 deletions(-)

commit 4d45cf37f3f74fdf6b02be73a051631abcf0e665
Author: Diogo Kollross <diogoko@gmail.com>
Date:   Fri Feb 12 14:15:03 2021 +0000

    pdftoppm: Add -progress option

 utils/pdftoppm.1  | 6 ++++++
 utils/pdftoppm.cc | 6 ++++++
 2 files changed, 12 insertions(+)

commit 33ae035d03e56e4f37ebb33ac109bbb71084dc93
Author: Oliver Sander <oliver.sander@tu-dresden.de>
Date:   Thu Feb 11 20:22:36 2021 +0100

    Make PDFDocBuilder return a std::unique_ptr

    This make the memory ownership cleaner, and allows to simplify
    a bit of error handling code in the `utils` directory.

 poppler/CurlPDFDocBuilder.cc  |  5 +++--
 poppler/CurlPDFDocBuilder.h   |  3 ++-
 poppler/LocalPDFDocBuilder.cc |  7 ++++---
 poppler/LocalPDFDocBuilder.h  |  3 ++-
 poppler/PDFDoc.cc             |  6 ++++--
 poppler/PDFDoc.h              |  4 ++--
 poppler/PDFDocBuilder.h       |  5 ++++-
 poppler/PDFDocFactory.cc      |  4 ++--
 poppler/PDFDocFactory.h       |  6 ++++--
 poppler/StdinPDFDocBuilder.cc |  5 +++--
 poppler/StdinPDFDocBuilder.h  |  3 ++-
 utils/pdfdetach.cc            |  5 ++---
 utils/pdfimages.cc            | 30 +++++++++---------------------
 utils/pdfinfo.cc              | 11 +++++------
