commit 411c963a9fe7d0d51bc96f046792688a020bfc66
Author: Albert Astals Cid <aacid@kde.org>
Date:   Sun Mar 19 12:40:37 2017 +0100

    Update (C)

 goo/PNGWriter.cc        | 2 +-
 goo/PNGWriter.h         | 2 +-
 goo/TiffWriter.cc       | 2 +-
 goo/TiffWriter.h        | 2 +-
 poppler/GfxState.h      | 2 +-
 utils/ImageOutputDev.cc | 2 +-
 utils/ImageOutputDev.h  | 2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)

commit 96333f6dcd93afadea35f9301c7a919545037ed4
Author: Albert Astals Cid <aacid@kde.org>
Date:   Wed Mar 8 23:33:00 2017 +0100

    Add override markers

 cmake/modules/PopplerMacros.cmake            |   4 +
 fofi/FoFiIdentifier.cc                       |  42 +--
 fofi/FoFiTrueType.h                          |   2 +-
 fofi/FoFiType1.h                             |   2 +-
 glib/poppler-cached-file-loader.h            |   4 +-
 glib/poppler-input-stream.h                  |  34 +--
 goo/JpegWriter.h                             |  10 +-
 goo/NetPBMWriter.h                           |   8 +-
 goo/PNGWriter.h                              |   8 +-
 goo/TiffWriter.h                             |  10 +-
 poppler/Annot.h                              |  50 ++--
 poppler/CairoFontEngine.h                    |   6 +-
 poppler/CairoOutputDev.cc                    |   2 +-
 poppler/CairoOutputDev.h                     | 344 +++++++++++-----------
 poppler/DCTStream.h                          |  18 +-
 poppler/Decrypt.h                            |  24 +-
 poppler/FlateEncoder.h                       |  16 +-
 poppler/Form.h                               |  18 +-
 poppler/Function.h                           |  52 ++--
 poppler/GfxFont.h                            |  20 +-
 poppler/GfxState.cc                          |   2 +-
 poppler/GfxState.h                           | 366
 +++++++++++------------
 poppler/JBIG2Stream.cc                       |  16 +-
 poppler/JBIG2Stream.h                        |  22 +-
 poppler/JPEG2000Stream.h                     |  24 +-
 poppler/Link.h                               |  66 ++---
 poppler/LocalPDFDocBuilder.h                 |   5 +-
 poppler/MarkedContentOutputDev.h             |  22 +-
 poppler/PSOutputDev.cc                       |  16 +-
 poppler/PSOutputDev.h                        | 142 ++++-----
 poppler/PopplerCache.cc                      |   2 +-
 poppler/PreScanOutputDev.h                   | 110 +++----
 poppler/SecurityHandler.h                    |  30 +-
 poppler/SplashOutputDev.cc                   |   2 +-
 poppler/SplashOutputDev.h                    | 210 ++++++-------
 poppler/StdinCachedFile.h                    |   5 +-
 poppler/StdinPDFDocBuilder.h                 |   5 +-
 poppler/Stream.h                             | 422
 +++++++++++++--------------
 poppler/TextOutputDev.cc                     |  38 +--
 poppler/TextOutputDev.h                      |  46 +--
 poppler/XRef.cc                              |   2 +-
 poppler/XRef.h                               |  12 +-
 qt4/CMakeLists.txt                           |   3 +
 qt4/src/poppler-annotation.h                 |   8 +-
 qt4/src/poppler-link.h                       |   2 +-
 qt5/demos/abstractinfodock.h                 |   6 +-
 qt5/demos/embeddedfiles.h                    |   6 +-
 qt5/demos/fonts.h                            |   4 +-
 qt5/demos/info.h                             |   4 +-
 qt5/demos/metadata.h                         |   4 +-
 qt5/demos/navigationtoolbar.h                |   6 +-
 qt5/demos/optcontent.h                       |   6 +-
 qt5/demos/pageview.h                         |   6 +-
 qt5/demos/permissions.h                      |   4 +-
 qt5/demos/thumbnails.h                       |   4 +-
 qt5/demos/toc.h                              |   4 +-
 qt5/demos/viewer.h                           |   2 +-
 qt5/src/ArthurOutputDev.cc                   |   2 +-
 qt5/src/ArthurOutputDev.h                    |  90 +++---
 qt5/src/poppler-annotation.cc                |  56 ++--
 qt5/src/poppler-annotation.h                 |  84 +++---
 qt5/src/poppler-form.h                       |  16 +-
 qt5/src/poppler-link-extractor-private.h     |  10 +-
 qt5/src/poppler-link.h                       |  24 +-
 qt5/src/poppler-optcontent.h                 |  18 +-
 qt5/src/poppler-qiodeviceoutstream-private.h |  10 +-
 qt5/src/poppler-qt5.h                        |   6 +-
 qt5/tests/stress-threads-qt5.cpp             |   4 +-
 qt5/tests/test-password-qt5.cpp              |   4 +-
 qt5/tests/test-poppler-qt5.cpp               |   6 +-
 splash/SplashFTFont.h                        |  12 +-
 splash/SplashFTFontFile.h                    |   6 +-
 splash/SplashPattern.h                       |  12 +-
 test/gtk-test.cc                             |   6 +-
 utils/HtmlOutputDev.h                        |  56 ++--
 utils/ImageOutputDev.h                       |  62 ++--
 utils/pdftohtml.cc                           |  12 +-
 77 files changed, 1404 insertions(+), 1400 deletions(-)

commit da490581b1b4d50efdba1e25115697e17bb0ef51
Author: Albert Astals Cid <aacid@kde.org>
Date:   Wed Mar 8 22:07:34 2017 +0100

    Compile in C++11 mode

    I tried using AX_CXX_COMPILE_STDCXX_11 for the autotools side but
    could not get it to fill CXXFLAGS or any other variable i could find,
    help welcome

 CMakeLists.txt | 4 +++-
 configure.ac   | 1 +
 2 files changed, 4 insertions(+), 1 deletion(-)

commit aa8633267d1d0e2079bb4a2b82bc7b36a4d306f5
Author: Albert Astals Cid <aacid@kde.org>
Date:   Mon Mar 6 22:45:52 2017 +0100

    pdfinfo: Fix memory leak when printing JS

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

commit d30e66cf39ef69a81bdd91e21203c876f38d9a09
Author: Albert Astals Cid <aacid@kde.org>
Date:   Mon Mar 6 22:43:27 2017 +0100

    pdfinfo: fix leak when printing JS

 utils/JSInfo.cc | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

commit a7632c5db6875828500dce7c984ec933d5349f26
Author: Albert Astals Cid <aacid@kde.org>
Date:   Mon Mar 6 22:34:20 2017 +0100

    pdftohtml: fix small memory leak when constructing some filenames

 utils/HtmlOutputDev.cc | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

commit 8ebec831c2abea9f13761474990c0d94346c1a35
Author: Albert Astals Cid <aacid@kde.org>
Date:   Mon Mar 6 22:24:06 2017 +0100

    SplashOutputDev: Fix memory leak when rendering images with colormap
    and matte color

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

commit cfaeeadbc642a297486481d9efd6068fd9ef7ea3
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Sat Mar 4 10:54:29 2017 +1030

    pdfimages: support 16bpc png and tiff images

    bug 99988

 goo/PNGWriter.cc        |  4 ++++
 goo/PNGWriter.h         |  3 ++-
 goo/TiffWriter.cc       |  6 ++++++
 goo/TiffWriter.h        |  3 ++-
 poppler/GfxState.h      |  4 ++++
 utils/ImageOutputDev.cc | 38 +++++++++++++++++++++++++++++++++++++-
 utils/ImageOutputDev.h  |  1 +
 7 files changed, 56 insertions(+), 3 deletions(-)

commit 1b0653ce395242547b2b34b99034a19cd2d3ea6b
Author: Albert Astals Cid <aacid@kde.org>
Date:   Thu Mar 2 01:00:12 2017 +0100

    Qt5: Expose Form additional actions

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

commit a4c6433c423bd0dcc5056d9ee0375188fea9a0bc
Author: Albert Astals Cid <aacid@kde.org>
Date:   Thu Mar 2 00:56:43 2017 +0100

    Update (C) of previous commit

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

commit 0151e6e3824a6db907d871a2e56f5c20c001b588
Author: Albert Astals Cid <aacid@kde.org>
Date:   Thu Mar 2 00:56:27 2017 +0100

    Qt5: expose form calculate order

 qt5/src/poppler-document.cc | 18 +++++++++++++++++-
 qt5/src/poppler-qt5.h       |  9 ++++++++-
 2 files changed, 25 insertions(+), 2 deletions(-)

commit 0ae3d40a79c25feb5cb9bce6fc8cc48c30bfd1b6
Author: Albert Astals Cid <aacid@kde.org>
Date:   Thu Mar 2 00:52:21 2017 +0100

    Parse AcroForm CO (calculateOrder)

 poppler/Form.cc | 19 +++++++++++++++++++
 poppler/Form.h  |  4 ++++
 2 files changed, 23 insertions(+)

commit bbfc56b3c9a1e613e6db008a56c9c3333ae1427a
Author: Albert Astals Cid <aacid@kde.org>
Date:   Thu Mar 2 00:45:44 2017 +0100

    Make FormWidget* setters ignore isReadOnly

    isReadOnly is for the user but poppler needs to be able to set the
    value for example for fields whose value is autocalculated

 poppler/Form.cc | 23 +----------------------
 1 file changed, 1 insertion(+), 22 deletions(-)

commit f853145556a61a3d1104d6fd62261924d9fc9e50
Author: Albert Astals Cid <aacid@kde.org>
Date:   Sun Feb 19 23:25:47 2017 +0100

    There's no config file

 poppler/GlobalParams.h | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

commit c7a7c34fcb875414eb3092df84f8e8e8e523648d
Author: Albert Astals Cid <aacid@kde.org>
Date:   Wed Feb 15 23:26:10 2017 +0100

    Poppler 0.52.0

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

commit baad9bd0406f63cffa8054c5831ccc3cb5d207e3
Author: Albert Astals Cid <aacid@kde.org>
Date:   Wed Feb 15 23:05:55 2017 +0100

    Update C years

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

commit 83d4d3ee56b22ef4c0899514abcfc4c220fb4031
Author: Albert Astals Cid <aacid@kde.org>
Date:   Mon Feb 13 20:47:05 2017 +0100

    Properly initialize some RichMedia variables in corner cases

    Bug #99767

 poppler/Annot.cc | 31 ++++++++++++++-----------------
 1 file changed, 14 insertions(+), 17 deletions(-)

commit 8de4b3595a80d8880b842599cb25ab5fd5367689
Author: Albert Astals Cid <aacid@kde.org>
Date:   Mon Feb 13 01:15:04 2017 +0100

    Fix assert on reading some OCGs

    Check the object is a ref before calling getRef

    Bug #99768

 poppler/OptionalContent.cc | 4 ++++
 1 file changed, 4 insertions(+)

commit 0b7c235c3ebe2a7a8d7bd6bfb22e605bf770a022
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Thu Feb 9 21:23:04 2017 +1030

    pdftocairo.1: typo

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

commit e7aad35dcba3449bc8a56de070fea7e09cb64833
Author: Hubert Figuière <hub@figuiere.net>
Date:   Tue Jan 17 23:58:00 2017 -0500

    Qt: fix memory leaks found when running tests

    -cleanup objects in tests to fix memory leaks.
    -optcontent was leaking the headers items

    Bug #99449

 qt4/src/poppler-optcontent-private.h | 2 ++
 qt4/src/poppler-optcontent.cc        | 3 +++
 qt4/tests/check_links.cpp            | 2 ++
 qt5/src/poppler-optcontent-private.h | 2 ++
 qt5/src/poppler-optcontent.cc        | 3 +++
 qt5/tests/check_links.cpp            | 2 ++
 6 files changed, 14 insertions(+)

commit dc8edecc437f33305257b6cb208dc2da367b7868
Author: Albert Astals Cid <aacid@kde.org>
Date:   Sun Jan 15 18:27:49 2017 +0100

    Poppler 0.51

 CMakeLists.txt         |  2 +-
 NEWS                   | 15 ++++++++++++++-
 configure.ac           |  2 +-
 cpp/Doxyfile           |  2 +-
 qt4/src/Doxyfile       |  2 +-
 qt5/src/CMakeLists.txt |  2 +-
 qt5/src/Doxyfile       |  2 +-
 qt5/src/Makefile.am    |  2 +-
 8 files changed, 21 insertions(+), 8 deletions(-)

commit c4de00a93c470020c6c96eb343854039bfc0a424
Author: Albert Astals Cid <aacid@kde.org>
Date:   Sat Jan 14 23:42:32 2017 +0100

    Forgot to update the \since value

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

commit 0eb28e216fc45fe5ceed1c093a541ceca0dc0397
Author: Christoph Cullmann <cullmann@kde.org>
Date:   Fri Jan 13 00:03:27 2017 +0100

    qt5: Fix segfault/assert if LinkDestination is constructed with
    invalid input string.

    Bug #99357

 qt5/src/poppler-link.cc | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

commit 4db6507320b51e060f73f7fb0eab364e8a1fee77
Author: Sebastian Rasmussen <sebras@gmail.com>
Date:   Wed Jan 11 23:37:54 2017 +0100

    Check for error from NSS in SignatureHandler construct.

    And cascading effects in other SignalHandler members.

    Bug #99363

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

commit 8bb90fc828a3400a2464a38f0ec9e592754197dd
Author: Albert Astals Cid <aacid@kde.org>
Date:   Tue Jan 10 17:20:18 2017 +0100

    Qt5: Minor api refinements to the new signature classes

 qt5/src/poppler-form.cc     | 32 +++++++++++++++++++++-----------
 qt5/src/poppler-form.h      | 22 +++++++++++-----------
 qt5/tests/poppler-forms.cpp | 14 +++++++-------
 3 files changed, 39 insertions(+), 29 deletions(-)

commit aa63debdaa6001ed68333b31cd06c2f9958fd8d2
Author: Hanno Meyer-Thurow <h.mth@web.de>
Date:   Tue Jan 10 16:28:14 2017 +0100

    Qt5: Implement digital signature support

    Bug #94378

 qt5/src/poppler-form.cc     | 121
 ++++++++++++++++++++++++++++++++++++++++++++
 qt5/src/poppler-form.h      | 106 ++++++++++++++++++++++++++++++++++++++
 qt5/src/poppler-page.cc     |   7 +++
 qt5/tests/poppler-forms.cpp |  47 ++++++++++++++++-
 4 files changed, 280 insertions(+), 1 deletion(-)

commit 2f831d5b9481e5ab06178409f7fccf74eda6e1a2
Author: Albert Astals Cid <aacid@kde.org>
Date:   Mon Jan 9 00:30:42 2017 +0100

    New year!

 poppler/poppler-config.h.cmake | 2 +-
 poppler/poppler-config.h.in    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit b6c4d6d1312f63e5e6dcfa28ea48ff3e6935daa9
Author: Albert Astals Cid <aacid@kde.org>
Date:   Mon Jan 9 00:28:37 2017 +0100

    Fix memory leak in PDFDoc::markAnnotations

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

commit 3cae7773d2f8ad6506e2712689c56fa6975e01d3
Author: Thomas Freitag <Thomas.Freitag@alfa.de>
Date:   Mon Jan 9 00:25:53 2017 +0100

    pdfunite: add fields to AcroForm dict

    Bug #99141

 utils/pdfunite.cc | 33 +++++++++++++++++++++++++++++++--
 1 file changed, 31 insertions(+), 2 deletions(-)

commit c301f6c675784a65fb2ebdf99ded5d5d3f8defdd
Author: Albert Astals Cid <aacid@kde.org>
Date:   Mon Dec 19 22:53:47 2016 +0100

    qt5: Add Poppler::FormField::setName

 qt5/src/poppler-form.cc |  9 ++++++++-
 qt5/src/poppler-form.h  | 10 ++++++++--
 2 files changed, 16 insertions(+), 3 deletions(-)

commit 86c99de95cd16199e0f9f1fb82999c27d54c5b76
Author: Albert Astals Cid <aacid@kde.org>
Date:   Mon Dec 19 22:53:10 2016 +0100

    Add Form[Field|Widget]::setPartialName

    Useful to repair/tweak pdf files

 poppler/Form.cc | 16 ++++++++++++++++
 poppler/Form.h  |  2 ++
 2 files changed, 18 insertions(+)

commit 56dfa44960b9ab9fb4dcc01d8e3861a9293b0ee0
Author: Albert Astals Cid <aacid@kde.org>
Date:   Thu Dec 15 23:32:41 2016 +0100

    Poppler 0.50

 CMakeLists.txt         |  4 ++--
 NEWS                   | 25 +++++++++++++++++++++++++
 configure.ac           |  2 +-
 cpp/Doxyfile           |  2 +-
 poppler/Makefile.am    |  2 +-
 qt4/src/CMakeLists.txt |  2 +-
 qt4/src/Doxyfile       |  2 +-
 qt4/src/Makefile.am    |  3 ++-
 qt5/src/CMakeLists.txt |  2 +-
 qt5/src/Doxyfile       |  2 +-
 qt5/src/Makefile.am    |  3 ++-
 11 files changed, 38 insertions(+), 11 deletions(-)

commit 1511523450f40b539fb1d58950a907f3712fd5c7
Author: Albert Astals Cid <aacid@kde.org>
Date:   Thu Dec 15 22:04:04 2016 +0100

    Refine previous fix a bit

    Call GfxColorSpace::setupColorProfiles only when we really need it

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

commit 9b016440725de086fa87fcbf776e27acee2c01b7
Author: Marek Kasik <mkasik@redhat.com>
Date:   Wed Sep 21 12:28:16 2016 +0200

    Don't crash when calling cmsGetColorSpace()

    Initialize RGBProfile and displayProfile before their use
    if they were not initialized in GfxState's constructor.

    https://bugs.freedesktop.org/show_bug.cgi?id=97870

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

commit 8321b400adf6c042cd630ceea7f54fcf6862211d
Author: Albert Astals Cid <aacid@kde.org>
Date:   Thu Dec 15 18:02:30 2016 +0100

    Add one more const

    Makes clang happier (i.e. gives one warning less)

 fofi/FoFiEncodings.cc | 18 ++++++++++++++++--
 fofi/FoFiEncodings.h  | 18 ++++++++++++++++--
 2 files changed, 32 insertions(+), 4 deletions(-)

commit 1a6e4b65197391b23c2163b939d4787f2058a2e1
Author: Jason Crain <jason@inspiresomeone.us>
Date:   Wed Dec 7 09:28:58 2016 -0600

    cairo: initialize CairoOutputDev::antialias

    Initialize CairoOutputDev::antialias to CAIRO_ANTIALIAS_DEFAULT.

    Bug #98983

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

commit 2cf901c817fc99e1fa57745c11aa79cdfb4e8c99
Author: William Bader <william@newspapersystems.com>
Date:   Thu Dec 8 21:45:18 2016 +0100

    Fix PS conversion for some files

    Bug #63963

 fofi/FoFiTrueType.cc   | 13 ++++++++++++-
 fofi/FoFiTrueType.h    |  2 ++
 poppler/PSOutputDev.cc | 26 ++++++++++++++++++++++++++
 poppler/PSOutputDev.h  |  1 +
 4 files changed, 41 insertions(+), 1 deletion(-)

commit 97b801b55b9bd33f20723c7139cf845a1cba5bd3
Author: Albert Astals Cid <aacid@kde.org>
Date:   Wed Dec 7 22:52:24 2016 +0100

    Remove useless include

 utils/pdftohtml.cc | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

commit 7ac94c8f552f0db13334d4d014cfdb54de72c451
Author: Albert Astals Cid <aacid@kde.org>
Date:   Wed Dec 7 22:38:48 2016 +0100

    nSharedGroups doesn't need to be a class member

    And also mark some variables as const to make it easier to see they
    don't change

 poppler/Hints.cc | 20 +++++++-------------
 poppler/Hints.h  |  1 -
 2 files changed, 7 insertions(+), 14 deletions(-)

commit 4c4b913802c79eb8bf9c0ce72a08842851f1c5bc
Author: Jeffrey Morlan <jmmorlan@sonic.net>
Date:   Wed Dec 7 22:36:26 2016 +0100

    Bail out if nBitsNumObjects or nBitsDiffGroupLength are greater
    than 32

    Bug #94941

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

commit 21cd08e34bd317b2ecc7c8b4e0d122d85bdf6714
Author: Albert Astals Cid <aacid@kde.org>
Date:   Sat Dec 3 02:18:58 2016 +0100

    Default to libopenjpeg2 instead of libopenjpeg1

    Tested 2.1.1 and it's better or equal than the old libopenjpeg1

    I thought of doing a version check but i don't think it's common
    someone will be building a new poppler with an old libopenjpeg2

 CMakeLists.txt | 16 ++++++++--------
 configure.ac   | 31 ++++++++++++++++---------------
 2 files changed, 24 insertions(+), 23 deletions(-)

commit b5f3e935c3a1f4824fcd681e291c35852966bb45
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri Dec 2 00:09:38 2016 +0100

    Revert "introduced hex string as a new Object type and used it for
    file identifier"

    This reverts commit debd1361f4a4cb7811677ab7a8f241b8b6fca5f9.

 poppler/Lexer.cc  |  3 +--
 poppler/Object.cc | 15 ++-------------
 poppler/Object.h  | 16 +++-------------
 poppler/PDFDoc.cc | 10 ----------
 4 files changed, 6 insertions(+), 38 deletions(-)

commit 3a260ba8b3db99b4c0a956cc615704168db30e56
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri Dec 2 00:09:31 2016 +0100

    Revert "treat file identifier as a hex string, not a basic string"

    This reverts commit 628299bc02ef825609e1ade539f967bbf052be0c.

 poppler/PDFDoc.cc          | 12 ++++++------
 poppler/PSOutputDev.cc     |  5 ++---
 poppler/SecurityHandler.cc |  3 +--
 poppler/StructElement.cc   |  5 ++---
 4 files changed, 11 insertions(+), 14 deletions(-)

commit 42ef2ac51543fabb5f5f5c3a19c79020d4fb1238
Author: Thomas Freitag <Thomas.Freitag@alfa.de>
Date:   Wed Nov 30 00:14:46 2016 +0100

    Read softmask into memstrean in case of matte

    In case of matte the softmask has to be read twice. This is not
    possible when read from stdin. So this patch allocate a memstream
    first and read the softmask into this memstream.

    Bug #97803

 poppler/SplashOutputDev.cc | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

commit c448e16dc4f2f3c55b06e3f1e098f45f8abacc18
Author: William Bader <william@newspapersystems.com>
Date:   Wed Nov 30 00:00:15 2016 +0100

    patch to add -passlevel1customcolor

    Bug #97193

 poppler/PSOutputDev.cc | 38 ++++++++++++++++----------------------
 poppler/PSOutputDev.h  |  5 +++++
 utils/pdftops.cc       |  6 +++++-
 3 files changed, 26 insertions(+), 23 deletions(-)

commit 628299bc02ef825609e1ade539f967bbf052be0c
Author: Jakub Alba <jakubalba@gmail.com>
Date:   Sun Jul 24 22:46:23 2016 +0200

    treat file identifier as a hex string, not a basic string

 poppler/PDFDoc.cc          | 12 ++++++------
 poppler/PSOutputDev.cc     |  5 +++--
 poppler/SecurityHandler.cc |  3 ++-
 poppler/StructElement.cc   |  5 +++--
 4 files changed, 14 insertions(+), 11 deletions(-)

commit debd1361f4a4cb7811677ab7a8f241b8b6fca5f9
Author: Jakub Alba <jakubalba@gmail.com>
Date:   Sun Jul 24 22:30:30 2016 +0200

    introduced hex string as a new Object type and used it for file
    identifier

    File identifiers are usually written as hex strings (and this is
    how the PDF
    reference presents them in an example). Until now, poppler was
    reading hex
    strings properly, but was forgeting about the fact that a given
    string is a hex
    string, so e.g. file identifier was first read as a hex string and
    then printed as
    an ordinary string and thanks to that what was printed was actually
    junk. This
    commit fixes that.

 poppler/Lexer.cc  |  3 ++-
 poppler/Object.cc | 15 +++++++++++++--
 poppler/Object.h  | 16 +++++++++++++---
 poppler/PDFDoc.cc | 10 ++++++++++
 4 files changed, 38 insertions(+), 6 deletions(-)

commit 484d9d46e8995f12ce941be1e080e98e2ff4b95d
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri Nov 25 20:05:19 2016 +0100

    Spelling fixes spotted by William Bader

 qt4/src/poppler-optcontent.h | 2 +-
 qt5/src/poppler-optcontent.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit bc11784e143d462d62d3f63fc61e58b4b9640da7
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri Nov 25 17:42:27 2016 +0100

    Qt: Support OCG state change links

 qt4/src/poppler-link-private.h       |  57 +++++++++++++++++++
 qt4/src/poppler-link.cc              |  33 +++++------
 qt4/src/poppler-link.h               |  34 +++++++++++-
 qt4/src/poppler-optcontent-private.h |   3 +-
 qt4/src/poppler-optcontent.cc        | 103
 +++++++++++++++++++++++------------
 qt4/src/poppler-optcontent.h         |   8 +++
 qt4/src/poppler-page.cc              |  11 +++-
 qt5/src/poppler-link-private.h       |  57 +++++++++++++++++++
 qt5/src/poppler-link.cc              |  33 +++++------
 qt5/src/poppler-link.h               |  34 +++++++++++-
 qt5/src/poppler-optcontent-private.h |   3 +-
 qt5/src/poppler-optcontent.cc        | 103
 +++++++++++++++++++++++------------
 qt5/src/poppler-optcontent.h         |   8 +++
 qt5/src/poppler-page.cc              |  11 +++-
 14 files changed, 382 insertions(+), 116 deletions(-)

commit b4e93c374deaaf31121a666c987a35bc9554beb3
Author: Kenji Uno <ku@digitaldolphins.jp>
Date:   Thu Nov 3 10:19:06 2016 +0900

    Fix pdftoppm -tiff -gray/-mono incorrect output.

    - SplashBitmap has imageWriterFormat that ImgWriter
      should accept.

 splash/SplashBitmap.cc | 93
 +++++++++++++++++++++++++++++++++++++-------------
 splash/SplashBitmap.h  |  3 +-
 2 files changed, 71 insertions(+), 25 deletions(-)

commit 5a04becc4940b926744e64d3b7d0355adcabf282
Author: Jakub Alba <jakubalba@gmail.com>
Date:   Fri Jun 17 13:41:39 2016 +0200

    Fix PDFDoc::saveIncrementalUpdate()'s detection of document being
    modified

    Bug 96561

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

commit 0c9c2089f52de5bb08717518c439fa8bbb99011f
Author: Albert Astals Cid <aacid@kde.org>
Date:   Wed Nov 23 20:22:17 2016 +0100

    Fix Outline parsing on broken documents

    Broken documents in which the parent "Last" pointer is earlier than
    the siblings "Next" pointer

    This mimics Adobe Reader behaviour.

    Bug #98732

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

commit e59cbaf9c1ab4a575633ee3263244e03c6d21713
Author: Jason Crain <jason@inspiresomeone.us>
Date:   Fri Nov 18 15:44:29 2016 -0600

    glib: Use g_slice_new0 for PopplerActionLayer

    PDFs using PopplerActionLayer will sometimes crash because they are
    allocated with g_new0 but freed with g_slice_free.  Change the
    allocation to use g_slice_new0.

    Bug #98786

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

commit 02e2d8e2c3004c36d1f8f798e5a7a30166f48f37
Author: Albert Astals Cid <aacid@kde.org>
Date:   Tue Nov 15 00:10:43 2016 +0100

    0.49

 CMakeLists.txt      | 4 ++--
 NEWS                | 5 ++++-
 configure.ac        | 2 +-
 cpp/Doxyfile        | 2 +-
 poppler/Makefile.am | 2 +-
 qt4/src/Doxyfile    | 2 +-
 qt5/src/Doxyfile    | 2 +-
 7 files changed, 11 insertions(+), 8 deletions(-)

commit f7f0f14e095425d171456a697804f2f34ed26426
Author: Tor Lillqvist <tml@collabora.com>
Date:   Tue Nov 15 00:06:26 2016 +0100

    VS 2013 has fmin() and fmax()

 NEWS                           | 13 +++++++++++++
 poppler/poppler-config.h.cmake |  3 ++-
 2 files changed, 15 insertions(+), 1 deletion(-)

commit 07ac68603552b36a2a6b8ea5982f22f24f5835b1
Author: Albert Astals Cid <aacid@kde.org>
Date:   Tue Nov 15 00:03:24 2016 +0100

    Update (C)

 poppler/PSOutputDev.cc      | 1 +
 poppler/poppler-config.h.in | 1 +
 utils/pdfseparate.cc        | 2 +-
 3 files changed, 3 insertions(+), 1 deletion(-)

commit b837ae3bc69c5c76f1a4e3abaeb22d0574d6b2c8
Author: Thomas Freitag <Thomas.Freitag@alfa.de>
Date:   Thu Nov 10 00:33:17 2016 +0100

    Continue rendering in case of 'Singular matrix in shading pattern
    fill'

    Bug #98623

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

commit 6c01a48458a8b4896d606ef9bcc4af5e03393b72
Author: Thomas Freitag <Thomas.Freitag@alfa.de>
Date:   Wed Nov 2 23:10:01 2016 +0100

    merge type3 glyph handling from xpdf 3.04

    Fixes bug #96667

 poppler/SplashOutputDev.cc | 28 +++++++++++++++++++++++-----
 poppler/SplashOutputDev.h  |  1 -
 2 files changed, 23 insertions(+), 6 deletions(-)

commit f43cb73939f85952d83afc87a6dc638dc1ae311b
Author: Albert Astals Cid <aacid@kde.org>
Date:   Wed Nov 2 00:13:26 2016 +0100

    Avoid UBSan warning about undefined downcast

    ...of this-ptr of in-construction FormFieldSignature while still in
    the base
    FormField ctor by simply casting the parent-class field member
    when needed

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

commit 4539d0b002efbd19393fd55a6fb87b013acdb8f1
Author: Caolán McNamara <caolanm@redhat.com>
Date:   Thu Oct 27 14:31:20 2016 +0200

    PSOutputDev.cc: std::max requires <algorithm>

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

commit 4619957cbab81ab0b25f3fdd3ed872f0ad93f074
Author: Tor Lillqvist <tml@collabora.com>
Date:   Thu Oct 27 14:27:32 2016 +0200

    VS 2013 has fmin() and fmax()

 poppler/poppler-config.h.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit be073d39f72f625bf3d8482ead76881150695bf4
Author: Albert Astals Cid <aacid@kde.org>
Date:   Mon Oct 31 10:11:56 2016 +0100

    Fix typo in disable nss help string

    Bug #98514

 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 2a09ec47aef8870dba345f4045e691ffb5a59f4d
Author: Albert Astals Cid <aacid@kde.org>
Date:   Mon Oct 24 20:04:22 2016 +0200

    Fix memory leak in parametrized gouraudTriangleShadedFill

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

commit 169889b8e196cfcd288e6555fb048fbbf95ba3f6
Author: Albert Astals Cid <aacid@kde.org>
Date:   Mon Oct 24 20:04:00 2016 +0200

    Fix crash on broken files

 splash/Splash.cc | 38 ++++++++++++++++++++------------------
 1 file changed, 20 insertions(+), 18 deletions(-)

commit 269a91e3b03a19acc06fd0f72356f2e48a6368a7
Author: Jakub Alba <jakubalba@gmail.com>
Date:   Tue Aug 23 13:20:44 2016 +0200

    PDFDoc::setDocInfoStringEntry(): treat value consisting of just the
    unicode marker as an empty string

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

commit 43cfdf9de45e6833a2815b173f8cc945f1c5f9d6
Author: Jakub Alba <jakubalba@gmail.com>
Date:   Tue Aug 23 13:19:07 2016 +0200

    goo: add GooString::hasJustUnicodeMarker(void)

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

commit e3c5bdf4fcd29c5d180046d1c279d3f99c1027a7
Author: Jakub Alba <jakubalba@gmail.com>
Date:   Fri Oct 21 23:06:23 2016 +0200

    update copyrights

 cpp/poppler-document.cpp      | 2 +-
 cpp/poppler-document.h        | 2 +-
 cpp/poppler-embedded-file.cpp | 2 +-
 cpp/poppler-global.cpp        | 2 +-
 cpp/poppler-private.cpp       | 2 +-
 cpp/poppler-private.h         | 2 +-
 glib/poppler-document.cc      | 2 +-
 glib/poppler-document.h       | 2 +-
 goo/GooString.cc              | 2 +-
 goo/GooString.h               | 2 +-
 poppler/Object.h              | 2 +-
 poppler/PDFDoc.cc             | 2 +-
 poppler/PDFDoc.h              | 2 +-
 poppler/XRef.cc               | 2 +-
 poppler/XRef.h                | 2 +-
 qt4/src/poppler-document.cc   | 2 +-
 qt4/src/poppler-private.cc    | 2 +-
 qt4/src/poppler-private.h     | 2 +-
 qt4/src/poppler-qt4.h         | 2 +-
 qt5/src/poppler-document.cc   | 2 +-
 qt5/src/poppler-private.cc    | 2 +-
 qt5/src/poppler-private.h     | 2 +-
 qt5/src/poppler-qt5.h         | 2 +-
 23 files changed, 23 insertions(+), 23 deletions(-)

commit 5d15a52aade68c618c356fe403ca500e74917ef7
Author: Pino Toscano <pino@kde.org>
Date:   Sun Oct 9 13:04:46 2016 +0200

    pdfseparate: remove extra '%' in error message

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

commit 036bcee237c814197af3324cd3697ea88d9ac6d3
Author: Albert Astals Cid <aacid@kde.org>
Date:   Sat Oct 8 17:55:31 2016 +0200

    0.48

 CMakeLists.txt      |  4 ++--
 NEWS                | 12 ++++++++++++
 configure.ac        |  2 +-
 cpp/Doxyfile        |  2 +-
 poppler/Makefile.am |  2 +-
 poppler/Outline.cc  |  1 +
 poppler/UTF.cc      |  1 +
 poppler/UTF.h       |  1 +
 qt4/src/Doxyfile    |  2 +-
 qt5/src/Doxyfile    |  2 +-
 10 files changed, 22 insertions(+), 7 deletions(-)

commit 3cfbc4efde1df6dcb9ef18a0fb26c7e199e6e8f5
Author: Jason Crain <jason@inspiresomeone.us>
Date:   Wed Sep 28 14:56:02 2016 +0000

    TextOutputDev: Break words on all whitespace characters

    Some PDF creators like Chrome use no-break spaces or other whitespace
    characters between words, causing pdftotext -bbox to not break
    words as
    expected.  Fix this by breaking words on any character with the
    Unicode
    whitespace property.

    Bug #97399

 poppler/TextOutputDev.cc |  2 +-
 poppler/UTF.cc           | 12 ++++++++++++
 poppler/UTF.h            |  2 ++
 3 files changed, 15 insertions(+), 1 deletion(-)

commit 27cf7fabad27648019b36b2d6352e6767bfc8689
Author: Albert Astals Cid <aacid@kde.org>
Date:   Wed Sep 28 23:23:33 2016 +0200

    Increase glib requirement

    Seems we've been requiring it for a while at least.

    See "Build fail on Ubuntu 14.04" thread on the mailing list

 CMakeLists.txt | 2 +-
 configure.ac   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 86e50e156952713f0ce3ecc7b6f03f06dc0902c1
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Wed Sep 28 06:10:20 2016 +0930

    Revert "pdfinfo: add -dests option to print named destinations"

    This reverts commit 183dbf3249e8db2398b63a749eb010bc0a89dc35.

 cmake/modules/PopplerMacros.cmake |   2 +-
 configure.ac                      |   1 -
 utils/pdfinfo.1                   |   4 --
 utils/pdfinfo.cc                  | 140
 +-------------------------------------
