Commit 9adb6a8dfdbbd5f5e65f7b13c0afa612b269007e

Authored by Jay Berkenbilt
1 parent b84f57e5

Update for 4.2.0

Showing 1 changed file with 58 additions and 2 deletions
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 "4.1.0">
9   -<!ENTITY lastreleased "April 14, 2013">
  8 +<!ENTITY swversion "4.2.0">
  9 +<!ENTITY lastreleased "July 7, 2013">
10 10 ]>
11 11 <book>
12 12 <bookinfo>
... ... @@ -2641,6 +2641,62 @@ print &quot;\n&quot;;
2641 2641 </para>
2642 2642 <variablelist>
2643 2643 <varlistentry>
  2644 + <term>4.2.0: July 7, 2013</term>
  2645 + <listitem>
  2646 + <itemizedlist>
  2647 + <listitem>
  2648 + <para>
  2649 + Bug fix: previous versions of qpdf would lose objects with
  2650 + generation != 0 when generating object streams. This also
  2651 + required deprecation of
  2652 + <function>QPDF::getCompressibleObjects()</function>, which has
  2653 + now been replaced with
  2654 + <function>QPDF::getCompressibleObjGens()</function>.
  2655 + </para>
  2656 + </listitem>
  2657 + <listitem>
  2658 + <para>
  2659 + New <type>QPDFObjGen</type> class added to represent an object
  2660 + ID/generation pair. The new method
  2661 + <function>QPDF::getCompressibleObjGens()</function> uses this
  2662 + type, and a handful of other API additions were made that use
  2663 + this type. In particular,
  2664 + <function>QPDFObjectHandle::getObjGen()</function> is now
  2665 + preferred over
  2666 + <function>QPDFObjectHandle::getObjectID()</function> and
  2667 + <function>QPDFObjectHandle::getGeneration()</function> as it
  2668 + makes it less likely for people to accidentally write code
  2669 + that ignores the generation number. See
  2670 + <filename>QPDF.hh</filename> and
  2671 + <filename>QPDFObjectHandle.hh</filename> for additional notes.
  2672 + </para>
  2673 + </listitem>
  2674 + <listitem>
  2675 + <para>
  2676 + Add <option>--show-npages</option> command-line option to the
  2677 + <command>qpdf</command> command to show the number of pages in
  2678 + a file.
  2679 + </para>
  2680 + </listitem>
  2681 + <listitem>
  2682 + <para>
  2683 + Allow omission of the page range within
  2684 + <option>--pages</option> for the <command>qpdf</command>
  2685 + command. When omitted, the page range is implicitly taken to
  2686 + be all the pages in the file.
  2687 + </para>
  2688 + </listitem>
  2689 + <listitem>
  2690 + <para>
  2691 + Various enhancements were made to support different types of
  2692 + broken files or broken readers. Details can be found in
  2693 + <filename>ChangeLog</filename>.
  2694 + </para>
  2695 + </listitem>
  2696 + </itemizedlist>
  2697 + </listitem>
  2698 + </varlistentry>
  2699 + <varlistentry>
2644 2700 <term>4.1.0: April 14, 2013</term>
2645 2701 <listitem>
2646 2702 <itemizedlist>
... ...