diff --git a/ChangeLog b/ChangeLog index 0d5a399a..e7addcd8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2018-08-18 Jay Berkenbilt + * 8.2.1: release + * Add new option --keep-files-open=[yn] to control whether qpdf keeps files open when merging. Prior to version 8.1.0, qpdf always kept all files open, but this meant that the number of files that diff --git a/configure.ac b/configure.ac index c0f7e4ef..199feeed 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.2.0]) +AC_INIT([qpdf],[8.2.1]) AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_FILES([autoconf.mk]) @@ -31,7 +31,7 @@ LT_INIT([win32-dll]) # LT = libtool LT_CURRENT=23 LT_AGE=2 -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 4da7c8ab..90caafe2 100644 --- a/libqpdf/QPDF.cc +++ b/libqpdf/QPDF.cc @@ -19,7 +19,7 @@ #include #include -std::string QPDF::qpdf_version = "8.2.0"; +std::string QPDF::qpdf_version = "8.2.1"; static char const* EMPTY_PDF = "%PDF-1.3\n" diff --git a/manual/qpdf-manual.xml b/manual/qpdf-manual.xml index 2ef8a080..8185b848 100644 --- a/manual/qpdf-manual.xml +++ b/manual/qpdf-manual.xml @@ -5,8 +5,8 @@ - - + + ]> @@ -453,6 +453,35 @@ make + + + + + This option controls whether qpdf keeps individual files open + while merging. Prior to version 8.1.0, qpdf always kept all + files open, but this meant that the number of files that could + be merged was limited by the operating system's open file + limit. Version 8.1.0 opened files as they were referenced and + closed them after each read, but this caused a major + performance impact. Version 8.2.0 optimized the performance + but did so in a way that, for local file systems, there was a + small but unavoidable performance hit, but for networked file + systems, the performance impact could be very high. Starting + with version 8.2.1, the default behavior is that files are + kept open if no more than 200 files are specified, but that + the behavior can be explicitly overridden with the + flag. If you are merging + more than 200 files but less than the operating system's max + open files limit, you may want to use + , especially if working + over a networked file system. If you are using a local file + system where the overhead is low and you might sometimes merge + more than the OS limit's number of files from a script and are + not worried about a few seconds additional processing time, + you may want to specify . + + + @@ -3257,6 +3286,30 @@ print "\n"; ChangeLog in the source distribution. + + 8.2.1: August 18, 2018 + + + + + Command-line Enhancements + + + + + Add + + to override default determination of whether to keep files + open when merging. Please see the discussion of + in for additional details. + + + + + + + 8.2.0: August 16, 2018