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
30 Mar, 2025
3 commits
  • 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 »

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
6 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 »
  • Revert "Split QPDF.cc into QPDF.cc and QPDF_objects.cc" ...
    57da8874
    This reverts commit bb045907a043b5c6de9fb804ff11087333747329.
    m-holger authored
    2025-03-17 13:50:23 +0000  
    Browse Code »
  • Merge pull request #1394 from m-holger/qpdf_objects ...
    fba542f9
    Split QPDF.cc into QPDF.cc and QPDF_objects.cc
    m-holger authored
    2025-03-17 12:51:29 +0000  
    Browse Code »
  • Split QPDF.cc into QPDF.cc and QPDF_objects.cc ...
    bb045907
    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 12:17:06 +0000  
    Browse Code »

16 Mar, 2025
2 commits
  • Merge pull request #1392 from m-holger/i1335 ...
    9740930b
    Refine recovery from missing startxref (fixes #1335)
    m-holger authored
    2025-03-16 07:54:27 +0000  
    Browse Code »
  • Merge pull request #1391 from m-holger/i1362 ...
    ab48d664
    Refactor xref table reconstruction (Fixes #1362)
    m-holger authored
    2025-03-16 07:43:39 +0000  
    Browse Code »

14 Mar, 2025
2 commits
  • Merge pull request #1305 from m-holger/is ...
    54e379d0
    Refactor InputSource
    m-holger authored
    2025-03-14 09:56:16 +0000  
    Browse Code »
  • Bug fix - in QPDF::isLinearized return false if /L is not an integer
    f54d98ba
    m-holger authored
    2025-03-14 09:20:48 +0000  
    Browse Code »