texlive[43251] Build/source/libs: poppler 0.52.0
commits+kakuto at tug.org
commits+kakuto at tug.org
Fri Feb 17 01:14:58 CET 2017
Revision: 43251
http://tug.org/svn/texlive?view=revision&revision=43251
Author: kakuto
Date: 2017-02-17 01:14:58 +0100 (Fri, 17 Feb 2017)
Log Message:
-----------
poppler 0.52.0
Modified Paths:
--------------
trunk/Build/source/libs/README
trunk/Build/source/libs/poppler/ChangeLog
trunk/Build/source/libs/poppler/TLpatches/ChangeLog
trunk/Build/source/libs/poppler/TLpatches/TL-Changes
trunk/Build/source/libs/poppler/TLpatches/patch-02-LLONG_MAX
trunk/Build/source/libs/poppler/TLpatches/patch-03-Object-functions
trunk/Build/source/libs/poppler/configure
trunk/Build/source/libs/poppler/poppler-src/CMakeLists.txt
trunk/Build/source/libs/poppler/poppler-src/ChangeLog
trunk/Build/source/libs/poppler/poppler-src/NEWS
trunk/Build/source/libs/poppler/poppler-src/configure.ac
trunk/Build/source/libs/poppler/poppler-src/poppler/Annot.cc
trunk/Build/source/libs/poppler/poppler-src/poppler/OptionalContent.cc
trunk/Build/source/libs/poppler/version.ac
Modified: trunk/Build/source/libs/README
===================================================================
--- trunk/Build/source/libs/README 2017-02-16 23:16:18 UTC (rev 43250)
+++ trunk/Build/source/libs/README 2017-02-17 00:14:58 UTC (rev 43251)
@@ -49,7 +49,7 @@
pixman 0.34.0 - checked 04feb16
http://cairographics.org/releases/
-poppler 0.51.0 - checked 15jan17
+poppler 0.52.0 - checked 17feb17
http://poppler.freedesktop.org/ - used by luatex and xetex
potrace 1.13 - checked 28dec15
Modified: trunk/Build/source/libs/poppler/ChangeLog
===================================================================
--- trunk/Build/source/libs/poppler/ChangeLog 2017-02-16 23:16:18 UTC (rev 43250)
+++ trunk/Build/source/libs/poppler/ChangeLog 2017-02-17 00:14:58 UTC (rev 43251)
@@ -1,3 +1,8 @@
+2017-02-17 Akira Kakuto <kakuto at fuk.kindai.ac.jp>
+
+ Import poppler-0.52.0.
+ * version.ac: Adjust.
+
2017-01-15 Akira Kakuto <kakuto at fuk.kindai.ac.jp>
Import poppler-0.51.0.
Modified: trunk/Build/source/libs/poppler/TLpatches/ChangeLog
===================================================================
--- trunk/Build/source/libs/poppler/TLpatches/ChangeLog 2017-02-16 23:16:18 UTC (rev 43250)
+++ trunk/Build/source/libs/poppler/TLpatches/ChangeLog 2017-02-17 00:14:58 UTC (rev 43251)
@@ -1,3 +1,9 @@
+2017-02-17 Akira Kakuto <kakuto at fuk.kindai.ac.jp>
+
+ Imported poppler-0.52.0 source tree from:
+ http://poppler.freedesktop.org/
+ * patch-02-LLONG_MAX, patch-03-Object-functions: Adapted.
+
2017-01-15 Akira Kakuto <kakuto at fuk.kindai.ac.jp>
Imported poppler-0.51.0 source tree from:
Modified: trunk/Build/source/libs/poppler/TLpatches/TL-Changes
===================================================================
--- trunk/Build/source/libs/poppler/TLpatches/TL-Changes 2017-02-16 23:16:18 UTC (rev 43250)
+++ trunk/Build/source/libs/poppler/TLpatches/TL-Changes 2017-02-17 00:14:58 UTC (rev 43251)
@@ -1,4 +1,4 @@
-Changes applied to the poppler-0.51.0 tree as obtained from:
+Changes applied to the poppler-0.52.0 tree as obtained from:
http://poppler.freedesktop.org/
Removed:
Modified: trunk/Build/source/libs/poppler/TLpatches/patch-02-LLONG_MAX
===================================================================
--- trunk/Build/source/libs/poppler/TLpatches/patch-02-LLONG_MAX 2017-02-16 23:16:18 UTC (rev 43250)
+++ trunk/Build/source/libs/poppler/TLpatches/patch-02-LLONG_MAX 2017-02-17 00:14:58 UTC (rev 43251)
@@ -1,6 +1,6 @@
-diff -ur poppler-0.51.0.orig/goo/GooString.h poppler-0.51.0/goo/GooString.h
---- poppler-0.51.0.orig/goo/GooString.h Fri Dec 16 04:08:06 2016
-+++ poppler-0.51.0/goo/GooString.h Mon Jan 16 08:28:38 2017
+diff -ur poppler-0.52.0.orig/goo/GooString.h poppler-0.52.0/goo/GooString.h
+--- poppler-0.52.0.orig/goo/GooString.h Tue Jan 17 06:36:57 2017
++++ poppler-0.52.0/goo/GooString.h Fri Feb 17 08:54:28 2017
@@ -36,6 +36,21 @@
#endif
Modified: trunk/Build/source/libs/poppler/TLpatches/patch-03-Object-functions
===================================================================
--- trunk/Build/source/libs/poppler/TLpatches/patch-03-Object-functions 2017-02-16 23:16:18 UTC (rev 43250)
+++ trunk/Build/source/libs/poppler/TLpatches/patch-03-Object-functions 2017-02-17 00:14:58 UTC (rev 43251)
@@ -1,6 +1,6 @@
-diff -ur poppler-0.51.0.orig/poppler/Object.h poppler-0.51.0/poppler/Object.h
---- poppler-0.51.0.orig/poppler/Object.h Fri Dec 16 04:08:06 2016
-+++ poppler-0.51.0/poppler/Object.h Mon Jan 16 08:31:27 2017
+diff -ur poppler-0.52.0.orig/poppler/Object.h poppler-0.52.0/poppler/Object.h
+--- poppler-0.52.0.orig/poppler/Object.h Tue Jan 17 06:36:58 2017
++++ poppler-0.52.0/poppler/Object.h Fri Feb 17 08:57:36 2017
@@ -148,7 +148,7 @@
Object *initStream(Stream *streamA);
Object *initRef(int numA, int genA)
Modified: trunk/Build/source/libs/poppler/configure
===================================================================
--- trunk/Build/source/libs/poppler/configure 2017-02-16 23:16:18 UTC (rev 43250)
+++ trunk/Build/source/libs/poppler/configure 2017-02-17 00:14:58 UTC (rev 43251)
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for poppler (TeX Live) 0.51.0.
+# Generated by GNU Autoconf 2.69 for poppler (TeX Live) 0.52.0.
#
# Report bugs to <tex-k at tug.org>.
#
@@ -580,8 +580,8 @@
# Identity of this package.
PACKAGE_NAME='poppler (TeX Live)'
PACKAGE_TARNAME='poppler--tex-live-'
-PACKAGE_VERSION='0.51.0'
-PACKAGE_STRING='poppler (TeX Live) 0.51.0'
+PACKAGE_VERSION='0.52.0'
+PACKAGE_STRING='poppler (TeX Live) 0.52.0'
PACKAGE_BUGREPORT='tex-k at tug.org'
PACKAGE_URL=''
@@ -1306,7 +1306,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 (TeX Live) 0.51.0 to adapt to many kinds of systems.
+\`configure' configures poppler (TeX Live) 0.52.0 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1373,7 +1373,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of poppler (TeX Live) 0.51.0:";;
+ short | recursive ) echo "Configuration of poppler (TeX Live) 0.52.0:";;
esac
cat <<\_ACEOF
@@ -1486,7 +1486,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-poppler (TeX Live) configure 0.51.0
+poppler (TeX Live) configure 0.52.0
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2076,7 +2076,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 (TeX Live) $as_me 0.51.0, which was
+It was created by poppler (TeX Live) $as_me 0.52.0, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
@@ -3999,7 +3999,7 @@
# Define the identity of the package.
PACKAGE='poppler--tex-live-'
- VERSION='0.51.0'
+ VERSION='0.52.0'
# Some tools Automake needs.
@@ -6578,7 +6578,7 @@
cat >>confdefs.h <<_ACEOF
-#define POPPLER_VERSION "0.51.0"
+#define POPPLER_VERSION "0.52.0"
_ACEOF
@@ -7272,7 +7272,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by poppler (TeX Live) $as_me 0.51.0, which was
+This file was extended by poppler (TeX Live) $as_me 0.52.0, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -7338,7 +7338,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 (TeX Live) config.status 0.51.0
+poppler (TeX Live) config.status 0.52.0
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
Modified: trunk/Build/source/libs/poppler/poppler-src/CMakeLists.txt
===================================================================
--- trunk/Build/source/libs/poppler/poppler-src/CMakeLists.txt 2017-02-16 23:16:18 UTC (rev 43250)
+++ trunk/Build/source/libs/poppler/poppler-src/CMakeLists.txt 2017-02-17 00:14:58 UTC (rev 43251)
@@ -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}")
Modified: trunk/Build/source/libs/poppler/poppler-src/ChangeLog
===================================================================
--- trunk/Build/source/libs/poppler/poppler-src/ChangeLog 2017-02-16 23:16:18 UTC (rev 43250)
+++ trunk/Build/source/libs/poppler/poppler-src/ChangeLog 2017-02-17 00:14:58 UTC (rev 43251)
@@ -1,3 +1,65 @@
+commit baad9bd0406f63cffa8054c5831ccc3cb5d207e3
+Author: Albert Astals Cid <aacid at 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 at 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 at 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 at 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 at 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 at kde.org>
Date: Sun Jan 15 18:27:49 2017 +0100
Modified: trunk/Build/source/libs/poppler/poppler-src/NEWS
===================================================================
--- trunk/Build/source/libs/poppler/poppler-src/NEWS 2017-02-16 23:16:18 UTC (rev 43250)
+++ trunk/Build/source/libs/poppler/poppler-src/NEWS 2017-02-17 00:14:58 UTC (rev 43251)
@@ -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
Modified: trunk/Build/source/libs/poppler/poppler-src/configure.ac
===================================================================
--- trunk/Build/source/libs/poppler/poppler-src/configure.ac 2017-02-16 23:16:18 UTC (rev 43250)
+++ trunk/Build/source/libs/poppler/poppler-src/configure.ac 2017-02-17 00:14:58 UTC (rev 43251)
@@ -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])
Modified: trunk/Build/source/libs/poppler/poppler-src/poppler/Annot.cc
===================================================================
--- trunk/Build/source/libs/poppler/poppler-src/poppler/Annot.cc 2017-02-16 23:16:18 UTC (rev 43250)
+++ trunk/Build/source/libs/poppler/poppler-src/poppler/Annot.cc 2017-02-17 00:14:58 UTC (rev 43251)
@@ -15,7 +15,7 @@
//
// Copyright (C) 2006 Scott Turner <scotty1024 at mac.com>
// Copyright (C) 2007, 2008 Julien Rebetez <julienr at svn.gnome.org>
-// Copyright (C) 2007-2013, 2015, 2016 Albert Astals Cid <aacid at kde.org>
+// Copyright (C) 2007-2013, 2015-2017 Albert Astals Cid <aacid at kde.org>
// Copyright (C) 2007-2013 Carlos Garcia Campos <carlosgc at gnome.org>
// Copyright (C) 2007, 2008 Iñigo Martínez <inigomartinez at gmail.com>
// Copyright (C) 2007 Jeff Muizelaar <jeff at infidigm.net>
@@ -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();
Modified: trunk/Build/source/libs/poppler/poppler-src/poppler/OptionalContent.cc
===================================================================
--- trunk/Build/source/libs/poppler/poppler-src/poppler/OptionalContent.cc 2017-02-16 23:16:18 UTC (rev 43250)
+++ trunk/Build/source/libs/poppler/poppler-src/poppler/OptionalContent.cc 2017-02-17 00:14:58 UTC (rev 43251)
@@ -5,7 +5,7 @@
// Copyright 2007 Brad Hards <bradh at kde.org>
// Copyright 2008 Pino Toscano <pino at kde.org>
// Copyright 2008, 2010 Carlos Garcia Campos <carlosgc at gnome.org>
-// Copyright 2008, 2010, 2011 Albert Astals Cid <aacid at kde.org>
+// Copyright 2008, 2010, 2011, 2017 Albert Astals Cid <aacid at kde.org>
// Copyright 2008 Mark Kaplan <mkaplan at finjan.com>
//
// 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();
Modified: trunk/Build/source/libs/poppler/version.ac
===================================================================
--- trunk/Build/source/libs/poppler/version.ac 2017-02-16 23:16:18 UTC (rev 43250)
+++ trunk/Build/source/libs/poppler/version.ac 2017-02-17 00:14:58 UTC (rev 43251)
@@ -8,4 +8,4 @@
dnl --------------------------------------------------------
dnl
dnl m4-include this file to define the current poppler version
-m4_define([poppler_version], [0.51.0])
+m4_define([poppler_version], [0.52.0])
More information about the tex-live-commits
mailing list