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 /ChangeLog | |
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 'ChangeLog')
-rw-r--r-- | ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,10 @@ +2021-02-25 Jay Berkenbilt <ejb@ql.org> + + * Bug fix/behavior change: when QPDF::replaceObject or + QPDF::swapObjects is called, existing QPDFObjectHandle instances + will now notice the change. This removes a long-standing source of + bugs and confusing behavior. + 2021-02-23 Jay Berkenbilt <ejb@ql.org> * The test for the input and output files being the same wasn't |