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
01 Jul, 2025
4 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 Code »
  • 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 Code »
  • 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 Code »
  • Merge pull request #1483 from m-holger/roao ...
    2dea7ad7
    Refactor object reading logic in `QPDF` for clarity and improved main…
    m-holger authored
    2025-07-01 09:21:23 +0100  
    Browse Code »

30 Jun, 2025
5 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 Code »
  • Merge pull request #1482 from m-holger/fuzz ...
    c6fbeb87
    Extend xref reconstruction sanity checks
    m-holger authored
    2025-06-30 18:59:05 +0100  
    Browse Code »
  • 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 Code »
  • Merge pull request #1481 from m-holger/pl_dct ...
    661db743
    Refactor `Pl_DCT` buffer management to use `std::string` and simplify…
    m-holger authored
    2025-06-30 18:01:43 +0100  
    Browse Code »
  • 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 Code »

22 Jun, 2025
2 commits
  • Merge pull request #1480 from m-holger/fuzz ...
    0c5318eb
    Apply sanity checks on dangling reference object ids encountered before
    m-holger authored
    2025-06-22 21:26:43 +0100  
    Browse Code »
  • 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 Code »

13 Jun, 2025
2 commits
  • Merge pull request #1479 from m-holger/fuzz ...
    7edffb40
    Improve sanity checks and error handling in `QPDFParser`
    m-holger authored
    2025-06-13 18:57:04 +0100  
    Browse Code »
  • 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 Code »

10 Jun, 2025
2 commits
  • Merge pull request #1476 from m-holger/fuzz ...
    f60dbb5f
    Enhance error handling for unexpected tokens during sanity checks
    m-holger authored
    2025-06-10 20:53:42 +0100  
    Browse Code »
  • 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 Code »

31 May, 2025
2 commits
  • Merge pull request #1472 from m-holger/fuzz ...
    4d2a0fe2
    Apply sanity checks during xref stream parsing
    m-holger authored
    2025-05-31 18:10:12 +0100  
    Browse Code »
  • 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 Code »

26 May, 2025
1 commit
  • Merge pull request #1468 from thinkpanzer/patch-1 ...
    d4a4088d
    Fix apparent typo for zopfli enablement
    Jay Berkenbilt authored
    2025-05-26 10:40:28 -0400  
    Browse Code »

22 May, 2025
2 commits
  • Merge pull request #1471 from m-holger/w_unparse ...
    3c3cef2a
    Refactor ADBE handling logic in QPDFWriter.
    m-holger authored
    2025-05-22 17:08:01 +0100  
    Browse Code »
  • Refactor ADBE handling logic in QPDFWriter. ...
    fbcbb781
    Reorganized and cleaned up the logic for managing ADBE entries in the /Extensions dictionary, improving clarity and maintainability. Adjusted object shallow copying to avoid unnecessary copying.
    m-holger authored
    2025-05-22 13:22:32 +0100  
    Browse Code »

21 May, 2025
2 commits
  • Merge pull request #1470 from m-holger/fuzz ...
    dbd437e2
    Fix startxref recovery
    m-holger authored
    2025-05-21 23:41:37 +0100  
    Browse Code »
  • Fix startxref recovery ...
    bf4b25b2
    Backup and restore the xref table during attempted startxref recovery to avoid corrupt states. Added a guard condition to handle invalid xref entries types, preventing processing of unsupported cases. These changes improve robustness during PDF parsing and recovery.
    m-holger authored
    2025-05-21 19:19:08 +0100  
    Browse Code »

20 May, 2025
1 commit
  • Fix typo in emacs dir locals file
    c08bfd98
    Jay Berkenbilt authored
    2025-05-20 12:19:05 -0400  
    Browse Code »

19 May, 2025
1 commit
  • Fix apparent typo for zopfli enablement ...
    594ad9fa
    cmake complains when building with -DZOPFLI-ON as opposed to =ON
    Stephan Somogyi authored
    2025-05-19 13:14:03 -0700  
    Browse Code »

16 May, 2025
2 commits
  • Merge pull request #1466 from m-holger/fuzz ...
    a9a3e5fd
    Temporarily rename qpdf_pages_fuzzer to qpdf_page_fuzzer
    m-holger authored
    2025-05-16 10:49:57 +0100  
    Browse Code »
  • Temporarily rename qpdf_pages_fuzzer to qpdf_page_fuzzer ...
    746b5edb
    Allow an existing unreproducable case to age out.
    m-holger authored
    2025-05-16 01:44:52 +0100  
    Browse Code »

14 May, 2025
1 commit
  • Merge pull request #1465 from zclifford/main ...
    058bcc82
    Pipeline_private.hh should include qpdf/Types.h for qpdf_offset_t
    m-holger authored
    2025-05-14 01:11:36 +0100  
    Browse Code »

13 May, 2025
13 commits
  • Pipeline_private.hh should include qpdf/Types.h for qpdf_offset_t
    5ce05206
    Zoe Clifford authored
    2025-05-13 15:05:04 -0700  
    Browse Code »
  • Merge pull request #1463 from m-holger/modernize ...
    361b19be
    Modernize code
    m-holger authored
    2025-05-13 22:46:42 +0100  
    Browse Code »
  • Refactor code to use modern C++ practices for clarity. ...
    54afdecb
    Replaced raw pointer defaults (e.g., `0`) with `nullptr` for better readability and type-safety. Simplified object initializer syntax using uniform initialization `{}`. These changes enhance code maintainability and ensure modern C++ standards compliance.
    m-holger authored
    2025-05-13 21:53:22 +0100  
    Browse Code »
  • 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 Code »
  • Replace std::endl with '\n' for consistent line endings. ...
    03ea948c
    This change updates all occurrences of `std::endl` to `\n` across various files for improved efficiency and consistency. It reduces unnecessary flushing of output buffers associated with `std::endl` while maintaining the same output format.
    m-holger authored
    2025-05-13 21:38:23 +0100  
    Browse Code »
  • Remove unnecessary `this->` qualifiers for cleaner code ...
    98c0b420
    Refactor code to eliminate redundant `this->` qualifiers, enhancing readability and consistency across the codebase. This modification simplifies member variable access and aligns with modern C++ coding practices.
    m-holger authored
    2025-05-13 21:22:53 +0100  
    Browse Code »
  • In QPDFJob::UnderOverlay refactor password handling to use std::string directly ...
    183e4407
    Replaced std::shared_ptr<char> with std::string for passwords in QPDFJob. This simplifies memory management and aligns the implementation with modern C++ standards, improving code readability and maintainability.
    m-holger authored
    2025-05-13 21:11:00 +0100  
    Browse Code »
  • Refactor password handling in QPDFJob::PageSpec. ...
    74e76df0
    Replaced shared pointer usage with a plain std::string for passwords in PageSpec to simplify code and enhance readability. Updated relevant logic and function calls to align with this change, removing unnecessary shared pointer management. Updated TODO to reflect completion of this modernization step.
    m-holger authored
    2025-05-13 21:11:00 +0100  
    Browse Code »
  • In QPDFJob refactor password handling to use std::string instead of shared_ptr. ...
    6e2a07e1
    Replaced `std::shared_ptr<char>` with `std::string` for password fields to simplify memory management and improve clarity. Updated relevant method implementations and function calls accordingly. This change ensures more straightforward and safer password handling throughout the codebase.
    m-holger authored
    2025-05-13 21:11:00 +0100  
    Browse Code »
  • In QPDFArgParser refactor argv handling to use `std::vector` instead of shared pointers. ...
    7475b353
    Replaces `std::shared_ptr<char const*>` with `std::vector<char const*>` for `argv` and `bash_argv` processing. This simplifies memory management, improves code clarity, and ensures better alignment with modern C++ practices. Updated all associated logic to handle `std::vector` operations efficiently.
    m-holger authored
    2025-05-13 21:11:00 +0100  
    Browse Code »
  • In QPDFArgParser refactor argv handling to use `std::string` instead of shared pointers. ...
    925ce4e6
    Replaces `std::shared_ptr<char const>` with `std::string` for `new_argv` and `bash_argv` to simplify memory management and improve clarity. Updated relevant operations to use `std::string` methods, eliminating unnecessary shared pointer usage.
    m-holger authored
    2025-05-13 21:11:00 +0100  
    Browse Code »
  • Refactor input file handling to use std::string and flag ...
    b53923d1
    Replaced raw shared pointers with std::string for `infilename` to improve simplicity and readability. Added a boolean `empty_input` flag to explicitly track empty input cases. Adjusted related logic and function calls accordingly for consistency.
    m-holger authored
    2025-05-13 21:11:00 +0100  
    Browse Code »
  • In QPDFJob refactor output file handling to use std::string instead of shared_ptr<char> ...
    3a42f63a
    Replaced shared_ptr<char> with std::string for `outfilename` in QPDFJob, simplifying its usage and reducing unnecessary memory management overhead. Updated related conditional checks and logic to align with the updated type. These changes improve code readability and maintainability.
    m-holger authored
    2025-05-13 21:11:00 +0100  
    Browse Code »