• The simple CMake test that printf("%ld", timezone) to tell if HAVE_EXTERN_LONG_TIMEZONE, incorrectly saw an int after casting FreeBSD's char * timezone(int zone, int dst) pointer function to an int. By dividing it by 60 (as will occur in the .cc file), we ensure the test program to fail and thus HAVE_EXTERN_LONG_TIMEZONE not to be defined.
    Guillaume Outters authored
     
    Browse Dir »





  • Move methods responsible for loading or keeping track of objects to
    QPDF_objects.cc.
    
    The split was part of the reverted #1297. Reintroducing it now makes it
    easier/safer to keep the work to refactor the xref and object tables in
    sync with main.
    m-holger authored
     
    Browse Dir »





  • Figuring out which classes are part of the public API by using library
    symbols is fragile (dependent on specific compiler optimizations) and
    unreliable (misses some inline things). Instead, use castxml, a tool
    that parses C++ to an abstract syntax tree and generates XML, to get a
    reliable accounting of public classes and their sizes.
    Jay Berkenbilt authored
     
    Browse Dir »
  • - Add missing export for operator QPDFObjGen.
    
    - Fix handling of indirect references. The use of the type_code method
      in various switch statements bypassed the special handling of
      ::ot_reference objects. Replace with new method resolved_type_code.
    
    Add tests for ::ot_reference objects.
    m-holger authored
     
    Browse Dir »
  • Enhance error checking of object stream object ids and offsets
    m-holger authored
     
    Browse Dir »