From a323f6f49f5ba2c7bef6e95706215113420e591e Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sun, 21 Apr 2019 13:01:14 -0400 Subject: [PATCH] Prepare 8.4.1 release --- ChangeLog | 9 ++++- autofiles.sums | 2 +- configure | 20 +++++----- configure.ac | 4 +- libqpdf/QPDF.cc | 2 +- manual/qpdf-manual.xml | 87 +++++++++++++++++++++++++++++++++++++++++- qpdf/qpdf.cc | 2 +- 7 files changed, 107 insertions(+), 19 deletions(-) diff --git a/ChangeLog b/ChangeLog index 66c82e4c..30bece19 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2019-04-27 Jay Berkenbilt + + * 8.4.1: release + 2019-04-20 Jay Berkenbilt * When qpdf --version is run, it will detect if the qpdf CLI was @@ -18,8 +22,9 @@ maximum number of files that qpdf will allow to be kept open at once. Fixes #288. - * Handle Unicode characters in filenames. The changes to support - Unicode on the CLI in Windows broke Unicode filenames. Fixes #298. + * Handle Unicode characters in filenames properly on Windows. The + changes to support Unicode on the CLI in Windows broke Unicode + filenames on that platform. Fixes #298. * Slightly tighten logic that determines whether an object is a page. The previous logic was sometimes failing to preserve diff --git a/autofiles.sums b/autofiles.sums index 0eefd160..4a347801 100644 --- a/autofiles.sums +++ b/autofiles.sums @@ -1,4 +1,4 @@ -f77e14ac842b239e57d5b49ced4260a69e93dcea01c002ff7606170ab1535ea8 configure.ac +aa209c1448bb876fb992b4c197988389e65ab89c44f07c7f144813bfd158402e configure.ac 35bc5c645dc42d47f2daeea06f8f3e767c8a1aee6a35eb2b4854fd2ce66c3413 m4/ax_random_device.m4 37f8897d5f68d7d484e5457832a8f190ddb7507fa2a467cb7ee2be40a4364643 m4/libtool.m4 e77ebba8361b36f14b4d0927173a034b98c5d05049697a9ded84d85eb99a7990 m4/ltoptions.m4 diff --git a/configure b/configure index 36b94608..5b62f20c 100755 --- a/configure +++ b/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for qpdf 8.4.0. +# Generated by GNU Autoconf 2.69 for qpdf 8.4.1. # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. @@ -587,8 +587,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='qpdf' PACKAGE_TARNAME='qpdf' -PACKAGE_VERSION='8.4.0' -PACKAGE_STRING='qpdf 8.4.0' +PACKAGE_VERSION='8.4.1' +PACKAGE_STRING='qpdf 8.4.1' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -1339,7 +1339,7 @@ if test "$ac_init_help" = "long"; then # 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 qpdf 8.4.0 to adapt to many kinds of systems. +\`configure' configures qpdf 8.4.1 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1405,7 +1405,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of qpdf 8.4.0:";; + short | recursive ) echo "Configuration of qpdf 8.4.1:";; esac cat <<\_ACEOF @@ -1558,7 +1558,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -qpdf configure 8.4.0 +qpdf configure 8.4.1 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2098,7 +2098,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by qpdf $as_me 8.4.0, which was +It was created by qpdf $as_me 8.4.1, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -15647,7 +15647,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu # LT = libtool LT_CURRENT=25 LT_AGE=4 -LT_REVISION=0 +LT_REVISION=1 @@ -17539,7 +17539,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by qpdf $as_me 8.4.0, which was +This file was extended by qpdf $as_me 8.4.1, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -17605,7 +17605,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -qpdf config.status 8.4.0 +qpdf config.status 8.4.1 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff --git a/configure.ac b/configure.ac index ff195417..47586f1c 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ dnl Process this file with autoconf to produce a configure script. dnl This config.in requires autoconf 2.5 or greater. AC_PREREQ([2.68]) -AC_INIT([qpdf],[8.4.0]) +AC_INIT([qpdf],[8.4.1]) AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_FILES([autoconf.mk]) @@ -53,7 +53,7 @@ LT_INIT([win32-dll]) # LT = libtool LT_CURRENT=25 LT_AGE=4 -LT_REVISION=0 +LT_REVISION=1 AC_SUBST(LT_CURRENT) AC_SUBST(LT_REVISION) AC_SUBST(LT_AGE) diff --git a/libqpdf/QPDF.cc b/libqpdf/QPDF.cc index 61fd7920..fd76bc18 100644 --- a/libqpdf/QPDF.cc +++ b/libqpdf/QPDF.cc @@ -21,7 +21,7 @@ #include #include -std::string QPDF::qpdf_version = "8.4.0"; +std::string QPDF::qpdf_version = "8.4.1"; static char const* EMPTY_PDF = "%PDF-1.3\n" diff --git a/manual/qpdf-manual.xml b/manual/qpdf-manual.xml index 1df6e788..a8904e26 100644 --- a/manual/qpdf-manual.xml +++ b/manual/qpdf-manual.xml @@ -5,8 +5,8 @@ - - + + ]> @@ -4347,6 +4347,89 @@ print "\n"; ChangeLog in the source distribution. + + 8.4.1: April 21, 2019 + + + + + Enhancements + + + + + When qpdf --version is run, it will + detect if the qpdf CLI was built with a different version of + qpdf than the library, which may indicate a problem with the + installation. + + + + + New option will remove page + labels before generating output. This used to happen if you + ran qpdf --empty --pages .. --, but the + behavior changed in qpdf 8.3.0. This option enables people + who were relying on the old behavior to get it again. + + + + + New option + + can be used to override number of files that qpdf will use + to trigger the behavior of not keeping all files open when + merging files. This may be necessary if your system allows + fewer than the default value of 200 files to be open at the + same time. + + + + + + + Bug Fixes + + + + + Handle Unicode characters in filenames on Windows. The + changes to support Unicode on the CLI in Windows broke + Unicode filenames for Windows. + + + + + Slightly tighten logic that determines whether an object is + a page. This should resolve problems in some rare files + where some non-page objects were passing qpdf's test for + whether something was a page, thus causing them to be + erroneously lost during page splitting operations. + + + + + Revert change that included preservation of outlines + (bookmarks) in . The way it + was implemented in 8.3.0 and 8.4.0 caused a very significant + degradation of performance for splitting certain files. A + future release of qpdf may re-introduce the behavior in a + more performant and also more correct fashion. + + + + + In JSON mode, add missing leading 0 to decimal values + between -1 and 1 even if not present in the input. The JSON + specification requires the leading 0. The PDF specification + does not. + + + + + + + 8.4.0: February 1, 2019 diff --git a/qpdf/qpdf.cc b/qpdf/qpdf.cc index 8bf89340..90f719b1 100644 --- a/qpdf/qpdf.cc +++ b/qpdf/qpdf.cc @@ -30,7 +30,7 @@ static int const EXIT_WARNING = 3; static char const* whoami = 0; -static std::string expected_version = "8.4.0"; +static std::string expected_version = "8.4.1"; struct PageSpec {