diff options
author | Jay Berkenbilt <ejb@ql.org> | 2021-02-25 12:34:03 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2021-02-25 13:32:46 +0100 |
commit | a4d6589ff26007c966db8912e4dae1aa937a5968 (patch) | |
tree | 7eeba29b6e1b59a69f9e60105c1de4b587246473 /manual/qpdf-manual.xml | |
parent | ec6719fd25ebd49c43142a607353bad5df7874aa (diff) | |
download | qpdf-a4d6589ff26007c966db8912e4dae1aa937a5968.tar.zst |
Have QPDFObjectHandle notice when replaceObject was called
This results in a performance penalty of 1% to 2% when replaceObject
and swapObjects are never called and a somewhat larger penalty if they
are called, but it's worth it to avoid very confusing behavior as
discussed in depth in qpdf#507.
Diffstat (limited to 'manual/qpdf-manual.xml')
-rw-r--r-- | manual/qpdf-manual.xml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/manual/qpdf-manual.xml b/manual/qpdf-manual.xml index 565967db..7efbf938 100644 --- a/manual/qpdf-manual.xml +++ b/manual/qpdf-manual.xml @@ -5061,6 +5061,32 @@ print "\n"; </varlistentry> --> <varlistentry> + <term>XXX 10.2.1: Month dd, YYYY</term> + <listitem> + <itemizedlist> + <listitem> + <para> + Bug Fixes + </para> + <itemizedlist> + <listitem> + <para> + When <function>QPDF::replaceObject</function> or + <function>QPDF::swapObjects</function> is called, existing + <classname>QPDFObjectHandle</classname> instances no longer + point to the old objects. The next time they are + accessed, they automatically notice the change to the + underlying object and update themselves. This resolves a + very longstanding source of confusion, albeit in a very + rarely used method call. + </para> + </listitem> + </itemizedlist> + </listitem> + </itemizedlist> + </listitem> + </varlistentry> + <varlistentry> <term>10.2.0: February 23, 2021</term> <listitem> <itemizedlist> |