2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-10-31 19:02:30 +00:00

Add ChangeLog entries for refactoring work

This commit is contained in:
Jay Berkenbilt 2022-02-01 14:47:20 -05:00
parent 42bff9f458
commit 2fd5a43f67
2 changed files with 32 additions and 9 deletions

View File

@ -1,3 +1,25 @@
2022-02-01 Jay Berkenbilt <ejb@ql.org>
* The --json flag now takes a version number as an optional
parameter. The default will remain version 1 for compatibility.
This enables future code to use --json=latest to always get the
latest version or to use a specific version. At this time, there's
only version 1, but a version 2 may appear in a future qpdf.
* Major refactor: all functionality from the qpdf CLI is now
available for library users using the QPDFJob class. See comments
in include/qpdf/QPDFJob.hh and a new chapter about QPDFJob in the
manual. QPDFJob provides fluent interfaces for setting options
that exactly map to command-line arguments. There are also methods
for initializing QPDFJob from an argv array and from a JSON
object.
* A light C API around basic QPDFJob functionality is in
include/qpdf/qpdf-job-c.h.p
* Add new functions version of QUtil::call_main_from_wmain that
takes a constant argv array.
2022-01-31 Jay Berkenbilt <ejb@ql.org> 2022-01-31 Jay Berkenbilt <ejb@ql.org>
* Have --json-help just output the JSON object, leaving a * Have --json-help just output the JSON object, leaving a
@ -8,9 +30,8 @@
2022-01-28 Jay Berkenbilt <ejb@ql.org> 2022-01-28 Jay Berkenbilt <ejb@ql.org>
* Add QPDFUsage exception, which is thrown by JSONHandler, * Add QPDFUsage exception, which is thrown by QPDFJob to indicate
QPDFArgParser, and QPDFJob to indicate command-line usage or job command-line usage or job configuration errors.
configuration errors.
2022-01-22 Jay Berkenbilt <ejb@ql.org> 2022-01-22 Jay Berkenbilt <ejb@ql.org>
@ -25,11 +46,6 @@
to QPDFObjectHandle with corresponding functions added to the C to QPDFObjectHandle with corresponding functions added to the C
API. Thanks to m-holger for the contribution. API. Thanks to m-holger for the contribution.
2022-01-19 Jay Berkenbilt <ejb@ql.org>
* Add a JSONHandler class that allows sax-like, recursive handling
of JSON objects.
2022-01-17 Jay Berkenbilt <ejb@ql.org> 2022-01-17 Jay Berkenbilt <ejb@ql.org>
* Add JSON::parse. Now qpdf's JSON class implements a * Add JSON::parse. Now qpdf's JSON class implements a
@ -43,6 +59,14 @@
2022-01-11 Jay Berkenbilt <ejb@ql.org> 2022-01-11 Jay Berkenbilt <ejb@ql.org>
* Major overhaul of documentation and help for the qpdf
command-line tool. qpdf --help is now broken into topics rather
than being one great wall of text, and the command-line arguments
are indexed in the manual. The entire text of the "Running qpdf"
chapter has been reviewed thoroughly. Many thanks once again to
M. Holger for a detailed review and editorial assistance with the
manual.
* Bug fix: add missing characters from PDF doc encoding. * Bug fix: add missing characters from PDF doc encoding.
Fixes #606. Fixes #606.

1
TODO
View File

@ -1,7 +1,6 @@
Next Next
==== ====
* High-level API/doc overhaul: #593
* Add user-defined initializer `QPDFObjectHandle operator ""_qpdf` to * Add user-defined initializer `QPDFObjectHandle operator ""_qpdf` to
be like QPDFObjectHandle::parse: `auto oh = "<< /a (b) >>"_qpdf;` be like QPDFObjectHandle::parse: `auto oh = "<< /a (b) >>"_qpdf;`
* Add QPDF_MAJOR_VERSION, QPDF_MINOR_VERSION to some header, possibly * Add QPDF_MAJOR_VERSION, QPDF_MINOR_VERSION to some header, possibly