diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-09-09 21:40:02 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2022-09-10 00:09:40 +0200 |
commit | 8a3cdfd2af4a95d8daede45bcb36eecdcdc8f964 (patch) | |
tree | eca67c2673499f731138ded8b88b84afa83ef6aa /ChangeLog | |
parent | 910a373a79f885cba1023fa69aa0c679e4ae0601 (diff) | |
download | qpdf-8a3cdfd2af4a95d8daede45bcb36eecdcdc8f964.tar.zst |
Change QPDFObjectHandle == to isSameObjectAs
Replace operator== and operator!=, which were testing for the same
underlying object, with isSameObjectAs. This change was motivated by
the fact that pikepdf internally had its own operator== method for
QPDFObjectHandle that did structural comparison. I backed out qpdf's
operator== as a courtesy to pikepdf (in my own testing) but also
because I think people might naturally assume that operator== does a
structural comparison, and isSameObjectAs is clearer in its intent.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -1,5 +1,8 @@ 2022-09-09 Jay Berkenbilt <ejb@ql.org> + * Add QPDFObjectHandle::isSameObjectAs to test whether two + QPDFObjectHandle objects point to the same underlying object. + * Expose ability to create custom loggers and to get and set the logger for QPDF and QPDFJob through the C API. @@ -29,10 +32,6 @@ * Add new methods getArtBox and getBleedBox to QPDFPageObjectHelper, completing the set of bounding box methods. - * Add == equality for QPDFObjectHandle. Two QPDFObjectHandle - objects are equal if they point to the same underlying object, - meaning changes to one will be reflected in the other. - * The --show-encryption option now works even if a correct password is not supplied. If you were using --show-encryption to test whether you have the right password, use --requires-password |