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
18 Jul, 2025
6 commits
  • Refactor `QPDFWriter` pipeline stack to use `std::unique_ptr` for improved memor… ...
    ac4b5e65
    …y management and eliminate redundant `dynamic_cast` logic.
    m-holger authored
    2025-07-18 14:48:50 +0100  
    Browse Dir »
  • Refactor `QPDFWriter` pipeline stack logic to use `std::unique_ptr` for `Pl_MD5`… ...
    63dae8ec
    …, improving encapsulation and memory management. Remove the now redundant `pushMD5Pipeline` method and streamline MD5 activation.
    m-holger authored
    2025-07-18 14:04:59 +0100  
    Browse Dir »
  • Refactor `QPDFWriter` pipeline stack activation to utilize `pl::Link` and stream… ...
    a48eae3c
    …line `linearization pass1` logic  when writing pass1 file
    m-holger authored
    2025-07-18 13:50:30 +0100  
    Browse Dir »
  • Refactor `QPDFWriter` encryption logic to simplify pipeline writes and consolida… ...
    46cb7392
    …te encryption handling
    m-holger authored
    2025-07-18 13:40:19 +0100  
    Browse Dir »
  • Refactor `PipelinePopper` to add manual `pop` method and update its usage for si… ...
    a78d18f7
    …mplified pipeline stack management in `QPDFWriter`.
    m-holger authored
    2025-07-18 13:26:19 +0100  
    Browse Dir »
  • Refactor `PipelinePopper` to use `Pl_stack` for improved encapsulation and simpl… ...
    613c1221
    …ify pipeline stack management
    m-holger authored
    2025-07-18 13:20:41 +0100  
    Browse Dir »

17 Jul, 2025
1 commit
  • Refactor QPDFWriter pipeline stack logic for improved encapsulation ...
    83144b29
    Encapsulated pipeline stack management into a dedicated `Pl_stack` class within `QPDFWriter::Members`. Reorganized related methods to streamline and simplify initialization and activation of pipelines, removing redundant code.
    m-holger authored
    2025-07-17 22:23:10 +0100  
    Browse Dir »

10 Jul, 2025
3 commits
  • Refactor `QPDFWriter` to add `write_name` and `write_string` methods, replace re… ...
    e3fdb578
    …dundant normalization and string unparse logic across multiple write calls.
    m-holger authored
    2025-07-10 13:12:58 +0100  
    Browse Dir »
  • Refactor `QPDFWriter` to introduce `indent_large`, replace redundant `indent` ha… ...
    d9ae295d
    …ndling, leverage `std::string_view`, and streamline QDF indent logic.
    m-holger authored
    2025-07-10 13:12:52 +0100  
    Browse Dir »
  • Refactor `QPDFWriter` to consolidate `write*` methods into parameterized `write`… ...
    485399c7
    … overloads, streamline QDF handling, and simplify string and trailer writes.
    m-holger authored
    2025-07-10 13:12:24 +0100  
    Browse Dir »

09 Jul, 2025
20 commits
  • Refactor `QPDF_encryption` and `RC4` to replace raw arrays with `std::string`, c… ...
    04cc9df2
    …onsolidate `iterate_rc4` logic, and streamline RC4 key processing.
    m-holger authored
    2025-07-09 17:46:09 +0100  
    Browse Dir »
  • Refactor `QPDF_encryption` and `MD5` to streamline digest handling, replace raw … ...
    e81abdcc
    …arrays with `std::string`, and simplify key computation logic.
    m-holger authored
    2025-07-09 16:02:40 +0100  
    Browse Dir »
  • Refactor `QPDF_encryption` to inline `truncate_password_V5`, replace it with dir… ...
    0d68cd73
    …ect `substr` calls, and simplify password handling logic.
    m-holger authored
    2025-07-09 14:49:10 +0100  
    Browse Dir »
  • Refactor `compute_O_rc4_key` to return `std::string`, replace raw character arra… ...
    e623caf2
    …ys with `std::string`, and simplify related password handling logic.
    m-holger authored
    2025-07-09 14:48:39 +0100  
    Browse Dir »
  • Refactor `QPDF_encryption` to replace raw character arrays with `std::string`, s… ...
    aab00a1a
    …implify padding logic, and streamline password handling across methods.
    m-holger authored
    2025-07-09 14:40:59 +0100  
    Browse Dir »
  • Refactor `MD5` to add `std::string_view` support in `encodeDataIncrementally`, i… ...
    60d0ff6c
    …nline previously separate method, and streamline data encoding logic.
    m-holger authored
    2025-07-09 14:25:43 +0100  
    Browse Dir »
  • Refactor encryption handling to streamline key computation, centralize version-b… ...
    20c2f021
    …ased logic in `setEncryptionMinimumVersion`, and reduce redundancy across `QPDFWriter` methods.
    m-holger authored
    2025-07-09 14:23:36 +0100  
    Browse Dir »
  • Refactor `QPDFWriter` to remove `encryption_dictionary` member, streamline encry… ...
    fe122b0b
    …ption dictionary generation, and reduce redundancy in encryption handling logic.
    m-holger authored
    2025-07-09 14:23:18 +0100  
    Browse Dir »
  • Refactor `QPDFWriter` to replace `m->encrypted` with `m->encryption`, streamline… ...
    fad1399f
    … encryption handling, and reduce redundancy across methods.
    m-holger authored
    2025-07-09 14:18:38 +0100  
    Browse Dir »
  • Refactor encryption permissions handling to replace `std::set` with `std::bitset… ...
    2055837e
    …`, simplify method signatures, and centralize logic in `QPDF::EncryptionData` for improved maintainability.
    m-holger authored
    2025-07-09 14:18:34 +0100  
    Browse Dir »
  • Refactor `QPDFWriter` to remove `encrypt_metadata` member, centralize its handli… ...
    80093a05
    …ng in method parameters, and simplify encryption logic for improved maintainability and reduced redundancy.
    m-holger authored
    2025-07-09 14:18:26 +0100  
    Browse Dir »
  • Refactor and centralize encryption-related logic in `QPDFWriter::Members` to red… ...
    232c037a
    …uce redundancy, improve maintainability, and streamline parameter handling.
    m-holger authored
    2025-07-09 14:18:22 +0100  
    Browse Dir »
  • Refactor encryption data methods to reduce redundancy, streamline parameter hand… ...
    c8fd2f9b
    …ling, and improve maintainability.
    m-holger authored
    2025-07-09 14:17:59 +0100  
    Browse Dir »
  • Remove redundant `compute_U_UE_value_V5`, `compute_O_OE_value_V5`, and `compute_… ...
    4635a59e
    …Perms_value_V5` methods; inline their logic into `setV5EncryptionParameters` to simplify encryption data processing.
    m-holger authored
    2025-07-09 14:17:53 +0100  
    Browse Dir »
  • Refactor `QPDF_encryption` to simplify random string generation using `util::ran… ...
    11266b14
    …dom_string`, improve readability of salts and keys handling, and streamline `compute_Perms_value_V5_clear` logic by returning strings directly.
    m-holger authored
    2025-07-09 14:17:45 +0100  
    Browse Dir »
  • Refactor encryption permissions handling by replacing integer-based logic with `… ...
    8417be17
    …std::bitset`, reorganizing related methods, and simplifying access to improve clarity and maintainability.
    m-holger authored
    2025-07-09 14:17:35 +0100  
    Browse Dir »
  • Refactor `QPDF::isEncrypted` methods to simplify logic, reduce redundancy, and d… ...
    34142a6c
    …irectly access encryption parameters for improved clarity and maintainability.
    m-holger authored
    2025-07-09 14:17:27 +0100  
    Browse Dir »
  • Refactor `EncryptionParameters` to encapsulate crypt filter interpretation logic… ...
    09df3969
    …, transition `interpretCF` to a class method, and eliminate redundant parameter passing for improved clarity and maintainability.
    m-holger authored
    2025-07-09 14:17:20 +0100  
    Browse Dir »
  • Refactor encryption initialization by encapsulating logic in `EncryptionParamete… ...
    a051a162
    …rs::initialize` and replacing shared pointers with references for improved clarity and maintainability.
    m-holger authored
    2025-07-09 14:14:41 +0100  
    Browse Dir »
  • Refactor `QPDF::EncryptionData` to encapsulate encryption logic, reduce redundan… ...
    cb3c4c55
    …t parameter passing, and improve maintainability. Change static functions and QPDF methods to EncryptionData methods.
    m-holger authored
    2025-07-09 09:46:52 +0100  
    Browse Dir »

01 Jul, 2025
3 commits
  • Refactor `TfFinder` class for improved readability and maintainability ...
    ebacc77d
    Streamlined method definitions, replaced explicit loop counters with range-based loops, and added `final` specifier to class and methods to ensure overriding restrictions. Simplified constructor and member variable initialization.
    m-holger authored
    2025-07-01 13:49:24 +0100  
    Browse Dir »
  • In QPDFObjectHandle.cc remove `LastChar` class and refactor content stream proce… ...
    efc70b47
    …ssing to simplify buffer handling
    m-holger authored
    2025-07-01 13:49:18 +0100  
    Browse Dir »
  • Remove redundant `this->` usage across the codebase. Simplify member variable ac… ...
    e0f1be5a
    …cess for consistency and readability.
    m-holger authored
    2025-07-01 13:49:08 +0100  
    Browse Dir »

30 Jun, 2025
3 commits
  • Refactor object reading logic in `QPDF` for clarity and improved maintainability ...
    1d3fa912
    Simplify `readObjectAtOffset` by splitting responsibilities into separate functions: `read_object_start` and a streamlined `readObjectAtOffset`. Remove redundant parameters and improve code readability, ensuring better modularity for object reading operations.
    m-holger authored
    2025-06-30 19:15:32 +0100  
    Browse Dir »
  • Extend xref reconstruction sanity checks ...
    37b32f3d
    After xref reconstruction treat the input file as suspect and apply sanity checks to all subsequent object reads.
    
    Remove `in_xref_reconstruction` flag and update references to use `reconstructed_xref` for simplified state management during xref processing. Adjust warnings for invalid dictionary keys in test output.
    m-holger authored
    2025-06-30 18:23:03 +0100  
    Browse Dir »
  • Refactor `Pl_DCT` buffer management to use `std::string` and simplify compressio… ...
    44f726da
    …n/decompression logic. Remove redundant `Buffer` class dependency.
    m-holger authored
    2025-06-30 17:30:54 +0100  
    Browse Dir »

22 Jun, 2025
1 commit
  • Apply sanity checks on dangling reference object ids encountered before ...
    c7a4ac4d
    the xref table has been loaded
    m-holger authored
    2025-06-22 20:06:09 +0100  
    Browse Dir »

13 Jun, 2025
1 commit
  • Improve sanity checks and error handling in `QPDFParser` ...
    5b443012
    Enhanced handling of unexpected tokens during xref table reconstruction. Adjusted logic for invalid tokens, ensuring better robustness during PDF parsing of corrupt PDF files.
    m-holger authored
    2025-06-13 17:33:24 +0100  
    Browse Dir »

10 Jun, 2025
1 commit
  • Enhance error handling for unexpected tokens during sanity checks ...
    d68f45e0
    Implemented stricter sanity checks to  handle unexpected tokens like array/dictionary close and endobj/endstream more effectively. Improved warning messages and handling of corrupt objects to enhance PDF parsing robustness.
    m-holger authored
    2025-06-10 20:10:31 +0100  
    Browse Dir »

31 May, 2025
1 commit
  • Apply sanity checks during xref stream parsing ...
    620dfdbf
    Detect corrupt xref streams early to avoid excessive runtime and memory usage.
    m-holger authored
    2025-05-31 16:11:39 +0100  
    Browse Dir »