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
05 Apr, 2025
1 commit
  • Replace JetBrains-specific cmake profiles with CMakePresets.json ...
    f935c9fc
    Plus sneak in some spell checks
    Jay Berkenbilt authored
    2025-04-05 09:02:08 -0400  
    Browse Code »

31 Mar, 2025
1 commit
  • Merge pull request #1415 from m-holger/pr1396 ...
    6434e09d
    Fix offsets in QPDF::resolveObjectsInStream warnings
    m-holger authored
    2025-03-31 10:54:58 +0100  
    Browse Code »

30 Mar, 2025
8 commits
  • Merge pull request #1414 from outtersg/main ...
    9bc0b2d7
    CMake: correctly detect that timezone is not an int
    Jay Berkenbilt authored
    2025-03-30 11:09:29 -0400  
    Browse Code »
  • Fix offsets in QPDF::resolveObjectsInStream warnings ...
    e3b77e43
    As discussed in #1396.
    m-holger authored
    2025-03-30 13:22:11 +0100  
    Browse Code »
  • Change QPDFExc to allow zero offsets ...
    c6a393a5
    Internally use -1 to represent a missing offset and provide a constructor
    overload that allows 0 as a valid offset.
    
    In QPDF::damagedPDF use the new overload.
    m-holger authored
    2025-03-30 13:12:13 +0100  
    Browse Code »
  • Merge pull request #1411 from m-holger/i1410 ...
    0a9ef286
    Enhance --rotate usage message (fixes #1410)
    m-holger authored
    2025-03-30 12:31:28 +0100  
    Browse Code »
  • Enhance --rotate usage message (fixes #1410) ...
    249427ea
    Also, silently fix any angle that is a multiple of 90.
    m-holger authored
    2025-03-30 11:37:15 +0100  
    Browse Code »
  • Merge pull request #1408 from m-holger/offset ...
    e0add341
    Refactor QPDFWriter::writeObjectStreamOffsets
    m-holger authored
    2025-03-30 11:28:57 +0100  
    Browse Code »
  • Refactor QPDFWriter::writeObjectStreamOffsets ...
    cf3264b2
    Rather than converting each (sequential) object id to a string,
    generate a string for the first id and than increment the digits in the
    string.
    m-holger authored
    2025-03-30 10:45:06 +0100  
    Browse Code »
  • Correctly detect that timezone is not an int ...
    9fea88dc
    The simple CMake test that printf("%ld", timezone) to tell if HAVE_EXTERN_LONG_TIMEZONE, incorrectly saw an int after casting FreeBSD's char * timezone(int zone, int dst) pointer function to an int. By dividing it by 60 (as will occur in the .cc file), we ensure the test program to fail and thus HAVE_EXTERN_LONG_TIMEZONE not to be defined.
    Guillaume Outters authored
    2025-03-30 06:26:49 +0200  
    Browse Code »

29 Mar, 2025
1 commit
  • Merge pull request #1409 from m-holger/structure ...
    d494aaac
    Add new CLI Option --remove-structure
    m-holger authored
    2025-03-29 19:20:14 +0000  
    Browse Code »

26 Mar, 2025
2 commits
  • Bump version to 12.1.0
    1b450c65
    m-holger authored
    2025-03-26 23:31:05 +0000  
    Browse Code »
  • Add new CLI option --remove-structure ...
    464d94af
    ... to remove the /Root /StructTreeRoot and /MarkInfo entries.
    m-holger authored
    2025-03-26 23:30:44 +0000  
    Browse Code »

25 Mar, 2025
20 commits
  • Merge pull request #1406 from m-holger/count ...
    314bd3eb
    Tune QPDFWriter writes to Pl_Count
    m-holger authored
    2025-03-25 18:39:41 +0000  
    Browse Code »
  • Amend pl::Count to use a numeric rather than string identifier
    2033b376
    m-holger authored
    2025-03-25 15:04:32 +0000  
    Browse Code »
  • Enhance pl::Count to support buffered writing to next
    9c7c7413
    m-holger authored
    2025-03-25 14:51:25 +0000  
    Browse Code »
  • Enhance pl::Count to incorporate an end-of-line Pl_String
    80631cb0
    m-holger authored
    2025-03-25 14:44:04 +0000  
    Browse Code »
  • Add a private API version of Pl_Count ...
    876c238e
    ... and use it in QPDFWriter and QPDF::generateHintStream.
    m-holger authored
    2025-03-25 14:44:04 +0000  
    Browse Code »
  • In QPDFWriter::PipelinePopper remove special handling of Pl_Buffer ...
    05f8281f
    Also, remove redundant QPDFWriter::writeBuffer.
    m-holger authored
    2025-03-25 14:44:04 +0000  
    Browse Code »
  • In QPDFWriter::writeHintStream use std::string instead of std::shared_ptr<Buffer>
    953ed4b8
    m-holger authored
    2025-03-25 14:44:04 +0000  
    Browse Code »
  • In QPDFWriter::writeLinearized use Pl_String instead of Pl_Buffer
    7cc1e08d
    m-holger authored
    2025-03-25 14:44:04 +0000  
    Browse Code »
  • In QPDFWriter::writeXRefStream use Pl_String instead of Pl_Buffer
    68d10931
    m-holger authored
    2025-03-25 14:44:04 +0000  
    Browse Code »
  • In QPDFWriter::writeObjectStream use Pl_String instead of Pl_Buffer
    b20485e4
    m-holger authored
    2025-03-25 14:44:04 +0000  
    Browse Code »
  • In QPDFWriter::willFilterStream use Pl_String instead of Pl_Buffer ...
    d7853db8
    Also,
    - use Pl_Discard when only checking whether stream is filterable
    - get last char directly from output string
    m-holger authored
    2025-03-25 14:44:04 +0000  
    Browse Code »
  • Merge pull request #1400 from m-holger/pr1266 ...
    65e7e3db
    Fix parsing of object streams containing objects with no white-space between them
    m-holger authored
    2025-03-25 14:39:16 +0000  
    Browse Code »
  • Fix parsing of object streams ...
    b37fc717
    ... containing objects with no white-space between them.
    
    To enforce the rule that objects end at the start-offset of the next
    object, each object is parsed in it own object stream.
    
    To facilitate this, a new private API input source is::OffsetBuffer has
    been added which only contains the object but reports offsets relative to
    the start of the object stream. This is adapted from OffsetInputSource by
    changing the direction of the offset, endowing it with its own
    BufferInputSource and striooing out checks duplicated in BufferInputSource.
    
    Fixes the expected failure in the test case added in #1266.
    m-holger authored
    2025-03-25 10:40:01 +0000  
    Browse Code »
  • Merge pull request #1399 from m-holger/parse ...
    5eb9a18a
    Refactor calls to QPDFParser::parse
    m-holger authored
    2025-03-25 10:22:31 +0000  
    Browse Code »
  • Refactor calls to QPDFParser::parse ...
    8b0eaaf7
    Add static parse methods. Make all external access to QPDFParser through
    static methods.
    
    Make all non-static methods including constructors private.
    m-holger authored
    2025-03-25 02:36:03 +0000  
    Browse Code »
  • Merge pull request #1397 from m-holger/ostream ...
    be25fc30
    Refactor QPDF::resolveObjectsInStream
    m-holger authored
    2025-03-25 02:32:02 +0000  
    Browse Code »
  • Refactor object stream warnings and object descriptions ...
    626d5061
    Only build strings when needed.
    m-holger authored
    2025-03-25 02:04:37 +0000  
    Browse Code »
  • Move QPDFObject::getResolvedTypeCode implementation ...
    db87f3ca
    ... to QPDFObjectHandle_private.hh
    m-holger authored
    2025-03-25 02:04:37 +0000  
    Browse Code »
  • Tidy QPDF::resolveObjectsInStream
    e93f7ff5
    m-holger authored
    2025-03-25 02:04:37 +0000  
    Browse Code »
  • Merge pull request #1396 from m-holger/damaged ...
    49043112
    Fix object stream error/warning messages reporting wrong object id
    m-holger authored
    2025-03-25 02:00:51 +0000  
    Browse Code »

24 Mar, 2025
2 commits
  • Fix object stream error/warning messages reporting wrong object id ...
    1bce5c4f
    This was due to the use of last_object_description, which is not set for
    the object stream itself.
    
    Also, modify the messages introduced #1391 and #1392 to report the supposed
    offset of the objects.
    m-holger authored
    2025-03-24 21:57:16 +0000  
    Browse Code »
  • Merge pull request #1404 from m-holger/writer ...
    95a45263
    Refactor writing of object streams
    m-holger authored
    2025-03-24 21:40:59 +0000  
    Browse Code »

22 Mar, 2025
2 commits
  • Remove for loop in QPDFWriter::writeObjectStream
    6cadafda
    m-holger authored
    2025-03-22 19:24:05 +0000  
    Browse Code »
  • Refactor writing of object streams ...
    ae9e65f3
    Cache output of pass 1.
    m-holger authored
    2025-03-22 19:10:54 +0000  
    Browse Code »

17 Mar, 2025
3 commits
  • Merge pull request #1395 from m-holger/fix_1394 ...
    b40533ad
    Fix #1394
    m-holger authored
    2025-03-17 18:35:36 +0000  
    Browse Code »
  • Split QPDF.cc into QPDF.cc and QPDF_objects.cc ...
    a51a1396
    Move methods responsible for loading or keeping track of objects to
    QPDF_objects.cc.
    
    The split was part of the reverted #1297. Reintroducing it now makes it
    easier/safer to keep the work to refactor the xref and object tables in
    sync with main.
    m-holger authored
    2025-03-17 18:24:48 +0000  
    Browse Code »
  • Rename QPDF.cc to QPDF_objects.cc ...
    2c211a51
    Also, add reverted #194 to .git-blame-ignore-revs.
    m-holger authored
    2025-03-17 18:22:19 +0000  
    Browse Code »