Logo white

OpenSystemsDevelopment / qpdf

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • Commits 4,691
  • Compare
  • Branches 1
  • Tags 0
  • qpdf
  • libqpdf
  • QPDF_Stream.cc
06 Nov, 2025
1 commit
  • Update `Stream::copy_data_to` to avoid unnecessary replacement filters and decod… ...
    8a9015bd
    …e parameters with their existing values.
    m-holger authored
    2025-11-06 10:46:53 +0000  
    Browse File »

15 Oct, 2025
2 commits
  • Refactor `Config` interface: add accessor and mutator methods for configuration … ...
    b520c150
    …fields, replace direct member access across the codebase, and streamline related logic.
    m-holger authored
    2025-10-15 20:45:02 +0100  
    Browse File »
  • Refactor `QPDF` configuration: encapsulate related fields in `Doc::Config`, upda… ...
    49010866
    …te usage throughout the codebase, and streamline configurations.
    m-holger authored
    2025-10-15 19:10:45 +0100  
    Browse File »

13 Oct, 2025
1 commit
  • Refactor `Doc::Objects`: extend `Common` inheritance, streamline constructors, a… ...
    8486b9de
    …nd improve encapsulation.
    m-holger authored
    2025-10-13 12:10:28 +0100  
    Browse File »

09 Oct, 2025
5 commits
  • Refactor `Streams::Copier`: replace `copied_streams` with `copied_providers`, st… ...
    c99a4eaf
    …reamline stream registration, and improve encapsulation.
    m-holger authored
    2025-10-09 13:41:28 +0100  
    Browse File »
  • Refactor `Streams::Copier`: move implementation to `QPDF_Stream.cc` and improve encapsulation.
    c59c6a7d
    m-holger authored
    2025-10-09 12:48:36 +0100  
    Browse File »
  • Refactor stream copying: move `copyStreamData` logic into `Stream::copy_data_to`… ...
    19073b46
    … and streamline stream handling.
    m-holger authored
    2025-10-09 12:10:43 +0100  
    Browse File »
  • Refactor `copyStreamData`: rename parameters for clarity, streamline stream data… ...
    171027b1
    … handling, and enhance encapsulation.
    m-holger authored
    2025-10-09 11:41:41 +0100  
    Browse File »
  • Move `copyStreamData` implementation from `QPDF.cc` to `QPDF_Stream.cc`.
    9ad84bae
    m-holger authored
    2025-10-09 11:33:02 +0100  
    Browse File »

07 Oct, 2025
1 commit
  • Refactor `Streams` class: move implementation to `Doc::Objects::Streams`, improv… ...
    e10932f3
    …e encapsulation, and streamline stream data handling.
    m-holger authored
    2025-10-07 19:33:50 +0100  
    Browse File »

06 Oct, 2025
5 commits
  • Refactor stream copying: simplify `replaceStreamData` logic and remove redundant… ...
    403dbd5f
    … `StreamDataProvider` management.
    m-holger authored
    2025-10-06 15:28:11 +0100  
    Browse File »
  • Refactor `QPDFObjectHandle::copyStream`: move stream copying logic to `Stream`.
    d207f615
    m-holger authored
    2025-10-06 15:25:21 +0100  
    Browse File »
  • Refactor: streamline `Stream` dictionary access and simplify `isRootMetadata` logic
    f797de7b
    m-holger authored
    2025-10-06 15:25:21 +0100  
    Browse File »
  • Add default special member functions to `Stream` class ...
    41228e0d
    Implement default constructor, copy/move constructors, and assignment operators for `Stream`. Add overloads for initializing `Stream` with `QPDFObjectHandle`.
    m-holger authored
    2025-10-06 15:25:21 +0100  
    Browse File »
  • Refactor `ObjectHandle` to introduce `offset()` method ...
    38f45c73
    Replace `getParsedOffset()` with the new `offset()` method across `QPDFObjectHandle` and related classes for consistent offset handling. Simplify logic and remove redundant `getParsedOffset()` implementation.
    m-holger authored
    2025-10-06 15:23:44 +0100  
    Browse File »

05 Oct, 2025
1 commit
  • Move `Pipe` to `QPDF::Doc::Streams` and update references ...
    09d758b0
    Relocate `Pipe` functionality to `QPDF::Doc::Streams` for improved encapsulation of stream-related logic. Adjust all references to use the new placement.
    m-holger authored
    2025-10-05 12:00:00 +0100  
    Browse File »

07 Sep, 2025
1 commit
  • Refactor `QPDF_Stream`: replace `getKey` and `getName` with `Name`, `Dictionary`… ...
    4cfe44a4
    …, and `Array` for improved clarity and consistency, and simplify `/Filter` and `/DecodeParms` handling.
    m-holger authored
    2025-09-07 12:38:35 +0100  
    Browse File »

31 Aug, 2025
1 commit
  • Refactor: replace `isNull` calls with `null` in `QPDF` and remove redundant `QTC::TC` calls.
    fe92a61d
    m-holger authored
    2025-08-31 13:47:15 +0100  
    Browse File »

20 Aug, 2025
1 commit
  • Refactor `Array` API: replace `at` with `get` for improved clarity, update tests… ...
    091580cc
    … to use subscript operators, and simplify object access logic.
    m-holger authored
    2025-08-20 14:06:13 +0100  
    Browse File »

20 Jul, 2025
1 commit
  • Refactor `QPDF_Stream` and related classes to replace `Buffer` usage with `std::… ...
    8a6b3582
    …string`, improving performance, simplifying stream data handling, and reducing dependency on `BufferInputSource`.
    m-holger authored
    2025-07-20 16:00:17 +0100  
    Browse File »

11 May, 2025
7 commits
  • Fix stream filter handling. ...
    8f3f5099
    qpdf permits replacing standard stream filters with user provided filters.
    #1457 incorrectly removed that option.
    m-holger authored
    2025-05-11 18:17:41 +0100  
    Browse File »
  • Refactor stream filtering logic for empty streams ...
    28e756f1
    Introduced explicit checks for empty streams and refined filtering conditions for improved clarity and correctness.
    m-holger authored
    2025-05-11 14:06:44 +0100  
    Browse File »
  • Refactor SF_Crypt to use `final` and improve `setDecodeParms`. ...
    5806e305
    Updated `SF_Crypt` class methods and destructor to use the `final` specifier for clarity and stricter override rules. Refactored `setDecodeParms` logic for better readability and accurate handling of dictionary keys. Other minor adjustments contribute to code maintainability and correctness.
    m-holger authored
    2025-05-11 11:41:25 +0100  
    Browse File »
  • Refactor filter name expansion logic in QPDF_Stream ...
    f126bfa7
    Removed `expand_filter_name` method and integrated its functionality directly into `filter_factory` for improved clarity and maintainability. Consolidated filter handling logic to eliminate redundant operations and streamline code execution.
    m-holger authored
    2025-05-11 11:37:33 +0100  
    Browse File »
  • Refactor stream filtering to simplify decode-level handling. ...
    96228864
    Replaced individual compression flags with a unified decode-level parameter for stream filtering. Introduced a helper function to handle filtering conditions, reducing redundancy and improving readability. Removed unused code and updated related tests to reflect these changes.
    m-holger authored
    2025-05-11 11:36:45 +0100  
    Browse File »
  • Refactor stream logic for clarity and reliability ...
    1527bf29
    Stream provider logic has been streamlined by removing unnecessary variables and conditional checks. Adjusted handling of mismatched or missing stream lengths to improve code readability and maintainability.
    m-holger authored
    2025-05-11 11:27:29 +0100  
    Browse File »
  • Refactor stream handling for clarity and efficiency ...
    98925989
    Replaced shared_ptr with unique_ptr for pipeline management, reducing overhead and improving ownership semantics. Simplified conditional checks and modernized code to enhance readability by removing redundant variables and adjusting pointer usages. This refactor ensures better maintainability and minor performance gains in stream processing.
    m-holger authored
    2025-05-11 11:15:39 +0100  
    Browse File »

10 May, 2025
10 commits
  • Simplify decode parameters handling in streams ...
    5f347f35
    Refactored the handling of /DecodeParms by removing unnecessary vector creation and directly accessing elements in the decode array. This improves code clarity and maintains consistency with filters processing.
    m-holger authored
    2025-05-10 20:37:20 +0100  
    Browse File »
  • Refactor decode parameters handling in QPDF_Stream. ...
    36e92e03
    Simplified and reorganized logic for handling /DecodeParms in streams. Ensured proper initialization and updated filter checks for lossy and specialized compression, improving code clarity and maintainability.
    m-holger authored
    2025-05-10 20:37:20 +0100  
    Browse File »
  • Fix /DecodeParms handling logic inconsistency ...
    d9ae41b0
    Moved the conditional check for /DecodeParms inconsistency into the loop to ensure clearer handling when filters are non-empty. This improves code structure and maintains robustness for edge cases encountered in the wild.
    m-holger authored
    2025-05-10 20:37:20 +0100  
    Browse File »
  • Refactor decode object handling in QPDF_Stream.cc ...
    9cdf980f
    Simplified the logic for handling /DecodeParms by using `as_array` and modernized code with `auto` and `emplace_back`. This improves code readability and aligns with modern C++ practices.
    m-holger authored
    2025-05-10 20:37:20 +0100  
    Browse File »
  • Simplify stream filtering logic and remove unused variable. ...
    a03c5fce
    Removed the unnecessary `filterable` variable and streamlined the logic for handling stream decoding parameters. These changes eliminate redundant checks, improve readability, and ensure clarity in flow control for filter processing.
    m-holger authored
    2025-05-10 20:37:20 +0100  
    Browse File »
  • Refactor stream filter handling for better array support ...
    9a84ef3b
    Replaced manual array handling with cleaner iteration using `as_array`. This improves code readability and ensures more robust processing of stream filter arrays.
    m-holger authored
    2025-05-10 20:37:20 +0100  
    Browse File »
  • Refactor stream filter handling for improved validation. ...
    56c43934
    Simplify and reorganize parsing logic to replace explicit filter name collection with direct filter creation. Added validation for unsupported filters, ensuring filters are cleared and errors returned when necessary. This improves code clarity and robustness.
    m-holger authored
    2025-05-10 20:37:20 +0100  
    Browse File »
  • Refactor stream filter handling for improved modularity ...
    772cd8d5
    Moved stream filter factory logic into `Members::filter_factory` for better encapsulation and maintainability. Removed redundant static filter factory map and improved error handling for invalid stream filter configurations.
    m-holger authored
    2025-05-10 20:37:20 +0100  
    Browse File »
  • Refactor filter name handling in QPDF_Stream. ...
    ab806259
    Moved `expand_filter_name` calls to maintain uniformity and avoid redundant processing in filter handling. This ensures cleaner and more structured code without changing functionality.
    m-holger authored
    2025-05-10 20:37:20 +0100  
    Browse File »
  • Refactor filter name expansion logic into a dedicated method ...
    c82c6d0a
    Moved the filter abbreviation expansion logic from a static map to a new `expand_filter_name` method in `QPDF_Stream::Members`. This simplifies the code, improves maintainability, and consolidates the logic for easier testing and updates.
    m-holger authored
    2025-05-10 20:37:20 +0100  
    Browse File »

05 Apr, 2025
1 commit
  • Fix logic around cleartext metadata (fixes #1368) ...
    8720065c
    Only top-level XMP metadata is supposed to be left unencrypted. All
    other metadata is not treated specially.
    Jay Berkenbilt authored
    2025-04-05 18:06:19 -0400  
    Browse File »

06 Mar, 2025
1 commit
  • Move QPDF inner class definitions to new QPDF_private.hh
    5c866633
    m-holger authored
    2025-03-06 14:12:27 +0000  
    Browse File »

02 Mar, 2025
1 commit
  • Refactor QPDFObject to use std::variant instead of std::shared_pointer
    8d7ed764
    m-holger authored
    2025-03-02 20:45:49 +0000  
    Browse File »