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
30 Jan, 2022
11 commits
  • QPDFJob: remove non-check from doFinalChecks
    8dcf6da2
    Jay Berkenbilt authored
    2022-01-30 13:11:03 -0500  
    Browse Dir »
  • Add basic framework for QPDFJob code generation
    c2168546
    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 »
  • QPDFJob: reorder functions, no other changes
    12396702
    Jay Berkenbilt authored
    2022-01-30 13:11:03 -0500  
    Browse Dir »
  • QPDFJob increment: static functions to member functions ...
    2394dd85
    Convert remaining static functions that take QPDFJob& as a parameter
    to member functions. Utility functions that don't take QPDFJob& remain
    static functions and can probably just stay that way since the keep
    extra complexity out of QPDFJob.hh.
    Jay Berkenbilt authored
    2022-01-30 13:11:03 -0500  
    Browse Dir »
  • QPDFJob: de-templatize do_process and do_process_once
    e2975b9e
    Jay Berkenbilt authored
    2022-01-30 13:11:03 -0500  
    Browse Dir »
  • QPDFJob increment: remove std::cout, std::cerr, whoami ...
    2f631997
    Remove remaining temporary duplication of hard-coded values and direct
    access to std::cout, std::cerr, and whoami in favor of parameters in
    QPDFJob. This moves a few more static methods into QPDFJob member
    functions.
    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 »
  • Implement QPDFArgParser based on ArgParser from qpdf.cc
    52817f0a
    Jay Berkenbilt authored
    2022-01-30 13:11:02 -0500  
    Browse Dir »
  • Fix doc typos
    0f9086e5
    m-holger authored
    2022-01-30 12:09:54 -0600  
    Browse Dir »

27 Jan, 2022
3 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 »
  • Remove some if statements and simplify some boolean expressions ...
    07db3200
    Use QPDFObjectHandle::isNameAndEquals, isDictionaryOfType and
    isStreamOfType.
    m-holger authored
    2022-01-27 07:31:12 -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
2 commits
  • Add missing characters from PDF doc encoding (fixes #606)
    37071065
    Jay Berkenbilt authored
    2022-01-11 15:55:19 -0500  
    Browse Dir »
  • Fix signed/unsigned char warning (fixes #604)
    77c31305
    Jay Berkenbilt authored
    2022-01-11 06:51:31 -0500  
    Browse Dir »

29 Dec, 2021
1 commit
  • Add QUtil::file_can_be_opened
    af91b5b5
    Jay Berkenbilt authored
    2021-12-29 13:41:02 -0500  
    Browse Dir »

20 Dec, 2021
2 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 »

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

17 Dec, 2021
4 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 »
  • Add Pl_Buffer::getMallocBuffer
    fee7489e
    Jay Berkenbilt authored
    2021-12-17 12:38:52 -0500  
    Browse Dir »

16 Dec, 2021
2 commits
  • C API: add functions for working with pages (fixes #594)
    9bb6f570
    Jay Berkenbilt authored
    2021-12-16 15:07:48 -0500  
    Browse Dir »
  • Use value rather than reference captures where possible
    245ca280
    Jay Berkenbilt authored
    2021-12-16 11:47:07 -0500  
    Browse Dir »

10 Dec, 2021
5 commits
  • 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 »
  • 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
3 commits
  • Refactor trap_errors to use std::function
    1faa2150
    Jay Berkenbilt authored
    2021-12-09 10:33:31 -0500  
    Browse Dir »
  • C API: qpdf_oh_is_initialized
    e3cc171d
    Jay Berkenbilt authored
    2021-12-09 10:33:31 -0500  
    Browse Dir »
  • C API: qpdf_get_last_string_length
    bef2c222
    Jay Berkenbilt authored
    2021-12-09 10:33:31 -0500  
    Browse Dir »

02 Dec, 2021
1 commit
  • C-API expose new_object as qpdf_oh_new_object
    b4fc9eb7
    m-holger authored
    2021-12-02 13:59:58 -0500  
    Browse Dir »

29 Nov, 2021
2 commits
  • Improve testing and error handling around operating before processing
    720ce9e8
    Jay Berkenbilt authored
    2021-11-29 07:42:36 -0500  
    Browse Dir »
  • Initialize QPDF::Members::file (fixes #584)
    ac17308c
    Jay Berkenbilt authored
    2021-11-29 07:16:34 -0500  
    Browse Dir »

19 Nov, 2021
1 commit
  • Ensure qpdf_oh handles returned by C-API functions are unique. ...
    4630b856
    Return new qpdf_oh from qpdf_oh_wrap_in_array when input is already an array.
    Update some doc comments in qpdf-c.h.
    m-holger authored
    2021-11-19 13:31:59 +0000  
    Browse Dir »