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
  • TODO
19 Jun, 2022
3 commits
  • Add qpdfjob_register_progress_reporter
    bb0ea2f8
    Jay Berkenbilt authored
    2022-06-19 08:46:58 -0400  
    Browse File »
  • Add QPDFJob::registerProgressReporter
    87412eb0
    Jay Berkenbilt authored
    2022-06-19 08:46:58 -0400  
    Browse File »
  • Add examples for output capture (fixes #691)
    8e361d98
    Jay Berkenbilt authored
    2022-06-19 08:46:58 -0400  
    Browse File »

18 Jun, 2022
5 commits
  • Expose exit code values to C API via Constants.h
    28cc3692
    Jay Berkenbilt authored
    2022-06-18 11:36:11 -0400  
    Browse File »
  • Use the default logger for other writes to stdout/stderr ...
    e0720eaa
    When there is no context for writing output or error messages, use the
    default logger.
    Jay Berkenbilt authored
    2022-06-18 10:38:50 -0400  
    Browse File »
  • Use "save" logger when saving data to standard output ...
    83be2191
    This includes the output PDF, streams from --show-object and
    attachments from --save-attachment. This also enables --verbose and
    --progress to work with saving to stdout.
    Jay Berkenbilt authored
    2022-06-18 09:54:40 -0400  
    Browse File »
  • TODO: update JSON and other changes
    3fe6a1f5
    Jay Berkenbilt authored
    2022-06-18 09:02:55 -0400  
    Browse File »
  • TODO: plan for QPDFLogger
    a3c890c0
    Jay Berkenbilt authored
    2022-06-18 09:02:55 -0400  
    Browse File »

05 Jun, 2022
1 commit
  • JSON doc fixes and ideas based on discussion with m-holger
    7cae125e
    Jay Berkenbilt authored
    2022-06-05 19:34:28 -0400  
    Browse File »

30 May, 2022
4 commits
  • Update documentation for qpdf JSON v2
    0bd908b5
    Jay Berkenbilt authored
    2022-05-30 20:03:08 -0400  
    Browse File »
  • In json mode, reveal recovered user password when otherwise unavailable
    b7bbf12e
    Jay Berkenbilt authored
    2022-05-30 20:03:08 -0400  
    Browse File »
  • Add additional information when listing attachments
    f049a77c
    Jay Berkenbilt authored
    2022-05-30 20:03:08 -0400  
    Browse File »
  • TODO notes
    6a7c4583
    Jay Berkenbilt authored
    2022-05-30 20:03:08 -0400  
    Browse File »

21 May, 2022
4 commits
  • TODO: clean up remaining work for json v2
    f1a9ba0c
    Jay Berkenbilt authored
    2022-05-21 18:01:02 -0400  
    Browse File »
  • TODO: notes on QPDFPagesTree
    62d47bff
    Jay Berkenbilt authored
    2022-05-21 17:20:12 -0400  
    Browse File »
  • Add json to performance tests
    70ccd807
    Jay Berkenbilt authored
    2022-05-21 10:04:33 -0400  
    Browse File »
  • Add json to large file test
    905f47a5
    Jay Berkenbilt authored
    2022-05-21 09:43:45 -0400  
    Browse File »

20 May, 2022
8 commits
  • Exercise object description in tests
    9b2eb01e
    Jay Berkenbilt authored
    2022-05-20 14:23:32 -0400  
    Browse File »
  • Add test for bad data and bad datafile
    6c2fb5b8
    Jay Berkenbilt authored
    2022-05-20 13:33:30 -0400  
    Browse File »
  • Test --update-from-json
    d0650980
    Jay Berkenbilt authored
    2022-05-20 11:10:12 -0400  
    Browse File »
  • Explicitly test ignoring unknown keys in JSON input
    35b1e1c4
    Jay Berkenbilt authored
    2022-05-20 09:16:25 -0400  
    Browse File »
  • Tests with manually constructed qpdf json
    a83b7b06
    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
2 commits
  • Implement top-level qpdf json parsing
    7fa5d177
    Jay Berkenbilt authored
    2022-05-16 13:41:40 -0400  
    Browse File »
  • TODO: solidify work for JSON to PDF
    ed613003
    Jay Berkenbilt authored
    2022-05-16 13:41:40 -0400  
    Browse File »

14 May, 2022
2 commits
  • Split qpdf.test into multiple test suites ...
    173b944e
    This makes it a lot easier to run parts of the test suite.
    Jay Berkenbilt authored
    2022-05-14 17:35:06 -0400  
    Browse File »
  • Update qtest-driver to log invalid tests ...
    4b642caf
    This is taken from an unrelased change to qtest.
    Jay Berkenbilt authored
    2022-05-14 17:35:06 -0400  
    Browse File »

08 May, 2022
7 commits
  • TODO note about linux binary distribution runpath
    02e8ef6f
    Jay Berkenbilt authored
    2022-05-08 13:45:20 -0400  
    Browse File »
  • Test inline stream data with different decode levels
    2e87d593
    Jay Berkenbilt authored
    2022-05-08 13:45:20 -0400  
    Browse File »
  • Test json v2 with invalid stream data
    f08f3989
    Jay Berkenbilt authored
    2022-05-08 13:45:20 -0400  
    Browse File »
  • Implement JSON v2 output
    c76536dd
    Jay Berkenbilt authored
    2022-05-08 13:45:20 -0400  
    Browse File »
  • Prepare test suite for json v2
    8d348974
    Jay Berkenbilt authored
    2022-05-08 13:45:20 -0400  
    Browse File »
  • Fix typo in json output key name ...
    15272662
    moddify -> modify. Also carefully spell checked all remaining keys by
    splitting them into words and running a spell checker, not just
    relying on visual proofreading. That was the only one.
    Jay Berkenbilt authored
    2022-05-08 13:45:20 -0400  
    Browse File »
  • Implement JSON v2 for Stream ...
    1bc8abfd
    Not fully exercised in this commit
    Jay Berkenbilt authored
    2022-05-08 13:45:20 -0400  
    Browse File »

07 May, 2022
4 commits
  • Prepare code for JSON v2 ...
    16f4f94c
    Update getJSON() methods and calls to them
    Jay Berkenbilt authored
    2022-05-07 11:12:01 -0400  
    Browse File »
  • Objectinfo json: write incrementally and in numeric order ...
    a9fbbd5d
    This script was used on test data:
    
    ----------
    #!/usr/bin/env python3
    import json
    import sys
    import re
    
    def json_dumps(data):
        return json.dumps(data, ensure_ascii=False,
                          indent=2, separators=(',', ': '))
    
    for filename in sys.argv[1:]:
        with open(filename, 'r') as f:
            data = json.loads(f.read())
        if 'objectinfo' not in data:
            continue
        trailer = None
        to_sort = []
        for k, v in data['objectinfo'].items():
            if k == 'trailer':
                trailer = v
            else:
                m = re.match(r'^(\d+) \d+ R', k)
                if m:
                    to_sort.append([int(m.group(1)), k, v])
        newobjectinfo = {x[1]: x[2] for x in sorted(to_sort)}
        if trailer is not None:
            newobjectinfo['trailer'] = trailer
        data['objectinfo'] = newobjectinfo
    print(json_dumps(data))
    ----------
    Jay Berkenbilt authored
    2022-05-07 08:26:31 -0400  
    Browse File »
  • Test json against schema only on demand ...
    7f65a5c2
    Testing json against schema requires an in-memory copy, so do it only
    when requested by the test suite.
    Jay Berkenbilt authored
    2022-05-07 08:26:31 -0400  
    Browse File »
  • TODO: solidify remaining json v2 work
    2a92b1b0
    Jay Berkenbilt authored
    2022-05-07 08:26:31 -0400  
    Browse File »