Hello community, here is the log from the commit of package poppler for openSUSE:Factory checked in at 2017-02-21 13:34:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/poppler (Old) and /work/SRC/openSUSE:Factory/.poppler.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "poppler" Changes: -------- --- /work/SRC/openSUSE:Factory/poppler/poppler-qt.changes 2017-02-07 11:56:51.377818481 +0100 +++ /work/SRC/openSUSE:Factory/.poppler.new/poppler-qt.changes 2017-02-21 13:34:50.387568698 +0100 @@ -1,0 +2,18 @@ +Fri Feb 17 19:08:01 UTC 2017 - [email protected] + +- Update to version 0.52.0: + + core: + - Fix assert on reading some OCGs (fdo#99768). + - Properly initialize some RichMedia variables in corner cases + (fdo#99767). + + qt4: + - optcontent structure was leaking the headers items + (fdo#99449). + - Cleanup objects in tests to fix memory leaks (fdo#99449). + + qt5: + - optcontent structure was leaking the headers items + (fdo#99449). + - Cleanup objects in tests to fix memory leaks (fdo#99449). + + utils: pdftocairo.1: Fix typo. + +------------------------------------------------------------------- poppler-qt5.changes: same change poppler.changes: same change Old: ---- poppler-0.51.0.tar.xz New: ---- poppler-0.52.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ poppler-qt.spec ++++++ --- /var/tmp/diff_new_pack.F7JXmm/_old 2017-02-21 13:34:51.195454730 +0100 +++ /var/tmp/diff_new_pack.F7JXmm/_new 2017-02-21 13:34:51.195454730 +0100 @@ -21,7 +21,7 @@ Name: poppler-qt %define _name poppler -Version: 0.51.0 +Version: 0.52.0 Release: 0 # Actual version of poppler-data: %define poppler_data_version 0.4.6 poppler-qt5.spec: same change ++++++ poppler.spec ++++++ --- /var/tmp/diff_new_pack.F7JXmm/_old 2017-02-21 13:34:51.259445703 +0100 +++ /var/tmp/diff_new_pack.F7JXmm/_new 2017-02-21 13:34:51.259445703 +0100 @@ -21,7 +21,7 @@ Name: poppler %define _name poppler -Version: 0.51.0 +Version: 0.52.0 Release: 0 # Actual version of poppler-data: %define poppler_data_version 0.4.6 ++++++ poppler-0.51.0.tar.xz -> poppler-0.52.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poppler-0.51.0/CMakeLists.txt new/poppler-0.52.0/CMakeLists.txt --- old/poppler-0.51.0/CMakeLists.txt 2017-01-15 18:23:54.000000000 +0100 +++ new/poppler-0.52.0/CMakeLists.txt 2017-02-15 23:08:30.000000000 +0100 @@ -22,7 +22,7 @@ endif() set(POPPLER_MAJOR_VERSION "0") -set(POPPLER_MINOR_VERSION "51") +set(POPPLER_MINOR_VERSION "52") set(POPPLER_MICRO_VERSION "0") set(POPPLER_VERSION "${POPPLER_MAJOR_VERSION}.${POPPLER_MINOR_VERSION}.${POPPLER_MICRO_VERSION}") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poppler-0.51.0/ChangeLog new/poppler-0.52.0/ChangeLog --- old/poppler-0.51.0/ChangeLog 2017-01-15 18:44:31.000000000 +0100 +++ new/poppler-0.52.0/ChangeLog 2017-02-15 23:25:36.000000000 +0100 @@ -1,3 +1,65 @@ +commit baad9bd0406f63cffa8054c5831ccc3cb5d207e3 +Author: Albert Astals Cid <[email protected]> +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 <[email protected]> +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 <[email protected]> +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 <[email protected]> +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 <[email protected]> +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 <[email protected]> Date: Sun Jan 15 18:27:49 2017 +0100 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poppler-0.51.0/NEWS new/poppler-0.52.0/NEWS --- old/poppler-0.51.0/NEWS 2017-01-15 18:24:25.000000000 +0100 +++ new/poppler-0.52.0/NEWS 2017-02-15 23:08:02.000000000 +0100 @@ -1,3 +1,19 @@ +Release 0.52.0 + core: + * Fix assert on reading some OCGs. Bug #99768 + * Properly initialize some RichMedia variables in corner cases. Bug #99767 + + qt4: + * optcontent structure was leaking the headers items. Bug #99449 + * Cleanup objects in tests to fix memory leaks. Bug #99449 + + qt5: + * optcontent structure was leaking the headers items. Bug #99449 + * Cleanup objects in tests to fix memory leaks. Bug #99449 + + utils: + * pdftocairo.1: Fix typo + Release 0.51.0 core: * Check for error from NSS in SignatureHandler construct. Bug #99363 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poppler-0.51.0/configure new/poppler-0.52.0/configure --- old/poppler-0.51.0/configure 2017-01-15 18:29:46.000000000 +0100 +++ new/poppler-0.52.0/configure 2017-02-15 23:11:20.000000000 +0100 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for poppler 0.51.0. +# Generated by GNU Autoconf 2.69 for poppler 0.52.0. # # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=poppler>. # @@ -591,8 +591,8 @@ # Identity of this package. PACKAGE_NAME='poppler' PACKAGE_TARNAME='poppler' -PACKAGE_VERSION='0.51.0' -PACKAGE_STRING='poppler 0.51.0' +PACKAGE_VERSION='0.52.0' +PACKAGE_STRING='poppler 0.52.0' PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=poppler' PACKAGE_URL='' @@ -1554,7 +1554,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures poppler 0.51.0 to adapt to many kinds of systems. +\`configure' configures poppler 0.52.0 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1629,7 +1629,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of poppler 0.51.0:";; + short | recursive ) echo "Configuration of poppler 0.52.0:";; esac cat <<\_ACEOF @@ -1860,7 +1860,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -poppler configure 0.51.0 +poppler configure 0.52.0 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2554,7 +2554,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by poppler $as_me 0.51.0, which was +It was created by poppler $as_me 0.52.0, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -3418,7 +3418,7 @@ # Define the identity of the package. PACKAGE='poppler' - VERSION='0.51.0' + VERSION='0.52.0' cat >>confdefs.h <<_ACEOF @@ -18500,7 +18500,7 @@ cat >>confdefs.h <<_ACEOF -#define POPPLER_VERSION "0.51.0" +#define POPPLER_VERSION "0.52.0" _ACEOF @@ -25820,11 +25820,11 @@ POPPLER_MAJOR_VERSION=0 -POPPLER_MINOR_VERSION=51 +POPPLER_MINOR_VERSION=52 POPPLER_MICRO_VERSION=0 -POPPLER_VERSION=0.51.0 +POPPLER_VERSION=0.52.0 ac_config_files="$ac_config_files Makefile goo/Makefile fofi/Makefile splash/Makefile poppler/Makefile utils/Makefile glib/Makefile glib/poppler-features.h glib/reference/Makefile glib/reference/version.xml glib/demo/Makefile test/Makefile qt4/Makefile qt4/src/Makefile qt4/tests/Makefile qt4/demos/Makefile qt5/Makefile qt5/src/Makefile qt5/tests/Makefile qt5/demos/Makefile cpp/Makefile cpp/poppler-version.h cpp/tests/Makefile poppler.pc poppler-uninstalled.pc poppler-cairo.pc poppler-cairo-uninstalled.pc poppler-splash.pc poppler-splash-uninstalled.pc poppler-glib.pc poppler-glib-uninstalled.pc poppler-qt4.pc poppler-qt4-uninstalled.pc poppler-qt5.pc poppler-qt5-uninstalled.pc poppler-cpp.pc poppler-cpp-uninstalled.pc" @@ -26484,7 +26484,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by poppler $as_me 0.51.0, which was +This file was extended by poppler $as_me 0.52.0, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -26550,7 +26550,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -poppler config.status 0.51.0 +poppler config.status 0.52.0 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poppler-0.51.0/configure.ac new/poppler-0.52.0/configure.ac --- old/poppler-0.51.0/configure.ac 2017-01-15 18:23:40.000000000 +0100 +++ new/poppler-0.52.0/configure.ac 2017-02-15 23:08:25.000000000 +0100 @@ -1,5 +1,5 @@ m4_define([poppler_version_major],[0]) -m4_define([poppler_version_minor],[51]) +m4_define([poppler_version_minor],[52]) m4_define([poppler_version_micro],[0]) m4_define([poppler_version],[poppler_version_major.poppler_version_minor.poppler_version_micro]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poppler-0.51.0/cpp/poppler-version.h new/poppler-0.52.0/cpp/poppler-version.h --- old/poppler-0.51.0/cpp/poppler-version.h 2017-01-15 18:30:00.000000000 +0100 +++ new/poppler-0.52.0/cpp/poppler-version.h 2017-02-15 23:11:30.000000000 +0100 @@ -21,9 +21,9 @@ #include "poppler-global.h" -#define POPPLER_VERSION "0.51.0" +#define POPPLER_VERSION "0.52.0" #define POPPLER_VERSION_MAJOR 0 -#define POPPLER_VERSION_MINOR 51 +#define POPPLER_VERSION_MINOR 52 #define POPPLER_VERSION_MICRO 0 namespace poppler diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poppler-0.51.0/glib/reference/html/index.html new/poppler-0.52.0/glib/reference/html/index.html --- old/poppler-0.51.0/glib/reference/html/index.html 2017-01-15 18:44:32.000000000 +0100 +++ new/poppler-0.52.0/glib/reference/html/index.html 2017-02-15 23:25:38.000000000 +0100 @@ -15,7 +15,7 @@ <div> <div><table class="navigation" id="top" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">Poppler Reference Manual</p></th></tr></table></div> <div><p class="releaseinfo"> - for Poppler 0.51.0 + for Poppler 0.52.0 </p></div> </div> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poppler-0.51.0/glib/reference/html/poppler-Version-and-Features-Information.html new/poppler-0.52.0/glib/reference/html/poppler-Version-and-Features-Information.html --- old/poppler-0.51.0/glib/reference/html/poppler-Version-and-Features-Information.html 2017-01-15 18:44:32.000000000 +0100 +++ new/poppler-0.52.0/glib/reference/html/poppler-Version-and-Features-Information.html 2017-02-15 23:25:38.000000000 +0100 @@ -189,7 +189,7 @@ <hr> <div class="refsect2"> <a name="POPPLER-MINOR-VERSION:CAPS"></a><h3>POPPLER_MINOR_VERSION</h3> -<pre class="programlisting">#define POPPLER_MINOR_VERSION (51) +<pre class="programlisting">#define POPPLER_MINOR_VERSION (52) </pre> <p>The major version number of the poppler header files (e.g. in poppler version 0.1.2 this is 1.)</p> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poppler-0.51.0/glib/reference/version.xml new/poppler-0.52.0/glib/reference/version.xml --- old/poppler-0.51.0/glib/reference/version.xml 2017-01-15 18:30:00.000000000 +0100 +++ new/poppler-0.52.0/glib/reference/version.xml 2017-02-15 23:11:30.000000000 +0100 @@ -1 +1 @@ -0.51.0 +0.52.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poppler-0.51.0/poppler/Annot.cc new/poppler-0.52.0/poppler/Annot.cc --- old/poppler-0.51.0/poppler/Annot.cc 2016-12-06 23:48:27.000000000 +0100 +++ new/poppler-0.52.0/poppler/Annot.cc 2017-02-15 23:05:34.000000000 +0100 @@ -15,7 +15,7 @@ // // Copyright (C) 2006 Scott Turner <[email protected]> // Copyright (C) 2007, 2008 Julien Rebetez <[email protected]> -// Copyright (C) 2007-2013, 2015, 2016 Albert Astals Cid <[email protected]> +// Copyright (C) 2007-2013, 2015-2017 Albert Astals Cid <[email protected]> // Copyright (C) 2007-2013 Carlos Garcia Campos <[email protected]> // Copyright (C) 2007, 2008 Iñigo Martínez <[email protected]> // Copyright (C) 2007 Jeff Muizelaar <[email protected]> @@ -6854,6 +6854,8 @@ } obj1.free(); + nAssets = 0; + assets = NULL; if (dict->lookup("Assets", &obj1)->isDict()) { Object obj2; @@ -6878,10 +6880,6 @@ } } obj2.free(); - - } else { - nAssets = 0; - assets = NULL; } obj1.free(); } @@ -7044,20 +7042,19 @@ { Object obj1; - if (dict->lookup("Subtype", &obj1)->isName()) { - const char *name = obj1.getName(); + dict->lookup("Subtype", &obj1); + const char *name = obj1.isName() ? obj1.getName() : ""; - if (!strcmp(name, "3D")) { - type = type3D; - } else if (!strcmp(name, "Flash")) { - type = typeFlash; - } else if (!strcmp(name, "Sound")) { - type = typeSound; - } else if (!strcmp(name, "Video")) { - type = typeVideo; - } else { - type = typeFlash; - } + if (!strcmp(name, "3D")) { + type = type3D; + } else if (!strcmp(name, "Flash")) { + type = typeFlash; + } else if (!strcmp(name, "Sound")) { + type = typeSound; + } else if (!strcmp(name, "Video")) { + type = typeVideo; + } else { + type = typeFlash; } obj1.free(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poppler-0.51.0/poppler/OptionalContent.cc new/poppler-0.52.0/poppler/OptionalContent.cc --- old/poppler-0.51.0/poppler/OptionalContent.cc 2014-02-09 16:10:32.000000000 +0100 +++ new/poppler-0.52.0/poppler/OptionalContent.cc 2017-02-15 23:05:48.000000000 +0100 @@ -5,7 +5,7 @@ // Copyright 2007 Brad Hards <[email protected]> // Copyright 2008 Pino Toscano <[email protected]> // Copyright 2008, 2010 Carlos Garcia Campos <[email protected]> -// Copyright 2008, 2010, 2011 Albert Astals Cid <[email protected]> +// Copyright 2008, 2010, 2011, 2017 Albert Astals Cid <[email protected]> // Copyright 2008 Mark Kaplan <[email protected]> // // Released under the GPL (version 2, or later, at your option) @@ -63,6 +63,10 @@ OptionalContentGroup *thisOptionalContentGroup = new OptionalContentGroup(ocg.getDict()); ocg.free(); ocgList.arrayGetNF(i, &ocg); + if (!ocg.isRef()) { + ocg.free(); + break; + } // TODO: we should create a lookup map from Ref to the OptionalContentGroup thisOptionalContentGroup->setRef( ocg.getRef() ); ocg.free(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poppler-0.51.0/qt4/src/poppler-optcontent-private.h new/poppler-0.52.0/qt4/src/poppler-optcontent-private.h --- old/poppler-0.51.0/qt4/src/poppler-optcontent-private.h 2016-12-15 20:08:06.000000000 +0100 +++ new/poppler-0.52.0/qt4/src/poppler-optcontent-private.h 2017-01-19 23:43:14.000000000 +0100 @@ -3,6 +3,7 @@ * Copyright (C) 2007, Brad Hards <[email protected]> * Copyright (C) 2008, Pino Toscano <[email protected]> * Copyright (C) 2016, Albert Astals Cid <[email protected]> + * Copyright (C) 2017, Hubert Figuière <[email protected]> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -110,6 +111,7 @@ OptContentModel *q; QMap<QString, OptContentItem*> m_optContentItems; + QList<OptContentItem*> m_headerOptContentItems; QList<RadioButtonGroup*> m_rbgroups; OptContentItem *m_rootNode; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poppler-0.51.0/qt4/src/poppler-optcontent.cc new/poppler-0.52.0/qt4/src/poppler-optcontent.cc --- old/poppler-0.51.0/qt4/src/poppler-optcontent.cc 2016-12-15 20:08:06.000000000 +0100 +++ new/poppler-0.52.0/qt4/src/poppler-optcontent.cc 2017-01-19 23:43:11.000000000 +0100 @@ -4,6 +4,7 @@ * Copyright (C) 2008, 2014, Pino Toscano <[email protected]> * Copyright (C) 2008, Carlos Garcia Campos <[email protected]> * Copyright (C) 2015, 2016, Albert Astals Cid <[email protected]> + * Copyright (C) 2017, Hubert Figuière <[email protected]> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -190,6 +191,7 @@ { qDeleteAll( m_optContentItems ); qDeleteAll( m_rbgroups ); + qDeleteAll( m_headerOptContentItems ); delete m_rootNode; } @@ -217,6 +219,7 @@ } else if ( orderItem.isString() ) { GooString *label = orderItem.getString(); OptContentItem *header = new OptContentItem ( UnicodeParsedString ( label ) ); + m_headerOptContentItems.append( header ); addChild( parentNode, header ); parentNode = header; lastItem = header; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poppler-0.51.0/qt4/tests/check_links.cpp new/poppler-0.52.0/qt4/tests/check_links.cpp --- old/poppler-0.51.0/qt4/tests/check_links.cpp 2016-06-02 00:21:27.000000000 +0200 +++ new/poppler-0.52.0/qt4/tests/check_links.cpp 2017-01-19 23:41:41.000000000 +0100 @@ -68,6 +68,8 @@ QCOMPARE( dest.destinationName(), QString::fromLatin1("section.2") ); } + qDeleteAll(links); + delete page; delete doc; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poppler-0.51.0/qt5/src/poppler-optcontent-private.h new/poppler-0.52.0/qt5/src/poppler-optcontent-private.h --- old/poppler-0.51.0/qt5/src/poppler-optcontent-private.h 2016-12-15 20:08:06.000000000 +0100 +++ new/poppler-0.52.0/qt5/src/poppler-optcontent-private.h 2017-01-19 23:42:59.000000000 +0100 @@ -3,6 +3,7 @@ * Copyright (C) 2007, Brad Hards <[email protected]> * Copyright (C) 2008, Pino Toscano <[email protected]> * Copyright (C) 2016, Albert Astals Cid <[email protected]> + * Copyright (C) 2017, Hubert Figuière <[email protected]> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -110,6 +111,7 @@ OptContentModel *q; QMap<QString, OptContentItem*> m_optContentItems; + QList<OptContentItem*> m_headerOptContentItems; QList<RadioButtonGroup*> m_rbgroups; OptContentItem *m_rootNode; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poppler-0.51.0/qt5/src/poppler-optcontent.cc new/poppler-0.52.0/qt5/src/poppler-optcontent.cc --- old/poppler-0.51.0/qt5/src/poppler-optcontent.cc 2016-12-15 20:08:06.000000000 +0100 +++ new/poppler-0.52.0/qt5/src/poppler-optcontent.cc 2017-01-19 23:43:03.000000000 +0100 @@ -4,6 +4,7 @@ * Copyright (C) 2008, 2014, Pino Toscano <[email protected]> * Copyright (C) 2008, Carlos Garcia Campos <[email protected]> * Copyright (C) 2015, 2016, Albert Astals Cid <[email protected]> + * Copyright (C) 2017, Hubert Figuière <[email protected]> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -190,6 +191,7 @@ { qDeleteAll( m_optContentItems ); qDeleteAll( m_rbgroups ); + qDeleteAll( m_headerOptContentItems ); delete m_rootNode; } @@ -217,6 +219,7 @@ } else if ( orderItem.isString() ) { GooString *label = orderItem.getString(); OptContentItem *header = new OptContentItem ( UnicodeParsedString ( label ) ); + m_headerOptContentItems.append( header ); addChild( parentNode, header ); parentNode = header; lastItem = header; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poppler-0.51.0/qt5/tests/check_links.cpp new/poppler-0.52.0/qt5/tests/check_links.cpp --- old/poppler-0.51.0/qt5/tests/check_links.cpp 2016-06-02 00:21:27.000000000 +0200 +++ new/poppler-0.52.0/qt5/tests/check_links.cpp 2017-01-19 23:41:41.000000000 +0100 @@ -68,6 +68,8 @@ QCOMPARE( dest.destinationName(), QString::fromLatin1("section.2") ); } + qDeleteAll(links); + delete page; delete doc; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/poppler-0.51.0/utils/pdftocairo.1 new/poppler-0.52.0/utils/pdftocairo.1 --- old/poppler-0.51.0/utils/pdftocairo.1 2016-12-06 23:48:28.000000000 +0100 +++ new/poppler-0.52.0/utils/pdftocairo.1 2017-02-13 00:55:47.000000000 +0100 @@ -33,7 +33,7 @@ .IR output-file . The image formats (PNG, JPEG, and TIFF) generate one file per page with the page number and file type appended to .IR output-file . -qWhen \-singlefile is used with the image formats, the file type is appended to +When \-singlefile is used with the image formats, the file type is appended to .IR output-file . When the output format is a vector format (PDF, PS, EPS, and SVG), .IR output-file
