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
  • qpdf
  • qpdf.testcov
14 Jul, 2024
1 commit
  • Fix QPDFOutlineDocumentHelper::resolveNamedDest (fixes #1238) ...
    f3cbaafc
    Handle case where named destination is a dictionary with /D entry.
    
    Test case is hand-edited outlines-with-old-root-dests.pdf with modified
    object 107.
    m-holger authored
    2024-07-14 12:15:45 +0100  
    Browse File »

04 Jul, 2024
1 commit
  • Add test case for self-referential object streams ...
    f0ded6bc
    Previous test case was lost in #1221. Test file was created from
    object-stream.pdf by adding a reference to itself into object stream 1 0.
    m-holger authored
    2024-07-04 20:40:47 +0100  
    Browse File »

25 Jun, 2024
1 commit
  • In QPDF check for page tree after reading xref table ...
    e62973d2
    Also add new fuzz test case.
    m-holger authored
    2024-06-25 15:18:54 +0100  
    Browse File »

04 May, 2024
1 commit
  • Fix bug in QPDFWriter::preserveObjectStreams ...
    02e89bbe
    Code failed to allow for QPDF::getCompressibleObjSet deleting objects
    from the object cache in case of multiple entries for the same object id.
    
    Add fuzz test case 68668.
    m-holger authored
    2024-05-04 10:55:30 +0100  
    Browse File »

04 Feb, 2024
1 commit
  • Handle parse error stream data (fixes #1123) ...
    cb0f390c
    A parse error in stream data in which stream data contained a nested
    object would cause a crash because qpdf was not correctly updating its
    internal state. Rework the QPDF json reactor to not be sensitive to
    parse errors in this way.
    Jay Berkenbilt authored
    2024-02-04 17:27:49 -0500  
    Browse File »

17 Jan, 2024
2 commits
  • Tighten checks for invalid indirect references during xref reconstruction
    f0343565
    m-holger authored
    2024-01-17 14:11:57 +0000  
    Browse File »
  • Tighten checks for invalid indirect references in QPDFParser
    ed43691b
    m-holger authored
    2024-01-17 13:15:13 +0000  
    Browse File »

12 Jan, 2024
1 commit
  • Fix null pointer issue on array copy
    ebb10f32
    Jay Berkenbilt authored
    2024-01-12 08:05:22 -0500  
    Browse File »

10 Jan, 2024
2 commits
  • Handle pages/under/overlay JSON file in begin ...
    12f7a446
    ...since they have to be handled before other options. It was working
    because, in both cases, `file` was alphabetically before the other
    keys, but this implementation gives a stronger guarantee.
    Jay Berkenbilt authored
    2024-01-10 16:45:14 -0500  
    Browse File »
  • Allow --file and --range with --pages ...
    34f013c1
    Accept --file and --range as named parameters in additional to
    allowing positional arguments. This is in preparation for adding
    additional flags.
    Jay Berkenbilt authored
    2024-01-10 16:44:17 -0500  
    Browse File »

06 Jan, 2024
1 commit
  • Attempt to find xref streams during recovery (fixes #1103)
    2994f9cf
    Jay Berkenbilt authored
    2024-01-06 16:51:03 -0500  
    Browse File »

03 Nov, 2023
1 commit
  • Remove redundant code in QPDFParser::parse and parseRemainder ...
    172cc613
    Also, fix test cases.
    m-holger authored
    2023-11-03 01:26:34 +0000  
    Browse File »

29 Jul, 2023
1 commit
  • Check for missing mediaboxes
    9a69cbba
    m-holger authored
    2023-07-29 13:16:40 +0100  
    Browse File »

01 Apr, 2023
2 commits
  • Refactor QPDF_Array::setItem and rename to setAt
    182c2480
    m-holger authored
    2023-04-01 13:56:29 +0100  
    Browse File »
  • Refactor QPDF_Array::insertItem and rename to insert
    1bb23d05
    m-holger authored
    2023-04-01 13:56:10 +0100  
    Browse File »

25 Feb, 2023
1 commit
  • Overlay/underlay: capture origial page as form XObject (fixes #904)
    78f7dc9f
    Jay Berkenbilt authored
    2023-02-25 12:58:51 -0500  
    Browse File »

09 Jan, 2023
1 commit
  • Fix annotations properly for page with no /Resources (fixes #827)
    e4e0f40f
    Jay Berkenbilt authored
    2023-01-09 07:31:39 -0500  
    Browse File »

26 Nov, 2022
2 commits
  • Fix logic for fixDanglingReferences
    ff42ea4e
    Jay Berkenbilt authored
    2022-11-26 18:13:46 -0500  
    Browse File »
  • Refactor QPDF::fixDanglingReferences
    3f632458
    m-holger authored
    2022-11-26 16:26:42 -0500  
    Browse File »

20 Nov, 2022
1 commit
  • Refactor QPDFObjectHandle::copyObject1
    b1eb1a95
    m-holger authored
    2022-11-20 12:07:22 -0500  
    Browse File »

19 Nov, 2022
1 commit
  • Correctly handle reuse of xref stream (fixes #809)
    e9980efe
    Jay Berkenbilt authored
    2022-11-19 17:03:17 -0500  
    Browse File »

06 Sep, 2022
1 commit
  • Clarify and improve QPDFPageObjectHelper::get*Box methods ...
    76cd7ea6
    Add copy_if_fallback and explain how it differs from copy_if_shared.
    Jay Berkenbilt authored
    2022-09-06 19:00:40 -0400  
    Browse File »

01 Sep, 2022
1 commit
  • Remove QPDFObjectHandle::newIndirect ...
    356b582c
    Modify QPDFParser::parse to call QPDF::getObject instead.
    m-holger authored
    2022-09-01 16:59:01 +0100  
    Browse File »

30 Aug, 2022
1 commit
  • Move QPDFObjectHandle::parseInternal to new class QPDFParser ...
    6670c685
    Part of #729
    m-holger authored
    2022-08-30 05:56:23 +0100  
    Browse File »

25 Aug, 2022
2 commits
  • Integrate names into state machine in QPDFTokenizer
    931fbb61
    m-holger authored
    2022-08-25 11:26:38 +0100  
    Browse File »
  • Refactor QPDFTokenizer::inHexstring
    e4fe0d5c
    m-holger authored
    2022-08-25 10:50:06 +0100  
    Browse File »

31 Jul, 2022
2 commits
  • Use calledgetallpages and pushedinheritedpageresources
    13cf35ce
    Jay Berkenbilt authored
    2022-07-31 16:23:17 -0400  
    Browse File »
  • Change --json-output format ...
    d01c4f88
    from "qpdf-v2" to "qpdf": [..., ...]
    Jay Berkenbilt authored
    2022-07-31 10:32:55 -0400  
    Browse File »

27 Jun, 2022
1 commit
  • Refactor QPDFObject creation and cloning ...
    f0a81780
    Move responsibility for creating shared pointers to objects and cloning from QPDFObjectHandle to QPDFObject.
    m-holger authored
    2022-06-27 12:47:02 -0400  
    Browse File »

20 May, 2022
5 commits
  • Test --update-from-json
    d0650980
    Jay Berkenbilt authored
    2022-05-20 11:10:12 -0400  
    Browse File »
  • Test (and fix) handling of dangling references
    6d4e3ba8
    Jay Berkenbilt authored
    2022-05-20 09:16:25 -0400  
    Browse File »
  • Explicitly test ignoring unknown keys in JSON input
    35b1e1c4
    Jay Berkenbilt authored
    2022-05-20 09:16:25 -0400  
    Browse File »
  • Major rework -- see long comments ...
    6f43bf8d
    * Replace --create-from-json=file with --json-input, which causes the
      regular input to be treated as json.
    * Eliminate --to-json
    * In --json=2, bring back "objects" and eliminate "objectinfo". Stream
      data is never present.
    * In --json-output=2, write "qpdf-v2" with "objects" and include
      stream data.
    Jay Berkenbilt authored
    2022-05-20 09:16:25 -0400  
    Browse File »
  • Parse objects; stream data is not yet handled
    7e7a9c43
    Jay Berkenbilt authored
    2022-05-20 09:16:25 -0400  
    Browse File »

16 May, 2022
1 commit
  • Implement top-level qpdf json parsing
    7fa5d177
    Jay Berkenbilt authored
    2022-05-16 13:41:40 -0400  
    Browse File »

30 Apr, 2022
2 commits
  • Mark weak encryption with API changes (fixes #576)
    8ccd3a8a
    Jay Berkenbilt authored
    2022-04-30 17:24:15 -0400  
    Browse File »
  • Using insecure crytpo from the CLI is now an error by default
    cff26040
    Jay Berkenbilt authored
    2022-04-30 17:23:58 -0400  
    Browse File »

24 Apr, 2022
2 commits
  • Deprecate replaceOrRemoveKey -- it's the same as replaceKey
    4be2f360
    Jay Berkenbilt authored
    2022-04-24 09:31:32 -0400  
    Browse File »
  • Re-add accidentally removed qpdf.testcov
    b8d0b0b6
    Jay Berkenbilt authored
    2022-04-24 09:18:04 -0400  
    Browse File »

18 Mar, 2022
1 commit
  • Remove old build files
    70d0d088
    Jay Berkenbilt authored
    2022-03-18 19:53:18 -0400  
    Browse Dir »