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
22 Sep, 2025
1 commit
  • Refactor `QPDF::Writer`: centralize member handling, move constructor to `QPDFWr… ...
    8007a849
    …iter`, and simplify resource management.
    m-holger authored
    2025-09-22 14:24:00 +0100  
    Browse File »

21 Sep, 2025
1 commit
  • Refactor `assert_debug.h` to add new debug assertion aliases and update include … ...
    18b26a2b
    …directives across modules to improve clarity and enforce better assertion practices.
    m-holger authored
    2025-09-21 14:06:01 +0100  
    Browse File »

16 Sep, 2025
1 commit
  • Stop `--compress-streams=n` from automatically disabling preservation of existin… ...
    306d734b
    …g encryption and update related tests.
    m-holger authored
    2025-09-16 14:27:49 +0100  
    Browse File »

12 Sep, 2025
11 commits
  • Refactor `QPDFWriter`: move `write` and `getWrittenXRefTable` to `QPDFWriter::Me… ...
    a944fe35
    …mbers`, update related logic, and clean up obsolete code.
    m-holger authored
    2025-09-12 15:17:54 +0100  
    Browse File »
  • Refactor `QPDFWriter`: move encryption-related methods and flags to `QPDFWriter:… ...
    9aef1589
    …:Members`, update related logic, and remove obsolete declarations.
    m-holger authored
    2025-09-12 15:05:34 +0100  
    Browse File »
  • Refactor `QPDFWriter`: move methods `setDataKey`, `indicateProgress`, `adjustAES… ...
    f52b9848
    …StreamLength`, `computeDeterministicIDData`, and `calculateXrefStreamPadding` to `QPDFWriter::Members`. Update related logic and remove obsolete declarations.
    m-holger authored
    2025-09-12 14:38:54 +0100  
    Browse File »
  • Refactor `QPDFWriter`: move multiple write-related methods to `QPDFWriter::Membe… ...
    ff09d994
    …rs`, update encryption and stream handling logic, and remove obsolete test coverage entries.
    m-holger authored
    2025-09-12 14:24:19 +0100  
    Browse File »
  • Refactor `QPDFWriter`: move `willFilterStream` to `QPDFWriter::Members`, update … ...
    ba1ded84
    …related logic, and remove obsolete test coverage entries.
    m-holger authored
    2025-09-12 13:51:16 +0100  
    Browse File »
  • Refactor `QPDFWriter`: move methods `prepareFileForWrite`, `enqueueObject`, `enq… ...
    c71035c7
    …ueueObjectsStandard`, `enqueueObjectsPCLm`, `enqueuePart`, `assignCompressedObjectNumbers`, and `getTrimmedTrailer` to `QPDFWriter::Members`. Update related logic and remove obsolete test coverage entries.
    m-holger authored
    2025-09-12 13:37:30 +0100  
    Browse File »
  • 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
2 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 »