• - Add null pointer checks for schema objects.
    - Refactor `checkSchemaInternal` for better readability and maintainability.
    - Replace redundant error construction logic with lambda-based approach.
    - Simplify array and dictionary schema handling.
    - Remove unused test coverage statistics.
    m-holger authored
     
    Browse Dir »




  • Simplify integer value retrieval by introducing a templated `value` method in the `Integer` class. Replace redundant exception handling logic across multiple functions with this unified approach. Streamline type conversions and improve readability.
    m-holger authored
     
    Browse Dir »




  • Refactor array handling in `QPDFObjectHandle`: replace `int` with `size_t` for size and index operations, introduce utility functions for type conversions, and simplify sparse array logic.
    m-holger authored
     
    Browse Dir »










  • Change the return type to a std::pair<bool, QPDFObjectHandle> in order to
    allow a default constructed object handle (which is currently returned to
    indicate failure) to become a valid object.
    m-holger authored
     
    Browse Dir »



  • GCC 15 starts to no longer include this by default, requiring it to be
    explicitly included.
    
    Error message:
    libtests/cxx11.cc:75:16: error: ‘uint8_t’ was not declared in this scope
       75 |     check_size<uint8_t>(1, false);
          |                ^~~~~~~
    libtests/cxx11.cc:10:1: note: ‘uint8_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’
        9 | #include <regex>
      +++ |+#include <cstdint>
       10 | #include <type_traits>
    
    Signed-off-by: Christopher Fore <csfore@posteo.net>
    Christopher Fore authored
     
    Browse Dir »