Jay Berkenbilt
ef23bba4cd
Add note in TODO about random number seeding
2012-12-31 10:32:32 -05:00
Jay Berkenbilt
4fe6f61def
Add missing test case from long ago
...
I noticed a test output file that was not accessed in the test suite
and added a test case for it.
2012-12-31 10:32:32 -05:00
Jay Berkenbilt
4eccb9d87b
Add random number functions to QUtil
2012-12-31 10:32:32 -05:00
Jay Berkenbilt
16a23368e7
Fix infinite loop trimming passwords with ( in them
2012-12-31 10:32:31 -05:00
Jay Berkenbilt
8f5de08c2a
Comment about non-const Pipeline data
2012-12-31 10:32:31 -05:00
Jay Berkenbilt
0873e42300
SHA2 pipeline with support for 256, 384, and 512 bits
...
Implemented pipeline around sph sha calls using standard test vectors
for full-byte values. Did not test or support partial byte values.
2012-12-31 05:36:51 -05:00
Jay Berkenbilt
c9da66a018
Incorporate sha2 code from sphlib 3.0
...
Changes from upstream are limited to change #include paths so that I
can place header files and included "c" files in a subdirectory. I
didn't keep the unit tests from sphlib but instead verified them by
running them manually. I will implement the same tests using the
Pl_SHA2 pipeline except that sphlib's sha2 implementation supports
partial bytes, which I will not exercise in qpdf or our tests.
2012-12-31 05:36:51 -05:00
Jay Berkenbilt
3680922ae5
Allow specification of AES initialization vector
2012-12-31 05:36:50 -05:00
Jay Berkenbilt
9b42f526df
Update AES classes to work with 256-bit keys
2012-12-31 05:36:50 -05:00
Jay Berkenbilt
774584163f
Add ExtensionLevel support to version handling
...
All version operations are now fully aware of extension levels.
2012-12-31 05:36:50 -05:00
Jay Berkenbilt
3101955ac0
Add V5 parameters to EncryptionData
2012-12-31 05:36:50 -05:00
Jay Berkenbilt
68447bb556
change EncryptionData
2012-12-31 05:36:50 -05:00
Jay Berkenbilt
04c203ae06
Eliminate flattenScalarReferences
2012-12-31 05:36:48 -05:00
Jay Berkenbilt
b4b8b28ed2
Reference object with zero offset
...
This file used to exercise a zero offset test case when qpdf would
visit every object in the file. After the next commit, qpdf no longer
touches unreferenced objects, so a reference had to be added to
continue to have this file exercise the zero offset case.
2012-12-27 11:36:48 -05:00
Jay Berkenbilt
35873031a7
Uncompress stream data for some linearization tests
...
For linearization tests where we are actually comparing the exact
output of the test with a known file, uncompress stream data so we can
see what's there. This makes looking at future changes a little
easier.
2012-12-27 11:26:06 -05:00
Jay Berkenbilt
b4e7d6ed32
Improve memory safety of finding PDF header
2012-12-25 15:13:44 -05:00
Jay Berkenbilt
7f84239cad
Find PDF header anywhere in the first 1024 bytes
2012-12-25 14:43:37 -05:00
Jay Berkenbilt
bcfc9847be
Note about embedded resources
2012-12-25 13:30:17 -05:00
Jay Berkenbilt
a0a3de7775
Leading carriage return enhancement request
2012-12-25 13:30:15 -05:00
Jay Berkenbilt
739a78e200
Add Requires.private to libqpdf.pc for static linking
2012-11-20 13:57:37 -05:00
Jay Berkenbilt
f256670eba
Ignore objects with offset 0
2012-11-20 13:57:37 -05:00
Jay Berkenbilt
041397fdab
Allow reading from InputSource and writing to Pipeline
...
Allowing users to subclass InputSource and Pipeline to read and write
from/to arbitrary sources provides the maximum flexibility for users
who want to read and write from other than files or memory.
2012-09-23 17:42:26 -04:00
Jay Berkenbilt
8c99e4a6c0
Indicate pre-release version
2012-09-23 17:41:08 -04:00
Jay Berkenbilt
03ad9dbf62
Update sourceforge notes
...
Since sourceforce automatically displays README-what-to-download.txt,
it is no longer necessary for this to be the default file on
Windows. Instead make one of the binary distributions the default on
Windows.
2012-09-06 21:33:27 -04:00
Jay Berkenbilt
b4dc0f072a
Prepare 3.0.2 release
2012-09-06 15:47:58 -04:00
Jay Berkenbilt
7e4a079674
Update libtool data for API changes
2012-09-06 15:31:35 -04:00
Jay Berkenbilt
c1627d0438
Add QPDFWriter::setExtraHeaderText
2012-09-06 15:31:12 -04:00
Jay Berkenbilt
fc4c82a950
Reset state in QPDF::calculateLinearizationData
...
This makes it possible to use two different writers to write
linearized files from the same QPDF object.
2012-09-06 15:28:16 -04:00
Jay Berkenbilt
8d2b29ef98
Fix segmentation fault with use of QPDFWriter::setOutputMemory
2012-09-06 14:39:06 -04:00
Jay Berkenbilt
b51a5b2c09
Note to fix setOutputMemory bug
2012-09-03 16:51:03 -04:00
Jay Berkenbilt
59432b5c70
Prepare 3.0.1 release
2012-08-11 13:41:18 -04:00
Jay Berkenbilt
e4076762fe
Add pkgconfig to devel package in RPM spec
2012-08-11 13:37:12 -04:00
Jay Berkenbilt
3c4110184c
Add specially crafted test cases for EOF error
...
This replaces a PDF from the wild that I didn't want to include in the
test suite but used to verify the original fix.
2012-08-11 12:36:57 -04:00
Jay Berkenbilt
29e9c34fe3
Bug fix: let EOF resolve literal token
...
Previously only whitespace and comments did it. This fix is needed
for object streams whose last object is a literal (name, integer,
real, string) not terminated by space or newline.
2012-08-11 09:29:04 -04:00
Jay Berkenbilt
137dc7acb9
Refactor: move resolution of literal to its own method
2012-08-11 09:22:59 -04:00
Jay Berkenbilt
6c820d6cc8
TODO update: bug report, suggestion from issue
2012-08-10 21:20:05 -04:00
Jay Berkenbilt
9d477959c9
Reminder to mention pkg-config files in release notes
2012-08-09 21:22:38 -04:00
Jay Berkenbilt
511e68758c
Update version to 3.0.0
2012-08-02 06:52:33 -04:00
Jay Berkenbilt
cb128d47c7
Minor update to release checklist
2012-07-31 13:53:00 -04:00
Jay Berkenbilt
3820679d1e
Minor corrections to download instructions
2012-07-31 13:51:14 -04:00
Jay Berkenbilt
5fdcfae6bb
Fix typo in release instructions
2012-07-29 16:29:15 -04:00
Jay Berkenbilt
253b1ef865
Add missing release notes
2012-07-29 15:34:51 -04:00
Jay Berkenbilt
4efc915fc1
Make release entry in ChangeLog
2012-07-29 14:44:12 -04:00
Jay Berkenbilt
32051283b9
Fix spelling errors
2012-07-29 14:44:12 -04:00
Jay Berkenbilt
bde98044f4
Improve password handling
...
Use --encryption-file-password, if given, in addition to --password as
a source for passwords for files specified in --pages.
2012-07-29 13:22:37 -04:00
Jay Berkenbilt
f83bddf882
Update copyright to 2012
2012-07-28 22:03:36 -04:00
Jay Berkenbilt
2280c4f6d1
Update documentation and version numbers
...
3.0.rc1
2012-07-28 22:03:36 -04:00
Jay Berkenbilt
5878d17f0d
Add QPDF_ to some variables used by the test suite
...
LARGE_FILE_TEST_PATH -> QPDF_LARGE_FILE_TEST_PATH
SKIP_TEST_COMPARE_IMAGES -> QPDF_SKIP_TEST_COMPARE_IMAGES
2012-07-28 19:07:37 -04:00
Jay Berkenbilt
d2e8bae6a4
Mention page selection in basic options
2012-07-28 15:02:20 -04:00
Jay Berkenbilt
f689324214
Restore coverage case
...
Previous commit lost coverage case for buffer-based replaceStreamData.
2012-07-25 22:32:14 -04:00