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
30 Jan, 2022
11 commits
  • QPDFJob: allocate QPDFArgParser on stack ...
    b9cd693a
    The previous commits have removed all references to memory from
    QPDFArgParser from QPDFJob. This commit removes the constraint that
    QPDFArgParser remain in scope. This is a prerequisite to allowing JSON
    as an alternative way to initialize QPDFJob and to initialize it
    directly using a public API.
    Jay Berkenbilt authored
    2022-01-30 13:11:03 -0500  
    Browse Dir »
  • Add missing \f support for JSON string encoder
    b9af421e
    Jay Berkenbilt authored
    2022-01-30 13:11:03 -0500  
    Browse Dir »
  • Document how to add a command-line argument
    5c5e5ca2
    Jay Berkenbilt authored
    2022-01-30 13:11:03 -0500  
    Browse Dir »
  • Minor code cleanup
    a301cc53
    Jay Berkenbilt authored
    2022-01-30 13:11:03 -0500  
    Browse Dir »
  • QPDFJob increment: move arg parsing into QPDFJob ...
    bd89aac3
    Move ArgParser from qpdf.cc into QPDFJob.cc. It still works with
    millions of public member variables, but now qpdf.cc is minimal and
    just calls stable library functions.
    Jay Berkenbilt authored
    2022-01-30 13:11:03 -0500  
    Browse Dir »
  • Remove qpdf.cc version check ...
    23b64f83
    Remove comparison of qpdf CLI version with library. With almost all
    the functionality moving into the library, this check is no longer
    meaningful.
    Jay Berkenbilt authored
    2022-01-30 13:11:03 -0500  
    Browse Dir »
  • QPDFJob increment: get rid of exit, handle verbose ...
    1ddf5b4b
    Remove all calls to exit() from QPDFJob. Handle code that runs in
    verbose mode to enable it to make use of output streams and message
    prefix (whoami) from QPDFJob. This removes temporarily duplicated exit
    code logic and most access to whoami/std::cout outside of QPDFJob
    proper.
    Jay Berkenbilt authored
    2022-01-30 13:11:03 -0500  
    Browse Dir »
  • QPDFJob increment: basic QPDFJob structure ...
    0910e767
    Move most of the methods called from qpdf.cc after argument parsing
    into QPDFJob. In this increment, enough QPDFJob API has been added to
    handle the branch of QPDFJob::run() that creates output with an
    appropriate division between qpdf.cc and QPDFJob.
    
    There are temporary bits of code to enable everything to compile and
    pass the test suite, including some duplication and hard-coded values.
    Jay Berkenbilt authored
    2022-01-30 13:11:03 -0500  
    Browse Dir »
  • Prefix program name before exception message in qpdf CLI
    8c718b7e
    Jay Berkenbilt authored
    2022-01-30 13:11:02 -0500  
    Browse Dir »
  • Refactor arg parsing in qpdf.cc to use QPDFArgParser
    c60b4ea5
    Jay Berkenbilt authored
    2022-01-30 13:11:02 -0500  
    Browse Dir »
  • Implement QPDFArgParser based on ArgParser from qpdf.cc
    52817f0a
    Jay Berkenbilt authored
    2022-01-30 13:11:02 -0500  
    Browse Dir »

27 Jan, 2022
2 commits
  • Fix QPDFObjectHandle::isOrHasName ...
    8eca9d8f
    Ensure isOrHasName returns true if object is an array and the name is
    present anywhere in the array.
    m-holger authored
    2022-01-27 09:35:39 -0600  
    Browse Dir »
  • Allow testing for subtype without specifying type in isDictionaryOfType etc ...
    710d2e54
    Accept empty string as type parameter in
    QPDFObjectHandle::isDictionaryOfType and isStreamOfType
    to allow for dictionaries with optional type.
    m-holger authored
    2022-01-27 07:31:12 -0600  
    Browse Dir »

22 Jan, 2022
2 commits
  • Make a few whitespace fixes from last commit ...
    1b1b471c
    Commit by ejb@ql.org using m-holger as author so git annotate gives
    proper credit for changes.
    m-holger authored
    2022-01-22 09:14:53 -0500  
    Browse Dir »
  • Add new convenience methods QPDFObjectHandle::isNameAndEquals, etc ...
    8593b9fd
    Add methods isNameAndEquals, isDictionaryOfType, isStreamOfType
    m-holger authored
    2022-01-22 08:10:28 -0600  
    Browse Dir »

11 Jan, 2022
1 commit
  • Add missing characters from PDF doc encoding (fixes #606)
    37071065
    Jay Berkenbilt authored
    2022-01-11 15:55:19 -0500  
    Browse Dir »

05 Jan, 2022
2 commits
  • Move bash/zsh completion helpers to libtests/arg_parser
    0f1ffa12
    Jay Berkenbilt authored
    2022-01-05 18:13:25 -0500  
    Browse Dir »
  • Move filter-completion.pl to libtests/arg_parser
    4782b590
    Jay Berkenbilt authored
    2022-01-05 18:13:25 -0500  
    Browse Dir »

29 Dec, 2021
2 commits
  • Add QUtil::file_can_be_opened
    af91b5b5
    Jay Berkenbilt authored
    2021-12-29 13:41:02 -0500  
    Browse Dir »
  • Refactor arg parsing to allow help option with parameter
    ac0060ac
    Jay Berkenbilt authored
    2021-12-29 13:35:05 -0500  
    Browse Dir »

20 Dec, 2021
3 commits
  • Prepare 10.5.0 release
    04745320
    Jay Berkenbilt authored
    2021-12-20 14:51:46 -0500  
    Browse Dir »
  • Change names of qpdf_object_type_e enumerations ...
    d866f480
    They have to be ot_* rather than qpdf_ot_* for compatibility.
    
    * Different enumerated types are not assignment-compatible in C++, at
      least with strict compiler settings
    * While you can do `constexpr ot_xyz = ::qpdf_ot_xyz` in QPDFObject.hh to
      make QPDFObject::ot_xyz work, QPDFObject::object_type_e::ot_xyz will
      only work if the enumerated type names are the same.
    Jay Berkenbilt authored
    2021-12-20 14:51:45 -0500  
    Browse Dir »
  • test_driver: split runtest into separate functions ...
    cf7b2b57
    Too bad about git annotate but it was pretty crazy to have all those
    test cases together like that.
    Jay Berkenbilt authored
    2021-12-20 12:40:03 -0500  
    Browse Dir »

19 Dec, 2021
1 commit
  • Further improvements to handling binary strings
    ea73bf72
    Jay Berkenbilt authored
    2021-12-19 14:30:45 -0500  
    Browse Dir »

18 Dec, 2021
1 commit
  • Fix LGTM alerts
    d3501c4f
    Jay Berkenbilt authored
    2021-12-18 16:25:53 -0500  
    Browse Dir »

17 Dec, 2021
3 commits
  • C API: simplify new error handling and improve documentation
    ddbe5917
    Jay Berkenbilt authored
    2021-12-17 15:59:47 -0500  
    Browse Dir »
  • C-API expose QPDFObjectHandle::getTypeCode and getTypeName (fixes #597)
    f6293bd9
    m-holger authored
    2021-12-17 14:24:43 -0500  
    Browse Dir »
  • C API: add several stream functions (fixes #596)
    feafcc4e
    Jay Berkenbilt authored
    2021-12-17 13:28:11 -0500  
    Browse Dir »

16 Dec, 2021
3 commits
  • Output C test n done at the end of each qpdf-ctest
    40249536
    Jay Berkenbilt authored
    2021-12-16 15:40:56 -0500  
    Browse Dir »
  • C API: add functions for working with pages (fixes #594)
    9bb6f570
    Jay Berkenbilt authored
    2021-12-16 15:07:48 -0500  
    Browse Dir »
  • qpdf-ctest: outfile2 -> xarg
    f072be03
    Jay Berkenbilt authored
    2021-12-16 11:51:16 -0500  
    Browse Dir »

10 Dec, 2021
7 commits
  • Clarify docs around @filename and leading/trailing space
    08bcf644
    Jay Berkenbilt authored
    2021-12-10 15:52:28 -0500  
    Browse Dir »
  • Handle bitstream overflow errors more gracefully (fixes #581) ...
    af2a71aa
    * Make it a runtime error, not a logic error
    * Include additional information
    * Capture it properly in checkLinearization
    Jay Berkenbilt authored
    2021-12-10 15:37:35 -0500  
    Browse Dir »
  • C API: expose functions for indirect objects (fixes #588)
    1c62c2a3
    Jay Berkenbilt authored
    2021-12-10 14:57:35 -0500  
    Browse Dir »
  • Expose QPDFObjectHandle::addTokenFilter (fixes #580)
    8e0b1533
    Jay Berkenbilt authored
    2021-12-10 13:37:07 -0500  
    Browse Dir »
  • C API: overhaul error handling ...
    72c10d86
    * Handle error conditions that occur when using the object handle
      interfaces. In the past, some exceptions were not correctly
      converted to errors or warnings.
    * Add more detailed information to qpdf-c.h
    * Make it possible to work more explicitly with uninitialized objects
    Jay Berkenbilt authored
    2021-12-10 12:16:02 -0500  
    Browse Dir »
  • Use a specific error code for type warnings and clarify docs
    3340dbe9
    Jay Berkenbilt authored
    2021-12-10 11:15:49 -0500  
    Browse Dir »
  • Add missing unit test for register progress reporter in C API ...
    b2b2a175
    It was exercised in the pdf-linearize example but not in qpdf-ctest.
    Jay Berkenbilt authored
    2021-12-10 09:11:56 -0500  
    Browse Dir »

09 Dec, 2021
2 commits
  • Split qpdf-ctest test 24 into multiple tests ...
    09f37372
    Thanks for the nudge from m-holger!
    Jay Berkenbilt authored
    2021-12-09 15:21:19 -0500  
    Browse Dir »
  • C API: qpdf_oh_is_initialized
    e3cc171d
    Jay Berkenbilt authored
    2021-12-09 10:33:31 -0500  
    Browse Dir »