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
  • QPDFJob.cc
31 Aug, 2025
1 commit
  • Refactor: replace `isNull` calls with `null`, remove redundant `QTC::TC` calls i… ...
    77cf2387
    …n `QPDFWriter` and `QPDFJob`.
    m-holger authored
    2025-08-31 13:47:15 +0100  
    Browse File »

30 Aug, 2025
2 commits
  • Refactor `QPDFJob`: centralize `QPDFAcroFormDocumentHelper` access via `acroform… ...
    faed776c
    …()` method, remove redundant helper functions, and streamline related logic for consistency and maintainability.
    m-holger authored
    2025-08-30 11:37:10 +0100  
    Browse File »
  • Refactor `QPDF`: centralize access to `QPDFAcroFormDocumentHelper` using a dedic… ...
    e64965e3
    …ated `acroform()` method and update related references for improved performance, consistency and maintainability.
    m-holger authored
    2025-08-30 10:57:21 +0100  
    Browse File »

09 Aug, 2025
1 commit
  • Refactor `QPDFJob`: replace `getArrayNItems` with `size`, use `emplace_back`, si… ...
    bfc2cf84
    …mplify array traversal, and centralize `empty` checks for improved clarity and efficiency.
    m-holger authored
    2025-08-09 17:25:29 +0100  
    Browse File »

08 Aug, 2025
2 commits
  • Refactor `ImageOptimizer`: enforce `final` overrides, switch to `unique_ptr` for… ...
    6b40c77d
    … pipelines and simplify conditions.
    m-holger authored
    2025-08-08 18:51:08 +0100  
    Browse File »
  • Allow null `callbacks` in content stream handling ...
    c47e332d
    Introduce null checks for `callbacks` in `QPDFObjectHandle` to allow content streams to be parsed without ParserCallbacks. Update `QPDFJob` to pass `nullptr` instead of `DiscardContents` for parsing.
    m-holger authored
    2025-08-08 13:25:55 +0100  
    Browse File »

13 May, 2025
12 commits
  • In QPDFJob::UnderOverlay refactor password handling to use std::string directly ...
    183e4407
    Replaced std::shared_ptr<char> with std::string for passwords in QPDFJob. This simplifies memory management and aligns the implementation with modern C++ standards, improving code readability and maintainability.
    m-holger authored
    2025-05-13 21:11:00 +0100  
    Browse File »
  • Refactor password handling in QPDFJob::PageSpec. ...
    74e76df0
    Replaced shared pointer usage with a plain std::string for passwords in PageSpec to simplify code and enhance readability. Updated relevant logic and function calls to align with this change, removing unnecessary shared pointer management. Updated TODO to reflect completion of this modernization step.
    m-holger authored
    2025-05-13 21:11:00 +0100  
    Browse File »
  • In QPDFJob refactor password handling to use std::string instead of shared_ptr. ...
    6e2a07e1
    Replaced `std::shared_ptr<char>` with `std::string` for password fields to simplify memory management and improve clarity. Updated relevant method implementations and function calls accordingly. This change ensures more straightforward and safer password handling throughout the codebase.
    m-holger authored
    2025-05-13 21:11:00 +0100  
    Browse File »
  • Refactor input file handling to use std::string and flag ...
    b53923d1
    Replaced raw shared pointers with std::string for `infilename` to improve simplicity and readability. Added a boolean `empty_input` flag to explicitly track empty input cases. Adjusted related logic and function calls accordingly for consistency.
    m-holger authored
    2025-05-13 21:11:00 +0100  
    Browse File »
  • In QPDFJob refactor output file handling to use std::string instead of shared_ptr<char> ...
    3a42f63a
    Replaced shared_ptr<char> with std::string for `outfilename` in QPDFJob, simplifying its usage and reducing unnecessary memory management overhead. Updated related conditional checks and logic to align with the updated type. These changes improve code readability and maintainability.
    m-holger authored
    2025-05-13 21:11:00 +0100  
    Browse File »
  • Refactor: Replace size and length checks with `.empty()` ...
    9e466084
    Simplified checks for empty containers and strings across the codebase using the `.empty()` method. This improves code readability and adheres to best practices for checking emptiness.
    m-holger authored
    2025-05-13 21:11:00 +0100  
    Browse File »
  • Replace `count()` with `contains()` for cleaner and more efficient checks ...
    1d7ebddb
    Converted multiple occurrences of `count()` to `contains()` throughout the codebase where the goal was to check key existence in containers. This improves code readability and aligns with modern C++ practices, particularly with C++20, making the intent more explicit and potentially aiding performance.
    m-holger authored
    2025-05-13 21:03:17 +0100  
    Browse File »
  • Refactor JSON key handling in QPDFJob::doJSON ...
    28aa951f
    Replace repeated key checks with `want_key` lambda for clarity and maintainability. Transition `Pl_String` from shared to unique ownership to reflect intent and improve resource management. No functional changes introduced.
    m-holger authored
    2025-05-13 13:26:20 +0100  
    Browse File »
  • Refactor JSON schema handling in QPDFJob::json_schema ...
    0ab45001
    Consolidate and replace inline JSON schema strings with static constexpr constants for better organization and maintainability. Functionality remains unchanged.
    m-holger authored
    2025-05-13 13:26:05 +0100  
    Browse File »
  • Refactor JSON schema key handling in QPDFJob::json_schema. ...
    4a2a8283
    Centralize JSON schema dictionary member addition by introducing `add_if_want_key`. This reduces redundancy and improves maintainability by consolidating repeated logic. No changes to functionality were made.
    m-holger authored
    2025-05-13 12:08:47 +0100  
    Browse File »
  • In QPDFJob::json_schema refactor key-check logic with reusable function. ...
    83fa78e2
    Replaces repetitive key-check conditions with a reusable lambda function `want_key`, improving code readability and maintainability. Simplifies logic across multiple conditional sections in `QPDFJob.cc`.
    m-holger authored
    2025-05-13 11:42:16 +0100  
    Browse File »
  • Refactor QPDFJob::checkConfiguration code to improve readability and consistency ...
    03fcdc63
    Replaced `else if` chains with standalone `if` statements for clarity. Updated conditional checks with modern coding practices, such as using `.contains()` instead of `.count()`. These changes enhance code maintainability and ensure better style consistency.
    m-holger authored
    2025-05-13 10:51:14 +0100  
    Browse File »

12 May, 2025
1 commit
  • Refactor: Eliminate unnecessary `this` qualifiers ...
    a60f8a99
    Simplified code by removing redundant `this` qualifiers where they are not essential, improving readability and alignment with coding standards. No changes were made to functionality.
    m-holger authored
    2025-05-12 19:47:31 +0100  
    Browse File »

04 May, 2025
1 commit
  • Use C API correctly for jpeglib (fixes #1424)
    d2f06937
    Jay Berkenbilt authored
    2025-05-04 12:05:25 -0400  
    Browse File »

06 Apr, 2025
1 commit
  • Add --jpeg-quality-level flag (fixes #488) ...
    021edd02
    Thanks to github user @cdosborn for the basic enhancement.
    Jay Berkenbilt authored
    2025-04-06 08:42:45 -0400  
    Browse File »

05 Apr, 2025
1 commit
  • Add Pl_DCT::make_compress_config
    e62f1e4e
    Jay Berkenbilt authored
    2025-04-05 21:10:02 -0400  
    Browse File »

30 Mar, 2025
1 commit
  • Enhance --rotate usage message (fixes #1410) ...
    249427ea
    Also, silently fix any angle that is a multiple of 90.
    m-holger authored
    2025-03-30 11:37:15 +0100  
    Browse File »

26 Mar, 2025
1 commit
  • Add new CLI option --remove-structure ...
    464d94af
    ... to remove the /Root /StructTreeRoot and /MarkInfo entries.
    m-holger authored
    2025-03-26 23:30:44 +0000  
    Browse File »

11 Mar, 2025
1 commit
  • Minor code formatting fixes
    a9b5ebef
    m-holger authored
    2025-03-11 13:47:23 +0000  
    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 »

03 Mar, 2025
1 commit
  • Un-inline QUtil functions ...
    67edbfd9
    Add new private Util.hh header to define inline functions and expose as
    ordinary functions in QUtil.
    m-holger authored
    2025-03-03 14:01:58 +0000  
    Browse File »

02 Mar, 2025
2 commits
  • Use QPDFObjectHandle::as_dictionary instead of ditems in library
    8d9b9a1a
    m-holger authored
    2025-03-02 20:51:32 +0000  
    Browse File »
  • Use QPDFObjectHandle::as_dictionary instead of getKeys in library
    b6f5330d
    m-holger authored
    2025-03-02 20:51:32 +0000  
    Browse File »

08 Feb, 2025
1 commit
  • Bump clang-format to version 20 and reformat ...
    38d8cc7f
    This improves indentation of long strings. This commit also fixes some
    trailing whitespace in ChangeLog.
    Jay Berkenbilt authored
    2025-02-08 11:17:57 -0500  
    Browse File »

04 Feb, 2025
1 commit
  • Add zopfli support (fixes #1323) ...
    133da3b6
    This requires a special build option.
    Jay Berkenbilt authored
    2025-02-04 06:17:34 -0500  
    Browse File »

16 Jan, 2025
1 commit
  • Revert "Merge pull request #1272 from m-holger/xref_table" ...
    0d5c57c1
    This reverts commit ff2a78f579ebdd06b417e34260a17dba06e71137, reversing
    changes made to 8f54319f7a6514110f4b05cbbf1cb1c9fc8cb6a0.
    m-holger authored
    2025-01-16 16:40:08 +0000  
    Browse File »

27 Sep, 2024
1 commit
  • Merge pull request #1274 from m-holger/meta ...
    50d385c8
    Add new commands --remove-metadata and --remove-info
    m-holger authored
    2024-09-27 11:26:34 +0100  
    Browse File »

18 Sep, 2024
1 commit
  • Move QPDF inner class definitions to new QPDF_private.hh
    f8e6274a
    m-holger authored
    2024-09-18 10:25:37 +0100  
    Browse File »

25 Aug, 2024
1 commit
  • Add new commands --remove-metadata and --remove-info
    8cb9bce7
    m-holger authored
    2024-08-25 13:10:11 +0100  
    Browse File »

18 Jun, 2024
1 commit
  • Handle null form field from annotation (fixes #1189) ...
    5e121c96
    A file that has Widget annotations that can't be mapped back to form
    fields would crash qpdf json.
    Jay Berkenbilt authored
    2024-06-18 08:51:15 -0400  
    Browse File »

07 Jun, 2024
1 commit
  • Format code
    16705741
    Jay Berkenbilt authored
    2024-06-07 08:07:51 -0400  
    Browse File »

16 Feb, 2024
1 commit
  • Refactor QPDFJob::doJSONObjects
    4f54508f
    m-holger authored
    2024-02-16 15:50:30 +0000  
    Browse File »

04 Feb, 2024
1 commit
  • Format code
    7caa9ddf
    Jay Berkenbilt authored
    2024-02-04 16:12:01 -0500  
    Browse File »

11 Jan, 2024
1 commit
  • Include filename in verbose output for overlay/underlay
    90a97bf4
    Jay Berkenbilt authored
    2024-01-11 06:13:57 -0500  
    Browse File »