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
13 May, 2025
9 commits
  • 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
2 commits
  • Include filename in verbose output for overlay/underlay
    90a97bf4
    Jay Berkenbilt authored
    2024-01-11 06:13:57 -0500  
    Browse File »
  • Honor repeated overlay/underlay
    5b2e5430
    Jay Berkenbilt authored
    2024-01-11 06:13:57 -0500  
    Browse File »

10 Jan, 2024
2 commits
  • Allow --file and --range with --pages ...
    34f013c1
    Accept --file and --range as named parameters in additional to
    allowing positional arguments. This is in preparation for adding
    additional flags.
    Jay Berkenbilt authored
    2024-01-10 16:44:17 -0500  
    Browse File »
  • Fix arg parsing check with --collate ...
    20a13482
    The check for the number of items was in the wrong place.
    Jay Berkenbilt authored
    2024-01-10 06:49:31 -0500  
    Browse File »

05 Jan, 2024
1 commit
  • Implement --set-page-labels and supporting API (fixes #939)
    7cac433e
    Jay Berkenbilt authored
    2024-01-05 17:12:12 -0500  
    Browse File »

04 Jan, 2024
1 commit
  • Remove unused argument in private setWriterOptions method
    bfc5fc51
    Jay Berkenbilt authored
    2024-01-04 07:31:00 -0500  
    Browse File »

01 Jan, 2024
1 commit
  • Support comma-separated numeric values with --collate (fixes #505)
    d8d70ecc
    Jay Berkenbilt authored
    2024-01-01 18:57:32 -0500  
    Browse File »

24 Dec, 2023
1 commit
  • Remove --disable-signatures; incorporate into --remove-restrictions ...
    4ca185fd
    Rather than adding yet another flag that is almost never useful on its
    own, just have --remove-restrictions disable digital signatures. The
    operations are still separate in the API.
    Jay Berkenbilt authored
    2023-12-24 07:36:07 -0500  
    Browse File »

23 Dec, 2023
1 commit
  • Implement --disable-signatures (fixes #1015)
    909a0b3f
    Jay Berkenbilt authored
    2023-12-23 08:50:42 -0500  
    Browse File »

22 Dec, 2023
1 commit
  • Format code, bump clang-format version to 18
    7c0fdf85
    Jay Berkenbilt authored
    2023-12-22 21:45:10 -0500  
    Browse File »