summaryrefslogtreecommitdiffstats
path: root/libqpdf
AgeCommit message (Collapse)Author
2012-07-05Limited inheritance to the attributes explicitly listed in the PDF specTobias Hoffmann
Previous versions of qpdf incorrectly passed arbitrary objects from /Pages objects down to individual pages in direct contradition with the PDF specification. These are now left in /Pages. When intermediate /Pages nodes are being discarded as when the /Pages tree is being flattened, a warning is issued when unknown keys are encountered.
2012-07-04Added public method QPDF::pushInheritedAttributesToPageTobias Hoffmann
Refactored optimizePagesTree to pushInheritedAttributesToPage and made public
2012-06-27Add a few minor enhancements to recent workJay Berkenbilt
Test coverage case for new newStream method Expose decimal_places argument for double-based newReal All enhancements suggested by Tobias.
2012-06-27Add Pl_Concatenate filterTobias Hoffmann
2012-06-27Add QPDFObjectHandle::newStream(QPDF *, std::string const&)Tobias Hoffmann
This makes the code simpler than having to create a buffer of a fixed size and copy the string to it.
2012-06-27Add QPDFObjectHandle::newReal(double)Tobias Hoffmann
2012-06-27Rework InputSource::readLine to make it much more efficientJay Berkenbilt
This rework makes xref reconstruction run much faster and use much less memory.
2012-06-27Rename seek functions in QUtilJay Berkenbilt
2012-06-27Visual C++ and mingw32 fixes for large filesJay Berkenbilt
2012-06-26Set version to 3.0.a0Jay Berkenbilt
2012-06-25Fix large file support for 32-bit LinuxJay Berkenbilt
2012-06-24Increase padding in linearized filesJay Berkenbilt
With QPDF allowing integers to contain 64-bit quantities, this change is necessary to be able to linearize files whose sizes might be larger than 10 digits.
2012-06-24Fix and test support for files >= 4 GBJay Berkenbilt
2012-06-24Change QPDF_Integer from int to long longJay Berkenbilt
This makes it possible to store offsets that are larger than 2 GB in the trailer dictionary.
2012-06-24Improve the FILE* version of QPDF::processFileJay Berkenbilt
2012-06-24Fixed missing throwTobias Hoffmann
2012-06-23Replace the 8-bit characters with \x.. in QPDFWriter.ccJay Berkenbilt
This just makes it safer to pull up this file in an editor.
2012-06-22Switch some code to use empty newArray/newDictionaryJay 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-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-21Add QPDFObjectHandle::shallowCopy()Jay Berkenbilt
2012-06-21Use getRoot() instead of looking it up in the trailerJay Berkenbilt
2012-06-21Iterate of /Info's keys, not trailer's keys, to seed /IDJay Berkenbilt
Thanks Tobias Hoffmann for noticing the error.
2012-06-21Add testing for page APIsJay Berkenbilt
2012-06-21Implement page manipulation APIsJay Berkenbilt
2012-06-21Split page handling APIs into a separate source fileJay Berkenbilt
2012-06-21Refactor optimizePagesTreeJay Berkenbilt
Split optimizePagesTree into a simpler top-level routine and a recursive internal routine.
2012-06-21Added first version of pages API.Tobias Hoffmann
2012-06-21Added method to clear pages cache.Tobias Hoffmann
2012-06-21Fix typo in commentJay Berkenbilt
2012-06-21fix include order for off_tJay Berkenbilt
2012-06-21fix doc commentJay Berkenbilt
2012-06-21Add QPDF::processFile that takes an open FILE*Jay Berkenbilt
2012-06-20Added additional array mutatorsTobias Hoffmann
Added methods to append to arrays, insert items into arrays, and replace array contents with a vector of items.
2012-06-20Fix wording error in error messageJay Berkenbilt
2012-06-20ABI change: fix use of off_t, size_t, and integer typesJay Berkenbilt
Significantly improve the code's use of off_t for file offsets, size_t for memory sizes, and integer types in cases where there has to be compatibility with external interfaces. Rework sections of the code that would have prevented qpdf from working on files larger than 2 (or maybe 4) GB in size.
2012-06-20Fix gcc 4.7 warnings about C++11Jay Berkenbilt
2012-06-20Add symbol versioningJay Berkenbilt
For ELF systems, turn on versioned symbols by default, and add a configure option to enable or disable them.
2012-04-07fix PCRE calls to remove use of deprecated APIJay Berkenbilt
pcre_info -> pcre_fullinfo. Closes issue 3489349. Thanks Tim Harder.
2011-12-28Update for 2.3.1release-qpdf-2.3.1Jay Berkenbilt
2011-12-28fix MSVC 2010 issuesJay Berkenbilt
2011-12-28Don't declare any PCRE objects static.Jay Berkenbilt
2011-08-11ready for 2.3.0 releaseJay Berkenbilt
2011-08-11fix small logic error surrounding adding newlines; in practice, the logic ↵Jay Berkenbilt
error would probably never manifest itself without other code changes
2011-08-11fix memory error caught by valgrindJay Berkenbilt
2011-08-11enhance PointerHolder so that it can explicitly be told to use delete [] ↵Jay Berkenbilt
instead of delete, thus making it useful to run valgrind over qpdf during its test suite
2011-08-11qpdf_set_info_key, qpdf_get_info_keyJay Berkenbilt
2011-08-11remove stray XXX commentJay Berkenbilt
2011-08-11commentsJay Berkenbilt