2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-11-01 03:12:29 +00:00
Commit Graph

1391 Commits

Author SHA1 Message Date
Jay Berkenbilt
16b7182d91 Upgrade qtest to 1.5 2018-10-13 18:31:58 -04:00
Jay Berkenbilt
dbeef33ee4 Update maintainer notes with new release process
The Azure pipeline does all the artifact creation now.
2018-10-13 18:30:55 -04:00
Jay Berkenbilt
9d1f885f04 Build AppImage from pipeline 2018-10-13 18:30:55 -04:00
Jay Berkenbilt
8d6f923e13 Run make_dist from azure pipeline 2018-10-13 18:30:55 -04:00
Jay Berkenbilt
f162a229f6 CI mode for make_dist 2018-10-13 12:18:31 -04:00
Jay Berkenbilt
ad0fd53fc4 Remove needless autogen.sh references/invocations
Since the files autogen.sh creates are now controlled, you only have
to run autogen.sh when you modify the source files, not when you
build from a clean checkout.
2018-10-13 12:18:31 -04:00
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