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
  • QPDFWriter.cc
12 Sep, 2025
5 commits
  • Refactor `QPDFWriter`: move `initializeTables`, `doWriteSetup`, `initializeSpeci… ...
    a70158a3
    …alStreams`, `preserveObjectStreams`, and `generateObjectStreams` to `QPDFWriter::Members`. Update related logic and remove obsolete test coverage entries.
    m-holger authored
    2025-09-12 13:09:40 +0100  
    Browse File »
  • Refactor `QPDFWriter`: move `generateID` and `getOriginalID1` to `QPDFWriter::Me… ...
    a15d0afa
    …mbers` and update encryption parameter handling logic.
    m-holger authored
    2025-09-12 12:26:51 +0100  
    Browse File »
  • Refactor `QPDFWriter`: move methods `setMinimumPDFVersion`, `parseVersion`,`disa… ...
    44fa03c6
    …bleIncompatibleEncryption` and `compareVersions` to `QPDFWriter::Members`. Remove outdated test coverage entries.
    m-holger authored
    2025-09-12 12:06:08 +0100  
    Browse File »
  • Extend `Members` constructor in `QPDFWriter` to accept `QPDFWriter` reference an… ...
    3575c062
    …d update initialization logic accordingly.
    m-holger authored
    2025-09-12 12:05:30 +0100  
    Browse File »
  • Refactor `QPDFWriter` construction to use `std::make_shared`.
    c9b54e3c
    m-holger authored
    2025-09-12 11:13:38 +0100  
    Browse File »

31 Aug, 2025
1 commit
  • Refactor: replace `isNull` calls with `null`, remove redundant `QTC::TC` calls i… ...
    77cf2387
    …n `QPDFWriter` and `QPDFJob`.
    m-holger authored
    2025-08-31 13:47:15 +0100  
    Browse File »

14 Aug, 2025
1 commit
  • Refactor `QPDFWriter`: remove unused `stream_decode_level` check in conditional … ...
    1f7a6be4
    …logic in call to `initializeSpecialStreams`.
    m-holger authored
    2025-08-14 12:00:26 +0100  
    Browse File »

09 Aug, 2025
2 commits
  • Refactor `QPDFWriter`: simplify array handling, replace `getArrayNItems` with `s… ...
    f699aacb
    …ize`, and centralize `empty` checks.
    m-holger authored
    2025-08-09 17:24:34 +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 »

07 Aug, 2025
1 commit
  • Disallow `--deterministic-id` with encrypted output and improve error handling f… ...
    b46d4b98
    …or deterministic ID generation (fixes #1235).
    m-holger authored
    2025-08-07 19:09:16 +0100  
    Browse File »

03 Aug, 2025
1 commit
  • 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 File »

19 Jul, 2025
4 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 File »
  • 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 File »
  • 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 File »
  • 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 File »

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 File »
  • 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 File »
  • 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 File »
  • 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 File »
  • 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 File »
  • 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 File »
  • 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 File »
  • 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 File »
  • 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 File »
  • 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 File »

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

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 File »
  • 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 File »
  • 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 File »

09 Jul, 2025
7 commits
  • 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 File »
  • 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 File »
  • 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 File »
  • 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 File »
  • 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 File »
  • 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 File »
  • 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 File »

22 May, 2025
1 commit
  • 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 File »

13 May, 2025
3 commits
  • 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 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 »