aboutsummaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2021-02-14 20:04:40 +0100
committerJay Berkenbilt <ejb@ql.org>2021-02-14 20:42:24 +0100
commitefbb21673c59cfbf6a74de6866a59cb2dbb8e59f (patch)
tree37439ac43400705551107542c9e9939ee8504294 /ChangeLog
parente2593e2efe140d47870b0c511cbf5160db080edd (diff)
downloadqpdf-efbb21673c59cfbf6a74de6866a59cb2dbb8e59f.tar.zst
Add functional versions of QPDFObjectHandle::replaceStreamData
Also fix a bug in checking consistency of length for stream data providers. Length should not be checked or recorded if the provider says it failed to generate the data.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index b9f44077..7b1db1f2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2021-02-14 Jay Berkenbilt <ejb@ql.org>
+
+ * Add new versions of QPDFObjectHandle::replaceStreamData that
+ take std::function objects for cases when you need something
+ between a static string and a full-fledged StreamDataProvider.
+ Using this with QUtil::file_provider is a very easy way to create
+ a stream from the contents of a file.
+
2021-02-12 Jay Berkenbilt <ejb@ql.org>
* Move formerly internal QPDFMatrix class to the public API. This