Commit 6ee761fc860fe6b22d8c46f250d09b8cfdd1986f
1 parent
28453a49
Prepare 8.2.1 release
Showing
4 changed files
with
60 additions
and
5 deletions
ChangeLog
| 1 | 2018-08-18 Jay Berkenbilt <ejb@ql.org> | 1 | 2018-08-18 Jay Berkenbilt <ejb@ql.org> |
| 2 | 2 | ||
| 3 | + * 8.2.1: release | ||
| 4 | + | ||
| 3 | * Add new option --keep-files-open=[yn] to control whether qpdf | 5 | * Add new option --keep-files-open=[yn] to control whether qpdf |
| 4 | keeps files open when merging. Prior to version 8.1.0, qpdf always | 6 | keeps files open when merging. Prior to version 8.1.0, qpdf always |
| 5 | kept all files open, but this meant that the number of files that | 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,7 +2,7 @@ dnl Process this file with autoconf to produce a configure script. | ||
| 2 | dnl This config.in requires autoconf 2.5 or greater. | 2 | dnl This config.in requires autoconf 2.5 or greater. |
| 3 | 3 | ||
| 4 | AC_PREREQ([2.68]) | 4 | AC_PREREQ([2.68]) |
| 5 | -AC_INIT([qpdf],[8.2.0]) | 5 | +AC_INIT([qpdf],[8.2.1]) |
| 6 | 6 | ||
| 7 | AC_CONFIG_MACRO_DIR([m4]) | 7 | AC_CONFIG_MACRO_DIR([m4]) |
| 8 | AC_CONFIG_FILES([autoconf.mk]) | 8 | AC_CONFIG_FILES([autoconf.mk]) |
| @@ -31,7 +31,7 @@ LT_INIT([win32-dll]) | @@ -31,7 +31,7 @@ LT_INIT([win32-dll]) | ||
| 31 | # LT = libtool | 31 | # LT = libtool |
| 32 | LT_CURRENT=23 | 32 | LT_CURRENT=23 |
| 33 | LT_AGE=2 | 33 | LT_AGE=2 |
| 34 | -LT_REVISION=0 | 34 | +LT_REVISION=1 |
| 35 | AC_SUBST(LT_CURRENT) | 35 | AC_SUBST(LT_CURRENT) |
| 36 | AC_SUBST(LT_REVISION) | 36 | AC_SUBST(LT_REVISION) |
| 37 | AC_SUBST(LT_AGE) | 37 | AC_SUBST(LT_AGE) |
libqpdf/QPDF.cc
| @@ -19,7 +19,7 @@ | @@ -19,7 +19,7 @@ | ||
| 19 | #include <qpdf/QPDF_Null.hh> | 19 | #include <qpdf/QPDF_Null.hh> |
| 20 | #include <qpdf/QPDF_Dictionary.hh> | 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 | static char const* EMPTY_PDF = | 24 | static char const* EMPTY_PDF = |
| 25 | "%PDF-1.3\n" | 25 | "%PDF-1.3\n" |
manual/qpdf-manual.xml
| @@ -5,8 +5,8 @@ | @@ -5,8 +5,8 @@ | ||
| 5 | <!ENTITY mdash "—"> | 5 | <!ENTITY mdash "—"> |
| 6 | <!ENTITY ndash "–"> | 6 | <!ENTITY ndash "–"> |
| 7 | <!ENTITY nbsp " "> | 7 | <!ENTITY nbsp " "> |
| 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 | <book> | 11 | <book> |
| 12 | <bookinfo> | 12 | <bookinfo> |
| @@ -454,6 +454,35 @@ make | @@ -454,6 +454,35 @@ make | ||
| 454 | </listitem> | 454 | </listitem> |
| 455 | </varlistentry> | 455 | </varlistentry> |
| 456 | <varlistentry> | 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 | <term><option>--pages options --</option></term> | 486 | <term><option>--pages options --</option></term> |
| 458 | <listitem> | 487 | <listitem> |
| 459 | <para> | 488 | <para> |
| @@ -3258,6 +3287,30 @@ print "\n"; | @@ -3258,6 +3287,30 @@ print "\n"; | ||
| 3258 | </para> | 3287 | </para> |
| 3259 | <variablelist> | 3288 | <variablelist> |
| 3260 | <varlistentry> | 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 | <term>8.2.0: August 16, 2018</term> | 3314 | <term>8.2.0: August 16, 2018</term> |
| 3262 | <listitem> | 3315 | <listitem> |
| 3263 | <itemizedlist> | 3316 | <itemizedlist> |