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

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

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
















  • This is in preparation for restoring a QPDFObject.hh to ease the
    transition on qpdf_object_type_e.
    
    This commit was created by
    * Renaming QPDFObject.cc and QPDFObject.hh
    * Replacing QPDFObject\b with QPDFValueProxy (where \b is word
      boundary)
    * Running format-code
    * Manually resorting files in libqpdf/CMakeLists.txt
    * Manually refilling the comment in QPDF.hh near class Resolver
    Jay Berkenbilt authored
     
    Browse File »