2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-11-14 08:44:04 +00:00
Commit Graph

1527 Commits

Author SHA1 Message Date
Jay Berkenbilt
bb3137296d Handle root /Pages pointing to other than page tree root (fixes #398) 2020-02-22 11:10:31 -05:00
Leo Neat
6d2b4d8f81 Add CIFuzz action 2020-02-21 21:03:37 -05:00
Fabrice Fontaine
d043c6b828 libtests/cxx11.cc: fix build with gcc 4.8
Build fails on gcc 4.8 since version 9.1.1 and commit
7524165540:

libtests/cxx11.cc: In function 'void do_regex()':
libtests/cxx11.cc:347:42: error: 'strlen' is not a member of 'std'
     std::cregex_iterator m3(str7, str7 + std::strlen(str7), expr4);
                                          ^

To fix the build failure, add missing include on cstring

Fixes:
 - http://autobuild.buildroot.org/results/ad7fb68ae87850a85509eed80fd0cae8721b10c5

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2020-02-18 11:01:33 -05:00
Jay Berkenbilt
52a2e95dd5 Prepare 9.1.1 release 2020-01-26 18:49:04 -05:00
Jay Berkenbilt
1b37e33df5 Add bug fixes to release notes 2020-01-26 18:46:00 -05:00
Jay Berkenbilt
0a60ebc4cf Update shared library version 2020-01-26 18:35:46 -05:00
Jay Berkenbilt
676cdcff1a Spell check 2020-01-26 18:32:35 -05:00
Jay Berkenbilt
8ed4efedba Update fuzz notes 2020-01-26 18:29:11 -05:00
Jay Berkenbilt
e5cc065598 Update copyright to 2020 2020-01-26 16:57:27 -05:00
Jay Berkenbilt
57c01ef81f In qdf mode, don't write extra XRef streams (fixes #386)
fix-qdf assumes there is exactly one XRef stream and that it is at the
end of the file.
2020-01-26 16:50:57 -05:00
Jay Berkenbilt
bbc2f8ffae Bug fix: handle ColorSpace lookup for inline images (fixes #392)
If the value of /CS in the inline image dictionary was is key in the
page's /Resource -> /ColorSpace dictionary, properly resolve it by
referencing the proper colorspace, and not just the name, in the
external image dictionary.
2020-01-26 15:29:10 -05:00
Jay Berkenbilt
12777a04ca Add encrypt key to json 2020-01-26 14:44:03 -05:00
Jay Berkenbilt
656d7bc006 Rename test files
This change makes it possible to get both the user and owner password
from the file name of all the encryption test files.
2020-01-26 14:42:10 -05:00
Jay Berkenbilt
731c4f711b Add --is-encrypted and --requires-password (fixes #390)
Allow exit status-based checking of whether a file is encrypted or
requires a password without necessarily supplying the correct
password. Useful for scripting.
2020-01-26 11:26:53 -05:00
Jay Berkenbilt
8b1c4828b7 Update autoconf/libtool files 2020-01-25 08:55:43 -05:00
Jay Berkenbilt
7b6ed928ae Update MacOS Azure Pipelines image 2020-01-24 22:35:40 -05:00
Jay Berkenbilt
3dd3169a1c Travis: adding missing dependency
I don't use the travis build since I get more functionality on Azure
pipelines. I should remove it.
2020-01-20 15:06:48 -05:00
Jay Berkenbilt
3334a89d80 AppImage: warn if older than Ubuntu 16.04
14.04 has been out of security support for a while.
2020-01-20 15:04:51 -05:00
Cloudmersive
a8b6ff5763 Fix for Windows unable to acquire crypt context with new keyset (fixes #387)
Fix is based on guidance
https://support.microsoft.com/en-us/help/238187/cryptacquirecontext-use-and-troubleshooting
and is the proper fix for #285/#286
2020-01-14 18:45:54 -05:00
Jay Berkenbilt
73a0e3a932 Begin release notes for 9.1.1 2020-01-14 11:53:37 -05:00
Jay Berkenbilt
388990f7bc Rewrite fix-qdf in C++ 2020-01-14 11:53:19 -05:00
Jay Berkenbilt
a44b5a34a0 Pull wmain -> main code from qpdf.cc into QUtil.cc 2020-01-14 11:40:51 -05:00
Jay Berkenbilt
ab4061f1ee Add error detection for read_lines_from_file(FILE*) 2020-01-14 11:07:09 -05:00
Jay Berkenbilt
211a7f57be QUtil::read_lines_from_file: optional EOL preservation 2020-01-13 11:26:18 -05:00
Jay Berkenbilt
9a398504ca Refactor QUtil::read_lines_from_file
This commit adds the preserve_eol flags but doesn't implement EOL
preservation yet.
2020-01-13 09:19:53 -05:00
Jay Berkenbilt
7524165540 Add std::regex to c++11 feature tests 2020-01-13 09:19:03 -05:00
Jay Berkenbilt
49f4600dd6 TODO: Move lexical stuff and add detail 2020-01-13 09:18:36 -05:00
Jay Berkenbilt
0ae19c375e TODO: Remove fixed item, move item into ABI section 2019-12-30 09:18:02 -05:00
Gábor Lipták
1e0b1025f3 Update Travis to Xenial 2019-12-17 13:30:53 -05:00
Jay Berkenbilt
18e558e721 Update qtest version to 1.6 2019-12-17 11:30:03 -05:00
Jay Berkenbilt
e35e4099a2 Remove misspelled word from spell check dictionary 2019-12-03 09:03:44 -05:00
Matthias Braun
b456bddcf0 Fix spelling and make some links HTTPS in README 2019-12-03 09:02:59 -05:00
Jay Berkenbilt
9b0c6022d7 Prepare 9.1.0 release 2019-11-16 22:29:54 -05:00
Jay Berkenbilt
9b577c3cb0 More maintainer notes 2019-11-16 22:29:05 -05:00
Jay Berkenbilt
b9f06fedf1 Fix error in manual 2019-11-15 10:29:11 -05:00
Jay Berkenbilt
b76af9242f Clean up documentation around gnutls and C++-11 2019-11-11 14:14:31 -05:00
Jay Berkenbilt
db7d6030a0 Update AppImage to use Ubuntu 16.04 since 14.04 is out of support 2019-11-10 20:40:30 -05:00
Jay Berkenbilt
5e936dddff Use gnutls crypto provider in the AppImage 2019-11-10 20:19:59 -05:00
Jay Berkenbilt
0e94aa6919 Fix up documentation around Windows wildcard fix 2019-11-10 20:19:38 -05:00
Jay Berkenbilt
5e6dfc938e Prepare 9.1.rc1 release 2019-11-09 22:00:53 -05:00
Jay Berkenbilt
f60b4ead18 Search for gnutls if not found with pkg-config 2019-11-09 22:00:41 -05:00
Jay Berkenbilt
021d71454a Spell check 2019-11-09 19:03:56 -05:00
Jay Berkenbilt
07da0039d3 Link with setargv or wsetargv with MSVC (fixes #224)
For wildcard expansion to work properly with the msvc binary, it is
necessary to link with setargv.obj or wsetargv.obj, depending on
whether wmain is in use.
2019-11-09 18:50:42 -05:00
Jay Berkenbilt
a58918bb87 Explicitly disable gnutls for Windows build 2019-11-09 15:55:05 -05:00
Jay Berkenbilt
c4478e5249 Allow odd/even modifiers in numeric range (fixes #364) 2019-11-09 13:23:12 -05:00
Jay Berkenbilt
c9cc83621b Add the word "slow" to preserved unreferenced resources docs (fixes #380)
This makes it more likely for someone who notices a big slow-down in
page splitting to discover the option.
2019-11-09 12:33:15 -05:00
Jay Berkenbilt
5508f74603 Allow /P in encryption dictionary to be positive (fixes #382)
Even though this is disallowed by the spec, files like this have been
encountered in the wild.
2019-11-09 12:33:15 -05:00
Jay Berkenbilt
b997fa5343 Start list of ABI changes for qpdf 10 2019-11-09 12:33:15 -05:00
Jay Berkenbilt
e5cec314bc Update release notes for crypto providers 2019-11-09 12:33:15 -05:00
Jay Berkenbilt
1ee45458fc Update docs for crypto providers 2019-11-09 09:53:42 -05:00