-
* Replace --create-from-json=file with --json-input, which causes the regular input to be treated as json. * Eliminate --to-json * In --json=2, bring back "objects" and eliminate "objectinfo". Stream data is never present. * In --json-output=2, write "qpdf-v2" with "objects" and include stream data.
-
I decided these were confusing and inconsistent with how JSON works. They muddle the API rather than improving it.
-
Also add stubs for top-level QPDF methods (createFromJSON, updateFromJSON)
-
Testing json against schema requires an in-memory copy, so do it only when requested by the test suite.
-
This reverts commit dc059560e73e0b373a6e54e71b07e3af4b692cb4. I changed my mind. There's no harm in leaving it deprecated for a release cycle.
-
See ChangeLog for rationale for not deprecating it as originally planned.
-
Remove the name/number tree object helper constructors that don't take a QPDF&.
-
* Change DLL_EXPORT to libqpdf_EXPORTS (internal to the build). The new name is cmake's default, is more conventional, and is less likely to clash with other symbols. * Add QPDF_DLL_PRIVATE for non-Windows * Make logic around when to define QPDF_DLL et al more explicit * Add detailed comments