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
08 Feb, 2022
5 commits
  • Only update output version from files used as input ...
    d501e1c0
    If we're opening a PDF file to copy its encryption information or
    attachments, its version doesn't need to influence the output version.
    Jay Berkenbilt authored
    2022-02-08 13:49:22 -0500  
    Browse Dir »
  • Preserve input PDF version on pages/split-pages (fixes #610)
    f91b21c7
    Jay Berkenbilt authored
    2022-02-08 12:34:14 -0500  
    Browse Dir »
  • Add QPDF::getVersionAsPDFVersion
    cfd5147d
    Jay Berkenbilt authored
    2022-02-08 12:34:14 -0500  
    Browse Dir »
  • Add PDFVersion class
    8082af09
    Jay Berkenbilt authored
    2022-02-08 12:34:14 -0500  
    Browse Dir »
  • WHITESPACE ONLY -- expand tabs in source code ...
    cb769c62
    This comment expands all tabs using an 8-character tab-width. You
    should ignore this commit when using git blame or use git blame -w.
    
    In the early days, I used to use tabs where possible for indentation,
    since emacs did this automatically. In recent years, I have switched
    to only using spaces, which means qpdf source code has been a mixture
    of spaces and tabs. I have avoided cleaning this up because of not
    wanting gratuitous whitespaces change to cloud the output of git
    blame, but I changed my mind after discussing with users who view qpdf
    source code in editors/IDEs that have other tab widths by default and
    in light of the fact that I am planning to start applying automatic
    code formatting soon.
    Jay Berkenbilt authored
    2022-02-08 11:51:15 -0500  
    Browse Dir »

07 Feb, 2022
5 commits
  • Update for clean compile with POINTERHOLDER_TRANSITION=2
    c62e8e2b
    Jay Berkenbilt authored
    2022-02-07 17:38:22 -0500  
    Browse Dir »
  • Use make_array_pointer_holder ...
    3f22bea0
    This will be able to be replaced with QUtil::make_shared_array
    Jay Berkenbilt authored
    2022-02-07 17:38:22 -0500  
    Browse Dir »
  • Replace PointerHolder arrays with shared_ptr arrays where possible ...
    40f1946d
    Replace PointerHolder arrays wherever it can be done without breaking ABI.
    Jay Berkenbilt authored
    2022-02-07 17:38:22 -0500  
    Browse Dir »
  • Add QUtil::make_shared_array to help with PointerHolder transition
    df2f5c6a
    Jay Berkenbilt authored
    2022-02-07 14:08:46 -0500  
    Browse Dir »
  • Add getBufferSharedPointer() to Pl_Buffer and QPDFWriter
    cfaae47d
    Jay Berkenbilt authored
    2022-02-07 12:53:28 -0500  
    Browse Dir »

06 Feb, 2022
2 commits
  • C-API expose QPDFObjectHandle::getKeyIfDict
    5901fcad
    m-holger authored
    2022-02-06 11:21:15 -0500  
    Browse Dir »
  • Add method QPDFObjectHandle::getKeyIfDict
    83710603
    m-holger authored
    2022-02-06 11:21:15 -0500  
    Browse Dir »

05 Feb, 2022
7 commits
  • C-API expose QPDFObjectHandle::getValueAs... accessors
    2ed5f49a
    m-holger authored
    2022-02-05 19:40:30 -0500  
    Browse Dir »
  • Stop using std::iterator (fixes #618) ...
    af3f74de
    Create the typedefs directly in iterators rather than deriving from
    the deprecated std::iterator class.
    Jay Berkenbilt authored
    2022-02-05 11:29:25 -0500  
    Browse Dir »
  • Add operator ""_qpdf for creating QPDFObjectHandle literals
    7fb22740
    Jay Berkenbilt authored
    2022-02-05 11:29:25 -0500  
    Browse Dir »
  • Add qpdf_empty_pdf to C API
    b48a0ff0
    Jay Berkenbilt authored
    2022-02-05 11:29:25 -0500  
    Browse Dir »
  • API contract: qpdf_get_qpdf_version() returns a static
    8cf7f2bf
    Jay Berkenbilt authored
    2022-02-05 11:24:56 -0500  
    Browse Dir »
  • Improve use of std::unique_ptr ...
    5f3f7882
    * Use unique_ptr in place of shared_ptr in some cases
    * unique_ptr for arrays does not require a custom deleter
    * use std::make_unique (c++14) where possible
    Jay Berkenbilt authored
    2022-02-05 11:24:56 -0500  
    Browse Dir »
  • Add new QPDFObjectHandle::getValueAs... accessors
    e58b1174
    m-holger authored
    2022-02-05 11:24:35 -0500  
    Browse Dir »

04 Feb, 2022
8 commits
  • Update copyright for 2022
    cfaa2de8
    Jay Berkenbilt authored
    2022-02-04 16:36:22 -0500  
    Browse Dir »
  • Add a blank line after the first header included in each source
    2229e37e
    Jay Berkenbilt authored
    2022-02-04 16:31:31 -0500  
    Browse Dir »
  • Add qpdf version macros to qpdf/DLL.h
    8eab616d
    Jay Berkenbilt authored
    2022-02-04 13:41:01 -0500  
    Browse Dir »
  • Replace containers of PointerHolder with containers of std::shared_ptr ...
    abc300f0
    None of these are in the public API.
    Jay Berkenbilt authored
    2022-02-04 13:12:37 -0500  
    Browse Dir »
  • JSON: use std::shared_ptr internally
    f0c2e0ef
    Jay Berkenbilt authored
    2022-02-04 13:12:37 -0500  
    Browse Dir »
  • PointerHolder: deprecate getPointer() and getRefcount() ...
    9044a240
    Use get() and use_count() instead. Add #define
    NO_POINTERHOLDER_DEPRECATION to remove deprecation markers for these
    only.
    
    This commit also removes all deprecated PointerHolder API calls from
    qpdf's code except in PointerHolder's test suite, which must continue
    to test the deprecated APIs.
    Jay Berkenbilt authored
    2022-02-04 13:12:37 -0500  
    Browse Dir »
  • C-API add two binary UTF8 funtions ...
    95e7d36b
    add qpdf_oh_new_binary_unicode_string and qpdf_oh_get_binary_utf8_value
    m-holger authored
    2022-02-04 13:10:51 -0500  
    Browse Dir »
  • Fix --check-linearization of non-linearized files (fixes #615)
    1925ffd4
    m-holger authored
    2022-02-04 06:52:38 -0500  
    Browse Dir »

02 Feb, 2022
1 commit
  • Change QPDFExc type to unsupported for /Standard filter
    4d507251
    m-holger authored
    2022-02-02 14:07:32 -0600  
    Browse Dir »

01 Feb, 2022
7 commits
  • QPDFJob: let initializeFromArgv just take argv, not argc ...
    42bff9f4
    Let argv be a null-terminated array. There is already code that
    assumes this, and it makes it easier to construct the arguments.
    Jay Berkenbilt authored
    2022-02-01 13:50:58 -0500  
    Browse Dir »
  • Make QPDFArgParser accept const argv ...
    b02d37bc
    This makes it much more convention to use the initializeFromArgv
    functions since you can use string literals.
    Jay Berkenbilt authored
    2022-02-01 13:50:58 -0500  
    Browse Dir »
  • Add qpdfjob-c.h -- simple C API around parts of QPDFJob
    bc4e2320
    Jay Berkenbilt authored
    2022-02-01 09:04:55 -0500  
    Browse Dir »
  • Move QTC::TC for qpdf to QPDFJob ...
    03e67a28
    All the coverage cases that used to be in qpdf.cc are now in
    QPDFJob*.cc. It doesn't really matter, but better to follow the
    convention of starting with the class that includes the coverage call.
    Jay Berkenbilt authored
    2022-02-01 09:04:55 -0500  
    Browse Dir »
  • Move more code from qpdf.cc into QPDFJob
    b42f3e1d
    Jay Berkenbilt authored
    2022-02-01 09:04:55 -0500  
    Browse Dir »
  • QPDFJob: documentation
    cc5485da
    Jay Berkenbilt authored
    2022-02-01 09:04:55 -0500  
    Browse Dir »
  • generate_auto_job: generate overloaded config decls for optional ...
    5a7bb347
    For optional parameter/choices, generate an overloaded config method
    that takes no arguments. This makes it possible to convert from a bare
    argument to one that takes an optional parameter without breaking
    binary compatibility.
    Jay Berkenbilt authored
    2022-02-01 09:04:55 -0500  
    Browse Dir »

31 Jan, 2022
5 commits
  • Clean up documentation and help around json options
    59531166
    Jay Berkenbilt authored
    2022-01-31 18:40:11 -0500  
    Browse Dir »
  • Tweak short text for job schema help
    606420ab
    Jay Berkenbilt authored
    2022-01-31 18:26:03 -0500  
    Browse Dir »
  • QPDFJob json: make bare arguments expect the empty string ...
    21b92907
    Changing from bool requiring true to string requiring the empty string
    is more consistent with the CLI and makes it possible to add an
    optional parameter or choices later without breaking compatibility.
    Jay Berkenbilt authored
    2022-01-31 18:16:09 -0500  
    Browse Dir »
  • QPDFJob json: flatten json structure ...
    ea96330b
    Flatten everything to make it easier to map command-line flags to
    json. The old structure was an illusion anyway because there was no
    mechanism to enforce that things were in the right place. This also
    helps with future flexibility.
    Jay Berkenbilt authored
    2022-01-31 18:16:09 -0500  
    Browse Dir »
  • QPDFJob: add test cases
    47f33cec
    Jay Berkenbilt authored
    2022-01-31 15:57:45 -0500  
    Browse Dir »