2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-11-16 01:27:07 +00:00
Commit Graph

1385 Commits

Author SHA1 Message Date
Jay Berkenbilt
c9d11d70a7 Improve autofiles checksum check 2018-10-12 09:22:14 -04:00
Jay Berkenbilt
cd7c0bf368 Remove stray debug statement 2018-10-12 09:01:28 -04:00
Jay Berkenbilt
54822c8e30 regenerate autofiles 2018-10-12 08:31:34 -04:00
Jay Berkenbilt
9b72ce09be Change artifact directory from installers to distribution 2018-10-12 08:10:08 -04:00
Jay Berkenbilt
b34cb54c5f Diff checksums with diff -w
to avoid line ending problems
2018-10-12 08:05:34 -04:00
Jay Berkenbilt
a5ee55f2e8 ChangeLog 2018-10-11 19:16:26 -04:00
Jay Berkenbilt
ab436eb2db Fix typo 2018-10-11 18:32:38 -04:00
Jay Berkenbilt
d6dbc6b389 TODO 2018-10-11 17:27:54 -04:00
Jay Berkenbilt
4cd1a8f0db Azure pipelines: no artifact upload/download from forks 2018-10-11 17:27:54 -04:00
Jay Berkenbilt
aa864d2142 Automatically detect outdated generated files
Update documentation to reflect that automatically generated files are
committed. Detect when they are outdated if we have the ability to
regenerate them.
2018-10-11 17:27:54 -04:00
Jay Berkenbilt
d1368a3851 Commit automatically generated files 2018-10-11 17:27:54 -04:00
Jay Berkenbilt
449cb67915 Make windows install not fail on missing docs
libtool make install already works this way.
2018-10-11 17:27:54 -04:00
Jay Berkenbilt
e6a917ec23 Fix build status banner 2018-10-11 15:54:43 -04:00
Jay Berkenbilt
4628461383 Set up Azure Pipelines
Use free Azure Pipelines to do Linux, Windows, and Mac build and test
and to generate Windows binary distributions.
2018-10-11 15:07:51 -04:00
Jay Berkenbilt
e7adaff786 Create distfiles.zip target
This creates a zip file of the files that are present in a source
distribution but not present in the repository.
2018-10-11 13:34:29 -04:00
Jay Berkenbilt
6ee761fc86 Prepare 8.2.1 release 2018-08-18 10:56:19 -04:00
Jay Berkenbilt
28453a4908 Add --keep-files-open flag (fixes #237) 2018-08-18 10:56:01 -04:00
Jay Berkenbilt
5e9e17e62a Prepare 8.2.0 release 2018-08-16 11:53:10 -04:00
Jay Berkenbilt
643a221914 Refine release process 2018-08-16 11:53:10 -04:00
Jay Berkenbilt
723b054bf9 Spell check 2018-08-16 11:53:10 -04:00
Jay Berkenbilt
19229e296d Update documentation for 8.2.0 2018-08-16 11:53:10 -04:00
Jay Berkenbilt
693cdaac35 Missing header for std::max 2018-08-16 11:53:10 -04:00
Jay Berkenbilt
e73416319b Fragile test 2018-08-14 17:22:23 -04:00
Jay Berkenbilt
e37ce85190 Clarify static vs. import library on Windows (fixes #225) 2018-08-14 16:57:37 -04:00
Jay Berkenbilt
8ca46d1ff0 Pass -k to make check in build-appimage 2018-08-14 16:41:13 -04:00
Jay Berkenbilt
7214ba2303 Fix memory error on virus workaround code 2018-08-14 16:41:13 -04:00
Jay Berkenbilt
b4ce557be5 Fix error in QPDFSystemError.cc 2018-08-14 11:39:07 -04:00
Jay Berkenbilt
b4bdc42b4f New exception class QPDFSystemError (fixes #221) 2018-08-13 20:01:51 -04:00
Jay Berkenbilt
164cbdde46 Protect against virus warnings (fixes #216)
Some files in the test suite trigger antivirus warnings. These are
not infected files with malicious intent. They are test files to
ensure that qpdf does not crash when it encounters the files. This
change enables those files to be obfuscated in the source repository
so that checking out qpdf from version control or extracting the
source code doesn't trigger antivirus warnings.
2018-08-13 19:26:20 -04:00
Jay Berkenbilt
5d9d80beba Fix fallback logic for encryption (fixes #229) 2018-08-12 22:32:40 -04:00
Jay Berkenbilt
fb1e29476c Add --no-warn option to suppress warnings (fixes #232) 2018-08-12 22:20:40 -04:00
Jay Berkenbilt
60fe8061cb Fix one more identifier (fixes #236) 2018-08-12 22:01:51 -04:00
Jay Berkenbilt
a2f62935b3 Catch exceptions as const references (fixes #236)
This fix allows qpdf to compile/test cleanly with gcc 8.
2018-08-12 21:57:52 -04:00
Jay Berkenbilt
3d6615b276 Pl_Buffer: reduce memory growth (fixes #228)
Rather than keeping a list of buffers for every write, accumulate
bytes in a single buffer, doubling the size of the buffer when needed
to accommodate new data.

This is not the best possible implementation, but the change was
implemented in this way to avoid changing the shape of Pl_Buffer and
thus breaking backward compatibility.
2018-08-12 17:45:43 -04:00
Jay Berkenbilt
48331b4bdc Fix manual page formatting issues
Reported in debian bug 902642
2018-08-12 14:18:18 -04:00
Jay Berkenbilt
3873f5fd9b Protect headers with compliant identifiers (fixes #233) 2018-08-12 14:10:32 -04:00
Jay Berkenbilt
932799baab Fix memory access error
A previous fix introduced a potentially memory overrun under certain
rare conditions. The test suite now once again passes with address
sanitizer.
2018-08-12 13:16:17 -04:00
Jay Berkenbilt
b6e414b10b Remove some extraneous null pointer checks (fixes #234)
There were a few places in the code that were checking that a pointer
wasn't null before deleting it, even though C++ has always allowed
delete 0. Most of the code did not perform these checks.
2018-08-12 12:58:39 -04:00
Jay Berkenbilt
4a4736c695 Fix EOL handling inside strings (fixes #226)
CR, CRLF, and LF are all supposed to be treated as LF; only one EOL is
to be ignored after backslash.
2018-08-05 20:48:35 -04:00
Jay Berkenbilt
1619cad1e8 Return correct method for string encryption (fixes #227) 2018-08-05 16:58:21 -04:00
Jay Berkenbilt
e1cd5891af Fix infinite loop on small files with progress reporting (fixes #230)
Turns out you can keep adding zero to a number over and over again and
it just doesn't get any bigger. Who would have known?
2018-08-05 15:43:34 -04:00
Jay Berkenbilt
651b51f056 Add QPDF_DLL to public destructors (fixes #220)
A few public destructors were missing QPDF_DLL, which could cause some
Windows applications to fail to link.
2018-08-04 20:08:06 -04:00
Jay Berkenbilt
fe769f2723 Keep file open while adding its pages during merge (fixes #217) 2018-08-04 19:58:13 -04:00
Jay Berkenbilt
4f4c627b77 ClosedFileInputSource: add method to keep file open
During periods of intensive operation on a specific file, this method
can reduce the overhead of repeated open/close operations.
2018-08-04 19:52:46 -04:00
Ryan Schmidt
df7ef11181
Ensure zlib-flate doesn't link with an old libqpdf
See: https://sourceforge.net/p/qpdf/bugs/17/

Parts of the fix for that bug report had previously been committed in
30dbf94f53 and
6299c64cf3.
2018-07-24 18:03:22 -05:00
Jay Berkenbilt
7855e18ae2 Add detail about Unicode passwords 2018-07-01 17:25:10 -04:00
Jay Berkenbilt
1bd2a2e79b Prepare 8.1.0 release 2018-06-23 07:50:11 -04:00
Jay Berkenbilt
92ca2a41bc Tweak release process 2018-06-23 07:50:11 -04:00
Jay Berkenbilt
ec8c7237e3 Bump shared library minor revision 2018-06-22 20:34:30 -04:00
Jay Berkenbilt
3fe5236d54 Fix typo 2018-06-22 19:28:18 -04:00