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
Tobias Hoffmann
9c00874e77
added QPDFObjectHandle::replaceStreamData(std::string data).
2012-07-25 03:02:46 +02:00
Jay Berkenbilt
b04fb5cf58
Fix help for --enable-ld-version-script
...
Incorrectly stated that default is disabled when it is actually
enabled.
2012-07-22 20:49:56 -04:00
Jay Berkenbilt
316328704b
Windows compilation fixes
2012-07-21 20:51:56 -04:00
Jay Berkenbilt
31efe701ae
Image comparison tests are off by default
2012-07-21 20:35:00 -04:00
Jay Berkenbilt
5a02471bb1
Command-line page merging and splitting
...
Implement --pages ... -- option for qpdf. Update TODO with remaining
things to document.
2012-07-21 20:33:33 -04:00
Jay Berkenbilt
a50cfefd29
Never mind about large file test change
2012-07-21 11:57:57 -04:00
Jay Berkenbilt
ca97f146f7
Add note about large file test
2012-07-21 09:36:12 -04:00
Jay Berkenbilt
6bbea4baa0
Implement QPDFObjectHandle::parse
...
Move object parsing code from QPDF to QPDFObjectHandle and
parameterize the parts of it that are specific to a QPDF object.
Provide a version that can't handle indirect objects and that can be
called on an arbitrary string.
A side effect of this change is that the offset used when reporting
invalid stream length has changed, but since the new value seems like
a better value than the old one, the test suite has been updated
rather than making the code backward compatible. This only effects
the offset reported for invalid streams that lack /Length or have an
invalid /Length key.
Updated some test code and exmaples to use QPDFObjectHandle::parse.
Supporting changes include adding a BufferInputSource constructor that
takes a string.
2012-07-21 09:06:10 -04:00
Jay Berkenbilt
f3e267fce2
Move readToken from QPDF to QPDFTokenizer
2012-07-21 09:06:10 -04:00
Jay Berkenbilt
15eaed5c52
Refactor: pull *InputSource out of QPDF
...
InputSource, FileInputSource, and BufferInputSource are now top-level
classes instead of privately nested inside QPDF.
2012-07-21 09:06:06 -04:00