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
  • QPDF_linearization.cc
15 Oct, 2025
3 commits
  • Refactor `Linearization` methods: move logic from `QPDF` to `Lin`, add `lineariz… ...
    bd4bc944
    …ed`, `check`, and `show_data` methods, update usage across the codebase, and streamline related logic.
    m-holger authored
    2025-10-15 23:09:10 +0100  
    Browse File »
  • Refactor `Config` interface: add accessor and mutator methods for configuration … ...
    b520c150
    …fields, replace direct member access across the codebase, and streamline related logic.
    m-holger authored
    2025-10-15 20:45:02 +0100  
    Browse File »
  • Refactor `QPDF` configuration: encapsulate related fields in `Doc::Config`, upda… ...
    49010866
    …te usage throughout the codebase, and streamline configurations.
    m-holger authored
    2025-10-15 19:10:45 +0100  
    Browse File »

14 Oct, 2025
3 commits
  • Remove `QPDF_optimization.cc`: merge functionality into `QPDF_linearization.cc` … ...
    753b86f9
    …for improved structure and better code locality.
    m-holger authored
    2025-10-14 15:15:05 +0100  
    Browse File »
  • Refactor `Pages` interface: replace `.all()` with iterator-based access, add `be… ...
    361f147f
    …gin`/`end` methods, update calls across codebase, and streamline page handling logic.
    m-holger authored
    2025-10-14 13:27:34 +0100  
    Browse File »
  • Refactor `QPDF::getAllPages` usage: replace with `Pages::all` across `Doc::Linearization`.
    5ad81ce6
    m-holger authored
    2025-10-14 12:54:19 +0100  
    Browse File »

13 Oct, 2025
1 commit
  • Refactor `QPDF`: move warnings and damaged PDF handling logic to `Common` class,… ...
    cc9facdb
    … streamline error handling, and improve encapsulation.
    m-holger authored
    2025-10-13 13:40:34 +0100  
    Browse File »

06 Oct, 2025
2 commits
  • Create `Linearization` class in `QPDF::Doc` and update references ...
    a8e30477
    Encapsulate linearization-related logic in `QPDF::Doc::Linearization`. Refactor methods, relocate implementations, and update all references accordingly to streamline and centralize linearization functionality.
    m-holger authored
    2025-10-06 14:00:24 +0100  
    Browse File »
  • Move `Objects` to `QPDF::Doc` and update references ...
    e0ebf44f
    Relocate `Objects` to `QPDF::Doc` for improved encapsulation of object-related logic. Adjust all relevant methods and references to use the new placement.
    m-holger authored
    2025-10-06 13:35:10 +0100  
    Browse File »

21 Sep, 2025
1 commit
  • 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 File »

04 Sep, 2025
3 commits
  • Refactor `QPDF::readLinearizationData`: simplify linearization dictionary key ha… ...
    4aa6ee8d
    …ndling, replace `QPDFObjectHandle` with direct type usage, and remove redundant `QTC::TC` calls.
    m-holger authored
    2025-09-04 08:24:13 +0100  
    Browse File »
  • Refactor: replace `QPDFObjectHandle` with `Dictionary` in `QPDF::readHintStream`… ...
    54753f37
    …, remove redundant `QTC::TC` call, and simplify type usage.
    m-holger authored
    2025-09-04 08:24:13 +0100  
    Browse File »
  • Refactor: replace `getKey` with operator[] in `QPDF_linearization::`, update typ… ...
    0dad57c5
    …e handling to improve clarity and consistency.
    m-holger authored
    2025-09-04 08:24:13 +0100  
    Browse File »

31 Aug, 2025
1 commit
  • Refactor: replace `isNull` calls with `null` in `QPDF` and remove redundant `QTC::TC` calls.
    fe92a61d
    m-holger authored
    2025-08-31 13:47:15 +0100  
    Browse File »

10 Aug, 2025
1 commit
  • Refactor linearization checks: change `checkLinearizationInternal` to `void`, si… ...
    039abac4
    …mplify control flow, and update method returns.
    m-holger authored
    2025-08-10 12:33:07 +0100  
    Browse File »

09 Aug, 2025
1 commit
  • Refactor: replace `getArrayNItems` with `size`, simplify array traversal, centra… ...
    eee05a0c
    …lize type conversions, and improve clarity across multiple modules.
    m-holger authored
    2025-08-09 17:26:32 +0100  
    Browse File »

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

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

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

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

30 Jun, 2025
1 commit
  • 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 File »

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

05 Apr, 2025
1 commit
  • Deprecate QPDF::optimize
    7d10a8ab
    m-holger authored
    2025-04-05 13:40:43 +0100  
    Browse File »

25 Mar, 2025
4 commits
  • Amend pl::Count to use a numeric rather than string identifier
    2033b376
    m-holger authored
    2025-03-25 15:04:32 +0000  
    Browse File »
  • Enhance pl::Count to support buffered writing to next
    9c7c7413
    m-holger authored
    2025-03-25 14:51:25 +0000  
    Browse File »
  • Add a private API version of Pl_Count ...
    876c238e
    ... and use it in QPDFWriter and QPDF::generateHintStream.
    m-holger authored
    2025-03-25 14:44:04 +0000  
    Browse File »
  • In QPDFWriter::writeHintStream use std::string instead of std::shared_ptr<Buffer>
    953ed4b8
    m-holger authored
    2025-03-25 14:44:04 +0000  
    Browse File »

14 Mar, 2025
5 commits
  • Bug fix - in QPDF::isLinearized return false if /L is not an integer
    f54d98ba
    m-holger authored
    2025-03-14 09:20:48 +0000  
    Browse File »
  • Refactor QPDF::isLinearized
    32eca969
    m-holger authored
    2025-03-14 09:18:44 +0000  
    Browse File »
  • Bug fix - don't ignore non-dictionary objects when searching for the ...
    370399a9
    linearization parameter dictionary.
    
    Spec states that that linearization parameter dictionary must be the first
    object.
    m-holger authored
    2025-03-14 09:13:01 +0000  
    Browse File »
  • Refactor QPDF::isLinearized
    27791cc8
    m-holger authored
    2025-03-14 09:12:52 +0000  
    Browse File »
  • Use new read method in QPDF::isLinearized
    791faac4
    m-holger authored
    2025-03-14 09:11:28 +0000  
    Browse File »

11 Mar, 2025
1 commit
  • Minor code formatting fixes
    a9b5ebef
    m-holger authored
    2025-03-11 13:47:23 +0000  
    Browse File »

06 Mar, 2025
1 commit
  • Move QPDF inner class definitions to new QPDF_private.hh
    5c866633
    m-holger authored
    2025-03-06 14:12:27 +0000  
    Browse File »

03 Mar, 2025
1 commit
  • Un-inline QUtil functions ...
    67edbfd9
    Add new private Util.hh header to define inline functions and expose as
    ordinary functions in QUtil.
    m-holger authored
    2025-03-03 14:01:58 +0000  
    Browse File »

16 Feb, 2025
1 commit
  • Pass QPDFObjGen by value ...
    d8e4a081
    Except for virtual functions to avoid the need for users to update code.
    m-holger authored
    2025-02-16 11:56:39 +0000  
    Browse File »

08 Feb, 2025
1 commit
  • Bump clang-format to version 20 and reformat ...
    38d8cc7f
    This improves indentation of long strings. This commit also fixes some
    trailing whitespace in ChangeLog.
    Jay Berkenbilt authored
    2025-02-08 11:17:57 -0500  
    Browse File »

16 Jan, 2025
1 commit
  • Revert "Merge pull request #1272 from m-holger/xref_table" ...
    0d5c57c1
    This reverts commit ff2a78f579ebdd06b417e34260a17dba06e71137, reversing
    changes made to 8f54319f7a6514110f4b05cbbf1cb1c9fc8cb6a0.
    m-holger authored
    2025-01-16 16:40:08 +0000  
    Browse File »