summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2013-06-14 20:53:47 +0200
committerJay Berkenbilt <ejb@ql.org>2013-06-14 20:58:09 +0200
commita3576a73593987b26cd3eff346f8f7c11f713cbd (patch)
tree3db5b39d339cddacf2fc1b13ecf4c028bc0589b5 /ChangeLog
parent96eb96511557469d50bbd55d211ced16acc31e13 (diff)
downloadqpdf-a3576a73593987b26cd3eff346f8f7c11f713cbd.tar.zst
Bug fix: handle generation > 0 when generating object streams
Rework QPDFWriter to always track old object IDs and QPDFObjGen instead of int, thus not discarding the generation number. Switch to QPDF::getCompressibleObjGen() to properly handle the case of an old object eligible for compression that has a generation of other than zero.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a71b3f18..5dafe0bc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2013-06-14 Jay Berkenbilt <ejb@ql.org>
+ * Bug fix: properly handle object stream generation when the
+ original file has some compressible objects with generation != 0.
+
+ * Add QPDF::getCompressibleObjGens() and deprecate
+ QPDF::getCompressibleObjects(), which had a flaw in its logic.
+
* Add new QPDFObjectHandle::getObjGen() method and indiciate in
comments that its use is favored over getObjectID() and
getGeneration() for most cases.