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
20 Sep, 2025
16 commits
  • Refactor `QPDFJob`: move file-related logic to `Inputs`, consolidate file proces… ...
    7aab94c8
    …sing, and simplify page specification handling.
    m-holger authored
    2025-09-20 00:06:52 +0100  
    Browse File »
  • Refactor `QPDFJob`: remove redundant `orig_pages` member in `Selection`, consoli… ...
    b56890db
    …date page handling logic in `Input`, and optimize page range processing.
    m-holger authored
    2025-09-20 00:06:52 +0100  
    Browse File »
  • Refactor `QPDFJob::handlePageSpecs`: add `password` to `Input`, revise file-open… ...
    69d21018
    …ing logic, and streamline password handling and verbose output.
    m-holger authored
    2025-09-20 00:06:52 +0100  
    Browse File »
  • Refactor `QPDFJob`: replace `page_spec_cfis` map with `cfis` in `Input`, streaml… ...
    20021372
    …ine file handling and resource management logic.
    m-holger authored
    2025-09-20 00:06:52 +0100  
    Browse File »
  • Refactor `QPDFJob::handlePageSpecs`: introduce `Inputs` and `Input` to replace `… ...
    7fa74c4f
    …page_heap` and `page_spec_qpdfs`, simplify file handling, and improve code clarity.
    m-holger authored
    2025-09-20 00:06:52 +0100  
    Browse File »
  • Refactor `QPDFJob`: consolidate `QPDFPageData` into `Selection`, simplify page r… ...
    980df238
    …ange handling, and cleanup obsolete logic.
    m-holger authored
    2025-09-20 00:06:52 +0100  
    Browse File »
  • Refactor `QPDFJob`: replace `PageSpec` with `Selection`, introduce `new_selectio… ...
    a000488d
    …n` method, and update logic for handling page specifications.
    m-holger authored
    2025-09-20 00:06:52 +0100  
    Browse File »
  • Refactor `QPDFJob::handlePageSpecs`: streamline page handling by removing `QPDFP… ...
    3e39e0dc
    …ageDocumentHelper` dependency, simplifying page and form field operations, and updating test coverage.
    m-holger authored
    2025-09-20 00:06:52 +0100  
    Browse File »
  • Refactor `QPDFJob::handlePageSpecs`: simplify interface by removing `page_heap` … ...
    dcd53ffc
    …parameter, return success status, and streamline warning handling logic.
    m-holger authored
    2025-09-20 00:06:52 +0100  
    Browse File »
  • Refactor `QPDFJob::handleUnderlaysAndOverlays`: replace nested maps with vector-… ...
    98d8d472
    …based structure for page mapping, improve indexing logic, and clean up redundant variables.
    m-holger authored
    2025-09-20 00:06:52 +0100  
    Browse File »
  • Refactor `QPDFJob::validateUnderOverlay`: reduce redundant variable usage, strea… ...
    e7dad11b
    …mline numeric range parsing, and clean up obsolete test coverage entries.
    m-holger authored
    2025-09-20 00:06:52 +0100  
    Browse File »
  • Refactor `QPDFJob::doUnderOverlayForPage`: replace `page_idx` with `PageNo`, eli… ...
    32aa5165
    …minate redundant variables, and simplify underlay/overlay page handling logic.
    m-holger authored
    2025-09-20 00:06:52 +0100  
    Browse File »
  • Refactor `QPDFJob::handleUnderlaysAndOverlays`: streamline logic for handling pa… ...
    e62cf819
    …ges, replace redundant variables, and improve code readability.
    m-holger authored
    2025-09-20 00:06:52 +0100  
    Browse File »
  • Refactor `QPDFJob`: introduce `PageNo` structure to simplify and standardize pag… ...
    c1150a44
    …e number and index handling, update related logic accordingly.
    m-holger authored
    2025-09-20 00:06:52 +0100  
    Browse File »
  • Refactor `QPDFJob`: mark `ProgressReporter` methods as `final`, inline construct… ...
    2d36aedf
    …ors for `Members` and `ProgressReporter`
    m-holger authored
    2025-09-20 00:06:52 +0100  
    Browse File »
  • Refactor `QPDFJob`: split private structures and implementation details into `QP… ...
    4c61ba56
    …DFJob_private.hh`, streamline includes, and reduce header dependencies.
    m-holger authored
    2025-09-20 00:06:52 +0100  
    Browse File »

19 Sep, 2025
1 commit
  • Remove redundant call to `setRecompressFlate(false)` in QPDFJob::doCheck.
    dbae9496
    m-holger authored
    2025-09-19 20:02:53 +0100  
    Browse File »

16 Sep, 2025
1 commit
  • Avoid unnecessary re-compression in QPDFJob::doCheck
    57ad405b
    James R. Barlow authored
    2025-09-16 10:00:22 -0700  
    Browse File »

07 Sep, 2025
5 commits
  • Add additional validation of document-level structures to `--check` option.
    206c2fc1
    m-holger authored
    2025-09-07 19:13:43 +0100  
    Browse File »
  • Integrate `QPDFPageDocumentHelper` with `QPDF` for improved page management. Add… ...
    36e1c142
    … shared helper retrieval, validation methods, and update usages across the codebase. Remove unused test coverage entries.
    m-holger authored
    2025-09-07 19:13:43 +0100  
    Browse File »
  • Integrate `QPDFOutlineDocumentHelper` with `QPDF` for improved outline managemen… ...
    847f0246
    …t. Add shared helper retrieval, validation methods, and update usages across the codebase.
    m-holger authored
    2025-09-07 19:13:43 +0100  
    Browse File »
  • Integrate `QPDFEmbeddedFileDocumentHelper` with `QPDF` to streamline embedded fi… ...
    e6555a36
    …le handling. Add shared helper retrieval, validation methods, and update usages across the codebase.
    m-holger authored
    2025-09-07 19:13:43 +0100  
    Browse File »
  • Add `QPDFPageLabelDocumentHelper` integration ...
    8d762145
    Integrate `QPDFPageLabelDocumentHelper` with `QPDF` for improved page label handling. Add methods for retrieving shared helper instances, validating page label structures, and streamline usage throughout the codebase.
    m-holger authored
    2025-09-07 19:07:06 +0100  
    Browse File »

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