commit c9e2dc7ea7e098875e6b93566bdb1d14451c3673
Author: Albert Astals Cid <aacid@kde.org>
Date:   Sat May 19 17:05:25 2018 +0200

    Poppler 0.65.0

 CMakeLists.txt         |  4 ++--
 NEWS                   | 22 ++++++++++++++++++++++
 cpp/CMakeLists.txt     |  2 +-
 cpp/Doxyfile           |  2 +-
 qt5/src/CMakeLists.txt |  2 +-
 qt5/src/Doxyfile       |  2 +-
 6 files changed, 28 insertions(+), 6 deletions(-)

commit 921de21733816fc6cd66c70c7a4914fbfee924d6
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri May 18 00:45:59 2018 +0200

    qt5: remove duplicate code

    Create new toPopplerAdditionalActionType private function

 qt5/src/poppler-annotation.cc | 15 +--------------
 qt5/src/poppler-form.cc       | 17 ++---------------
 qt5/src/poppler-private.cc    | 18 ++++++++++++++++++
 qt5/src/poppler-private.h     |  2 ++
 4 files changed, 23 insertions(+), 29 deletions(-)

commit 083139775fd4ee8dd073347bb0e2835aab334444
Author: Andre Heinecke <aheinecke@intevation.de>
Date:   Wed May 2 16:20:40 2018 +0200

    qt5: Add widget annot actions to FormFields

    This adds API to access AnnotWidget actions which
    are associated with a FormField.

 qt5/src/poppler-form.cc | 31 +++++++++++++++++++++++++++++++
 qt5/src/poppler-form.h  |  8 ++++++++
 2 files changed, 39 insertions(+)

commit 784bf432bffadf654b213caa21ec95fafb963299
Author: Albert Astals Cid <aacid@kde.org>
Date:   Tue May 8 01:16:06 2018 +0200

    Fix build with -DFONT_CONFIGURATION=generic

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

commit 07b8f838b3d8859a3ad34a3140bb24475bd6ac2c
Author: Albert Astals Cid <aacid@kde.org>
Date:   Mon May 7 19:13:07 2018 +0200

    cast to void * to bypass new gcc -Wclass-memaccess warning

    Yes what we're doing there is a bit nasty but it works :D

 poppler/Array.cc | 2 +-
 poppler/Dict.cc  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 2e750862ed5cba42fba2c6dd953820445d9c64cb
Author: Albert Astals Cid <aacid@kde.org>
Date:   Mon May 7 19:02:40 2018 +0200

    Remove useless memset

    Parent already has a proper constructor that initializes stuff and on
    top of that the sizeof was of the pointer and not of the class itself

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

commit 030c6123c42813818fbb94717d301d4723671545
Author: Albert Astals Cid <aacid@kde.org>
Date:   Sun May 6 17:25:39 2018 +0200

    Fix windows build

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

commit 62ed50c649670423136a49ae0fc39a6d314336a7
Author: Albert Astals Cid <aacid@kde.org>
Date:   Sun May 6 17:01:30 2018 +0200

    Remove GlobalParams::getUnicodeToUnicode

    As shown by Adam in f559cc94310c149a61eb246e1aff7c093f3406b5 it was a
    noop since we were not filling the hash it tried to get info from

 poppler/GfxFont.cc     | 45 +--------------------------------------------
 poppler/GlobalParams.h |  1 -
 2 files changed, 1 insertion(+), 45 deletions(-)

commit 18cc4c3006695bbebd1d99d953d555a0bb3a3a65
Author: Adam Reichold <adam.reichold@t-online.de>
Date:   Wed Feb 21 20:15:22 2018 +0100

    Make UnicodeMap a move-only type to simplify the initialization of
    residentUnicodeMaps s.t. it is closer to the GooHash-based version.

 poppler/GlobalParams.cc |  35 ++++++----------
 poppler/UnicodeMap.cc   | 106
 +++++++++++++++++++++++++++++++++++-------------
 poppler/UnicodeMap.h    |  16 ++++----
 3 files changed, 97 insertions(+), 60 deletions(-)

commit 75cba9a1434c991534795d9185d7b755d9ed288c
Author: Adam Reichold <adam.reichold@t-online.de>
Date:   Sun Feb 18 16:12:19 2018 +0100

    Remove GooHash after replacing it by std::unordered_map.

 CMakeLists.txt |   2 -
 goo/GooHash.cc | 403
 ---------------------------------------------------------
 goo/GooHash.h  |  93 -------------
 3 files changed, 498 deletions(-)

commit ccf5fbf898a27b02085b7b0707e5f59bee443fb3
Author: Adam Reichold <adam.reichold@t-online.de>
Date:   Sun Feb 18 16:23:36 2018 +0100

    Also replace the Win32-specific usage of GooHash by std::unordered_map
    on a best-effort basis.

 poppler/GlobalParams.cc    |  6 ------
 poppler/GlobalParams.h     |  3 ++-
 poppler/GlobalParamsWin.cc | 25 ++++++++++++-------------
 3 files changed, 14 insertions(+), 20 deletions(-)

commit 85e43288159804c57b3168fa95f955c41040bd29
Author: Adam Reichold <adam.reichold@t-online.de>
Date:   Sun Feb 18 16:11:55 2018 +0100

    Replace GooHash by std::unordered_map in PSOutputDev.

 poppler/PSOutputDev.cc | 31 +++++++++++--------------------
 poppler/PSOutputDev.h  |  8 +++++---
 2 files changed, 16 insertions(+), 23 deletions(-)

commit d5701be9c7daaf097698c0db57e004c4782450ee
Author: Adam Reichold <adam.reichold@t-online.de>
Date:   Sun Feb 18 16:11:29 2018 +0100

    Replace GooHash by std::unordered_map in OutputDev.

 poppler/Gfx.cc         | 20 ++++----------------
 poppler/OutputDev.cc   | 15 ++++-----------
 poppler/OutputDev.h    | 15 +++++++++------
 poppler/PSOutputDev.h  |  3 ++-
 poppler/ProfileData.cc | 10 +---------
 poppler/ProfileData.h  | 25 ++++++++++---------------
 test/pdf-inspector.cc  | 17 +++++------------
 7 files changed, 35 insertions(+), 70 deletions(-)

commit f559cc94310c149a61eb246e1aff7c093f3406b5
Author: Adam Reichold <adam.reichold@t-online.de>
Date:   Sun Feb 18 16:10:59 2018 +0100

    Replace GooHash by std::unordered_map in GlobalParams.

 poppler/CharCodeToUnicode.cc |   9 +-
 poppler/CharCodeToUnicode.h  |   3 +-
 poppler/GlobalParams.cc      | 218
 ++++++++++++++-----------------------------
 poppler/GlobalParams.h       |  34 +++----
 4 files changed, 97 insertions(+), 167 deletions(-)

commit 41ad41d6eb726aabd3bff18db5c08422e0d18807
Author: Adam Reichold <adam.reichold@t-online.de>
Date:   Sun Feb 18 16:10:16 2018 +0100

    Replace GooHash by std::unordered_map in FoFiTrueType.

 fofi/FoFiTrueType.cc | 39 +++++++++++++++------------------------
 fofi/FoFiTrueType.h  |  8 +++++---
 2 files changed, 20 insertions(+), 27 deletions(-)

commit 55272138c3835dd9db8733850304ffe966e6478d
Author: Adam Reichold <adam.reichold@t-online.de>
Date:   Tue Feb 20 09:07:17 2018 +0100

    Add conversion methods between GooString and std::string.

 goo/GooString.h | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

commit 08a4ac65d202742209bca6cf3806c4d111a5522c
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri May 4 15:51:18 2018 +0200

    FindLIBOPENJPEG2.cmake: Remove cache code

    It wasn't working since the if mentioned LIBOPENJPEG2_INCLUDE_DIR
    instead of LIBOPENJPEG2_INCLUDE_DIRS
    and when fixing the typo it broke the build because we were not
    defining USE_OPENJPEG2, so better just
    remove the broken if code

 cmake/modules/FindLIBOPENJPEG2.cmake | 22 +++++++---------------
 1 file changed, 7 insertions(+), 15 deletions(-)

commit 8f94bc8e6f65420a63411ead3a7e838a9542acbd
Author: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Date:   Fri May 4 15:29:09 2018 +0200

    pdffonts: Minor formatting changes in the man page

    Bug #105194

 utils/pdffonts.1 | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

commit 7bd0f774508f543616ebb2ad1f4558fdacfca5b7
Author: Zsombor Hollay-Horvath <hollay.horvath@gmail.com>
Date:   Fri May 4 15:23:21 2018 +0200

    cpp: Expose more image modes, add option to select mode in renderer

    Bug #105558

 cpp/poppler-image.cpp         |  46 +++++++++++++++-
 cpp/poppler-image.h           |   5 +-
 cpp/poppler-page-renderer.cpp | 124
 +++++++++++++++++++++++++++++++++++++++++-
 cpp/poppler-page-renderer.h   |  13 +++++
 4 files changed, 184 insertions(+), 4 deletions(-)

commit 60b4fe65bc9dc9b82bbadf0be2e3781be796a13d
Author: Albert Astals Cid <aacid@kde.org>
Date:   Tue May 1 02:46:17 2018 +0200

    FoFiType1C::cvtGlyph: Fix infinite recursion on malformed documents

    Bugs #104942, #103238

 fofi/FoFiType1C.cc | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

commit 8429a67536b7c2f6d752e4a522ee98e6f76a40f9
Author: Albert Astals Cid <aacid@kde.org>
Date:   Tue May 1 02:44:37 2018 +0200

    XRef: Fix runtime undefined behaviour

    Going to the position -1 of an array is undefined behaviour, so
    don't do
    it

    Bug #105970

 poppler/XRef.cc | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

commit 9d42769705180d6df4ba8415849ef8790a0e9b1d
Author: Albert Astals Cid <aacid@kde.org>
Date:   Tue May 1 02:43:21 2018 +0200

    Add the invisible character check to SplashOutputDev::beginType3Char

    Bug #106244

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

commit 15d6519933256ffd1746eb6c7988def34228952e
Author: Albert Astals Cid <aacid@kde.org>
Date:   Mon Apr 30 15:09:26 2018 +0200

    cpp: add a newline after the error line

 cpp/poppler-private.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 6085b7b35b8ee6b0aab2d1b55064f79cb7e2c2fb
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri Mar 23 16:46:09 2018 +0100

    Make poppler_form_field_get_font_size return 0

    It was doing that anyway but in a more complex way.

    Added a note into the docu so that people can volunteer to come
    and fix it if someone is using it

 glib/poppler-form-field.cc | 5 ++++-
 poppler/Annot.cc           | 1 -
 poppler/Annot.h            | 3 ---
 poppler/Form.cc            | 4 ----
 poppler/Form.h             | 2 --
 5 files changed, 4 insertions(+), 11 deletions(-)

commit a613cd32bcaabe67649536886637ad022685c402
Author: Albert Astals Cid <aacid@kde.org>
Date:   Thu Apr 19 17:10:23 2018 +0200

    Fix compilation with libc++

 qt5/src/ArthurOutputDev.cc | 2 ++
 1 file changed, 2 insertions(+)

commit 4d851d16aa6a2a9f00b60091a2ef810be1a571ea
Author: Albert Astals Cid <aacid@kde.org>
Date:   Tue Apr 17 20:04:26 2018 +0200

    poppler 0.64.0

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

commit 1dcf335a8e212fdfd18bad1f56a743504f653cf5
Author: Albert Astals Cid <aacid@kde.org>
Date:   Tue Apr 17 16:21:33 2018 +0200

    qt5: Don't need this friend declaration

 qt5/src/poppler-link.h | 1 -
 1 file changed, 1 deletion(-)

commit 281d5cbd33521c823f1602f3d0c1e2ad9a4ab1d2
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri Apr 6 15:34:57 2018 +0200

    Object::getName return const char instead of char

 poppler/Form.cc                   |  2 +-
 poppler/Form.h                    |  2 +-
 poppler/Gfx.cc                    | 20 ++++++++++----------
 poppler/Gfx.h                     | 14 +++++++-------
 poppler/GfxFont.cc                |  4 ++--
 poppler/Link.cc                   |  6 +++---
 poppler/Link.h                    |  2 +-
 poppler/MarkedContentOutputDev.cc |  2 +-
 poppler/MarkedContentOutputDev.h  |  2 +-
 poppler/Movie.cc                  |  2 +-
 poppler/Object.h                  |  2 +-
 poppler/OutputDev.cc              |  6 +++---
 poppler/OutputDev.h               |  6 +++---
 poppler/Rendition.cc              |  2 +-
 poppler/Stream.cc                 |  2 +-
 poppler/Stream.h                  |  2 +-
 16 files changed, 38 insertions(+), 38 deletions(-)

commit 8fe1a5b96e5ad7dac60dd0f198b3c8b18fb3c5bb
Author: Andre Heinecke <aheinecke@intevation.de>
Date:   Tue Apr 17 10:02:40 2018 +0200

    Fix parsing of focus out actions

    The key is uppercase B with lowercase L. Not I.

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

commit 3636ccbaece6706ef86dfab9303c3f164e68ffe2
Author: Albert Astals Cid <aacid@kde.org>
Date:   Tue Apr 17 10:57:06 2018 +0200

    pdfsig: Don't use fixed buffer size for path

 utils/pdfsig.cc | 19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 deletions(-)

commit 17c7e3b0e1801a8643712013eb3b106c802e0faa
Author: Albert Astals Cid <aacid@kde.org>
Date:   Tue Apr 17 11:02:29 2018 +0200

    utils: Move numberOfCharacters to shared file

 utils/numberofcharacters.h | 26 ++++++++++++++++++++++++++
 utils/pdftocairo.cc        | 13 +------------
 utils/pdftoppm.cc          | 13 +------------
 3 files changed, 28 insertions(+), 24 deletions(-)

commit 73ab9930810ae83998467ec859f3ee3984548cbd
Author: Albert Astals Cid <aacid@kde.org>
Date:   Tue Apr 17 10:46:46 2018 +0200

    pdfsig: Add -dump to manpage

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

commit bdece3bb0c115576d23e76dc29ee43f04aafdee0
Author: Chinmoy Ranjan Pradhan <chinmoyrp65@protonmail.com>
Date:   Tue Apr 17 10:45:15 2018 +0200

    pdfsig: Add -dump which writes signatures to disk

    Bug #104881

 poppler/Form.cc |  8 +++++++-
 poppler/Form.h  |  7 +++++--
 utils/pdfsig.cc | 33 +++++++++++++++++++++++++++++++--
 3 files changed, 43 insertions(+), 5 deletions(-)

commit 97aa11bf135421c1f87f2a46e2f597626f503f10
Author: Oliver Sander <oliver.sander@tu-dresden.de>
Date:   Fri Mar 23 22:04:11 2018 +0100

    Document method drawImageMask

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

commit ae4349620863a42ae569f1ce05461bb27340c4ea
Author: Albert Astals Cid <aacid@kde.org>
Date:   Mon Apr 16 22:49:54 2018 +0200

    Make the second parseAction variant private

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

commit 444d9d8de5d4f8d627084405e1583b6d6d3900c7
Author: Albert Astals Cid <aacid@kde.org>
Date:   Mon Apr 16 22:28:18 2018 +0200

    Simplify LinkAction::parseAction a bit

    After the discussion on the mailing list, also using unique_ptr was
    wrong

 poppler/Link.cc | 22 +++++++++++-----------
 poppler/Link.h  |  5 +++--
 2 files changed, 14 insertions(+), 13 deletions(-)

commit 88c99f1f6f4faf31faabccd35d9d094958020ebc
Author: Albert Astals Cid <aacid@kde.org>
Date:   Mon Apr 16 17:59:35 2018 +0200

    Fix crash on malformed documents

    In GfxGouraudTriangleShading::parse

    Bug #106061

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

commit df8a4ee51e18a39f85568c4122e5edd8c03d61df
Author: Albert Astals Cid <aacid@kde.org>
Date:   Mon Apr 16 17:46:10 2018 +0200

    Make it so we copy seenNextActions a bit less

 poppler/Link.cc | 20 +++++++++++---------
 poppler/Link.h  |  3 ++-
 2 files changed, 13 insertions(+), 10 deletions(-)

commit bd9fb431941916174e1c3b2201bf5f422bcf61bd
Author: Aleix Pol <aleixpol@kde.org>
Date:   Mon Apr 16 16:38:09 2018 +0200

    Make it possible to build poppler on Android without fontconfig

    Didn't manage to make fontconfig build, still nice to have poppler
    available.

 CMakeLists.txt | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

commit 34a44e5b95230b1ed03bb030e9963d0187b01951
Author: Aleix Pol <aleixpol@kde.org>
Date:   Mon Apr 16 16:35:47 2018 +0200

    Do not assume that iconv is in /usr/include

    We find it explicitly because it may be elsewhere.

 cpp/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

commit bdd8db389c7b09cd9042267f36214f809e4c5f60
Author: Andre Heinecke <aheinecke@intevation.de>
Date:   Mon Apr 16 17:13:05 2018 +0200

    Add support for Next actions following an action

    Next actions are action dictionaries or an array
    of action dictonaries. "Next" is an entry in the
    general action dictionary.

    These actions are supposed to be performed after each other.
    So that a single button press can for example
    both trigger a Hide action and a JavaScript action.

 poppler/Link.cc                | 72
 +++++++++++++++++++++++++++++++++++++++++-
 poppler/Link.h                 | 18 +++++++++--
 qt5/src/poppler-link-private.h |  9 ++++++
 qt5/src/poppler-link.cc        |  7 +++-
 qt5/src/poppler-link.h         | 11 ++++++-
 qt5/src/poppler-page.cc        | 14 ++++++++
 6 files changed, 125 insertions(+), 6 deletions(-)

commit ab72205dd14efe9c5c8d12e6b1ae538208bce168
Author: Andre Heinecke <aheinecke@intevation.de>
Date:   Mon Apr 16 16:31:38 2018 +0200

    Add support for hide action

    The hide action can be used to show / hide fields.

 poppler/Link.cc                | 29 +++++++++++++++++++++++++++++
 poppler/Link.h                 | 35 +++++++++++++++++++++++++++++++++++
 qt5/src/poppler-annotation.cc  |  6 ++++++
 qt5/src/poppler-link-private.h | 17 +++++++++++++++++
 qt5/src/poppler-link.cc        | 28 ++++++++++++++++++++++++++++
 qt5/src/poppler-link.h         | 39
 ++++++++++++++++++++++++++++++++++++++-
 qt5/src/poppler-page.cc        | 11 +++++++++++
 7 files changed, 164 insertions(+), 1 deletion(-)

commit 022ccd4e1c61f4e89c7ffad83d9a5a896f65dc40
Author: Albert Astals Cid <aacid@kde.org>
Date:   Mon Apr 16 16:22:55 2018 +0200

    GfxGouraudTriangleShading::parse: Fix memory leak on malformed files

    Bug #106059

 poppler/GfxState.cc | 3 +++
 1 file changed, 3 insertions(+)

commit 776257d0c20d4e3ae8d66683ab0f087bf6fc7b0f
Author: Albert Astals Cid <aacid@kde.org>
Date:   Wed Apr 11 00:44:41 2018 +0200

    Fix leaks in GfxPatchMeshShading::parse with malformed documents

    Bug #105969

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

commit d80e7aac3366f93865581a783751abb528c120b3
Author: Albert Astals Cid <aacid@kde.org>
Date:   Wed Apr 11 00:32:35 2018 +0200

    Make GfxGouraudTriangleShading::parse more accepting of malformed
    documents

    Bug #105972

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

commit fee13e935e4c9eaadff434436eaceeb13afcfc13
Author: Oliver Sander <oliver.sander@tu-dresden.de>
Date:   Fri Mar 23 22:24:42 2018 +0100

    Implement Type3 font support for ArthurOutputDev

 qt5/src/ArthurOutputDev.cc | 177
 ++++++++++++++++++++++++++++++++++++++++-----
 qt5/src/ArthurOutputDev.h  |  16 ++--
 qt5/src/poppler-page.cc    |   4 +-
 3 files changed, 170 insertions(+), 27 deletions(-)

commit 79c588912f41aa6ee81ea058e7e649199a252f90
Author: Oliver Sander <oliver.sander@tu-dresden.de>
Date:   Sun Mar 25 21:38:27 2018 +0200

    Do not make ArthurOutputDev::startPage fill the page with white

 qt5/src/ArthurOutputDev.cc | 13 +------------
 1 file changed, 1 insertion(+), 12 deletions(-)

commit 8c8c0034ae88c06616ace5e5ead71318f04311cf
Author: Oliver Sander <oliver.sander@tu-dresden.de>
Date:   Sat Apr 7 23:45:50 2018 +0200

    Implement ArthurOutputDev::drawImageMask

    Bug #105531

    Also temporarily disable type3 fonts since it seems they're not
    properly
    supported

 qt5/src/ArthurOutputDev.cc | 91
 +++++++++++++++-------------------------------
 qt5/src/ArthurOutputDev.h  |  2 +-
 2 files changed, 30 insertions(+), 63 deletions(-)

commit 3e0408966ccdd713de7795ce7992888b3896b49c
Author: Andre Heinecke <aheinecke@intevation.de>
Date:   Thu Mar 22 14:53:19 2018 +0100

    Qt5: Allow setting of visibility

    Extends Qt5 API to allow setting visibility flags

 qt5/src/poppler-form.cc | 11 +++++++++++
 qt5/src/poppler-form.h  |  6 ++++++
 2 files changed, 17 insertions(+)

commit b4127fb1c45fe5dcabe3751f0b40029405224f49
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri Apr 6 23:08:15 2018 +0200

    Add some more const

    const is always good :)

 cpp/poppler-embedded-file.cpp   |  13 ++--
 cpp/poppler-private.cpp         |   4 +-
 cpp/poppler-private.h           |   3 +-
 cpp/poppler-toc-private.h       |   4 +-
 cpp/poppler-toc.cpp             |   9 +--
 glib/poppler-action.cc          |  50 +++++++--------
 glib/poppler-document.cc        |   8 +--
 glib/poppler-layer.cc           |   2 +-
 glib/poppler-media.cc           |   4 +-
 glib/poppler-movie.cc           |   2 +-
 glib/poppler-private.h          |   6 +-
 goo/GooList.cc                  |  16 ++++-
 goo/GooList.h                   |   8 +--
 poppler/FileSpec.cc             |  10 +--
 poppler/FileSpec.h              |  26 ++++----
 poppler/Function.h              |   2 +-
 poppler/Link.cc                 |  26 ++++----
 poppler/Link.h                  | 138
 ++++++++++++++++++++--------------------
 poppler/Movie.cc                |  12 ++--
 poppler/Movie.h                 |  26 ++++----
 poppler/OptionalContent.cc      |   8 +--
 poppler/OptionalContent.h       |  14 ++--
 poppler/Outline.cc              |  10 +--
 poppler/Outline.h               |  20 +++---
 poppler/Rendition.cc            |   4 +-
 poppler/Rendition.h             |  18 +++---
 poppler/Sound.cc                |   6 +-
 poppler/Sound.h                 |  18 +++---
 qt5/src/poppler-document.cc     |   4 +-
 qt5/src/poppler-embeddedfile.cc |  10 +--
 qt5/src/poppler-link.cc         |   4 +-
 qt5/src/poppler-media.cc        |   2 +-
 qt5/src/poppler-movie.cc        |   4 +-
 qt5/src/poppler-optcontent.cc   |   4 +-
 qt5/src/poppler-private.cc      |  24 +++----
 qt5/src/poppler-private.h       |   8 +--
 qt5/src/poppler-sound.cc        |   2 +-
 utils/HtmlFonts.cc              |   4 +-
 utils/HtmlFonts.h               |   2 +-
 utils/HtmlOutputDev.cc          |  12 ++--
 utils/HtmlOutputDev.h           |   4 +-
 utils/pdfdetach.cc              |   2 +-
 42 files changed, 285 insertions(+), 268 deletions(-)

commit a8e93f46df9feb7f7241826307af51befdb25d9e
Author: Albert Astals Cid <albert.astals.cid@kdab.com>
Date:   Fri Apr 6 09:02:28 2018 +0200

    Make Object return const GooString pointer

    This helps making sure noone is changing strings that belong to
    objects without us realizing.

    In fact noone was doing except an ifdef for windows, fixed it to
    not modify the dict contents anymore

 glib/poppler-action.cc             | 2 +-
 poppler/Annot.cc                   | 6 +++---
 poppler/FileSpec.cc                | 4 +++-
 poppler/Form.cc                    | 6 +++---
 poppler/GfxFont.cc                 | 4 ++--
 poppler/GfxState.cc                | 3 ++-
 poppler/Link.cc                    | 3 ++-
 poppler/Object.h                   | 3 ++-
 poppler/Outline.cc                 | 3 ++-
 poppler/PDFDoc.cc                  | 3 ++-
 poppler/Parser.cc                  | 4 +++-
 poppler/Stream.cc                  | 2 +-
 poppler/StructElement.cc           | 3 ++-
 qt5/src/poppler-document.cc        | 6 +++---
 qt5/src/poppler-embeddedfile.cc    | 5 +++--
 qt5/src/poppler-optcontent.cc      | 3 ++-
 qt5/src/poppler-qt5.h              | 2 +-
 qt5/tests/check_dateConversion.cpp | 4 ++--
 test/pdf-fullrewrite.cc            | 4 ++--
 utils/pdfinfo.cc                   | 7 ++++---
 utils/pdftohtml.cc                 | 5 +++--
 utils/pdftotext.cc                 | 5 +++--
 utils/pdfunite.cc                  | 5 +++--
 23 files changed, 54 insertions(+), 38 deletions(-)

commit 07180b86786cce95df4e2433a7cf3e006749a0f5
Author: Albert Astals Cid <albert.astals.cid@kdab.com>
Date:   Fri Apr 6 13:03:16 2018 +0200

    Gfx: Make two functions take const GooString *

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

commit c4af5981ab2a5f42a9a1194bb5929c2151fc2674
Author: Albert Astals Cid <albert.astals.cid@kdab.com>
Date:   Fri Apr 6 13:00:12 2018 +0200

    OutputDev: change functions taking GooString * to make it const

    People that use poppler core, beware of the signature change!

 poppler/CairoOutputDev.cc | 5 +++--
 poppler/CairoOutputDev.h  | 5 +++--
 poppler/OutputDev.h       | 7 ++++---
 poppler/PSOutputDev.cc    | 4 ++--
 poppler/PSOutputDev.h     | 2 +-
 poppler/TextOutputDev.cc  | 7 ++++---
 poppler/TextOutputDev.h   | 7 ++++---
 utils/HtmlOutputDev.cc    | 5 +++--
 utils/HtmlOutputDev.h     | 5 +++--
 9 files changed, 27 insertions(+), 20 deletions(-)

commit 5fc6d9fcb41966b85dc67117531c81ec89f42f20
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri Apr 6 12:50:18 2018 +0200

    PageAttrs and Page getLastModified return const GooString *

 poppler/Page.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit a801b46e1e792b5d0a34f97de870c485e0ef312a
Author: Albert Astals Cid <albert.astals.cid@kdab.com>
Date:   Fri Apr 6 12:48:18 2018 +0200

    PSOuputDev writePSString and writePSTextLine take const

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

commit eb6de58de5ef8c2ddeeed386e0b8b498b945797f
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri Apr 6 12:47:12 2018 +0200

    PDFDoc::writeString take const GooString pointer

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

commit 853b2251d4e11f14cd891bf1b6095ee36683d161
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri Apr 6 12:46:06 2018 +0200

    OCDisplayNode take const GooString pointer

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

commit 0a8311929ba599d7b0a35e83b1f5dec4a3c9da06
Author: Albert Astals Cid <albert.astals.cid@kdab.com>
Date:   Fri Apr 6 12:44:43 2018 +0200

    GfxFont::getNextChar take const char pointer

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

commit 0e35441513bdce2471113b937bccb8928c7c9d9f
Author: Albert Astals Cid <albert.astals.cid@kdab.com>
Date:   Fri Apr 6 12:42:29 2018 +0200

    FormFieldText::tokenizeDA take const GooString

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

commit ba91b95f6e504cce08825e83a567a554ac846e39
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri Apr 6 12:41:44 2018 +0200

    dateStringToTime take const GooString

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

commit 9bfe4b43216bce4e702d7d8f61fc7cb9acdbb8f6
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri Apr 6 12:40:53 2018 +0200

    CMap::getCID take const char

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

commit 690ea9e5c900268556431df71bdac38f5e74dc36
Author: Albert Astals Cid <albert.astals.cid@kdab.com>
Date:   Fri Apr 6 12:39:35 2018 +0200

    GooString::insert make pointer const

 goo/GooString.cc | 2 +-
 goo/GooString.h  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit f3551055dab57eb0bc544070b15c6a7435585003
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri Apr 6 12:19:54 2018 +0200

    Introduce AutoFreeMemStream

    This is done by turning the old MemStream implementation to a new
    template implementation in BaseMemStream
    and inheriting from it MemStream for const char * and
    AutoFreeMemStream for char *.

    This way we make clear one frees the data and the other does not,
    while also removing the ugly setNeedsFree in MemStream

 poppler/Annot.cc           | 16 ++++++---------
 poppler/SplashOutputDev.cc |  3 +--
 poppler/Stream.h           | 51
 +++++++++++++++++++++++++++-------------------
 3 files changed, 37 insertions(+), 33 deletions(-)

commit 4cc89c79f58cb416aae8396190a788e1398113ff
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri Apr 6 12:11:55 2018 +0200

    Move MemStream implementation to header

    Will be useful in next step where we turn it into a template

 poppler/Stream.cc | 83 --------------------------------------------------
 poppler/Stream.h  | 91
 +++++++++++++++++++++++++++++++++++++++++++++++++------
 2 files changed, 81 insertions(+), 93 deletions(-)

commit 8821c04f36cb737776cd9077a46f1a9f86ca54e7
Author: Albert Astals Cid <albert.astals.cid@kdab.com>
Date:   Wed Apr 4 10:20:52 2018 +0200

    Workaround form field text not being drawn on broken files

    Try drawing with the form appearance instead of the field apparance
    if drawing with the field appearance fails

    Bug #103245

 poppler/Annot.cc | 88
 +++++++++++++++++++++++++++++++++++---------------------
 poppler/Annot.h  | 24 +++++++++-------
 2 files changed, 68 insertions(+), 44 deletions(-)

commit afb053d652cc1f670465d471f671652b112dbf51
Author: Albert Astals Cid <albert.astals.cid@kdab.com>
Date:   Thu Apr 5 11:48:11 2018 +0200

    Annot: Move appearBuf construction to a new class

    Previously we had appearBuf construction functions in Annot itself
    which was a bit
    confusing. Some functions like writeString took appearBuf as
    parameter, some
    other did not. By moving it out to a new class and making all the
    input parameters const
    pointers we make it clear the construction of appearBuf doesn't have
    any other side
    effect on Annot itself or any other class

    I'm leaving the functions in their old place to minimize the diff
    so it's easier to read.
    I'll move them in a follow up commit

 poppler/Annot.cc | 528
 ++++++++++++++++++++++++++++---------------------------
 poppler/Annot.h  |  73 +++++---
 2 files changed, 321 insertions(+), 280 deletions(-)

commit 0a79dc3036111e86a11bd290057da6674da3b311
Author: Albert Astals Cid <albert.astals.cid@kdab.com>
Date:   Thu Apr 5 18:15:33 2018 +0200

    Add some more const

 glib/poppler-action.cc        | 14 +++++------
 glib/poppler-annot.cc         | 18 +++++++--------
 glib/poppler-document.cc      |  2 +-
 glib/poppler-form-field.cc    |  4 ++--
 glib/poppler-private.h        |  2 +-
 poppler/Annot.cc              | 16 ++++++-------
 poppler/Annot.h               | 54
 +++++++++++++++++++++----------------------
 poppler/Catalog.cc            |  5 ++--
 poppler/Catalog.h             |  5 ++--
 poppler/Form.cc               |  6 ++---
 poppler/Form.h                |  6 ++---
 poppler/Link.h                | 23 +++++++++---------
 poppler/PDFDoc.h              |  3 ++-
 poppler/UTF.cc                |  3 ++-
 poppler/UTF.h                 |  3 ++-
 qt5/src/poppler-annotation.cc |  5 ++--
 qt5/src/poppler-document.cc   |  9 +++++++-
 qt5/src/poppler-form.cc       |  4 ++--
 qt5/src/poppler-page.cc       |  2 +-
 qt5/src/poppler-private.cc    |  4 ++--
 qt5/src/poppler-private.h     |  4 ++--
 qt5/src/poppler-qt5.h         |  7 ++++++
 utils/JSInfo.cc               |  7 +++---
 utils/JSInfo.h                |  3 ++-
 24 files changed, 116 insertions(+), 93 deletions(-)

commit b60de1700d95d022ec0d1676886b0442cb763473
Author: Albert Astals Cid <albert.astals.cid@kdab.com>
Date:   Thu Apr 5 16:03:54 2018 +0200

    Introduce a const version of GfxResources::lookupFont

 poppler/Gfx.cc     | 13 +++++++++++--
 poppler/Gfx.h      |  5 ++++-
 poppler/GfxFont.cc |  2 +-
 poppler/GfxFont.h  |  2 +-
 4 files changed, 17 insertions(+), 5 deletions(-)

commit 6bb508acd9a79671e5e9defc7b92a943fb880cda
Author: Albert Astals Cid <albert.astals.cid@kdab.com>
Date:   Thu Apr 5 14:19:51 2018 +0200

    More const in GfxFont methods

 poppler/GfxFont.h          | 10 +++++-----
 poppler/PSOutputDev.cc     |  2 +-
 poppler/PSOutputDev.h      |  2 +-
 poppler/SplashOutputDev.cc | 11 ++++++-----
 qt5/src/ArthurOutputDev.cc |  3 ++-
 5 files changed, 15 insertions(+), 13 deletions(-)

commit 390109044bdef1ba67c2339bffaf11b38261854d
Author: Albert Astals Cid <albert.astals.cid@kdab.com>
Date:   Thu Apr 5 13:00:59 2018 +0200

    Fix windows build

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

commit f75c0f5c3f9d63334cc21e0ab68f1af45d0037cc
Author: Albert Astals Cid <albert.astals.cid@kdab.com>
Date:   Thu Apr 5 12:58:34 2018 +0200

    Make GfxFont::getName const

 glib/poppler-structure-element.cc | 2 +-
 poppler/FontInfo.cc               | 3 ++-
 poppler/GfxFont.h                 | 2 +-
 poppler/GlobalParams.cc           | 6 +++---
 poppler/PSOutputDev.cc            | 6 ++++--
 poppler/PSOutputDev.h             | 3 ++-
 utils/HtmlFonts.cc                | 3 ++-
 7 files changed, 15 insertions(+), 10 deletions(-)

commit a669ad5cfb28cdfcfe38bbce39fbf8c6fc3102d9
Author: Albert Astals Cid <albert.astals.cid@kdab.com>
Date:   Thu Apr 5 12:55:39 2018 +0200

    buildFcPattern: Don't modify the actual name of the font

    When doing the '-' to ' ' replacement to build the fc pattern

 poppler/GlobalParams.cc | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

commit 4f9b3d8d8d17863873a8a399ff3fe212d247b236
Author: Albert Astals Cid <albert.astals.cid@kdab.com>
Date:   Thu Apr 5 12:37:40 2018 +0200

    Make some GfxFont methods const

 poppler/GfxFont.cc |  8 ++++----
 poppler/GfxFont.h  | 16 ++++++++--------
 2 files changed, 12 insertions(+), 12 deletions(-)

commit 2bf6f2275c49f94e84f935653d6c42f6b5f9b364
Author: Albert Astals Cid <albert.astals.cid@kdab.com>
Date:   Thu Apr 5 12:21:38 2018 +0200

    Make some Form methods const

 glib/poppler-form-field.cc |  6 +++---
 poppler/Annot.cc           |  4 ++--
 poppler/Form.cc            | 18 +++++++++---------
 poppler/Form.h             | 32 ++++++++++++++++----------------
