• Allow QPDFObjectHandle::obj to be set prior resolving object.
    
    ot_unresolved has been appended to the list object types in order to
    preserve the output of existing test cases.
    m-holger authored
     
    Browse File »





  • 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
     
    Browse File »


  • 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
     
    Browse File »

  • 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
     
    Browse File »