• When requested, QPDFWriter will do more aggress prechecking of streams
    to make sure it can actually succeed in decoding them before
    attempting to do so. This will allow preservation of raw data even
    when the raw data is corrupted relative to the specified filters.
    Jay Berkenbilt authored
     
    Browse File »


  • For non-encrypted files, determinstic ID generation uses file contents
    instead of timestamp and file name. At a small runtime cost, this
    enables generation of the same /ID if the same inputs are converted in
    the same way multiple times.
    Jay Berkenbilt authored
     
    Browse File »

  • QPDFWriter was trying to make /Filter and /DecodeParms direct in all
    cases, but there are some cases where /DecodeParms may refer to a
    stream, which can't be direct. QPDFWriter doesn't actually need
    /DecodeParms to be direct in that case because it won't be able to
    filter the stream. Until we can handle this type of stream, just don't
    make /Filter and /DecodeParms direct if we can't filter the stream
    anyway.
    
    Fixes #34
    Jay Berkenbilt authored
     
    Browse File »





  • Ideally, the library should never call assert outside of test code,
    but it does in several places.  For some cases where the assertion
    might conceivably fail because of a problem with the input data,
    replace assertions with exceptions so that they can be trapped by the
    calling application.  This commit surely misses some cases and
    replaced some cases unnecessarily, but it should still be an
    improvement.
    Jay Berkenbilt authored
     
    Browse File »

  • 4.2.0 was binary incompatible in spite of there being no deletions or
    changes to any public methods.  As such, we have to bump the ABI and
    are fixing some API breakage while we're at it.
    
    Previous 4.3.0 target is now 5.1.0.
    Jay Berkenbilt authored
     
    Browse File »




  • fopen was previuosly called wrapped by QUtil::fopen_wrapper, but
    QUtil::safe_fopen does this itself, which is less cumbersome.
    Jay Berkenbilt authored
     
    Browse File »
  • Put a specific comment marker next to every piece of code that MSVC
    gives warning 4996 for.  This warning is generated for calls to
    functions that Microsoft considers insecure or deprecated.  This
    change is in preparation for fixing all these cases even though none
    of them are actually incorrect or insecure as used in qpdf.  The
    comment marker makes them easier to find so they can be fixed in
    subsequent commits.
    Jay Berkenbilt authored
     
    Browse File »





  • 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
     
    Browse File »