e38dfb72a6
- Include bash and zsh completions - Update to version 12.3.2: * Full changelog at https://qpdf.readthedocs.io/en/12.3/release-notes.html * Fix bug introduced in 12.3.0. If the --password was specified for the same file multiple times a usage error was thrown * Fix failure of QPDFJob::run and QPDFJob::createQPDF when called with a copy of a destroyed QPDFJob object * Always set the is_different flag in QPDFFormFieldObjectHelper::getTopLevelField * When parsing qpdf JSON input files allow empty name objects, as allowed by the PDF specification * Add QPDFNameTreeObjectHelper and QPDFNumberTreeObjectHelper constructor overloads that allow a function to be passed to validate the values in the tree. * Add new QPDFNameTreeObjectHelper and QPDFNumberTreeObjectHelper validate method to validate and optionally repair the name/number tree. * Add new get and validate methods to all DocumentHelper classes. * Add new Buffer methods move, view, data, size and empty. The new methods present the Buffer as a char container * Add various new functions in the qpdf::`global namespace to access and set/modify global settings and limits. See Global Options and header file qpdf/global.hh * Add new C-API functions qpdf_global_get_uint32 and qpdf_global_set_uint32 to access and set/modify various global settings and limits. * Attempt to detect if any > C++17 changes snuck into any public headers and check all private headers compile stand-alone. * Disallow option --deterministic-id to be used together with the incompatible options --encrypt or --copy-encryption. * Option --check now includes additional basic checks of the AcroForm, Dests, Outlines, and PageLabels structures. * Add new option --global to set or modify various global options and limits. * Fix completion scripts and handling to avoid leaking arguments into the environment during completion and to correctly handle bashcompinit for zsh users. * Add new --remove-acroform option to exclude the AcroForm dictionary from the output PDF. This option can be useful particularly when the --flatten-annotations option is used on damaged PDF files. * Add new inspection mode to help with the inspection and manual repair of damaged PDF files. * QPDFWriter will no longer add filters when writing empty streams. * More sanity checks have been added when files with damaged xref tables are recovered.
Petr Gajdos2026-02-16 10:43:32 +00:00
97fdfeb727
Accepting request 1318194 from devel:libraries:c_c++
Ana Guerrero2025-11-20 13:46:06 +00:00
54e5f86910
Accepting request 1303397 from home:iDesmI:branches:devel:libraries:c_c++
Petr Gajdos2025-09-10 07:02:06 +00:00
dced56aa1f
Accepting request 1285092 from home:pgajdos
Petr Gajdos2025-06-13 07:02:25 +00:00
5a919e103d
- version update to 11.10.1 11.10.1: February 15, 2025 Build fixes . Fix incorrect detection of zopfli. . Recognize cygwin perl as Windows when running test suite. 11.10.0: February 8, 2025 Bug fixes . Detect and break loops in the outline (bookmark) tree. . Correctly handle outline (bookmark) items where the destination is given as a dictionary with ‘/D’ entry. . When loading object streams, ignore any objects not included in the xref table. . When writing real numbers as JSON ensure they do not end in a trailing decimal point. . When QPDF::getObject, getObjectByObjGen or getObjectByID are called with a QPDFObjGen that does not exists in the xref and object tables return a direct null. . Fix handling of certain deleted objects in hybrid reference files. . Default the stream decode level to generalized. . Reject CLI flags with parameters. CLI Enhancements . The fix-qdf command now allows an output file to be specified as an optional second argument. . New --remove-metadata and --remove-info options to exclude document metadata and information from the output PDF. Library Enhancements . qpdf can now be built with zopfli support. . Add QPDFObjectHandle operator bool. . New C API function qpdf_oh_free_buffer to free malloc allocated buffers. * for other changes see
Petr Gajdos2025-06-13 07:02:25 +00:00
656a84254b
Accepting request 1284933 from devel:libraries:c_c++
Ana Guerrero2025-06-12 13:51:54 +00:00
b8b69e6768
Accepting request 1284933 from devel:libraries:c_c++
Ana Guerrero2025-06-12 13:51:54 +00:00
4014759ccd
Accepting request 1284865 from home:epaolantonio:branches:devel:libraries:c_c++
Jan Engelhardt2025-06-11 20:04:34 +00:00
8b23c7a062
No functional changes, but fix source_validator failure for the first changelog entry:
Jan Engelhardt2025-06-11 20:04:34 +00:00
092e8c3ad0
Accepting request 1274146 from devel:libraries:c_c++
Ana Guerrero2025-05-06 14:38:20 +00:00
7e7d7a1629
Accepting request 1274146 from devel:libraries:c_c++
Ana Guerrero2025-05-06 14:38:20 +00:00
d6fee38583
Accepting request 1274144 from home:hsk17:branches:openSUSE:Factory:Staging:Gcc7
Jan Engelhardt2025-05-03 17:05:40 +00:00
77c86cce69
add qpdf-11.9.1-gcc15.patch from upstream to fix gcc-15 compile time error
Jan Engelhardt2025-05-03 17:05:40 +00:00
2b9cef1c9a
Accepting request 1180732 from devel:libraries:c_c++
Ana Guerrero2024-06-14 16:57:51 +00:00
4ab38eadb7
Accepting request 1180732 from devel:libraries:c_c++
Ana Guerrero2024-06-14 16:57:51 +00:00
d8cc0cc27e
- update to 11.9.1: * Rewrite a recursive function to be iterative in linearization to enable more complex files to be linearized, especially on Windows. * Avoid non-standard use of std::basic_string_view.
Dirk Mueller2024-06-13 15:35:04 +00:00
a50cbbefae
- update to 11.9.1: * Rewrite a recursive function to be iterative in linearization to enable more complex files to be linearized, especially on Windows. * Avoid non-standard use of std::basic_string_view.
Dirk Mueller2024-06-13 15:35:04 +00:00
7a6bf92f91
Accepting request 1153437 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
Jan Engelhardt2024-02-29 15:57:21 +00:00
11b9526da2
Accepting request 1153437 from home:pmonrealgonzalez:branches:devel:libraries:c_c++
Jan Engelhardt2024-02-29 15:57:21 +00:00
db310f0ab9
Accepting request 1140140 from devel:libraries:c_c++
Ana Guerrero2024-01-21 22:07:17 +00:00
6629e60ce1
Accepting request 1140140 from devel:libraries:c_c++
Ana Guerrero2024-01-21 22:07:17 +00:00
1467068af7
Accepting request 1139461 from home:ohollmann:branches:security:tls
Jan Engelhardt2024-01-20 14:37:42 +00:00
3d9292de1f
Accepting request 1139461 from home:ohollmann:branches:security:tls
Jan Engelhardt2024-01-20 14:37:42 +00:00
c346a06501
Accepting request 1135299 from devel:libraries:c_c++
Ana Guerrero2023-12-28 21:55:03 +00:00
0690889155
Accepting request 1135299 from devel:libraries:c_c++
Ana Guerrero2023-12-28 21:55:03 +00:00
d107114102
- update to 11.7.0: * Add QPDFAcroFormDocumentHelper::disableDigitalSignatures, which disables any digital signature fields, leaving their visual representations intact. The --remove-restrictions command-line argument now calls this. * Generate a more complete qpdf "man page" from the same source as qpdf --help. Fixes#1064. * Allow the syntax "--encrypt --user-password=user-password --owner-password=owner-password --bits={40,128,256}" when encrypting PDF files. This is an alternative to the syntax "--encrypt user-password owner-password {40,128,256}", which will continue to be supported. The new syntax works better with shell completion and allows creation of passwords that start with "-". * When setting a check box value, allow any value other than /Off to mean checked. This is permitted by the spec. * Fix to QPDF JSON: a floating point number that appears in scientific notation will be converted to fixed-point notation, rounded to six digits after the decimal point. * Fix to QPDF JSON: the syntax "n:/pdf-syntax" is now accepted as an alternative way to represent names. This can be used for any name (e.g. "n:/text#2fplain"), but it is necessary when the name contains binary characters. * Update code and tests so that qpdf's test suite no longer depends on the output of any specific zlib implementation. This makes it possible to get a fully passing test suite with any API-compatible zlib library. CI tests with the default zlib as well as zlib-ng (including verifying that zlib-ng is not the default), but any zlib implementation should work. Fixes #774.
Dirk Mueller2023-12-27 12:05:35 +00:00
f1f0475cb0
- update to 11.7.0: * Add QPDFAcroFormDocumentHelper::disableDigitalSignatures, which disables any digital signature fields, leaving their visual representations intact. The --remove-restrictions command-line argument now calls this. * Generate a more complete qpdf "man page" from the same source as qpdf --help. Fixes#1064. * Allow the syntax "--encrypt --user-password=user-password --owner-password=owner-password --bits={40,128,256}" when encrypting PDF files. This is an alternative to the syntax "--encrypt user-password owner-password {40,128,256}", which will continue to be supported. The new syntax works better with shell completion and allows creation of passwords that start with "-". * When setting a check box value, allow any value other than /Off to mean checked. This is permitted by the spec. * Fix to QPDF JSON: a floating point number that appears in scientific notation will be converted to fixed-point notation, rounded to six digits after the decimal point. * Fix to QPDF JSON: the syntax "n:/pdf-syntax" is now accepted as an alternative way to represent names. This can be used for any name (e.g. "n:/text#2fplain"), but it is necessary when the name contains binary characters. * Update code and tests so that qpdf's test suite no longer depends on the output of any specific zlib implementation. This makes it possible to get a fully passing test suite with any API-compatible zlib library. CI tests with the default zlib as well as zlib-ng (including verifying that zlib-ng is not the default), but any zlib implementation should work. Fixes #774.
Dirk Mueller2023-12-27 12:05:35 +00:00
86a8732a1f
Accepting request 1133444 from devel:libraries:c_c++
Ana Guerrero2023-12-17 20:28:47 +00:00
9ee67e4944
Accepting request 1133444 from devel:libraries:c_c++
Ana Guerrero2023-12-17 20:28:47 +00:00
683e337a94
- update to 11.6.4: * Install fix: include cmake files with the dev component. * Build AppImage with an older Linux distribution to support AWS Lambda. Fixes#1086.
Dirk Mueller2023-12-15 14:00:29 +00:00
ab64ce1fd2
- update to 11.6.4: * Install fix: include cmake files with the dev component. * Build AppImage with an older Linux distribution to support AWS Lambda. Fixes#1086.
Dirk Mueller2023-12-15 14:00:29 +00:00
1598758c4a
Accepting request 1121012 from devel:libraries:c_c++
Ana Guerrero2023-10-31 19:25:13 +00:00
fd3b8f1b34
Accepting request 1121012 from devel:libraries:c_c++
Ana Guerrero2023-10-31 19:25:13 +00:00
1583ce5096
- update to 11.6.3: * Tweak linearization code to better handle files between 2 GB and 4 GB in size. Fixes#1023. * Fix data loss bug: qpdf could discard a the character after an escaped octal string consisting of less than three digits. For content, this would only happen with QDF or when normalizing content. Outside of content, it could have happened in any binary string, such as /ID, if the encoding software used octal escape strings with less than three digits. This bug was introduced between 10.6.3 and 11.0.0. used as a cross reference stream in an earlier stage of the file. * CLI: breaking changes: - add fix-signedness-warning.patch (build for aarch64) * Improve diagnostics around parsing --pages command-line options - Update to version 10.0.0 than the object level. New methods include QPDF::getXRefTable(), QPDFObjectHandle::getParsedOffset(), QPDFWriter::getRenumberedObjGen(QPDFObjGen), writing process it is. security handler but use 40 bit keys with --show-encryption-key option. See - pass --enable-show-failed-test-output to configure, to see * qpdf may falsely report premature EOF when reading files that have object streams that end with scalars not followed by them from another file. - fix build with pcre 8.30 confirms it works and saves a few dozens of entries in the - Remove unicode data to make sure its not redistributed - Add qpdf-nostrip.patch: don't strip libraries * Compatibility fixes with some PDF files
Dirk Mueller2023-10-29 15:55:15 +00:00
fb31e7e038
- update to 11.6.3: * Tweak linearization code to better handle files between 2 GB and 4 GB in size. Fixes#1023. * Fix data loss bug: qpdf could discard a the character after an escaped octal string consisting of less than three digits. For content, this would only happen with QDF or when normalizing content. Outside of content, it could have happened in any binary string, such as /ID, if the encoding software used octal escape strings with less than three digits. This bug was introduced between 10.6.3 and 11.0.0. used as a cross reference stream in an earlier stage of the file. * CLI: breaking changes: - add fix-signedness-warning.patch (build for aarch64) * Improve diagnostics around parsing --pages command-line options - Update to version 10.0.0 than the object level. New methods include QPDF::getXRefTable(), QPDFObjectHandle::getParsedOffset(), QPDFWriter::getRenumberedObjGen(QPDFObjGen), writing process it is. security handler but use 40 bit keys with --show-encryption-key option. See - pass --enable-show-failed-test-output to configure, to see * qpdf may falsely report premature EOF when reading files that have object streams that end with scalars not followed by them from another file. - fix build with pcre 8.30 confirms it works and saves a few dozens of entries in the - Remove unicode data to make sure its not redistributed - Add qpdf-nostrip.patch: don't strip libraries * Compatibility fixes with some PDF files
Dirk Mueller2023-10-29 15:55:15 +00:00
bfb75af396
Accepting request 1116662 from devel:libraries:c_c++
Ana Guerrero2023-10-11 21:54:01 +00:00
c2cd5119c0
Accepting request 1116662 from devel:libraries:c_c++
Ana Guerrero2023-10-11 21:54:01 +00:00
f1e8adb5bc
Accepting request 1116653 from home:polslinux:branches:devel:libraries:c_c++
Adam Majer2023-10-10 12:13:30 +00:00
e07fbd149f
Accepting request 1116653 from home:polslinux:branches:devel:libraries:c_c++
Adam Majer2023-10-10 12:13:30 +00:00
a2398ba0fd
Accepting request 1114784 from devel:libraries:c_c++
Ana Guerrero2023-10-03 18:15:17 +00:00
308636ee1c
Accepting request 1114784 from devel:libraries:c_c++
Ana Guerrero2023-10-03 18:15:17 +00:00