From d27edd54c4b077de66c40f681ff5d0e266952884 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sun, 24 Jul 2022 14:46:16 -0400 Subject: [PATCH] Add ChangeLog and release notes for previous contribution --- ChangeLog | 16 ++++++++++++++++ manual/release-notes.rst | 6 ++++++ 2 files changed, 22 insertions(+) diff --git a/ChangeLog b/ChangeLog index 44bc77f4..1fddfe4f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,19 @@ +2022-07-24 Jay Berkenbilt + + * Thanks to m-holger for doing significant cleanup of private APIs + and internals around QPDFObjGen and for significantly improving + the performance of QPDFObjGen -- See #731. This includes a few + user-visible changes: + - Addition of QPDFObjectHandle::StreamDataProvider::provideStreamData + overloads that take QPDFObjGen + - Addition of an optional argument to QPDFObjGen::unparse allowing + specification of a separator character, with the default + resulting in the old behavior + Examples have been updated to use improved APIs. The old + provideStreamData overloads will continue to be supported, so + updating older code to use the new interfaces is entirely at the + programmer's descretion. + 2022-06-25 Jay Berkenbilt * Add tracking methods QPDF::everCalledGetAllPages() and diff --git a/manual/release-notes.rst b/manual/release-notes.rst index f50e8e3d..3d5b5cc5 100644 --- a/manual/release-notes.rst +++ b/manual/release-notes.rst @@ -206,6 +206,12 @@ For a detailed list of changes, please see the file object must be configured to report progress (via command-line argument or otherwise) for this to be used. + - Add new overloads to + ``QPDFObjectHandle::StreamDataProvider::provideStreamData`` that + take ``QPDFObjGen const&`` instead of separate object ID and + generation parameters. The old versions will continue to be + supported and are not deprecated. + - Other changes - In JSON v1 mode, the ``"objects"`` key now reflects the repaired