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
30 Aug, 2025
3 commits
  • 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 Dir »
  • Refactor `QPDFFormFieldObjectHelper`: streamline checkbox and radio button value… ...
    79a9701f
    … validation, improve readability, and reduce redundancy in type checks.
    m-holger authored
    2025-08-30 10:42:20 +0100  
    Browse Dir »
  • Refactor `QPDFFormFieldObjectHelper`: simplify return logic, use direct returns … ...
    3d29a053
    …for improved readability, and remove redundant variables.
    m-holger authored
    2025-08-30 10:30:40 +0100  
    Browse Dir »

29 Aug, 2025
7 commits
  • Enhance `QPDFOutlineDocumentHelper` by adding stricter value validation and invo… ...
    023a0027
    …king `validate()` for `names_dest` initialization
    m-holger authored
    2025-08-29 21:11:15 +0100  
    Browse Dir »
  • Refactor `QPDFOutlineDocumentHelper::Members` to use `std::unique_ptr` for `name… ...
    dfb2718c
    …s_dest`, improve memory management, and streamline initialization logic
    m-holger authored
    2025-08-29 21:08:05 +0100  
    Browse Dir »
  • Enhance `QPDFEmbeddedFileDocumentHelper` with stricter validation and value checking ...
    d11553e4
    - Added `validate()` invocation to `m->embedded_files`.
    - Introduced `value_validator` to ensure only dictionaries are accepted in `EmbeddedFiles`.
    - Enabled consistent value validation and key validation logic.
    m-holger authored
    2025-08-29 21:07:58 +0100  
    Browse Dir »
  • Refactor `QPDFEmbeddedFileDocumentHelper::Members` to use `std::unique_ptr`, imp… ...
    4974090f
    …rove memory management, and simplify initialization logic.
    m-holger authored
    2025-08-29 21:07:51 +0100  
    Browse Dir »
  • Enhance page labels handling with stricter validation and improved normalization… ...
    f871b753
    … in damaged label tests
    
    - Add `validate()` call to `QPDFNumberTreeObjectHelper` for page label validation.
    - Introduce stricter enforcement of dictionary values and validation logic.
    - Update damaged page label test to remove `EXPECT_FAILURE`.
    m-holger authored
    2025-08-29 21:07:45 +0100  
    Browse Dir »
  • Refactor `QPDFPageLabelDocumentHelper::Members` to use `std::unique_ptr`, simpli… ...
    3c4aa887
    …fy logic, and enhance consistency with modern C++ practices.
    m-holger authored
    2025-08-29 21:07:14 +0100  
    Browse Dir »
  • Add `validate()` to `NNTree` helpers and implementations ...
    b00647d5
    - Introduced a `validate()` method in `QPDFNameTreeObjectHelper`, `QPDFNumberTreeObjectHelper`, and `NNTreeImpl`.
    - Ensure proper validation of tree keys and values, detecting invalid entries, unsorted keys, and inconsistencies.
    - Added support for auto-repair in case of validation errors.
    m-holger authored
    2025-08-29 21:01:41 +0100  
    Browse Dir »

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