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
17 Aug, 2025
13 commits
  • Refactor `NNTreeIterator::updateIValue`: replace `getArrayNItems` and `getArrayI… ...
    1674b67c
    …tem` with `size` and subscript operators, simplify logic, and improve error handling.
    m-holger authored
    2025-08-17 14:34:07 +0100  
    Browse Dir »
  • Refactor `NNTreeIterator::getNextKid`: simplify loop logic, replace `getArrayNIt… ...
    13d55d88
    …ems` and `getArrayItem` with `size` and subscript operators, and improve code readability.
    m-holger authored
    2025-08-17 14:23:27 +0100  
    Browse Dir »
  • Refactor `NNTreeIterator::increment`: simplify loop logic, replace `getArrayNIte… ...
    e78c1201
    …ms` and `getArrayItem` with `size` and subscript operators, remove redundant debug traces, and improve readability.
    m-holger authored
    2025-08-17 14:20:10 +0100  
    Browse Dir »
  • Refactor `NNTreeIterator::resetLimits`: replace `getArrayNItems` and `getArrayIt… ...
    7bbd8b30
    …em` with `size` and subscript operators, remove redundant debug traces, simplify loop logic, and improve readability.
    m-holger authored
    2025-08-17 14:15:41 +0100  
    Browse Dir »
  • Refactor `NNTree::split`: replace `getArrayNItems` and `getArrayItem` with `size… ...
    59b25578
    …` and subscript operators, remove redundant debug traces, and improve code readability.
    m-holger authored
    2025-08-17 14:06:38 +0100  
    Browse Dir »
  • Refactor `NNTreeIterator::insertAfter`: use `const` references for parameters, r… ...
    3b87d569
    …eplace `getArrayNItems` with `size`, and improve error handling logic.
    m-holger authored
    2025-08-17 14:06:38 +0100  
    Browse Dir »
  • Refactor `NNTree::remove`: simplify logic, replace `getArrayItem` and `getArrayN… ...
    f110a23c
    …Items` with subscript operators, introduce `std::cmp` utilities, and remove redundant debug traces.
    m-holger authored
    2025-08-17 14:06:38 +0100  
    Browse Dir »
  • Refactor `NNTree::deepen`: introduce lambda for failure handling, simplify loop … ...
    0d8b0882
    …logic, and replace redundant code with subscript operators.
    m-holger authored
    2025-08-17 14:06:38 +0100  
    Browse Dir »
  • Refactor `NNTreeImpl::withinLimits`: use `const` references for parameters, simp… ...
    baa77f54
    …lify `withinLimits` logic, and improve code readability with subscript operators.
    m-holger authored
    2025-08-17 14:06:38 +0100  
    Browse Dir »
  • Refactor `NNTreeImpl::compareKeyItem` and `compareKeyKid`: replace `getArrayItem… ...
    26de2d5c
    …` and `getArrayNItems` with subscript operators for readability and cleaner syntax.
    m-holger authored
    2025-08-17 14:06:38 +0100  
    Browse Dir »
  • Refactor `NNTreeImpl`: use const references for function parameters and remove r… ...
    61a676cc
    …edundant debug traces.
    m-holger authored
    2025-08-17 14:06:38 +0100  
    Browse Dir »
  • Refactor `NNTreeImpl`: simplify `binarySearch` logic, use `size_t` for indices, … ...
    f3a1139f
    …and improve `findInternal` readability.
    m-holger authored
    2025-08-17 14:06:38 +0100  
    Browse Dir »
  • Add private-API subscript operators to `QPDFObjectHandle` for size_t and int ...
    f42de31c
    Implement subscript operators (`operator[]`) to provide indexed access to `QPDFObjectHandle` for both `size_t` and `int` types.
    m-holger authored
    2025-08-17 14:06:38 +0100  
    Browse Dir »

15 Aug, 2025
3 commits
  • Add error handling for missing or invalid Resources and invalid or duplicate ann… ...
    7427c7fe
    …otations in page objects
    
    - Repair invalid or missing Resources in page object trees with warnings
    - Remove invalid Annots arrays with warnings
    - Warn about duplicate annotations
    - Update test cases and output to reflect new error handling.
    - Improve robustness for annotation and resource validation.
    m-holger authored
    2025-08-15 16:33:17 +0100  
    Browse Dir »
  • Move `ResolveRecorder` definition from `QPDF_private.hh` to `QPDF_objects.cc`.
    e5ab05fd
    m-holger authored
    2025-08-15 11:20:25 +0100  
    Browse Dir »
  • Refactor `ResolveRecorder`: use `QPDF&` instead of `QPDF*`, mark class as `final… ...
    aadbc1f6
    …`, and simplify member access.
    m-holger authored
    2025-08-15 11:19:14 +0100  
    Browse Dir »

14 Aug, 2025
1 commit
  • Refactor `QPDFWriter`: remove unused `stream_decode_level` check in conditional … ...
    1f7a6be4
    …logic in call to `initializeSpecialStreams`.
    m-holger authored
    2025-08-14 12:00:26 +0100  
    Browse Dir »

10 Aug, 2025
1 commit
  • Refactor linearization checks: change `checkLinearizationInternal` to `void`, si… ...
    039abac4
    …mplify control flow, and update method returns.
    m-holger authored
    2025-08-10 12:33:07 +0100  
    Browse Dir »

09 Aug, 2025
7 commits
  • Refactor: replace `getArrayNItems` with `size`, simplify array traversal, centra… ...
    eee05a0c
    …lize type conversions, and improve clarity across multiple modules.
    m-holger authored
    2025-08-09 17:26:32 +0100  
    Browse Dir »
  • Refactor `QPDFFormFieldObjectHelper`, `QPDFPageObjectHelper`, and `QPDFOutlineOb… ...
    4257c7bd
    …jectHelper`: replace `getArrayNItems` with `size`, simplify array traversal, and centralize `empty` checks for improved clarity and efficiency.
    m-holger authored
    2025-08-09 17:25:58 +0100  
    Browse Dir »
  • 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 Dir »
  • Refactor `QPDFAcroFormDocumentHelper`: replace `getArrayNItems` with `size`, int… ...
    1240c5ee
    …roduce `empty` checks, and use `std::cmp_less` and `emplace_back` for better clarity and efficiency.
    m-holger authored
    2025-08-09 17:25:17 +0100  
    Browse Dir »
  • Refactor `QPDFWriter`: simplify array handling, replace `getArrayNItems` with `s… ...
    f699aacb
    …ize`, and centralize `empty` checks.
    m-holger authored
    2025-08-09 17:24:34 +0100  
    Browse Dir »
  • Add new method `BaseHandle::size` ...
    1ec18f20
    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
    2025-08-09 17:16:54 +0100  
    Browse Dir »
  • Refactor `QPDFObjectHandle` warnings: replace `warnIfPossible` with centralized … ...
    06db6493
    …`warn`, streamline condition handling.
    m-holger authored
    2025-08-09 15:08:31 +0100  
    Browse Dir »

08 Aug, 2025
4 commits
  • Refactor `QPDFObjectHandle` and `BaseHandle`: streamline type handling, simplify… ...
    decc7d3c
    … warnings, and centralize utility methods.
    m-holger authored
    2025-08-08 23:11:20 +0100  
    Browse Dir »
  • 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 Dir »
  • Refactor `ResourceFinder`: streamline logic and optimize data structure handling.
    8b4fb5b2
    m-holger authored
    2025-08-08 17:38:15 +0100  
    Browse Dir »
  • 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 Dir »

07 Aug, 2025
1 commit
  • Disallow `--deterministic-id` with encrypted output and improve error handling f… ...
    b46d4b98
    …or deterministic ID generation (fixes #1235).
    m-holger authored
    2025-08-07 19:09:16 +0100  
    Browse Dir »

04 Aug, 2025
2 commits
  • Refactor `validatePDFVersion` and `findHeader`: simplify logic, improve readabil… ...
    727d14cb
    …ity, and replace deprecated API usage.
    m-holger authored
    2025-08-04 10:50:45 +0100  
    Browse Dir »
  • Refactor `QPDF::calculateHPageOffset`: simplify loops with range-based for, repl… ...
    0b2a75ab
    …ace manual index handling, revise min/max initialization to use `std::numeric_limits`, and optimize shared identifier assignments.
    m-holger authored
    2025-08-04 01:34:28 +0100  
    Browse Dir »

03 Aug, 2025
3 commits
  • In `ObjUser` and in linearization calculations refactor to use `size_t` for page… ...
    e8ade683
    … numbers and related variables, replacing `int`, to enhance consistency and avoid unnecessary checked conversions.
    m-holger authored
    2025-08-03 22:18:46 +0100  
    Browse Dir »
  • Refactor `ObjUser` class: remove unused `ou_bad` type, delete default constructo… ...
    d11d75a9
    …r,  and revise enum initialization. Clean up unused error handling in linearization logic.
    m-holger authored
    2025-08-03 22:17:29 +0100  
    Browse Dir »
  • Update `unparseChild` and `unparseObject` in `QPDFWriter` to use `size_t` for `l… ...
    6020af9f
    …evel` and add `const&` to `child` parameter.
    m-holger authored
    2025-08-03 11:51:21 +0100  
    Browse Dir »

02 Aug, 2025
2 commits
  • Improve linearization logic to handle invalid thumbnails gracefully and fix thum… ...
    3471c7c7
    …bnail processing loop to ensure consistency.
    m-holger authored
    2025-08-02 14:48:13 +0100  
    Browse Dir »
  • Fix linearization logic to conditionally add outlines object only if erased, ens… ...
    4ebe5452
    …uring robustness against damaged PDFs.
    m-holger authored
    2025-08-02 12:18:00 +0100  
    Browse Dir »

31 Jul, 2025
1 commit
  • Enhance `QPDF_objects` to ignore excessively large object stream IDs in xref str… ...
    4b70fc3c
    …eams, improving robustness against damaged PDFs.
    m-holger authored
    2025-07-31 18:30:08 +0100  
    Browse Dir »

27 Jul, 2025
2 commits
  • Merge pull request #1499 from m-holger/base64 ...
    05469083
    Refactor Pl_Base64
    m-holger authored
    2025-07-27 18:19:17 +0100  
    Browse Dir »
  • Refactor `Pl_Base64` to add static `encode` and `decode` methods, streamline enc… ...
    92a8c888
    …oding/decoding logic, and simplify usage in `JSON_writer` and `QPDF_json`.
    m-holger authored
    2025-07-27 17:43:39 +0100  
    Browse Dir »