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 Mar, 2025
11 commits
  • 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
11 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 »
  • Refactor QPDF::isLinearized
    32eca969
    m-holger authored
    2025-03-14 09:18:44 +0000  
    Browse Code »
  • Bug fix - don't ignore non-dictionary objects when searching for the ...
    370399a9
    linearization parameter dictionary.
    
    Spec states that that linearization parameter dictionary must be the first
    object.
    m-holger authored
    2025-03-14 09:13:01 +0000  
    Browse Code »
  • Refactor QPDF::isLinearized
    27791cc8
    m-holger authored
    2025-03-14 09:12:52 +0000  
    Browse Code »
  • Use new read method in QPDF::isLinearized
    791faac4
    m-holger authored
    2025-03-14 09:11:28 +0000  
    Browse Code »
  • Use new read method in QPDF::pipeStreamData
    5dcf3ba9
    m-holger authored
    2025-03-14 09:11:17 +0000  
    Browse Code »
  • Add qpdf private API methods InputSource::read_line
    24cf3bca
    m-holger authored
    2025-03-14 09:09:46 +0000  
    Browse Code »
  • Add new private API InputSource read methods ...
    8768387c
    Improve support for reading into std::string objects.
    m-holger authored
    2025-03-14 09:02:44 +0000  
    Browse Code »
  • Add new private header file InputSource_private.hh ...
    61804943
    Move qpdf private inline methods to private header file.
    m-holger authored
    2025-03-14 09:02:25 +0000  
    Browse Code »
  • Bump version to 12.0.1
    2f4c1d38
    m-holger authored
    2025-03-14 08:56:02 +0000  
    Browse Code »

13 Mar, 2025
1 commit
  • Merge pull request #1393 from m-holger/hk ...
    a4b87050
    Minor code tidy and update .git-blame-ignore-revs
    m-holger authored
    2025-03-13 13:57:50 +0000  
    Browse Code »

11 Mar, 2025
3 commits
  • Update .git-blame-ignore-revs ...
    e266718b
    Ignore reverted #1272, #1289, #1297 and #1301.
    Ignore last two commits.
    m-holger authored
    2025-03-11 14:47:36 +0000  
    Browse Code »
  • Remove 'this->' from QPDFTokenizer.cc and QPDFAcroFormDocumentHelper.cc
    7ede0399
    m-holger authored
    2025-03-11 13:54:12 +0000  
    Browse Code »
  • Minor code formatting fixes
    a9b5ebef
    m-holger authored
    2025-03-11 13:47:23 +0000  
    Browse Code »

10 Mar, 2025
2 commits
  • Refine recovery from missing startxref (fixes #1335) ...
    7927241d
    If startxref cannot be found in the last 1024 try finding it in the
    whole file and check whether it is valid.
    m-holger authored
    2025-03-10 18:26:14 +0000  
    Browse Code »
  • Bump version to 12.0.1
    09d970e2
    m-holger authored
    2025-03-10 15:19:36 +0000  
    Browse Code »