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
  • QPDFAcroFormDocumentHelper.cc
01 Dec, 2025
2 commits
  • Rename `FormField.hh` to `AcroForm.hh` and update include references across file… ...
    f26327a3
    …s for consistency with refactored AcroForm structure.
    m-holger authored
    2025-12-01 15:56:08 +0000  
    Browse File »
  • Refactor AcroForm handling by introducing `AcroForm` class for better encapsulat… ...
    4d0ccbe4
    …ion and leveraging shared components.
    m-holger authored
    2025-12-01 15:55:45 +0000  
    Browse File »

29 Nov, 2025
1 commit
  • Refactor AcroForm field traversal for robustness and add new fuzz case ...
    1e2c50c0
    - Modify `traverseField` to return `bool` for identifying invalid fields.
    - Add `bad_fields` set to track and handle problematic fields.
    - Improve error handling for invalid parent entries.
    m-holger authored
    2025-11-29 19:34:42 +0000  
    Browse File »

10 Nov, 2025
1 commit
  • Refactor: replace `BaseDictionary::replaceKey` method with `BaseHandle::replace`… ...
    44bd9db1
    … for clarity and consistency across dictionary operations.
    m-holger authored
    2025-11-10 14:25:45 +0000  
    Browse File »

08 Nov, 2025
2 commits
  • Refactor null object handling across helpers to use the `Null` class for consist… ...
    2d11e4dd
    …ent and simplified temporary null management. Clean up unused test coverage markers.
    m-holger authored
    2025-11-08 12:33:57 +0000  
    Browse File »
  • Prevent infinite recursion in /AcroForm traversal by checking for self-referencing fields.
    841b4a09
    m-holger authored
    2025-11-08 01:12:53 +0000  
    Browse File »

30 Oct, 2025
1 commit
  • Refactor `QPDFAcroFormDocumentHelper::traverseField`: add validation for `/Paren… ...
    5d0210a5
    …t` consistency to handle invalid entries, and improve loop detection logic.
    m-holger authored
    2025-10-30 02:36:31 +0000  
    Browse File »

28 Oct, 2025
1 commit
  • Refactor `QPDFAcroFormDocumentHelper`: simplify `traverseField`, remove `visited… ...
    9a3f2969
    …` parameter, update conditional checks, and streamline logic for field and annotation handling.
    
    Tighten validation of the PDF spec requirements that form fields form a tree and that widget annotations have a single parent by utilizing `field_to` and `annotation_to_field` in the loop detection check.
    m-holger authored
    2025-10-28 13:08:02 +0000  
    Browse File »

05 Oct, 2025
1 commit
  • Refactor document helper access through `QPDF::Doc` ...
    1111240a
    Replace direct access to document helpers (`acroform()`, `pages()`, `embedded_files()`, etc.) with calls through `QPDF::doc()` for better encapsulation. Adjust related methods, constructors, and memory management accordingly.
    m-holger authored
    2025-10-05 11:22:08 +0100  
    Browse File »

04 Sep, 2025
7 commits
  • Refactor `QPDFAcroFormDocumentHelper`: simplify `/DR` initialization by removing… ...
    8803fede
    … redundant `initialized_dr_map` flag and directly checking `dr`.
    m-holger authored
    2025-09-04 10:59:42 +0100  
    Browse File »
  • Refactor `QPDFAcroFormDocumentHelper::transformAnnotations`: update type handlin… ...
    d9c46a5e
    …g with `Dictionary` and `Array`.
    m-holger authored
    2025-09-04 10:59:42 +0100  
    Browse File »
  • Refactor `QPDFAcroFormDocumentHelper::transformAnnotations`: replace `std::list`… ...
    cfd17323
    … with `std::deque` in `traverse_field` for better performance and simplify traversal logic.
    m-holger authored
    2025-09-04 10:59:42 +0100  
    Browse File »
  • Refactor `QPDFAcroFormDocumentHelper::transformAnnotations`: extract `traverse_f… ...
    0421e2ae
    …ield` function to increase code clarity.
    m-holger authored
    2025-09-04 10:59:42 +0100  
    Browse File »
  • Refactor `QPDFAcroFormDocumentHelper`: replace `std::list<QPDFObjectHandle>` wit… ...
    4489c4bc
    …h `std::list<Dictionary>`, simplify `/Kids` handling, and update method calls for consistency.
    m-holger authored
    2025-09-04 10:59:42 +0100  
    Browse File »
  • Refactor `QPDFAcroFormDocumentHelper::transformAnnotations`: extract `transform_… ...
    f9287c41
    …annotation` to increase code clarity.
    m-holger authored
    2025-09-04 10:59:42 +0100  
    Browse File »
  • Refactor `QPDFAcroFormDocumentHelper::transformAnnotation`: replace `getKey` wit… ...
    0fa8fbbc
    …h operator[], update type handling for clarity and consistency, and streamline resource merging.
    m-holger authored
    2025-09-04 10:59:42 +0100  
    Browse File »

01 Sep, 2025
1 commit
  • Refactor: consolidate `field_to_annotations` and `field_to_name` maps in `QPDFAc… ...
    dbfdbd97
    …roFormDocumentHelper`, replace redundant maps with `FieldData` encapsulation.
    m-holger authored
    2025-09-01 12:47:57 +0100  
    Browse File »

31 Aug, 2025
2 commits
  • Refactor: replace `isNull` calls with `null`, remove redundant `QTC::TC` calls i… ...
    b5af953b
    …n `QPDFOutlineObjectHelper` and `QPDFOutlineDocumentHelper`.
    m-holger authored
    2025-08-31 13:47:15 +0100  
    Browse File »
  • Refactor: replace `isNull` calls with `null`, remove redundant `QTC::TC` calls i… ...
    a3e94eb4
    …n `QPDFAcroFormDocumentHelper`.
    m-holger authored
    2025-08-31 13:47:15 +0100  
    Browse File »

30 Aug, 2025
2 commits
  • Refactor `QPDFAcroFormDocumentHelper::Members` to use `std::make_shared`, improv… ...
    e6200bbc
    …e memory management, and streamline class definition.
    m-holger authored
    2025-08-30 12:22:44 +0100  
    Browse File »
  • Enhance `QPDFAcroFormDocumentHelper` with `get()` for shared access and `validat… ...
    81510829
    …e()` for re-validation and repair of AcroForm structure.
    m-holger authored
    2025-08-30 12:10:35 +0100  
    Browse File »

09 Aug, 2025
2 commits
  • 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 File »
  • Refactor `QPDFObjectHandle` warnings: replace `warnIfPossible` with centralized … ...
    06db6493
    …`warn`, streamline condition handling.
    m-holger authored
    2025-08-09 15:08:31 +0100  
    Browse File »

08 Aug, 2025
1 commit
  • Refactor `ResourceFinder`: streamline logic and optimize data structure handling.
    8b4fb5b2
    m-holger authored
    2025-08-08 17:38:15 +0100  
    Browse File »

13 May, 2025
3 commits
  • Add `final` specifiers and initialize member variables. ...
    b0ceea46
    Refactored several classes to use C++11 `final` specifiers for inheritance restrictions and added default member initializations. These changes enhance code clarity, improve safety, and ensure modern coding practices.
    m-holger authored
    2025-05-13 21:38:32 +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 »

11 Mar, 2025
1 commit
  • Remove 'this->' from QPDFTokenizer.cc and QPDFAcroFormDocumentHelper.cc
    7ede0399
    m-holger authored
    2025-03-11 13:54:12 +0000  
    Browse File »

02 Mar, 2025
2 commits
  • Use QPDFObjectHandle::as_array to iterate over arrays in library
    1b7c8727
    m-holger authored
    2025-03-02 20:51:32 +0000  
    Browse File »
  • Use QPDFObjectHandle::as_dictionary instead of ditems in library
    8d9b9a1a
    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 »

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
  • Add QPDFAcroFormDocumentHelper::disableDigitalSignatures
    3d33a3a1
    Jay Berkenbilt authored
    2023-12-23 08:44:47 -0500  
    Browse File »

18 Nov, 2023
1 commit
  • Add new method Pl_Buffer::getString
    3237ef70
    m-holger authored
    2023-11-18 16:34:17 +0000  
    Browse File »

09 Jun, 2023
4 commits
  • Code tidy - Clang-Tidy rule performance-for-range-copy
    d784e803
    m-holger authored
    2023-06-09 15:55:49 +0100  
    Browse File »
  • Code tidy - Clang-Tidy rule modernize-use-override
    0ac005f0
    m-holger authored
    2023-06-09 15:52:56 +0100  
    Browse File »
  • Code tidy - Clang-Tidy rule modernize-use-default-member-init
    5906dd5c
    m-holger authored
    2023-06-09 15:43:21 +0100  
    Browse File »
  • Code tidy - Clang-Tidy rule modernize-use-emplace
    7bc0f1d8
    m-holger authored
    2023-06-09 15:42:11 +0100  
    Browse File »

27 May, 2023
1 commit
  • Code tidy - reflow comments and strings
    698a70e6
    m-holger authored
    2023-05-27 10:54:19 +0100  
    Browse File »

21 May, 2023
1 commit
  • Rerun clang-format
    60965d5f
    Jay Berkenbilt authored
    2023-05-21 13:35:09 -0400  
    Browse File »