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
  • libqpdf
  • QPDF_json.cc
06 Feb, 2024
1 commit
  • Detect JSON object whose value is an indirect object
    3490090f
    Jay Berkenbilt authored
    2024-02-06 15:12:41 -0500  
    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 »

29 Jan, 2024
1 commit
  • Allow "n:/pdf-syntax" JSON syntax for dictionary keys
    8ff20b00
    m-holger authored
    2024-01-29 13:22:58 +0000  
    Browse File »

21 Dec, 2023
2 commits
  • Convert scientific notation in JSON to fixed point (fixes #1079) ...
    b670565a
    JSON accepts scientific notation, but PDF doesn't.
    Jay Berkenbilt authored
    2023-12-21 17:56:30 -0500  
    Browse File »
  • Add "n:/pdf-name" to qpdf JSON for binary names (fixes #1072)
    4400ce84
    Jay Berkenbilt authored
    2023-12-21 17:43:29 -0500  
    Browse File »

09 Jun, 2023
1 commit
  • Code tidy - Clang-Tidy rule modernize-use-override
    0ac005f0
    m-holger authored
    2023-06-09 15:52:56 +0100  
    Browse File »

27 May, 2023
1 commit
  • Code tidy - reflow comments and strings
    698a70e6
    m-holger authored
    2023-05-27 10:54:19 +0100  
    Browse File »

21 May, 2023
1 commit
  • Rerun clang-format
    60965d5f
    Jay Berkenbilt authored
    2023-05-21 13:35:09 -0400  
    Browse File »

20 May, 2023
2 commits
  • Rerun format_code (after merging clang-tidy PR)
    d740c6cc
    Jay Berkenbilt authored
    2023-05-20 14:52:19 -0400  
    Browse File »
  • Remove redundant 'virtual' specifiers
    ba5a3567
    m-holger authored
    2023-05-20 15:41:52 +0100  
    Browse File »

19 Feb, 2023
1 commit
  • Refactor removal of reserved objects in QPDF::JSONReactor ...
    f099246b
    At the end of importing a JSON file, scan the object cache for reserved
    objects and replace with null objects.
    m-holger authored
    2023-02-19 16:49:09 +0000  
    Browse File »

18 Feb, 2023
3 commits
  • Initialize QPDF::JSONReactor data members
    3df4ce6d
    m-holger authored
    2023-02-18 08:34:50 +0000  
    Browse File »
  • Move definition of QPDF::JSONReactor into QPDF_json ...
    da14ab4d
    Allow access to private header files when defining data members.
    m-holger authored
    2023-02-18 08:33:08 +0000  
    Browse File »
  • Refactor setting of object descriptions in QPDF::JSONReactor
    dab27c9b
    m-holger authored
    2023-02-18 08:33:08 +0000  
    Browse File »

21 Sep, 2022
1 commit
  • Replace calls to QUtil::int_to_string with std::to_string
    2e686948
    m-holger authored
    2022-09-21 15:57:14 -0400  
    Browse File »

06 Aug, 2022
1 commit
  • Fix parsing comment
    3ec43f05
    Jay Berkenbilt authored
    2022-08-06 14:24:08 -0400  
    Browse File »

01 Aug, 2022
1 commit
  • Add QPDF::getObject to replace getObjectByObjGen and getObjectByID ...
    1553868c
    For consistency with similar methods, e.g. replaceObject.
    m-holger authored
    2022-08-01 19:22:37 +0100  
    Browse File »

31 Jul, 2022
6 commits
  • Provide a simpler QPDF::writeJSON
    12d065c7
    Jay Berkenbilt authored
    2022-07-31 16:23:17 -0400  
    Browse File »
  • Use calledgetallpages and pushedinheritedpageresources
    13cf35ce
    Jay Berkenbilt authored
    2022-07-31 16:23:17 -0400  
    Browse File »
  • Change the output of --json to use "qpdf" instead of "objects"
    69820847
    Jay Berkenbilt authored
    2022-07-31 15:17:01 -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 »
  • Update docs and prepare QPDF::writeJSON for changes ...
    bb96499b
    Add additional parameters that will be needed to call QPDF::writeJSON
    in partial mode.
    Jay Berkenbilt authored
    2022-07-31 10:32:55 -0400  
    Browse File »
  • Fix/clarify meaning of depth parameter to json write methods
    0e3d4cdc
    Jay Berkenbilt authored
    2022-07-31 10:32:55 -0400  
    Browse File »

24 Jul, 2022
1 commit
  • QPDFObjGen : tidy QPDF private methods ...
    f7978db1
    Change method signatures to use QPDFObjGen.
    Use QPDFObjGen methods where possible.
    Remove redundant QPDF::objGenToIndirect.
    m-holger authored
    2022-07-24 16:02:35 +0100  
    Browse File »

05 Jun, 2022
1 commit
  • Code tidy: remove redundant variable in QPDF::writeJSON
    057bd659
    m-holger authored
    2022-06-05 18:46:21 -0400  
    Browse File »

30 May, 2022
1 commit
  • Update documentation for qpdf JSON v2
    0bd908b5
    Jay Berkenbilt authored
    2022-05-30 20:03:08 -0400  
    Browse File »

21 May, 2022
4 commits
  • Allow empty b: binary JSON strings
    752f43d4
    Jay Berkenbilt authored
    2022-05-21 17:36:32 -0400  
    Browse File »
  • Format code
    05460d40
    Jay Berkenbilt authored
    2022-05-21 16:11:42 -0400  
    Browse File »
  • JSON: Fix large file support
    c56a9ca7
    Jay Berkenbilt authored
    2022-05-21 09:43:45 -0400  
    Browse File »
  • Replace std::regex with validators for better performance
    47c093c4
    Jay Berkenbilt authored
    2022-05-21 08:43:21 -0400  
    Browse File »

20 May, 2022
7 commits
  • Exercise object description in tests
    9b2eb01e
    Jay Berkenbilt authored
    2022-05-20 14:23:32 -0400  
    Browse File »
  • 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 »
  • Support stream data -- not tested ...
    0fe8d447
    There are no automated tests yet, but committing work so far in
    preparation for some refactoring.
    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
3 commits
  • Implement top-level qpdf json parsing
    7fa5d177
    Jay Berkenbilt authored
    2022-05-16 13:41:40 -0400  
    Browse File »
  • Add scaffolding for QPDF JSON reactor
    8d42eb26
    Jay Berkenbilt authored
    2022-05-16 13:41:40 -0400  
    Browse File »
  • Add --create-from-json and --update-from-json arguments ...
    4fe2e06b
    Also add stubs for top-level QPDF methods (createFromJSON,
    updateFromJSON)
    Jay Berkenbilt authored
    2022-05-16 13:41:40 -0400  
    Browse File »