commit 6e2c0fe0434cfadc3d161e7cd348212f644b725e
Author: Albert Astals Cid <aacid@kde.org>
Date:   Tue Sep 5 23:15:14 2023 +0200

    poppler 23.09.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 73985c62006b7faa0fd46a1bc83e578809da7ae2
Author: Albert Astals Cid <aacid@kde.org>
Date:   Tue Sep 5 20:21:55 2023 +0200

    Update (C)

 qt5/src/poppler-ps-converter.cc | 1 +
 qt5/src/poppler-qt5.h           | 1 +
 qt6/src/poppler-ps-converter.cc | 1 +
 qt6/src/poppler-qt6.h           | 1 +
 4 files changed, 4 insertions(+)

commit 309cee09f2f199dd70d066fad63a9b730881d151
Author: Albert Astals Cid <aacid@kde.org>
Date:   Tue Sep 5 09:49:31 2023 +0200

    CI: Use non deprecated variable

    Hopefully this fixes the problem with wrong caches being picked up

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

commit 00b7f3471ec8d9e40d8f713b30cd8378fe7cf06f
Author: Albert Astals Cid <aacid@kde.org>
Date:   Tue Sep 5 00:47:52 2023 +0200

    PDFDoc::savePageAs: Return cleanly if Catalog Pages is not a dict

 poppler/PDFDoc.cc | 8 ++++++++
 1 file changed, 8 insertions(+)

commit 27acee72fd3da6ce3d2027f7758d22b98022ccd4
Author: Kevin Ottens <kevin.ottens@enioka.com>
Date:   Wed Aug 30 15:56:06 2023 +0200

    Allow to force a rasterized overprint preview during PS conversion

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

commit 785a87baa33059d6293c8764e863b1bd7f9ffaf9
Author: Albert Astals Cid <aacid@kde.org>
Date:   Tue Sep 5 00:09:42 2023 +0200

    Update (C)

 goo/GooString.cc             | 1 +
 poppler/Lexer.cc             | 1 +
 poppler/NameToUnicodeTable.h | 2 +-
 3 files changed, 3 insertions(+), 1 deletion(-)

commit e121f3d29f2bdbf44d9e4d67729c1423dbc1db82
Author: Even Rouault <even.rouault@spatialys.com>
Date:   Wed Aug 30 22:42:05 2023 +0200

    GooString::appendfv(): emit warning on strings > 2 GB

 goo/GooString.cc | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

commit b8dc27ac07dfea0141211124944b835c35c0d626
Author: Even Rouault <even.rouault@spatialys.com>
Date:   Mon Aug 28 10:50:04 2023 +0200

    GooString::appendfv(): avoid int overflow on strings > 2 GB

 goo/GooString.cc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

commit 4202ea8077e16ef62d4955086e80e4347e3f61c4
Author: Even Rouault <even.rouault@spatialys.com>
Date:   Mon Aug 28 10:45:04 2023 +0200

    Lexer: limit max name token length to 1 MB.

    Currently there is no hard limit to the maximum length of a name,
    which
    may cause the ``n`` variable to overflow INT_MAX (mostly unnoticed
    unless building with -ftrapv), but later when drawing a page
    using such
    invalid huge name, ``len = strlen(str)`` at line 417 of GooString.cc,
    invoked by ``error(errSyntaxError, -1, "XObject '{0:s}' is unknown",
    name)`` in Gfx.cc::334, overflows to a negative value, which causes an
    invalid length exception in ``append(str, len)`` at GooString.cc:445

    Thus we limit the maximum length of a name to 1 MB which is way beyond
    what the spec allows.

 poppler/Lexer.cc | 5 +++++
 1 file changed, 5 insertions(+)

commit 38692ffde1dd8f1321f10ed3d962283cd96662e0
Author: Vincent Lefevre <vincent@vinc17.net>
Date:   Wed Aug 30 14:17:07 2023 +0200

    Add ToUnicode support for similarequal

    For \simeq, TeX generates /similarequal instead of Adobe's
    /asymptoticallyequal; so similarequal needs to be supported too.

    In TeX Live 2023:
    texmf-dist/fonts/map/glyphlist/glyphlist.txt (Adobe Glyph List)
    contains
      asymptoticallyequal;2243
    but texmf-dist/fonts/map/glyphlist/texglyphlist.txt (Extensions to the
    Adobe Glyph List for TeX fonts and encodings) contains
      similarequal;2243
    As a consequence, texmf-dist/tex/generic/pdftex/glyphtounicode.tex
    contains both
      \pdfglyphtounicode{asymptoticallyequal}{2243}
      \pdfglyphtounicode{similarequal}{2243}

    NameToUnicodeTable.h already has
      { 0x2243, "asymptoticallyequal" }
    so one just needs to add the missing
      { 0x2243, "similarequal" }

 poppler/NameToUnicodeTable.h | 1 +
 1 file changed, 1 insertion(+)

commit 67bd938e9c6b75bd34e0231fd50b567b118e69af
Author: Albert Astals Cid <aacid@kde.org>
Date:   Wed Aug 30 11:11:45 2023 +0200

    Add (C)

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

commit 3fd5a6f4dfc5c6388d896ac72ffa9584c753ef22
Author: Sune Vuorela <sune@vuorela.dk>
Date:   Thu Aug 10 16:36:03 2023 +0200

    Fix digital signatures for NeedAppearance=true

    Always write out the appearance streams for signatures. Several pdf
    readers can't create it
     - firefox pdf viewer
     - ghostscript
     - ourselves
    Also, annotations without appearance streams are deprecated in pdf2.0.

    Also, if appearance streams exists for a digital signature, don't
    regenerate it, as that results is an empty visual representation,
    and it
    might also fiddle with the signature valudation

    It is not completely clear from the standard if this is 100%
    conforming
    behavior, but NeedAppearance should be set to true if some annotatinos
    are without appearance streams; it is not really described what should
    happen if NeedAppearances is true and some annotations are with
    appearance streams.

 poppler/Annot.cc | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

commit 2368e099c9cd36d8156a2d188d6cab1883410ff7
Author: Albert Astals Cid <aacid@kde.org>
Date:   Wed Aug 23 16:32:08 2023 +0200

    Update (C)

 poppler/GlobalParams.cc    | 1 +
 poppler/GlobalParams.h     | 1 +
 qt5/src/poppler-private.cc | 1 +
 qt6/src/poppler-private.cc | 1 +
 4 files changed, 4 insertions(+)

commit bdaa042978b0bd3e6bcbc1879263597837336715
Author: Shivodit Gill <shivodit.gill@gmail.com>
Date:   Wed Aug 23 12:34:09 2023 +0000

    Add Android-specific font matching functionality to Poppler

 CMakeLists.txt             |  16 +++--
 config.h.cmake             |   3 +
 poppler/GlobalParams.cc    | 161
 ++++++++++++++++++++++++++++++++++++++++++++-
 poppler/GlobalParams.h     |   4 +-
 qt5/src/Mainpage.dox       |  19 ++++++
 qt5/src/poppler-private.cc |  33 +++++++++-
 qt6/src/Mainpage.dox       |  20 ++++++
 qt6/src/poppler-private.cc |  32 +++++++++
 8 files changed, 281 insertions(+), 7 deletions(-)

commit 7da36fe953d67c9a14a42bfda28d44cd3bf1880c
Author: Albert Astals Cid <aacid@kde.org>
Date:   Wed Aug 9 18:59:48 2023 +0200

    Revert "CI: fedora mingw qt6 is borked again :/"

    This reverts commit 9f1885168bd380583390a805b580af1604a3990b.

 .gitlab-ci.yml | 12 ++++++++++++
 1 file changed, 12 insertions(+)

commit 7dedced88e354625ef3f4dc09c9732a4d91cf5d7
Author: Sune Vuorela <sune@vuorela.dk>
Date:   Wed Aug 2 22:39:27 2023 +0000

    Provide the key location for certificates you can sign with

 poppler/CertificateInfo.cc        | 11 ++++++++++-
 poppler/CertificateInfo.h         | 19 +++++++++++++++++++
 poppler/GPGMECryptoSignBackend.cc |  7 +++++++
 qt5/src/poppler-form.cc           | 23 +++++++++++++++++++++++
 qt5/src/poppler-form.h            | 25 +++++++++++++++++++++++++
 qt6/src/poppler-form.cc           | 23 +++++++++++++++++++++++
 qt6/src/poppler-form.h            | 25 +++++++++++++++++++++++++
 utils/pdfsig.cc                   | 18 +++++++++++++++++-
 8 files changed, 149 insertions(+), 2 deletions(-)

commit 1f1823045d71cc2f00ef43320cd181adf68a9d9f
Author: Sune Vuorela <sune@vuorela.dk>
Date:   Tue Jul 18 10:07:50 2023 +0200

    Don't look up same glyph multiple times

    When  iterating over the unicode codepoints, no need to check
    the fonts
    if they still contains the same glyph as we already checked.

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

commit 6e96ac9d2f5003e27bb2772ea71d76f0d2c30ebe
Author: Albert Astals Cid <aacid@kde.org>
Date:   Tue Aug 1 23:51:42 2023 +0200

    poppler 23.08.0

 CMakeLists.txt      |  2 +-
 NEWS                | 16 ++++++++++++++++
 cpp/Doxyfile        |  2 +-
 glib/CMakeLists.txt |  2 +-
 qt5/src/Doxyfile    |  2 +-
 qt6/src/Doxyfile    |  2 +-
 6 files changed, 21 insertions(+), 5 deletions(-)

commit 9f1885168bd380583390a805b580af1604a3990b
Author: Albert Astals Cid <aacid@kde.org>
Date:   Tue Aug 1 20:14:39 2023 +0200

    CI: fedora mingw qt6 is borked again :/

 .gitlab-ci.yml | 12 ------------
 1 file changed, 12 deletions(-)

commit 9c98812e8c68401c201719ce0c7a5ea67cd00f5d
Author: Marek Kasik <mkasik@redhat.com>
Date:   Thu Jul 27 17:03:41 2023 +0200

    glib: Add new members to PopplerCertificateInfo

    These new members of the structure can be used to show more detailed
    info about
    who signed the document and more info about issuer of the certificate.

    Add PopplerCertificateInfo to PopplerSignatureInfo to be able
    to get certificate info of the signature.

 glib/poppler-form-field.cc          | 214
 ++++++++++++++++++++++++++++++++++--
 glib/poppler-form-field.h           |  18 ++-
 glib/reference/poppler-sections.txt |  10 ++
 glib/reference/poppler.types        |   1 +
 4 files changed, 230 insertions(+), 13 deletions(-)

commit eb3adcd80ec3ac2d7e2c5e56aec49f9e8aab0ba2
Author: Albert Astals Cid <aacid@kde.org>
Date:   Sun Jul 23 16:11:33 2023 +0200

    Update (C)

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

commit d8d63630427ca39da995e148fc1a80010c1804f9
Author: Ilaï Deutel <idtl@google.com>
Date:   Wed Jul 19 19:07:54 2023 -0400

    Fix float-cast-overflow error in Catalog

    This error was triggered when running the page_label_fuzzer using
    https://github.com/mozilla/pdf.js/blob/master/test/pdfs/poppler-67295-0.pdf
    as an input.

    The fix avoids extraneous casts in Catalog.cc:

    - Before:
      - int -> double -> int
      - long long -> double -> int
      - double -> int
    - After:
      - int (no cast)
      - long long -> int
      - double -> int

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

commit 0e57662f92847931e3a2ed6cee32f552b996a100
Author: Sune Vuorela <sune@vuorela.dk>
Date:   Thu Jul 6 12:06:36 2023 +0200

    Mark pdf file argument as required; make documentation match code

 utils/pdftotext.1 | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit 823de0858dff673f4ecdbad3386a702b5e0ec3b8
Author: Sune Vuorela <sune@vuorela.dk>
Date:   Thu Jul 6 09:07:28 2023 +0200

    Version symbols in poppler core

    This prevents crashes and collisions in the case where two poppler
    core
    libraries are in the same process.

    The likely case is if an application is linked to both poppler core
    and a stable frontend, and poppler is updated and the application
    is not yet recompiled against the newer poppler core, then the newer
    frontend pulls in newer poppler core while the application pulls
    in the
    older poppler core and that leads to crashes. In general, this can be
    fixed by versioning the symbols to prevent mix and match of symbols.

    Patch by Andreas Metzler <ametzler@bebt.de>

 CMakeLists.txt            | 17 +++++++++++++++--
 poppler/libpoppler.map.in |  4 ++++
 2 files changed, 19 insertions(+), 2 deletions(-)

commit fb198157f32f15e17595730ab82d03d81cdb8010
Author: Albert Astals Cid <aacid@kde.org>
Date:   Sun Jul 16 16:31:15 2023 +0200

    Update (C)

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

commit 22c68e52fd8f761cd1b3f38253fcae00055b02f9
Author: Ilaï Deutel <idtl@google.com>
Date:   Thu Jul 13 14:03:56 2023 -0400

    Fix use-of-uninitialized-value in XRef

    Attribute `keyLength` of `XRef` is not initialized on object
    creation, and is subsequently used, for instance in `XRef::fetch`
    ([poppler/XRef.cc:1214](https://gitlab.freedesktop.org/poppler/poppler/-/blob/e0148dbc9a0189d1ee982a1b3e763930e086b919/poppler/XRef.cc#L1214)).
    This was flagged by running `MemorySanitizer`.

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

commit e0148dbc9a0189d1ee982a1b3e763930e086b919
Author: Thomas Freitag <thomas.freitag.bbr@gmail.com>
Date:   Wed Jul 12 14:42:25 2023 +0000

    avoid bogus memory allocation size in doTilingPatternFill

 poppler/SplashOutputDev.cc | 9 +++++++++
 1 file changed, 9 insertions(+)

commit 4ff8402775aeae27cecb9b372eda7909a3524b20
Author: Albert Astals Cid <aacid@kde.org>
Date:   Mon Jul 10 20:53:31 2023 +0200

    Update (C)

 poppler/GfxState.cc        | 2 +-
 poppler/SplashOutputDev.cc | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 5726aff3cd2b5a2f84200d75ff8b875f8827c6c5
Author: Thomas Freitag <thomas.freitag.bbr@gmail.com>
Date:   Mon Jul 10 09:08:01 2023 +0000

    GWG 19.2 - DeviceN Overprint (White):

 poppler/GfxState.cc        | 2 +-
 poppler/SplashOutputDev.cc | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit ee2af17e916e6310ab25b92a638df380b18a24ee
Author: Sune Vuorela <sune@vuorela.dk>
Date:   Wed Jul 5 17:30:46 2023 +0200

    Remove unused constructor parameter

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

commit e54d8611d979f0034f81f1c51c2dfcd14200038d
Author: Jan-Michael Brummer <jan.brummer@tabos.org>
Date:   Tue Jul 4 10:53:15 2023 +0200

    Improve poppler_get_available_signing_certificates

    Remove #ifdef and error handling

    Fixes: https://gitlab.freedesktop.org/poppler/poppler/-/issues/1412

 glib/poppler-form-field.cc | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

commit 639efb3d3b08fb10fb84976cb6db98ea929e9486
Author: Albert Astals Cid <aacid@kde.org>
Date:   Mon Jul 3 23:05:08 2023 +0200

    poppler 23.07.0

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

commit 1b1036cf4ef1bfd70f300da3534375d02195fe32
Author: Albert Astals Cid <aacid@kde.org>
Date:   Mon Jul 3 21:05:14 2023 +0200

    Update (C)

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

commit c40bec5715075c12e7158639c638baa95bfcf2e8
Author: Anton Thomasson <antonthomasson@gmail.com>
Date:   Mon Jun 19 22:04:38 2023 +0200

    Don't abort command when restore runs in to a state guard

    Fixes #1395

 poppler/Gfx.cc | 1 -
 1 file changed, 1 deletion(-)

commit c46203cb5a9c57ba039658d305d6ed8e450d51e8
Author: Albert Astals Cid <aacid@kde.org>
Date:   Mon Jul 3 15:25:27 2023 +0200

    Add a few new NSS enums to ConvertHashTypeFromNss

 poppler/NSSCryptoSignBackend.cc | 7 +++++++
 1 file changed, 7 insertions(+)

commit ed7a7887050dd0095ebca2ec7b511f3131242efa
Author: Sune Vuorela <sune@vuorela.dk>
Date:   Mon Jul 3 12:40:56 2023 +0200

    MSVC still unhappy with unicode bits in unicode test

 qt5/tests/check_utf8document.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit badfea70ce6d81ce7c9ce0a671c80f53d92a4b83
Author: Sune Vuorela <sune@vuorela.dk>
Date:   Fri Jun 30 15:04:42 2023 +0200

    MSVC unhappy with utf8 in QStringLiteral

 qt5/tests/check_utf8document.cpp | 10 +++++-----
 qt6/tests/check_utf8document.cpp | 10 +++++-----
 2 files changed, 10 insertions(+), 10 deletions(-)

commit fac65b3c791b6a1bb3fa83d122b9fce9a6a93ee7
Author: Jan-Michael Brummer <jan.brummer@tabos.org>
Date:   Fri Jun 30 11:50:29 2023 +0200

    Remove g_auto functions

 glib/demo/signature.c    | 9 ++++++---
 glib/poppler-document.cc | 3 ++-
 2 files changed, 8 insertions(+), 4 deletions(-)

commit fa28ba42105b04aef25968e1a31eefeec2c48f4e
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri Jun 30 00:03:28 2023 +0200

    Update (C)

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

commit b4f802c88e0642f0f1271cb4a23cd279e699f38d
Author: Sune Vuorela <sune@vuorela.dk>
Date:   Wed Jun 28 15:49:24 2023 +0200

    Improve message on invalid cid font collection

    Hopefully fixes #1408

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

commit bdd922b7caaa965828e0e45a6cde0b1585c9740e
Author: Jan-Michael Brummer <jan.brummer@tabos.org>
Date:   Wed Oct 5 08:20:13 2022 +0200

    Signatures: Add signing API to glib part

    Rectangle corrections by Marek Kasik

 glib/CMakeLists.txt                 |    6 +
 glib/demo/CMakeLists.txt            |    1 +
 glib/demo/main.c                    |    4 +-
 glib/demo/signature.c               |  437 ++++++++++++++
 glib/demo/signature.h               |   31 +
 glib/poppler-document.cc            |   98 ++++
 glib/poppler-document.h             |    5 +
 glib/poppler-form-field.cc          | 1088
 +++++++++++++++++++++++++++++++++++
 glib/poppler-form-field.h           |  114 ++++
 glib/poppler.h                      |    5 +-
 glib/reference/poppler-sections.txt |   51 ++
 glib/reference/poppler.types        |    2 +
 12 files changed, 1840 insertions(+), 2 deletions(-)

commit d1e86894cbb617c64b84fe18cae7294b1cb45eed
Author: Albert Astals Cid <aacid@kde.org>
Date:   Thu Jun 29 00:35:56 2023 +0200

    Update (C)

 qt5/src/poppler-page.cc | 1 +
 qt6/src/poppler-page.cc | 1 +
 2 files changed, 2 insertions(+)

commit d9d1550a3e337e041cf2801dfcb0366fcb5b16d0
Author: Albert Astals Cid <aacid@kde.org>
Date:   Wed Jun 28 00:47:14 2023 +0200

    Update (C)

 poppler/PDFDoc.cc      | 2 +-
 poppler/PSOutputDev.cc | 1 +
 poppler/PSOutputDev.h  | 1 +
 poppler/XRef.cc        | 1 +
 poppler/XRef.h         | 1 +
 5 files changed, 5 insertions(+), 1 deletion(-)

commit 7d87c7d2c6ca4f814f87329534a17dbf30203313
Author: Sune Vuorela <sune@vuorela.dk>
Date:   Tue Jun 27 22:11:29 2023 +0000

    Allow for stream compression and compress font streams in forms

 CMakeLists.txt                 | 21 ++++-----------------
 config.h.cmake                 |  3 ---
 poppler/Form.cc                |  6 +++---
 poppler/PDFDoc.cc              | 28 ++++++++++++++++++----------
 poppler/PSOutputDev.cc         | 29 ++++++-----------------------
 poppler/PSOutputDev.h          | 11 +----------
 poppler/XRef.cc                | 13 ++++++++++---
 poppler/XRef.h                 | 11 +++++++++--
 poppler/poppler-config.h.cmake |  5 -----
 9 files changed, 51 insertions(+), 76 deletions(-)

commit 2c403ec533ad9ad821c37e3f80f8f361ce9cdea8
Author: Albert Astals Cid <aacid@kde.org>
Date:   Mon Jun 26 00:51:22 2023 +0200

    Fix crash if CERT_ExtractPublicKey doesn't return a public key

    Fixes KDE Bug #471422

 poppler/NSSCryptoSignBackend.cc | 40
 ++++++++++++++++++++++------------------
 1 file changed, 22 insertions(+), 18 deletions(-)

commit 6ebe45e8dceae11d02c74df47c34f4490a45a15e
Author: Kevin Ottens <kevin.ottens@enioka.com>
Date:   Wed Jun 21 15:10:48 2023 +0200

    Don't crash when overprint preview is enabled with the Qt bindings

    When overprint preview is enabled, the image data row size changes
    during conversion to XBGR. The Qt bindings were assuming this row
    size was constant which led to badly broken QImages at conversion
    time (generating garbage if displayed or even crashing).

    This commit simply add regression tests for the case and gets the
    row size after bitmap conversion.

 qt5/src/poppler-page.cc       |  8 ++++----
 qt5/tests/CMakeLists.txt      |  1 +
 qt5/tests/check_overprint.cpp | 41
 +++++++++++++++++++++++++++++++++++++++++
 qt6/src/poppler-page.cc       |  8 ++++----
 qt6/tests/CMakeLists.txt      |  1 +
 qt6/tests/check_overprint.cpp | 38 ++++++++++++++++++++++++++++++++++++++
 6 files changed, 89 insertions(+), 8 deletions(-)

commit f0d648c3f0cb69121d0115d468401d58255ad0cf
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri Jun 16 11:36:53 2023 +0200

    Update (C)

 poppler/UTF.cc | 1 +
 poppler/UTF.h  | 1 +
 2 files changed, 2 insertions(+)

commit 7b199526e6f7bb5a28e8ddd017e23ae51b85b9f6
Author: Sune Vuorela <sune@vuorela.dk>
Date:   Wed Jun 14 16:13:23 2023 +0200

    Cryptosign: OCSP and AIA: Document

    Document how the backends interacts with the OCSP and AIA flags,
    and ensure the implementation matches.

 poppler/GPGMECryptoSignBackend.cc |  2 +-
 qt5/src/poppler-form.h            | 12 ++++++++++++
 qt6/src/poppler-form.h            | 12 ++++++++++++
 3 files changed, 25 insertions(+), 1 deletion(-)

commit b8c55037fcfc0d3910cad5a4e65b3161bd5ea585
Author: Oliver Sander <oliver.sander@tu-dresden.de>
Date:   Wed Jun 14 14:11:52 2023 +0200

    Store PSOutPaperSize objects by value

    This simplifies the code, and saves a few heap allocations.

 poppler/PSOutputDev.cc | 35 ++++++++---------------------------
 poppler/PSOutputDev.h  | 14 ++++++++++++--
 2 files changed, 20 insertions(+), 29 deletions(-)

commit b2ae26814909047b27f30cffaed225b5bb9f96e9
Author: Oliver Sander <oliver.sander@tu-dresden.de>
Date:   Wed Jun 14 13:23:54 2023 +0200

    Store PSOutPaperSize::name as std::string

    Rather than as a pointer to a GooString

    Safer and simpler code, and less memory allocations.

 poppler/PSOutputDev.cc | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

commit 9306058027b24b926e98da9651df9d56e5f744b0
Author: Oliver Sander <oliver.sander@tu-dresden.de>
Date:   Wed Jun 14 11:16:13 2023 +0200

    Store the paperSizes vector of PSOutputDev as object

    Rather than storing a pointer and allocating the std::vector
    on the heap.

    This simplifies the code and saves a few heap allocations.

 poppler/PSOutputDev.cc | 28 +++++++++++-----------------
 poppler/PSOutputDev.h  |  4 ++--
 2 files changed, 13 insertions(+), 19 deletions(-)

commit e885124ab3b071b7fbb2f001e4a9a88b7e758605
Author: Even Rouault <even.rouault@spatialys.com>
Date:   Thu Jun 15 20:25:24 2023 +0200

    utf8ToUtf16(): fix out-of-bounds write

    Fixes a regression introduced by recent
    9183da4fcb8d06360ed51f7f1131a14300008735 commit which caused the
    following Valgrind error:

    ```
    $ valgrind utils/pdftoppm /tmp/test.pdf
    ==3735668== Memcheck, a memory error detector
    ==3735668== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward
    et al.
    ==3735668== Using Valgrind-3.15.0 and LibVEX; rerun with -h for
    copyright info
    ==3735668== Command: utils/pdftoppm /tmp/test.pdf
    ==3735668==
    Syntax Warning: May not be a PDF file (continuing anyway)
    Syntax Error: Unterminated string
    ==3735668== Invalid write of size 2
    ==3735668==    at 0x4A3570C: utf8ToUtf16(char const*, unsigned short*,
    int, int) (poppler/UTF.cc:353)
    ==3735668==    by 0x4A3584C: utf8ToUtf16(char const*, int*)
    (poppler/UTF.cc:368)
    ==3735668==    by 0x4A358D4:
    utf8ToUtf16WithBom(std::__cxx11::basic_string<char,
    std::char_traits<char>, std::allocator<char> > const&)
    (poppler/UTF.cc:379)
    ==3735668==    by 0x49F2C97: Lexer::getObj(int) (poppler/Lexer.cc:424)
    ==3735668==    by 0x4A035C2: Parser::Parser(XRef*, Stream*, bool)
    (poppler/Parser.cc:50)
    ==3735668==    by 0x49F888B: Linearization::Linearization(BaseStream*)
    (poppler/Linearization.cc:28)
    ==3735668==    by 0x4A06D8D: getLinearization (poppler/PDFDoc.cc:648)
    ==3735668==    by 0x4A06D8D: PDFDoc::isLinearized(bool)
    (poppler/PDFDoc.cc:700)
    ==3735668==    by 0x4A0518D: PDFDoc::getStartXRef(bool)
    (poppler/PDFDoc.cc:2003)
    ==3735668==    by 0x4A04BB8: PDFDoc::setup(std::optional<GooString>
    const&, std::optional<GooString> const&, std::function<void ()>
    const&) (poppler/PDFDoc.cc:246)
    ==3735668==    by 0x4A04AAB: PDFDoc::PDFDoc(std::unique_ptr<GooString,
    std::default_delete<GooString> >&&, std::optional<GooString> const&,
    std::optional<GooString> const&, void*, std::function<void ()> const&)
    (poppler/PDFDoc.cc:160)
    ==3735668==    by 0x49F93EA: LocalPDFDocBuilder::buildPDFDoc(GooString
    const&, std::optional<GooString> const&, std::optional<GooString>
    const&, void*) (poppler/LocalPDFDocBuilder.cc:0)
    ==3735668==    by 0x4A1FBB5: PDFDocFactory::createPDFDoc(GooString
    const&, std::optional<GooString> const&, std::optional<GooString>
    const&, void*) (poppler/PDFDocFactory.cc:62)
    ==3735668==  Address 0x669cf54 is 0 bytes after a block of size
    148 alloc'd
    ==3735668==    at 0x483B7F3: malloc (in
    /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
    ==3735668==    by 0x4A35815: gmalloc (goo/gmem.h:44)
    ==3735668==    by 0x4A35815: gmallocn (goo/gmem.h:121)
    ==3735668==    by 0x4A35815: utf8ToUtf16(char const*, int*)
    (poppler/UTF.cc:367)
    ==3735668==    by 0x4A358D4:
    utf8ToUtf16WithBom(std::__cxx11::basic_string<char,
    std::char_traits<char>, std::allocator<char> > const&)
    (poppler/UTF.cc:379)
    ==3735668==    by 0x49F2C97: Lexer::getObj(int) (poppler/Lexer.cc:424)
    ==3735668==    by 0x4A035C2: Parser::Parser(XRef*, Stream*, bool)
    (poppler/Parser.cc:50)
    ==3735668==    by 0x49F888B: Linearization::Linearization(BaseStream*)
    (poppler/Linearization.cc:28)
    ==3735668==    by 0x4A06D8D: getLinearization (poppler/PDFDoc.cc:648)
    ==3735668==    by 0x4A06D8D: PDFDoc::isLinearized(bool)
    (poppler/PDFDoc.cc:700)
    ==3735668==    by 0x4A0518D: PDFDoc::getStartXRef(bool)
    (poppler/PDFDoc.cc:2003)
    ==3735668==    by 0x4A04BB8: PDFDoc::setup(std::optional<GooString>
    const&, std::optional<GooString> const&, std::function<void ()>
    const&) (poppler/PDFDoc.cc:246)
    ==3735668==    by 0x4A04AAB: PDFDoc::PDFDoc(std::unique_ptr<GooString,
    std::default_delete<GooString> >&&, std::optional<GooString> const&,
    std::optional<GooString> const&, void*, std::function<void ()> const&)
    (poppler/PDFDoc.cc:160)
    ==3735668==    by 0x49F93EA: LocalPDFDocBuilder::buildPDFDoc(GooString
    const&, std::optional<GooString> const&, std::optional<GooString>
    const&, void*) (poppler/LocalPDFDocBuilder.cc:0)
    ==3735668==    by 0x4A1FBB5: PDFDocFactory::createPDFDoc(GooString
    const&, std::optional<GooString> const&, std::optional<GooString>
    const&, void*) (poppler/PDFDocFactory.cc:62)
    ```

    Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=59840

 poppler/UTF.cc                     | 2 +-
 poppler/UTF.h                      | 2 +-
 qt5/tests/check_utf_conversion.cpp | 2 +-
 qt6/tests/check_utf_conversion.cpp | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

commit cd99989705824202d157c33d48c998e9818ea2f3
Author: Sune Vuorela <sune@vuorela.dk>
Date:   Mon Jun 12 14:19:18 2023 +0200

    Revert "Remove poppler mingw CI until it's fixed again"

    This reverts commit 2dcbf58328e5acaafaa73dc2e601e5737c685789.

 .gitlab-ci.yml | 12 ++++++++++++
 1 file changed, 12 insertions(+)

commit 8eea66b804c2651be4d91eed4b0992cc0c6f3e47
Author: Albert Astals Cid <aacid@kde.org>
Date:   Wed Jun 14 22:13:17 2023 +0200

    PSOutputDev::writePSFmt is GOOSTRING_FORMAT

 poppler/PSOutputDev.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 79ba5720ea8067b43d79c5dc100116cee75ccdbe
Author: Oliver Sander <oliver.sander@tu-dresden.de>
Date:   Wed Jun 14 11:08:42 2023 +0200

    Remove method Hints::getPageRanges

    It is not used.

 poppler/Hints.cc | 41 -----------------------------------------
 poppler/Hints.h  |  1 -
 2 files changed, 42 deletions(-)

commit 222982849168a8aa0a78cb2a4fa2b903f2f74146
Author: Albert Astals Cid <aacid@kde.org>
Date:   Wed Jun 14 00:33:00 2023 +0200

    Update (C)

 poppler/Lexer.cc | 1 +
 poppler/UTF.cc   | 1 +
 poppler/UTF.h    | 1 +
 3 files changed, 3 insertions(+)

commit 9183da4fcb8d06360ed51f7f1131a14300008735
Author: Sune Vuorela <sune@vuorela.dk>
Date:   Tue Jun 13 22:24:24 2023 +0000

    Fix reading of utf8-with-bom files

 poppler/Lexer.cc                 | 27 ++++++++++++-------
 poppler/UTF.cc                   |  3 +++
 poppler/UTF.h                    | 11 ++++++++
 qt5/tests/CMakeLists.txt         |  3 ++-
 qt5/tests/check_utf8document.cpp | 57
 ++++++++++++++++++++++++++++++++++++++++
 qt6/tests/CMakeLists.txt         |  1 +
 qt6/tests/check_utf8document.cpp | 57
 ++++++++++++++++++++++++++++++++++++++++
 7 files changed, 148 insertions(+), 11 deletions(-)

commit 7cf6cd7b9a0fc496738c245421eea54ec669448d
Author: Sune Vuorela <sune@vuorela.dk>
Date:   Mon Jun 12 12:22:13 2023 +0200

    Describe signature dump format in manual page

    fixes #215

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

commit 19679f2873369117204c3e555967a5c9ed9187d6
Author: Sune Vuorela <sune@vuorela.dk>
Date:   Fri Jun 9 16:30:47 2023 +0200

    Fix build without NSS

    Happened as a mismerge during !1394

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

commit f67c0187430b04b8f575686357a1669142e2949e
Author: Sune Vuorela <sune@vuorela.dk>
Date:   Fri Jun 9 16:27:37 2023 +0200

    Fix 32bit build.

    Resolves !1402.
    Thanks, Thomas

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

commit 8d4764b498d4f9798e9aaedbce5e442d382acb0a
Author: Sune Vuorela <sune@vuorela.dk>
Date:   Tue Jun 6 16:02:25 2023 +0000

    pdfsig: Allow show and select backend

 utils/CMakeLists.txt |  6 ++++--
 utils/pdfsig.1       |  8 +++++++-
 utils/pdfsig.cc      | 52
 +++++++++++++++++++++++++++++++++++++++++++++++++---
 3 files changed, 60 insertions(+), 6 deletions(-)

commit def45c82b36ec393fbaf16d9873db23bc9659b80
Author: Sune Vuorela <sune@vuorela.dk>
Date:   Mon Jun 5 12:36:44 2023 +0200

    Don't fail signature basics tests if backend is not configured

 qt5/tests/check_signature_basics.cpp | 22 +++++++++++++++++-----
 qt6/tests/check_signature_basics.cpp | 22 +++++++++++++++++-----
 2 files changed, 34 insertions(+), 10 deletions(-)

commit f0373f62df9cb6b7bff29150344fddfe1e8361c5
Author: Albert Astals Cid <aacid@kde.org>
Date:   Mon Jun 5 12:12:40 2023 +0200

    poppler 23.06.0

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

commit fa00b3fbbd62c5b6b5383d9997a9d5c30827b386
Author: Sune Vuorela <sune@vuorela.dk>
Date:   Mon Jun 5 11:09:09 2023 +0200

    Fix cornercase crash in weird pdfsig setups

    This fixes a potential crash in setups where at least one
    cryptographic
    signature backend is compiled in, but none is functional.

 utils/pdfsig.cc | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

commit c002bee1f2010d13c85a46e6816920ecdccb3015
Author: Sune Vuorela <sune@vuorela.dk>
Date:   Thu May 25 13:21:08 2023 +0200

    Store embedded fonts widths table more effective

    Some non-scientific experiments:
    A single 8k pdf document with okular adding a simple typewriter
    annotation with content "aoeu" in approximately the same place grows
    without this patch to 894k. With this patch, it grows to 649k.

    For comparison, if one doesn't embed the widths content at all,
    the same
    process grew to 638k

    While this isn't ground breaking gains, it is still some improvement.

 poppler/CIDFontsWidthsBuilder.h           | 190
 ++++++++++++++++++++++++++++++
 poppler/Form.cc                           |  36 +++++-
 qt5/tests/CMakeLists.txt                  |   1 +
 qt5/tests/check_cidfontswidthsbuilder.cpp | 100 ++++++++++++++++
 qt6/tests/CMakeLists.txt                  |   1 +
 qt6/tests/check_cidfontswidthsbuilder.cpp | 100 ++++++++++++++++
 6 files changed, 423 insertions(+), 5 deletions(-)

commit 2dcbf58328e5acaafaa73dc2e601e5737c685789
Author: Albert Astals Cid <aacid@kde.org>
Date:   Mon Jun 5 00:56:51 2023 +0200

    Remove poppler mingw CI until it's fixed again

    https://bugzilla.redhat.com/show_bug.cgi?id=2212050

 .gitlab-ci.yml | 12 ------------
 1 file changed, 12 deletions(-)

commit 981210b9dcc47ce2209ae7091cf6df87c958b6b2
Author: Sune Vuorela <sune@vuorela.dk>
Date:   Tue May 30 22:06:20 2023 +0000

    Rename NSS CryptoSign backend classes and files in line with GPG
    backend.

 CMakeLists.txt                                     |  2 +-
 poppler/CryptoSignBackend.cc                       |  2 +-
 ...SignatureHandler.cc => NSSCryptoSignBackend.cc} | 58
 +++++++++++++---------
 .../{SignatureHandler.h => NSSCryptoSignBackend.h} | 32 ++++++------
 qt5/src/poppler-form.cc                            |  8 +--
 qt6/src/poppler-form.cc                            |  8 +--
 utils/pdfsig.cc                                    |  8 +--
 7 files changed, 63 insertions(+), 55 deletions(-)

commit c6dd11d89a08a6e4ab93d31b6d5d89a9153d9a91
Author: Albert Astals Cid <aacid@kde.org>
Date:   Sun May 28 01:00:51 2023 +0200

    Update (C)

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

commit 333b04802a3a9dbdb0d0e0caec553fd1037c4c92
Author: Khaled Hosny <khaled@aliftype.com>
Date:   Mon May 8 18:35:10 2023 +0300

    Try harder to get Type 3 font name

    There is no BaseFont in Type 3 fonts, so we first try
    fontDescriptor’s
    FontName, but fontDescriptor is optional so we then try the Name key.

    Fixes #1396

