Commit 6ee761fc860fe6b22d8c46f250d09b8cfdd1986f

Authored by Jay Berkenbilt
1 parent 28453a49

Prepare 8.2.1 release

ChangeLog
1 1 2018-08-18 Jay Berkenbilt <ejb@ql.org>
2 2  
  3 + * 8.2.1: release
  4 +
3 5 * Add new option --keep-files-open=[yn] to control whether qpdf
4 6 keeps files open when merging. Prior to version 8.1.0, qpdf always
5 7 kept all files open, but this meant that the number of files that
... ...
configure.ac
... ... @@ -2,7 +2,7 @@ dnl Process this file with autoconf to produce a configure script.
2 2 dnl This config.in requires autoconf 2.5 or greater.
3 3  
4 4 AC_PREREQ([2.68])
5   -AC_INIT([qpdf],[8.2.0])
  5 +AC_INIT([qpdf],[8.2.1])
6 6  
7 7 AC_CONFIG_MACRO_DIR([m4])
8 8 AC_CONFIG_FILES([autoconf.mk])
... ... @@ -31,7 +31,7 @@ LT_INIT([win32-dll])
31 31 # LT = libtool
32 32 LT_CURRENT=23
33 33 LT_AGE=2
34   -LT_REVISION=0
  34 +LT_REVISION=1
35 35 AC_SUBST(LT_CURRENT)
36 36 AC_SUBST(LT_REVISION)
37 37 AC_SUBST(LT_AGE)
... ...
libqpdf/QPDF.cc
... ... @@ -19,7 +19,7 @@
19 19 #include <qpdf/QPDF_Null.hh>
20 20 #include <qpdf/QPDF_Dictionary.hh>
21 21  
22   -std::string QPDF::qpdf_version = "8.2.0";
  22 +std::string QPDF::qpdf_version = "8.2.1";
23 23  
24 24 static char const* EMPTY_PDF =
25 25 "%PDF-1.3\n"
... ...
manual/qpdf-manual.xml
... ... @@ -5,8 +5,8 @@
5 5 <!ENTITY mdash "&#x2014;">
6 6 <!ENTITY ndash "&#x2013;">
7 7 <!ENTITY nbsp "&#xA0;">
8   -<!ENTITY swversion "8.2.0">
9   -<!ENTITY lastreleased "August 16, 2018">
  8 +<!ENTITY swversion "8.2.1">
  9 +<!ENTITY lastreleased "August 18, 2018">
10 10 ]>
11 11 <book>
12 12 <bookinfo>
... ... @@ -454,6 +454,35 @@ make
454 454 </listitem>
455 455 </varlistentry>
456 456 <varlistentry>
  457 + <term><option>--keep-files-open=<replaceable>[yn]</replaceable></option></term>
  458 + <listitem>
  459 + <para>
  460 + This option controls whether qpdf keeps individual files open
  461 + while merging. Prior to version 8.1.0, qpdf always kept all
  462 + files open, but this meant that the number of files that could
  463 + be merged was limited by the operating system's open file
  464 + limit. Version 8.1.0 opened files as they were referenced and
  465 + closed them after each read, but this caused a major
  466 + performance impact. Version 8.2.0 optimized the performance
  467 + but did so in a way that, for local file systems, there was a
  468 + small but unavoidable performance hit, but for networked file
  469 + systems, the performance impact could be very high. Starting
  470 + with version 8.2.1, the default behavior is that files are
  471 + kept open if no more than 200 files are specified, but that
  472 + the behavior can be explicitly overridden with the
  473 + <option>--keep-files-open</option> flag. If you are merging
  474 + more than 200 files but less than the operating system's max
  475 + open files limit, you may want to use
  476 + <option>--keep-files-open=y</option>, especially if working
  477 + over a networked file system. If you are using a local file
  478 + system where the overhead is low and you might sometimes merge
  479 + more than the OS limit's number of files from a script and are
  480 + not worried about a few seconds additional processing time,
  481 + you may want to specify <option>--keep-files-open=n</option>.
  482 + </para>
  483 + </listitem>
  484 + </varlistentry>
  485 + <varlistentry>
457 486 <term><option>--pages options --</option></term>
458 487 <listitem>
459 488 <para>
... ... @@ -3258,6 +3287,30 @@ print &quot;\n&quot;;
3258 3287 </para>
3259 3288 <variablelist>
3260 3289 <varlistentry>
  3290 + <term>8.2.1: August 18, 2018</term>
  3291 + <listitem>
  3292 + <itemizedlist>
  3293 + <listitem>
  3294 + <para>
  3295 + Command-line Enhancements
  3296 + </para>
  3297 + <itemizedlist>
  3298 + <listitem>
  3299 + <para>
  3300 + Add
  3301 + <option>--keep-files-open=<replaceable>[yn]</replaceable></option>
  3302 + to override default determination of whether to keep files
  3303 + open when merging. Please see the discussion of
  3304 + <option>--keep-files-open</option> in <xref
  3305 + linkend="ref.basic-options"/> for additional details.
  3306 + </para>
  3307 + </listitem>
  3308 + </itemizedlist>
  3309 + </listitem>
  3310 + </itemizedlist>
  3311 + </listitem>
  3312 + </varlistentry>
  3313 + <varlistentry>
3261 3314 <term>8.2.0: August 16, 2018</term>
3262 3315 <listitem>
3263 3316 <itemizedlist>
... ...