Commit e94f478217e01c040f1615e6adad6b696792fef3

Authored by Jay Berkenbilt
1 parent 481b1aeb

Update ChangeLog and Release Notes from previous pull requests

ChangeLog
  1 +2022-09-01 Jay Berkenbilt <ejb@ql.org>
  2 +
  3 + * More optimizations and cleanup from m-holger (#726, #730)
  4 + including major refactor of QPDF's internal representations of
  5 + objects. In addition to a large performance improvement, this also
  6 + made it possible for QPDFObjectHandle::getOwningQPDF() to return a
  7 + null pointer if the owning QPDF had been destroyed. (A more
  8 + complete solution to this problem will be introduced for qpdf 12.)
  9 + This work also paves the way for a future alternative to
  10 + QPDFObjectHandle that is more idiomatic C++ and has greater type
  11 + safety.
  12 +
1 2022-08-31 Jay Berkenbilt <ejb@ql.org> 13 2022-08-31 Jay Berkenbilt <ejb@ql.org>
2 14
3 * From m-holger (#729): refactor QPDF's parser into a new 15 * From m-holger (#729): refactor QPDF's parser into a new
manual/release-notes.rst
@@ -12,7 +12,7 @@ For a detailed list of changes, please see the file @@ -12,7 +12,7 @@ For a detailed list of changes, please see the file
12 - Many performance enhancements have been added. In developer 12 - Many performance enhancements have been added. In developer
13 performance benchmarks, gains on the order of 20% have been 13 performance benchmarks, gains on the order of 20% have been
14 observed. Most of that work, including major optimization of 14 observed. Most of that work, including major optimization of
15 - qpdf's lexical layer, was done by M. Holger. 15 + qpdf's lexical and parsing layers, was done by M. Holger.
16 16
17 - Replacement of ``PointerHolder`` with ``std::shared_ptr`` 17 - Replacement of ``PointerHolder`` with ``std::shared_ptr``
18 18
@@ -178,6 +178,12 @@ For a detailed list of changes, please see the file @@ -178,6 +178,12 @@ For a detailed list of changes, please see the file
178 ``replaceKeyAndGetOld``, a ``null`` object if the object was not 178 ``replaceKeyAndGetOld``, a ``null`` object if the object was not
179 previously there. 179 previously there.
180 180
  181 + - The method ``QPDFObjectHandle::getOwningQPDF`` now returns a
  182 + null pointer (rather than an invalid pointer) if the owning
  183 + ``QPDF`` object has been destroyed. This situation should
  184 + generally not happen for correct code, but at least the
  185 + situation is detectible now.
  186 +
181 - Add new ``Pipeline`` methods to reduce the amount of casting that is 187 - Add new ``Pipeline`` methods to reduce the amount of casting that is
182 needed: 188 needed:
183 189
@@ -247,6 +253,9 @@ For a detailed list of changes, please see the file @@ -247,6 +253,9 @@ For a detailed list of changes, please see the file
247 some additional caching to reduce the overhead of repeatedly 253 some additional caching to reduce the overhead of repeatedly
248 reading environment variables at runtime. 254 reading environment variables at runtime.
249 255
  256 + - Lots of code cleanup and refactoring work was contributed in
  257 + multiple pull requests by M. Holger.
  258 +
250 10.6.3: March 8, 2022 259 10.6.3: March 8, 2022
251 - Announcement of upcoming change: 260 - Announcement of upcoming change:
252 261