commit 281f3a2ec4be515a8876a66575341f404a6a0208
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    |  2 +-
 qt5/src/CMakeLists.txt |  2 +-
 qt5/src/Doxyfile       |  2 +-
 qt5/src/Makefile.am    |  2 +-
 11 files changed, 36 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
 +-------------------------------------
 4 files changed, 2 insertions(+), 145 deletions(-)

commit 183dbf3249e8db2398b63a749eb010bc0a89dc35
Author: Adrian Johnson <ajohnson@redneon.com>
Date:   Sat Sep 17 22:08:23 2016 +0930

    pdfinfo: add -dests option to print named destinations

    Bug 97262

 cmake/modules/PopplerMacros.cmake |   2 +-
 configure.ac                      |   1 +
 utils/pdfinfo.1                   |   4 ++
 utils/pdfinfo.cc                  | 140
 +++++++++++++++++++++++++++++++++++++-
 4 files changed, 145 insertions(+), 2 deletions(-)

commit 151715976509075e9b95e0ab86d1fcacb2c1580a
Author: Masamichi Hosoda <trueroad@trueroad.jp>
Date:   Sat Aug 20 23:16:33 2016 +0900

    Add functions for named destination name in name-dict

    Get the number of named destinations in name-dict
    int numDests();

    Get the i'th named destination name in name-dict
    char *getDestsName(int i);

    Get the i'th named destination link destination in name-dict
    LinkDest *getDestsDest(int i);

 poppler/Catalog.cc | 38 ++++++++++++++++++++++++++++++++++++++
 poppler/Catalog.h  |  9 +++++++++
 2 files changed, 47 insertions(+)

commit 99267c0b3f3aed520247dc0a5eb70df04b00df46
Author: Masamichi Hosoda <trueroad@trueroad.jp>
Date:   Sat Aug 20 20:40:18 2016 +0900

    Add functions for named destination name in name-tree

    Get the number of named destinations in name-tree
    int Catalog::numDestNameTree();

    Get the i'th named destination name in name-tree
    GooString *Catalog::getDestNameTreeName(int i);

    Get the i'th named destination link destination in name-tree
    LinkDest *Catalog::getDestNameTreeDest(int i);

 poppler/Catalog.cc | 13 +++++++++++++
 poppler/Catalog.h  |  9 +++++++++
 2 files changed, 22 insertions(+)

commit 09ab87a9faf552b28eb7fe3e8ffd137390be5535
Author: Masamichi Hosoda <trueroad@trueroad.jp>
Date:   Sat Aug 20 19:35:27 2016 +0900

    Divide Catalog::findDest()

    In order to use constructing LinkDest from other functions,
    this commit divides Catalog::findDest().

 poppler/Catalog.cc | 24 +++++++++++++++++-------
 poppler/Catalog.h  |  2 ++
 2 files changed, 19 insertions(+), 7 deletions(-)

commit 6c84188c3ff3120c3d13f26a889df51d5be6ed87
Author: Albert Astals Cid <aacid@kde.org>
Date:   Wed Sep 7 23:58:42 2016 +0200

    Refactor Hints to be less bad on broken files

    If we reach the end of the stream don't try to continue reading bits
    from it

    Bug #97623

 poppler/Hints.cc  | 246
 +++++++++++++++++++++++++++++++++---------------------
 poppler/Hints.h   |  16 ++--
 poppler/PDFDoc.cc |   4 +
 3 files changed, 159 insertions(+), 107 deletions(-)

commit 0d06c871df8065e72ae54a1821ca9e872a554352
Author: Albert Astals Cid <aacid@kde.org>
Date:   Tue Sep 6 23:42:55 2016 +0200

    Make some classes smaller in memory (amd64)

    Thanks to elf-dissector

    TextWord 176 -> 160
    Annot 256 -> 240
    GfxShading 200 -> 184

 poppler/Annot.h         | 6 +++---
 poppler/GfxState.h      | 6 +++---
 poppler/TextOutputDev.h | 6 +++---
 3 files changed, 9 insertions(+), 9 deletions(-)

commit 3ccd1c34a19c81d92bff27a095cf912afecb5ef3
Author: Albert Astals Cid <aacid@kde.org>
Date:   Tue Sep 6 23:42:03 2016 +0200

    Compile++

 splash/SplashScreen.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 2ece00c84418fb8a92acc44d2bd0b001bfa10b27
Author: Albert Astals Cid <aacid@kde.org>
Date:   Tue Sep 6 23:41:42 2016 +0200

    Fix warning about new enum

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

commit f5c34c63a64ae3a6af9aee2d2710a966b7e2d95c
Author: Jakub Kucharski <jakubkucharski97@gmail.com>
Date:   Sat Aug 27 06:13:55 2016 +0200

    goo: check at compile time if GooString has the right size

    static_assert is a C++ feature introduced in C++0x. GCC already
    uses this
    standard by default, so we can make use of it. In case it's compiled
    without C++
    >= 0x support, the #if macro will get rid of it.

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

commit 3a1a4baacf9672cd1e26a860303ba22f75c2b942
Author: Jakub Kucharski <jakubkucharski97@gmail.com>
Date:   Sat Aug 27 06:09:04 2016 +0200

    goo: fix GooString::STR_STATIC_SIZE calculation

    Before this fix on 64-bit systems 4 bytes were left unsused (because
    of memory
    alignment). I've also removed unnecessary MemoryLayout class which
    used to be
    used to calculate GooString::STR_STATIC_SIZE, although it had only
    made it
    harder.

 goo/GooString.h | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

commit 1de363eecfa50f6432c5ff87c920213186815416
Author: Albert Astals Cid <aacid@kde.org>
Date:   Tue Sep 6 00:09:40 2016 +0200

    Fix another ubsan warning

 splash/SplashScreen.cc | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

commit 90d0fae2b0bd713f36500f59f4bfee33ad9e13bb
Author: Albert Astals Cid <aacid@kde.org>
Date:   Mon Sep 5 16:19:41 2016 +0200

    Missing (C) from last commit

 fofi/FoFiBase.cc     | 1 +
 fofi/FoFiTrueType.cc | 2 +-
 goo/GooString.cc     | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

commit 67df1e16d7ae87e8b05c3186063cb925a799790a
Author: Albert Astals Cid <aacid@kde.org>
Date:   Mon Sep 5 16:10:58 2016 +0200

    Check we don't overflow in some calculations

    Overflow is undefined behaviour

 fofi/FoFiBase.cc     | 2 ++
 fofi/FoFiTrueType.cc | 7 +++++--
 2 files changed, 7 insertions(+), 2 deletions(-)

commit 7024b3c97df1815a4f1c9f677dc05dcf5ee72c3d
Author: Albert Astals Cid <aacid@kde.org>
Date:   Mon Sep 5 16:09:34 2016 +0200

    No need to do a memcpy of an empty string

    Saves some warnings about memcpy of null strings on some broken
    documents

 goo/GooString.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit a902f5983e6802c9346569fcc599cf5f5042bd8d
Author: Albert Astals Cid <aacid@kde.org>
Date:   Mon Sep 5 16:08:17 2016 +0200

    initialize XRef::encryptAlgorithm to something

 poppler/Decrypt.cc | 12 +++++++++++-
 poppler/Stream.h   |  5 +++--
 poppler/XRef.cc    |  3 ++-
 3 files changed, 16 insertions(+), 4 deletions(-)

commit 7c7c35db46c0da51c09783a00484161721ea48ab
Author: Albert Astals Cid <aacid@kde.org>
Date:   Sun Sep 4 15:40:32 2016 +0200

    Fix memory leak in error handling

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

commit 4552af28684e18c6153ce5598b121a73477af4d6
Author: Albert Astals Cid <aacid@kde.org>
Date:   Sun Sep 4 15:24:14 2016 +0200

    Do not crash on invalid files where nStripes is 0

    Bug #85276

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

commit 364c15795a0508d421ca636bc7b71f93039a82b1
Author: Albert Astals Cid <aacid@kde.org>
Date:   Sun Sep 4 15:23:25 2016 +0200

    Always delete aaBuf if it is there

    Doesn't matter if antialias is temporarily disabled

 splash/Splash.cc | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

commit 22c4701d5f7be0010ee4519daa546fba5ab7ac13
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri Aug 26 15:18:22 2016 +0200

    Fix crash in files with broken JBIG2Streams

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

commit c46b8b99b3a2d51692d889df22136cb737d3a47f
Author: Albert Astals Cid <aacid@kde.org>
Date:   Fri Aug 26 14:53:19 2016 +0200

    Fix memory leak when parsing broken Forms

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

commit 92175cb29450241fafc6d74170f97aee5b7a6d7a
Author: Jason Crain <jason@inspiresomeone.us>
Date:   Sun Jul 31 00:53:24 2016 -0500

    Fix UTF16 decoding of document outline title

    Use TextStringToUCS4 function and don't ignore astral characters.

    Bug #97156

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

commit fea7bfc3978cb962e2372df3c407114effd5f831
Author: Jason Crain <jason@inspiresomeone.us>
Date:   Sat Jul 30 03:38:29 2016 -0500

    TextOutputDev: Remove null characters from PDF text

    Null characters in the PDF text cause problems with the glib
    frontend's
    handling of C strings.  Filter them out.

    Bug #97144

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

commit ead33cf26ab7416ae0b37f8eeb19dc231e9a31f0
Author: Albert Astals Cid <aacid@kde.org>
Date:   Mon Aug 22 23:40:07 2016 +0200

    Make sure GfxICCBasedColorSpace and its alt colorspace have the same
    number of nComps

    On files where this doesn't happen (only bad files i've found so far)
    this is leading to crashes

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

commit 55e9f50deb68fb156335a5eb075b28e7b75d88ed
Author: Albert Astals Cid <aacid@kde.org>
Date:   Thu Aug 18 23:54:15 2016 +0200

    Poppler 0.47

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

commit 0889366a5872316919dbb640b6cc5cda85295169
Author: Jakub Kucharski <jakubkucharski97@gmail.com>
Date:   Mon Aug 1 01:10:18 2016 +0200

    XRef::createDocInfoIfNoneExists(): don't presume that DocInfo is
    a dictionary

    In case a PDF document doesn't comply with the PDF reference and
    its DocInfo
    object isn't a dictionary, remove it and create a dictionary in
    its place.

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

commit 7ba975630e12a3242d73372a685e016101c5e479
Author: Jakub Kucharski <jakubkucharski97@gmail.com>
Date:   Mon Aug 1 01:17:08 2016 +0200

    PDFDoc::setDocInfoStringEntry(): free empty value string

    Normally the ownership of value is passed on to the Object class. In
    case value
    is an empty string, it doesn't happen, so we have to free it in
    order to have
    a uniform behaviour managing memory and not to introduce memory leaks.

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

commit f0feeed3513899558c59b65f798f294212309486
Author: Matthias Kilian <kili@outback.escape.de>
Date:   Mon Aug 1 22:50:44 2016 +0200

    Work with non gnu grep

 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 3f5c84e17acfa71dfd44514384398f5a4c449630
Author: Albert Astals Cid <aacid@kde.org>
Date:   Sat Jul 30 17:50:42 2016 +0200

    Check for XRefEntry existing before using it

    Bug #97005

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

commit 7d3aea760a14a73962e429059f73d97391660367
Author: Albert Astals Cid <aacid@kde.org>
Date:   Sat Jul 30 17:32:59 2016 +0200

    Fix abort on documents where the docinfo obj is not a dict

    Bug #97134

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

commit 5641644f485b402cd906d3db73a22a00eb00489b
Author: Albert Astals Cid <aacid@kde.org>
Date:   Mon Jul 25 00:14:30 2016 +0200

    Poppler 0.46

 CMakeLists.txt         |  4 ++--
 NEWS                   | 33 +++++++++++++++++++++++++++++++++
 configure.ac           |  2 +-
 cpp/CMakeLists.txt     |  2 +-
 cpp/Doxyfile           |  2 +-
 cpp/Makefile.am        |  2 +-
 glib/CMakeLists.txt    |  2 +-
 glib/Makefile.am       |  2 +-
 poppler/Makefile.am    |  2 +-
 qt4/src/CMakeLists.txt |  2 +-
 qt4/src/Doxyfile       |  2 +-
 qt4/src/Makefile.am    |  2 +-
 qt5/src/CMakeLists.txt |  2 +-
 qt5/src/Doxyfile       |  2 +-
 qt5/src/Makefile.am    |  2 +-
 15 files changed, 48 insertions(+), 15 deletions(-)

commit 97375143f458a9f12009d798ec43364d548051b9
Author: Albert Astals Cid <aacid@kde.org>
Date:   Sun Jul 24 23:59:09 2016 +0200

    update Copyrights

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

commit bc1e3df84adff679194c33ce2dc52caa70b24df8
Author: Richard Palo <richard@netbsd.org>
Date:   Sun Jul 24 23:52:52 2016 +0200

    Work with non gnu greps

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

commit df6904366d587133760adf0d43a128aa4d35a712
Author: Jakub Kucharski <jakubkucharski97@gmail.com>
Date:   Sun Jul 24 13:14:39 2016 +0200

    qt5: fix memory leaks in Document::modificationDate() and
    Document::creationDate()

 qt5/src/poppler-document.cc | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

commit d89ea6ae0ddd70916700a402649a9e0423ae9fbb
Author: Jakub Kucharski <jakubkucharski97@gmail.com>
Date:   Sun Jul 24 13:14:19 2016 +0200

    qt4: fix memory leaks in Document::modificationDate() and
    Document::creationDate()

 qt4/src/poppler-document.cc | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
