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
27 Aug, 2025
2 commits
  • Add `value_validator` to `NNTree` implementations for enhanced validation. ...
    4490c23f
    - Introduced `std::function<bool(QPDFObjectHandle const&)>` to validate tree values.
    - Updated constructors and methods across `QPDFNameTreeObjectHelper` and `QPDFNumberTreeObjectHelper` to support value validation.
    - Refactored `NNTreeImpl` to check for invalid values during insertion, iteration, and retrieval.
    - Improved error handling and reporting for invalid values.
    m-holger authored
    2025-08-27 22:01:34 +0100  
    Browse Dir »
  • Fix #1527
    8abb42e3
    m-holger authored
    2025-08-27 20:47:06 +0100  
    Browse Dir »

22 Aug, 2025
1 commit
  • Improve null key/value handling in `NNTree`, add checks across insert operations ...
    bdeb1036
    Fixes bug in #1523
    m-holger authored
    2025-08-22 17:07:43 +0100  
    Browse Dir »

21 Aug, 2025
1 commit
  • Validate existence of array items in `NNTree`, improve null handling, and ensure robust iteration. ...
    6dfdc404
    Fixes bug in #1523
    m-holger authored
    2025-08-21 16:22:41 +0100  
    Browse Dir »

20 Aug, 2025
13 commits
  • Refactor `NNTree` and `NNTreeImpl` to use `Array` API, simplify logic, and remove redundant traces.
    e3ce9e17
    m-holger authored
    2025-08-20 14:06:13 +0100  
    Browse Dir »
  • Refactor `Array::erase` to add `size_t` overload, simplify logic, improve bounds… ...
    14f445b1
    … checking, and align with `Array` API conventions.
    m-holger authored
    2025-08-20 14:06:13 +0100  
    Browse Dir »
  • Add `Array::insert` overload with size_t for consistency, refactor logic, and im… ...
    696802a7
    …prove bounds checking
    m-holger authored
    2025-08-20 14:06:13 +0100  
    Browse Dir »
  • Refactor `Array::setAt` to `Array::set`, update method signatures for consistenc… ...
    b1d5a928
    …y, modify bounds checks, and adjust affected tests.
    m-holger authored
    2025-08-20 14:06:13 +0100  
    Browse Dir »
  • 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 Dir »
  • Refactor `QPDFObjectHandle::arrayOrStreamToStreamArray`: replace `as_array` and … ...
    92de8397
    …bounds checks with subscript operator, simplify loop logic, and remove redundant trace.
    m-holger authored
    2025-08-20 14:06:13 +0100  
    Browse Dir »
  • Refactor `QPDFObjectHandle::eraseItemAndGetOld`: replace `as_array` and bounds c… ...
    3052c451
    …hecks with `Array` subscript operator, simplify logic, and improve null handling.
    m-holger authored
    2025-08-20 14:06:13 +0100  
    Browse Dir »
  • Refactor `QPDFObjectHandle::isRectangle` etc methods: replace `as_array` with `A… ...
    53acbf15
    …rray`, use subscript operators, simplify logic, and improve readability.
    m-holger authored
    2025-08-20 14:05:05 +0100  
    Browse Dir »
  • Refactor `getArrayItem`: simplify logic, replace bounds check with `std::cmp_les… ...
    1e8ce4a7
    …s`, remove redundant trace, and improve null handling.
    m-holger authored
    2025-08-20 11:48:20 +0100  
    Browse Dir »
  • Refactor `getArrayNItems`: simplify logic, replace array check with `size()`, re… ...
    47b55307
    …move redundant trace, and improve readability.
    m-holger authored
    2025-08-20 11:48:20 +0100  
    Browse Dir »
  • Add const subscript operators to `Array`for improved object access
    5438f088
    m-holger authored
    2025-08-20 11:48:20 +0100  
    Browse Dir »
  • Redefine `Array::size()` to return 0 if the object is not an array
    62d1dd6d
    m-holger authored
    2025-08-20 11:48:20 +0100  
    Browse Dir »
  • Add move and copy operations to `BaseHandle` and `Array` private API classes, st… ...
    1f3f872d
    …reamline object assignment, and introduce constructors for `QPDFObjectHandle`.
    m-holger authored
    2025-08-20 11:32:32 +0100  
    Browse Dir »

18 Aug, 2025
1 commit
  • Refactor `QPDFObjectHandle` and `QPDF_Array` to simplify object access and manipulation.
    1174cd2c
    m-holger authored
    2025-08-18 10:38:16 +0100  
    Browse Dir »

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