-
Remove more deprecated API
-
Refine QPDFParser error handling
-
#1349 introduced a limit on the maximum size of arrays and dictionaries contained in objects that generate errors during parsing, and #1354 reduced that limit to 5000 objects. However, the limit was only imposed once a further error was encountered. Stop adding objects to containers once the limit is reached. Fixes oss-fuzz issue 398060137
-
Tune JSON::JSON_string
-
Fix typo in usage for fix-qdf
-
Deprecate QPDFTokenizer push mode
-
Remove member encoded and encode strings only when required. Encoded is only used when writing JSON. Since most JSON writing is now done on the fly without creating a JSON representation, creating and storing the encoded string in almost all cases no longer serves any purpose.
-
Push mode is not used by qpdf and is not tested. It is difficult to see a legitimate use for it. Continuing to support it creates unnecessary constraints and effort when adapting the tokenizer.
-
Discontinue ChangeLog; update release notes as you go
-
In JSON::parse allow duplicate dictionary keys
-
Break ABI
-
If duplicate keys are encountered, overwrite earlier values with the latest value.
-
Except for virtual functions to avoid the need for users to update code.
-
Also, move Buffer::Members definition to Buffer.cc
-
Also add debugging information so we can save time if $^O used in GitHub Actions changes again.
-
This is necessary in case paths contain colons on Windows.
-
Fix build against a standard zopfli install
-
Fix the logic to accept a top-level `zopfli.h` header, as that is the location used by upstream's build system.
-
Removing it was ABI-breaking. I must have done it forgetting Pl_DCT.hh was in the public API.
-
This improves indentation of long strings. This commit also fixes some trailing whitespace in ChangeLog.
-
Draft release notes
-
Refine QPDFParser error handling
-
Reduce the container size for which a single bad token will cause a failure from 100,000 to 5,000. Count missing dictionary keys as errors.
-
In Pl_RunLength apply memory limit before and after decoding