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


  • Create unresolved objects only for objects in the xref table (except during
    parsing of the xref table). Do not add indirect nulls into the the object
    cache as the result of a cache miss during a call to getObject except
    during parsing or creation/updating from JSON. To support this behaviour,
    add new private methods getObjectForParser and getObjectForJSON.
    
    As a result of this change, dangling references are treated as direct nulls
    rather than indirect nulls.
    m-holger authored
     
    Browse Dir »
  • Fix writing reals with trailing '.' as JSON (fixes #1261)
    m-holger authored
     
    Browse Dir »