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
05 Oct, 2025
9 commits
  • Move `reconstructed_xref` to `QPDF::Doc` and update references ...
    070b38bf
    Relocate `reconstructed_xref` to `QPDF::Doc` for improved encapsulation of cross-reference reconstruction state. Adjust all references to use the updated placement.
    m-holger authored
    2025-10-05 12:25:25 +0100  
    Browse Code »
  • Move `StreamCopier` to `QPDF::Doc` and update references ...
    0885a160
    Relocate `StreamCopier` to `QPDF::Doc` for improved encapsulation of stream copying functionality. Adjust all references to use the updated placement.
    m-holger authored
    2025-10-05 12:16:06 +0100  
    Browse Code »
  • Move `JobSetter` to `QPDF::Doc` and update references ...
    d67ad8b7
    Relocate `JobSetter` to `QPDF::Doc` for improved encapsulation of job-related logic. Adjust all references to use the new placement.
    m-holger authored
    2025-10-05 12:09:58 +0100  
    Browse Code »
  • Move `Writer` to `QPDF::Doc` and update references ...
    c030d31c
    Relocate `Writer` to `QPDF::Doc` for better encapsulation of writer-related logic. Adjust all references to use the new placement.
    m-holger authored
    2025-10-05 12:06:29 +0100  
    Browse Code »
  • Move `Pipe` to `QPDF::Doc::Streams` and update references ...
    09d758b0
    Relocate `Pipe` functionality to `QPDF::Doc::Streams` for improved encapsulation of stream-related logic. Adjust all references to use the new placement.
    m-holger authored
    2025-10-05 12:00:00 +0100  
    Browse Code »
  • Move `Resolver` to `QPDF::Doc` and update references ...
    5e292cff
    Relocate `Resolver` to `QPDF::Doc` for improved encapsulation of resolution logic. Adjust all references accordingly to use the new placement.
    m-holger authored
    2025-10-05 11:53:43 +0100  
    Browse Code »
  • Move `ParseGuard` to `QPDF::Doc` and update references ...
    0be4a8e7
    Relocate `ParseGuard` to `QPDF::Doc` for better encapsulation of parsing logic. Adjust references in `QPDFParser` accordingly to use the new placement.
    m-holger authored
    2025-10-05 11:44:58 +0100  
    Browse Code »
  • Refactor document helper access through `QPDF::Doc` ...
    1111240a
    Replace direct access to document helpers (`acroform()`, `pages()`, `embedded_files()`, etc.) with calls through `QPDF::doc()` for better encapsulation. Adjust related methods, constructors, and memory management accordingly.
    m-holger authored
    2025-10-05 11:22:08 +0100  
    Browse Code »
  • Introduce `QPDF::Doc` to encapsulate document-level operations ...
    c5b728f8
    Add `QPDF::Doc` as an inner class to manage document-level functionality. Update memory management in `QPDF::Members` to include `Doc` and ensure proper initialization. Add `QPDF::doc()` method for internal access. Refactor constructors accordingly.
    m-holger authored
    2025-10-05 10:56:05 +0100  
    Browse Code »

30 Sep, 2025
6 commits
  • Merge pull request #1551 from m-holger/buffer ...
    afb09d2e
    Refactor Buffer
    m-holger authored
    2025-09-30 19:57:40 +0100  
    Browse Code »
  • Add `Buffer::data()`, `empty()`, and `size()` methods with unit tests ...
    82c178b0
    Introduce new methods: `data()` to access buffer content, `empty()` to check buffer state, and `size()` to retrieve buffer size. Update unit tests to validate the behavior of these methods alongside existing functionality.
    m-holger authored
    2025-09-30 17:42:15 +0100  
    Browse Code »
  • Add `Buffer::view()` method and update unit tests ...
    388719d4
    Implement `Buffer::view()` to provide a read-only view of the buffer content. Update unit tests to validate `view()` behavior alongside `move()`. Include necessary `#include <string_view>` for functionality.
    m-holger authored
    2025-09-30 13:42:27 +0100  
    Browse Code »
  • Add `Buffer::move()` to transfer ownership of buffer content ...
    6df06185
    Refactor `Buffer`: implement `move()` method to enable efficient transfer of content to a string, leaving the buffer empty. Include unit tests for `move()` functionality to ensure correctness. Remove redundant `#include <cstring>` for cleanup.
    m-holger authored
    2025-09-30 13:38:40 +0100  
    Browse Code »
  • Refactor `Buffer::Members`: replace `unsigned char*` with `char*`, simplify stri… ...
    9ff713f4
    …ng handling, and reduce reliance on `reinterpret_cast`.
    m-holger authored
    2025-09-30 13:37:30 +0100  
    Browse Code »
  • Refactor `Buffer::Members`: remove `own_memory`, simplify constructor logic, and… ...
    30bc392a
    … replace manual memory management with `std::string`.
    m-holger authored
    2025-09-30 13:34:12 +0100  
    Browse Code »

28 Sep, 2025
2 commits
  • Refactor `Buffer`: remove unused `copy` method to simplify the class structure.
    c3191449
    m-holger authored
    2025-09-28 18:45:08 +0100  
    Browse Code »
  • Refactor `Buffer`: replace raw `new` with `std::make_unique` for safer and more … ...
    52904a1c
    …modern resource management.
    m-holger authored
    2025-09-28 18:17:45 +0100  
    Browse Code »

22 Sep, 2025
10 commits
  • Merge pull request #1550 from m-holger/writer ...
    88a62f78
    Refactor QPDFWriter
    m-holger authored
    2025-09-22 18:44:38 +0100  
    Browse Code »
  • Refactor `QPDFWriter::writeStream`: simplify stream data filtering logic, consol… ...
    c97da2df
    …idate conditions, and enhance readability.
    m-holger authored
    2025-09-22 14:24:00 +0100  
    Browse Code »
  • Refactor `QPDFWriter::Members::will_filter_stream`: consolidate decoding and enc… ...
    172ab474
    …oding flags, streamline filter logic, and simplify condition handling.
    m-holger authored
    2025-09-22 14:24:00 +0100  
    Browse Code »
  • Refactor `QPDFWriter`: replace `QPDFObjectHandle` with `Dictionary` in stream di… ...
    edefc896
    …ctionary handling, streamline filtering logic, and simplify length checks.
    m-holger authored
    2025-09-22 14:24:00 +0100  
    Browse Code »
  • Refactor `QPDFWriter::Members::will_filter_stream`: simplify stream filtering lo… ...
    8d4de787
    …gic, consolidate conditions, and enhance readability.
    m-holger authored
    2025-09-22 14:24:00 +0100  
    Browse Code »
  • Refactor `QPDFWriter::Members`: consolidate `willFilterStream` logic into a tupl… ...
    31abc63f
    …e-returning overload, streamline calls, and simplify stream filtering checks.
    m-holger authored
    2025-09-22 14:24:00 +0100  
    Browse Code »
  • Refactor `QPDFWriter`: replace `QPDFObjectHandle` with `Dictionary` for trimmed … ...
    a5afb867
    …trailer handling, streamline trailer processing logic, and simplify related method calls.
    m-holger authored
    2025-09-22 14:24:00 +0100  
    Browse Code »
  • Simplify `QPDFWriter::writeHintStream`: remove redundant `qdf_mode` check for st… ...
    1dd0575c
    …ream compression given that qpdf_mode is incompatible with linearization.
    m-holger authored
    2025-09-22 14:24:00 +0100  
    Browse Code »
  • Refactor `QPDFWriter`: remove `static` qualifiers from helper functions, replace… ...
    c2148fb1
    … `QPDF` parameter with `pdf` member, and simplify method calls.
    m-holger authored
    2025-09-22 14:24:00 +0100  
    Browse Code »
  • 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 Code »

21 Sep, 2025
5 commits
  • Merge pull request #1502 from m-holger/assert ...
    885674ab
    Refactor `assert_debug.h` to add new debug assertion aliases and upda…
    m-holger authored
    2025-09-21 20:03:18 +0100  
    Browse Code »
  • Refactor `QPDF_linearization.cc` to streamline logic with `util::assertion`, rep… ...
    0476b7cc
    …lace manual checks with `no_ci_stop_if`, and utilize `emplace_back` for improved clarity.
    m-holger authored
    2025-09-21 19:02:34 +0100  
    Browse Code »
  • Add `no_ci_stop_if`, `no_ci_stop_damaged_if`, and `no_ci_warn_if` methods to enh… ...
    3f8dd2b3
    …ance error and warning handling within `BaseHandle` and `QPDF`, highlighting that the error condition is not covered in CI testing without generating codecov noise.
    m-holger authored
    2025-09-21 14:07:31 +0100  
    Browse Code »
  • Refactor to consolidate assertion logic with `util::assertion` function.
    f6d8da10
    m-holger authored
    2025-09-21 14:06:01 +0100  
    Browse Code »
  • 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 Code »

20 Sep, 2025
8 commits
  • Merge pull request #1204 from m-holger/assemble ...
    2f232e8e
    Refactor QPDFJob::handlePageSpecs
    m-holger authored
    2025-09-20 20:48:56 +0100  
    Browse Code »
  • Refactor `QPDFJob::handlePageSpecs`: add `any_page_labels` to `Input`, simplify … ...
    1a000fce
    …page label processing logic, centralize label handling, and adjust related resource management.
    m-holger authored
    2025-09-20 19:55:18 +0100  
    Browse Code »
  • Refactor `QPDFJob::handlePageSpecs`: replace `selected_from_orig` and `copied_pa… ...
    92b29095
    …ges` sets with vector<bool> `Input::copied_pages`, centralize page tracking logic, adjust page processing, and simplify resource management.
    m-holger authored
    2025-09-20 15:45:14 +0100  
    Browse Code »
  • Refactor `handlePageSpecs`: adjust logic to process selections specific to each … ...
    cb5a5f4e
    …input, centralize page range parsing, and simplify page processing.
    m-holger authored
    2025-09-20 14:51:36 +0100  
    Browse Code »
  • Refactor `QPDFJob::Selection` and `Inputs`: remove `Selection::password` member … ...
    1c443a1c
    …and replace it with a setter that directly sets `Input::password`, centralize password handling, simplify file processing, and adjust related logic in `handlePageSpecs`.
    m-holger authored
    2025-09-20 14:36:11 +0100  
    Browse Code »
  • Refactor `QPDFJob::Selection` and `Inputs`: replace `Selection::filename` with `… ...
    d90b4006
    …input_entry`, centralize input file handling in `infile_name`, update `new_selection` logic, and simplify page range and input processing.
    m-holger authored
    2025-09-20 14:12:53 +0100  
    Browse Code »
  • Refactor `QPDFJob::Selection`: remove redundant `qpdf` member, update related lo… ...
    2c6a3e97
    …gic in `handlePageSpecs` and `new_selection`, and simplify page processing.
    m-holger authored
    2025-09-20 00:06:52 +0100  
    Browse Code »
  • Refactor `QPDFJob`: move section processing logic to `Selection::process`, centr… ...
    637c33a7
    …alize handling in `Files::process_all`, and simplify `handlePageSpecs`.
    m-holger authored
    2025-09-20 00:06:52 +0100  
    Browse Code »