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
04 Aug, 2025
2 commits
  • Refactor `validatePDFVersion` and `findHeader`: simplify logic, improve readabil… ...
    727d14cb
    …ity, and replace deprecated API usage.
    m-holger authored
    2025-08-04 10:50:45 +0100  
    Browse Dir »
  • Refactor `QPDF::calculateHPageOffset`: simplify loops with range-based for, repl… ...
    0b2a75ab
    …ace manual index handling, revise min/max initialization to use `std::numeric_limits`, and optimize shared identifier assignments.
    m-holger authored
    2025-08-04 01:34:28 +0100  
    Browse Dir »

03 Aug, 2025
3 commits
  • In `ObjUser` and in linearization calculations refactor to use `size_t` for page… ...
    e8ade683
    … numbers and related variables, replacing `int`, to enhance consistency and avoid unnecessary checked conversions.
    m-holger authored
    2025-08-03 22:18:46 +0100  
    Browse Dir »
  • Refactor `ObjUser` class: remove unused `ou_bad` type, delete default constructo… ...
    d11d75a9
    …r,  and revise enum initialization. Clean up unused error handling in linearization logic.
    m-holger authored
    2025-08-03 22:17:29 +0100  
    Browse Dir »
  • Update `unparseChild` and `unparseObject` in `QPDFWriter` to use `size_t` for `l… ...
    6020af9f
    …evel` and add `const&` to `child` parameter.
    m-holger authored
    2025-08-03 11:51:21 +0100  
    Browse Dir »

02 Aug, 2025
2 commits
  • Improve linearization logic to handle invalid thumbnails gracefully and fix thum… ...
    3471c7c7
    …bnail processing loop to ensure consistency.
    m-holger authored
    2025-08-02 14:48:13 +0100  
    Browse Dir »
  • Fix linearization logic to conditionally add outlines object only if erased, ens… ...
    4ebe5452
    …uring robustness against damaged PDFs.
    m-holger authored
    2025-08-02 12:18:00 +0100  
    Browse Dir »

31 Jul, 2025
1 commit
  • Enhance `QPDF_objects` to ignore excessively large object stream IDs in xref str… ...
    4b70fc3c
    …eams, improving robustness against damaged PDFs.
    m-holger authored
    2025-07-31 18:30:08 +0100  
    Browse Dir »

27 Jul, 2025
4 commits
  • Merge pull request #1499 from m-holger/base64 ...
    05469083
    Refactor Pl_Base64
    m-holger authored
    2025-07-27 18:19:17 +0100  
    Browse Dir »
  • Refactor `Pl_Base64` to add static `encode` and `decode` methods, streamline enc… ...
    92a8c888
    …oding/decoding logic, and simplify usage in `JSON_writer` and `QPDF_json`.
    m-holger authored
    2025-07-27 17:43:39 +0100  
    Browse Dir »
  • Refactor `Pl_Base64` to use `std::string` for output buffering and `std::string_… ...
    05e52843
    …view` for encoding/decoding, improving memory efficiency and simplifying buffer management
    m-holger authored
    2025-07-27 17:43:29 +0100  
    Browse Dir »
  • Enhance `QPDFParser` sanity checks after xref recovery to include parsing of content streams.
    413c8c0f
    m-holger authored
    2025-07-27 17:35:48 +0100  
    Browse Dir »

26 Jul, 2025
2 commits
  • Refactor `Pl_Base64` to use `std::string` for input buffering, simplifying `writ… ...
    a686cc5f
    …e` and `finish` logic
    m-holger authored
    2025-07-26 15:24:59 +0100  
    Browse Dir »
  • Refactor `QPDF_json` stream reading to simplify and improve performance by repla… ...
    db7251f1
    …cing buffered reads with direct data extraction from `InputSource`.
    m-holger authored
    2025-07-26 14:37:51 +0100  
    Browse Dir »

25 Jul, 2025
1 commit
  • Refactor `NNTree` to encapsulate warning and error handling into `NNTreeImpl`, a… ...
    9f9f01d5
    …dding error counting and leveraging `reconstructed_xref` for improved robustness, limiting the acceptable number of errors for damaged files.
    m-holger authored
    2025-07-25 00:34:41 +0100  
    Browse Dir »

24 Jul, 2025
1 commit
  • Add check for shared appearance stream in QPDFFormFieldObjectHelper::generateTextAppearance ...
    78db34d2
    Ensure an appearance stream is not shared  before generating text appearances, improving error handling and data integrity.
    m-holger authored
    2025-07-24 15:04:39 +0100  
    Browse Dir »

20 Jul, 2025
7 commits
  • In FUTURE, refactor `BufferInputSource` to use is::OffsetBuffer.
    799080b0
    m-holger authored
    2025-07-20 17:55:46 +0100  
    Browse Dir »
  • Refactor `QPDF_Stream` and related classes to replace `Buffer` usage with `std::… ...
    8a6b3582
    …string`, improving performance, simplifying stream data handling, and reducing dependency on `BufferInputSource`.
    m-holger authored
    2025-07-20 16:00:17 +0100  
    Browse Dir »
  • Refactor `QPDFObjectHandle` and related classes to replace `Buffer` usage with `… ...
    c436f035
    …std::string_view`, improving performance and code clarity.
    m-holger authored
    2025-07-20 15:07:24 +0100  
    Browse Dir »
  • Refactor `is::OffsetBuffer` to introduce overloaded constructor, reducing redund… ...
    31073ea3
    …ancy and improving initialization consistency.
    m-holger authored
    2025-07-20 13:44:10 +0100  
    Browse Dir »
  • Refactor `is::OffsetBuffer` to rename `cur_offset` to `pos` and consolidate redu… ...
    7e7cede8
    …ndant methods for improved code clarity.
    m-holger authored
    2025-07-20 13:38:53 +0100  
    Browse Dir »
  • Refactor `is::OffsetBuffer` to use `std::string_view` instead of `Buffer` simplifying code.
    0c9b6fe9
    m-holger authored
    2025-07-20 13:28:04 +0100  
    Browse Dir »
  • Refactor `is::OffsetBuffer` to remove dependency on `BufferInputSource`, improvi… ...
    81cb7962
    …ng encapsulation and maintainability.
    m-holger authored
    2025-07-20 13:27:23 +0100  
    Browse Dir »

19 Jul, 2025
5 commits
  • Refactor `Pl_AES_PDF` and `Pl_RC4` constructors to simplify key handling ...
    9faffb74
    Replaced raw key pointer and length parameters with a `std::string` in `Pl_AES_PDF` and `Pl_RC4` constructors for improved safety and clarity. Updated all usage sites accordingly, reducing reliance on manual memory management and redundant conversions.
    m-holger authored
    2025-07-19 19:43:33 +0100  
    Browse Dir »
  • Refactor `QPDFWriter` to replace `pl::Link` with direct use of `Pipeline` for im… ...
    4278a557
    …proved clarity and reduced indirection in pipeline management.
    m-holger authored
    2025-07-19 18:40:59 +0100  
    Browse Dir »
  • Refactor `QPDFWriter` to replace `pl::Link` with direct use of `Pipeline` for im… ...
    7b342750
    …proved clarity and reduced indirection in pipeline management.
    m-holger authored
    2025-07-19 18:32:35 +0100  
    Browse Dir »
  • Refactor linearization hint stream logic in `QPDF_linearization.cc` to simplify … ...
    680b6874
    …buffer handling and streamline compression.
    m-holger authored
    2025-07-19 18:20:34 +0100  
    Browse Dir »
  • Refactor stream compression logic in `QPDFWriter` to simplify pipeline activatio… ...
    1457c421
    …n and improve separation of concerns.
    m-holger authored
    2025-07-19 17:53:14 +0100  
    Browse Dir »

18 Jul, 2025
10 commits
  • Refactor `QPDFWriter` to use `std::unique_ptr` for `m->to_delete` and `m->buffer_pipeline`.
    737c190d
    m-holger authored
    2025-07-18 18:43:37 +0100  
    Browse Dir »
  • Refactor `Pl_stack` in `QPDFWriter` to streamline MD5 pipeline activation and po… ...
    154d60c4
    …pping, remove redundant `PipelinePopper` usage, and improve encapsulation of MD5 handling.
    
    # Conflicts:
    #	libqpdf/QPDFWriter.cc
    m-holger authored
    2025-07-18 18:38:21 +0100  
    Browse Dir »
  • Refactor `Pl_stack` in `QPDFWriter` to replace `next_stack_id` with `last_id`, s… ...
    c934608d
    …implifying ID management and ensuring consistent initialization.
    m-holger authored
    2025-07-18 15:21:55 +0100  
    Browse Dir »
  • Refactor `PipelinePopper` to improve encapsulation by moving it into `Pl_stack` as a nested class.
    5e791513
    m-holger authored
    2025-07-18 15:12:00 +0100  
    Browse Dir »
  • 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
1 commit
  • 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 »