summaryrefslogtreecommitdiffstats
path: root/ChangeLog
AgeCommit message (Collapse)Author
2013-03-04Handle warning flags betterJay Berkenbilt
Make --enable-werror work properly on msvc, handle extra warnings flags for msvc in configure.ac instead of hardcoding into make/msvc.mk, separate warnings flags into WFLAGS in autoconf.mk to avoid duplication and to make it easier to override.
2013-03-04Replace many calls to sprintf with QUtil::hex_encodeJay Berkenbilt
Add QUtil::hex_encode to encode binary data has a hexadecimal string, and use it in place of sprintf where possible.
2013-02-23Bug fix: properly handle overridden compressed objectsJay Berkenbilt
When caching objects in an object stream, only cache objects that still resolve to that stream. See Changelog mod from this commit for details.
2013-01-31Do not remove libqpdf.laJay Berkenbilt
Some distributions (like debian) don't want .la files to be installed, but the responsibility for doing this should like in the packaging, not in qpdf itself.
2013-01-25Improve qpdf --checkJay Berkenbilt
Fix exit status for case of errors without warnings, continue after errors when possible, add test case for parsing a file with content stream errors on some but not all pages.
2013-01-24Have qpdf --check parse content streamsJay Berkenbilt
Also move writing to null and parsing of content streams out of the wrong if block.
2013-01-23Cosmetic changes to be closer to Adobe terminologyJay Berkenbilt
Change object type Keyword to Operator, and place the order of the object types in object_type_e in the same order as they are mentioned in the PDF specification. Note that this change only breaks backward compatibility with code that has not yet been released.
2013-01-22Add getTypeCode() and getTypeName()Jay Berkenbilt
Add virtual methods to QPDFObject, wrappers to QPDFObjectHandle, and implementations to all the QPDF_Object types.
2013-01-20Add QPDFObjectHandle::parseContentStream methodJay Berkenbilt
This method allows parsing of the PDF objects in a content stream or array of content streams.
2013-01-20Added new QPDFObjectHandle types Keyword and InlineImageJay Berkenbilt
These object types are to facilitate content stream parsing.
2013-01-17Prepare 4.0.1 releaserelease-qpdf-4.0.1Jay Berkenbilt
2012-12-31Update versions for 4.0.0 releaserelease-qpdf-4.0.0Jay Berkenbilt
2012-12-31Update "C" API with functions for new featuresJay Berkenbilt
2012-12-31Update ChangeLog with recent changesJay Berkenbilt
2012-12-31Eliminate flattenScalarReferencesJay Berkenbilt
2012-12-25Find PDF header anywhere in the first 1024 bytesJay Berkenbilt
2012-11-20Add Requires.private to libqpdf.pc for static linkingJay Berkenbilt
2012-11-20Ignore objects with offset 0Jay Berkenbilt
2012-09-23Allow reading from InputSource and writing to PipelineJay Berkenbilt
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-06Prepare 3.0.2 releaserelease-qpdf-3.0.2Jay Berkenbilt
2012-09-06Add QPDFWriter::setExtraHeaderTextJay Berkenbilt
2012-09-06Reset state in QPDF::calculateLinearizationDataJay Berkenbilt
This makes it possible to use two different writers to write linearized files from the same QPDF object.
2012-09-06Fix segmentation fault with use of QPDFWriter::setOutputMemoryJay Berkenbilt
2012-08-11Prepare 3.0.1 releaserelease-qpdf-3.0.1Jay Berkenbilt
2012-08-11Bug fix: let EOF resolve literal tokenJay Berkenbilt
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-02Update version to 3.0.0release-qpdf-3.0.0Jay Berkenbilt
2012-07-29Make release entry in ChangeLogJay Berkenbilt
2012-07-26Restore coverage caseJay Berkenbilt
Previous commit lost coverage case for buffer-based replaceStreamData.
2012-07-22Image comparison tests are off by defaultJay Berkenbilt
2012-07-22Command-line page merging and splittingJay Berkenbilt
Implement --pages ... -- option for qpdf. Update TODO with remaining things to document.
2012-07-21Implement QPDFObjectHandle::parseJay Berkenbilt
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-16Add command line option to copy encryption from other fileJay Berkenbilt
Add --copy-encryption and --encryption-file-password options to qpdf. Also strengthen test suite for copying encryption. The strengthened test suite would have caught the failure to preserve AES and the failure to update the file version, which was invalidating the encrypted data.
2012-07-16Bug fix: preserve AES when copying encryption parametersJay Berkenbilt
2012-07-14Add public QPDFWriter::copyEncryptionParametersJay Berkenbilt
Method to copy encryption parameters from another file. Adapted from existing code to copy encryption parameters from the original file.
2012-07-14Have QPDFWriter detect foreign objects while writingJay Berkenbilt
Throw an exception that directs the user to QPDF::copyForeignObject.
2012-07-11Support copying objects from another QPDF objectJay Berkenbilt
This includes QPDF::copyForeignObject and supporting foreign objects as arguments to addPage*.
2012-07-11Add concept of reserved objectsJay Berkenbilt
QPDFObjectHandle::{new,is,assert}Reserved, QPDF::replaceReserved provide a mechanism to add objects to a PDF file when there are circular references. This is a prerequisite to copying objects from one PDF to another.
2012-07-07Don't require stream data provider to know length in advanceJay Berkenbilt
Breaking API change: length parameter has disappeared from the StreamDataProvider version of QPDFObjectHandle::replaceStreamData since it is no longer necessary to compute it in advance. This breaking change is justified by the fact that removing the length parameter provides the caller an opportunity to simplify the calling code.
2012-07-06Add QPDFWriter method to output to FILE*Jay Berkenbilt
2012-07-05Added test code for Tobias's changesJay Berkenbilt
2012-06-27Update ChangeLog and TODOJay Berkenbilt
2012-06-24Update ChangeLog for previous fixesJay Berkenbilt
2012-06-23Add pdf-from-scratch exampleJay Berkenbilt
2012-06-22Add factory methods for creating empty arrays and dictionaries.Jay Berkenbilt
Also updated pdf_from_scratch test driver to use the new factories, and made some cosmetic improvements and documentation updates for the emptyPDF() method.
2012-06-22Add QPDF::emptyPDF() and pdf_from_scratch test codeJay Berkenbilt
2012-06-22Fix order of build flags.Jay Berkenbilt
Place user-specified CPPFLAGS and LDFLAGS later so that user-specified non-standard paths that have old versions of qpdf don't cause the build to fail.
2012-06-22Use qpdf_offset_t in place of off_t in public APIs.Jay Berkenbilt
off_t is used internally only when needed to talk to standard libraries. This requires that the "long long" type be supported by the compiler.
2012-06-21ChangeLog entry for pkg-config filesJay Berkenbilt
2012-06-21Add QPDFObjectHandle::shallowCopy()Jay Berkenbilt
2012-06-21ChangeLog entries for page APIJay Berkenbilt