diff options
author | Jay Berkenbilt <ejb@ql.org> | 2020-04-05 05:35:35 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2020-04-06 02:07:13 +0200 |
commit | 893d38b87e4ad6c6c55f49464f6b721c516ec878 (patch) | |
tree | 200289d57f269a394bc2a93f5978322d037f8628 /ChangeLog | |
parent | a5367003c3eaf7f21d369c1c6d11338564cf04f2 (diff) | |
download | qpdf-893d38b87e4ad6c6c55f49464f6b721c516ec878.tar.zst |
Allow propagation of errors and retry through StreamDataProvider
StreamDataProvider::provideStreamData now has a rich enough API for it
to effectively proxy to pipeStreamData.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -1,5 +1,20 @@ 2020-04-04 Jay Berkenbilt <ejb@ql.org> + * Add a new provideStreamData method for StreamDataProvider that + allows a success code to be returned and that accepts the + suppress_warnings and will_retry methods. This makes it possible + to have a StreamDataProvider call pipeStreamData and propagate its + results back. This change allows better error handling and + recovery when objects are copied from other files and when + "immediate copy from" is enabled. + + * Add a new version of QPDFObjectHandle::pipeStreamData whose + return value indicates overall success or failure rather than + whether nor not filtering was attempted. It should have always + been this way. This change was done in a backward-compatible + fashion. Previously existing pipeStreamData methods' return values + mean the same as always. + * Add "objectinfo" section to json output. In this release, information about whether each object is a stream or not is provided. There's otherwise no way to tell conclusively from the |