Logo white

OpenSystemsDevelopment / qpdf

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • Commits 4,691
  • Compare
  • Branches 1
  • Tags 0
  • qpdf
25 Jul, 2012
2 commits
  • Restore coverage case ...
    f6893242
    Previous commit lost coverage case for buffer-based replaceStreamData.
    Jay Berkenbilt authored
    2012-07-25 22:32:14 -0400  
    Browse Code »
  • added QPDFObjectHandle::replaceStreamData(std::string data).
    9c00874e
    Tobias Hoffmann authored
    2012-07-25 03:02:46 +0200  
    Browse Code »

22 Jul, 2012
1 commit
  • Fix help for --enable-ld-version-script ...
    b04fb5cf
    Incorrectly stated that default is disabled when it is actually
    enabled.
    Jay Berkenbilt authored
    2012-07-22 20:49:56 -0400  
    Browse Code »

21 Jul, 2012
8 commits
  • Windows compilation fixes
    31632870
    Jay Berkenbilt authored
    2012-07-21 20:51:56 -0400  
    Browse Code »
  • Image comparison tests are off by default
    31efe701
    Jay Berkenbilt authored
    2012-07-21 20:35:00 -0400  
    Browse Code »
  • Command-line page merging and splitting ...
    5a02471b
    Implement --pages ... -- option for qpdf.  Update TODO with remaining
    things to document.
    Jay Berkenbilt authored
    2012-07-21 20:33:33 -0400  
    Browse Code »
  • Never mind about large file test change
    a50cfefd
    Jay Berkenbilt authored
    2012-07-21 11:57:57 -0400  
    Browse Code »
  • Add note about large file test
    ca97f146
    Jay Berkenbilt authored
    2012-07-21 09:36:12 -0400  
    Browse Code »
  • Implement QPDFObjectHandle::parse ...
    6bbea4ba
    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.
    Jay Berkenbilt authored
    2012-07-21 09:06:10 -0400  
    Browse Code »
  • Move readToken from QPDF to QPDFTokenizer
    f3e267fc
    Jay Berkenbilt authored
    2012-07-21 09:06:10 -0400  
    Browse Code »
  • Refactor: pull *InputSource out of QPDF ...
    15eaed5c
    InputSource, FileInputSource, and BufferInputSource are now top-level
    classes instead of privately nested inside QPDF.
    Jay Berkenbilt authored
    2012-07-21 09:06:06 -0400  
    Browse Code »

18 Jul, 2012
1 commit
  • Prevent seeking before beginning of BufferInputSource
    8657c6f0
    Jay Berkenbilt authored
    2012-07-18 09:50:05 -0400  
    Browse Code »

15 Jul, 2012
5 commits
  • TODO notes
    8ea2f844
    Jay Berkenbilt authored
    2012-07-15 21:27:08 -0400  
    Browse Code »
  • Add command line option to copy encryption from other file ...
    a101533e
    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.
    Jay Berkenbilt authored
    2012-07-15 21:15:24 -0400  
    Browse Code »
  • Minor fixes to copyEncryptionParameters ...
    b26ce88e
    This fixes were to code added yesterday; the problems would not have
    impacted any previously released code.  These are all changes related
    to the possibility that copyEncryptionParameters may be called on
    behalf a different QPDF than the one being written.
    Jay Berkenbilt authored
    2012-07-15 21:14:02 -0400  
    Browse Code »
  • Bug fix: preserve AES when copying encryption parameters
    db95960a
    Jay Berkenbilt authored
    2012-07-15 19:07:59 -0400  
    Browse Code »
  • qpdf: push inherited attributes to page when showing images ...
    b5012512
    from qpdf command-line tool
    Jay Berkenbilt authored
    2012-07-15 16:22:28 -0400  
    Browse Code »

14 Jul, 2012
3 commits
  • Add public QPDFWriter::copyEncryptionParameters ...
    0575d77d
    Method to copy encryption parameters from another file.  Adapted from
    existing code to copy encryption parameters from the original file.
    Jay Berkenbilt authored
    2012-07-14 09:14:41 -0400  
    Browse Code »
  • test_driver: accept optional second file name ...
    ee3682f1
    This way we don't have to hard-code the name of a second file in the
    test driver for tests that require one.
    Jay Berkenbilt authored
    2012-07-14 08:48:30 -0400  
    Browse Code »
  • Have QPDFWriter detect foreign objects while writing ...
    1c944e4c
    Throw an exception that directs the user to QPDF::copyForeignObject.
    Jay Berkenbilt authored
    2012-07-14 08:07:23 -0400  
    Browse Code »

11 Jul, 2012
2 commits
  • Update getPageImages() comment to mention pushInheritedAttributesToPage()
    11b194a1
    Jay Berkenbilt authored
    2012-07-11 15:56:50 -0400  
    Browse Code »
  • Support copying objects from another QPDF object ...
    e7b8f297
    This includes QPDF::copyForeignObject and supporting foreign objects
    as arguments to addPage*.
    Jay Berkenbilt authored
    2012-07-11 15:54:33 -0400  
    Browse Code »

10 Jul, 2012
4 commits
  • Add concept of reserved objects ...
    8a217eb3
    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.
    Jay Berkenbilt authored
    2012-07-10 23:34:32 -0400  
    Browse Code »
  • Add release reminder
    af64668a
    Jay Berkenbilt authored
    2012-07-10 23:34:32 -0400  
    Browse Code »
  • Fix typo in variable name
    43d4f793
    Jay Berkenbilt authored
    2012-07-10 23:17:26 -0400  
    Browse Code »
  • Favor string-based newStream method
    b9aded1a
    Jay Berkenbilt authored
    2012-07-10 23:17:26 -0400  
    Browse Code »

08 Jul, 2012
2 commits
  • Update TODO
    b20e37a2
    Jay Berkenbilt authored
    2012-07-08 16:01:27 -0400  
    Browse Code »
  • Fix: make unparse virtual for Null and Real
    1dc25c02
    Jay Berkenbilt authored
    2012-07-08 16:01:12 -0400  
    Browse Code »

07 Jul, 2012
4 commits
  • Added assertNumber and assertScalar to QPDFObjectHandle
    8720446b
    Tobias Hoffmann authored
    2012-07-07 18:55:08 -0400  
    Browse Code »
  • Added public assert{Type} methods to QPDFObjectHandle
    a8266ccb
    Tobias Hoffmann authored
    2012-07-07 18:53:38 -0400  
    Browse Code »
  • Build this->all_pages while traversing with pushInheritedAttributesToPage
    39bbaa86
    Tobias Hoffmann authored
    2012-07-07 17:45:10 -0400  
    Browse Code »
  • Don't require stream data provider to know length in advance ...
    e2dedde4
    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.
    Jay Berkenbilt authored
    2012-07-07 17:33:45 -0400  
    Browse Code »

05 Jul, 2012
2 commits
  • Add QPDFWriter method to output to FILE*
    8705e2e8
    Jay Berkenbilt authored
    2012-07-05 21:24:04 -0400  
    Browse Code »
  • Remove stray comment
    3b5d72b9
    Jay Berkenbilt authored
    2012-07-05 13:28:21 -0400  
    Browse Code »

04 Jul, 2012
4 commits
  • Added test code for Tobias's changes
    c227249e
    Jay Berkenbilt authored
    2012-07-04 23:19:32 -0400  
    Browse Code »
  • Limited inheritance to the attributes explicitly listed in the PDF spec ...
    abb53ac3
    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.
    Tobias Hoffmann authored
    2012-07-04 23:04:55 -0400  
    Browse Code »
  • Added public method QPDF::pushInheritedAttributesToPage ...
    7770a1b0
    Refactored optimizePagesTree to pushInheritedAttributesToPage and made
    public
    Tobias Hoffmann authored
    2012-07-04 16:24:03 -0400  
    Browse Code »
  • Fixed wording error in comment
    235188df
    Tobias Hoffmann authored
    2012-07-04 14:51:53 -0400  
    Browse Code »

27 Jun, 2012
2 commits
  • Add a few minor enhancements to recent work ...
    5f59c32f
    Test coverage case for new newStream method
    Expose decimal_places argument for double-based newReal
    
    All enhancements suggested by Tobias.
    Jay Berkenbilt authored
    2012-06-27 10:43:27 -0400  
    Browse Code »
  • Update ChangeLog and TODO
    a167ce81
    Jay Berkenbilt authored
    2012-06-27 10:20:50 -0400  
    Browse Code »