Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: py-pdf/pypdf
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.10.5
Choose a base ref
...
head repository: py-pdf/pypdf
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2.10.8
Choose a head ref
  • 14 commits
  • 14 files changed
  • 4 contributors

Commits on Sep 6, 2022

  1. ROB: Fix image extraction issue with superfluous whitespaces (#1327)

    Fix some images reading when some operations are inserted between EI and Q
    end of image is now considered with [whitespace]EI[whitespace] (4 characters should be sufficient)
    
    Fixes #1090
    pubpub-zz authored Sep 6, 2022
    Configuration menu
    Copy the full SHA
    5049c1e View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2022

  1. Configuration menu
    Copy the full SHA
    bfbe0b2 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2022

  1. Configuration menu
    Copy the full SHA
    2f77698 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2022

  1. ROB: Fix infinite loop due to Invalid object (#1331)

    Fixes #1329
    
    * Prevent loop within dictionaries caused by objects not respecting the PDF standard
    * Fix cmap warnings due to "numbered" characters ( #2d instead of -)
    * Apply unnumbering to NameObject
    * Add _get_indirect_object for debugging and development
    * Add some missing seeks (no issue reported yet)
    pubpub-zz authored Sep 9, 2022
    Configuration menu
    Copy the full SHA
    e6531a2 View commit details
    Browse the repository at this point in the history
  2. REL: 2.10.6

    Robustness (ROB):
    -  Fix infinite loop due to Invalid object (#1331)
    -  Fix image extraction issue with superfluous whitespaces (#1327)
    
    Full Changelog: 2.10.5...2.10.6
    MartinThoma committed Sep 9, 2022
    Configuration menu
    Copy the full SHA
    0ceaa60 View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2022

  1. TST: Use pytest.warns() for warnings, and .raises() for exceptions (#…

    …1325)
    
    Replace the warning-as-exception checks with use of `pytest.warns()`.
    
    That is more semantically correct and works correctly when the tests
    are run without -Werror (e.g. because -Werror tends to cause test suites
    to crash on irrelevant deprecation warnings from other components).
    
    While at it, replace the homegrown exception checks in test_orientations
    with `pytest.raises()`.
    mgorny authored Sep 10, 2022
    Configuration menu
    Copy the full SHA
    2bbccf7 View commit details
    Browse the repository at this point in the history
  2. BUG: Decode #23 in NameObject (#1342)

    Fixes #1340
    pubpub-zz authored Sep 10, 2022
    Configuration menu
    Copy the full SHA
    d3a4a99 View commit details
    Browse the repository at this point in the history
  3. BUG: Fix Error in transformations (#1341)

    Error detected during analysis of #1280
    pubpub-zz authored Sep 10, 2022
    Configuration menu
    Copy the full SHA
    95012cc View commit details
    Browse the repository at this point in the history
  4. DOC: Mention contributor

    MartinThoma committed Sep 10, 2022
    Configuration menu
    Copy the full SHA
    725294e View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2022

  1. Configuration menu
    Copy the full SHA
    7e23624 View commit details
    Browse the repository at this point in the history
  2. REL: 2.10.7

    Bug Fixes (BUG):
    -  Fix Error in transformations (#1341)
    -  Decode #23 in NameObject (#1342)
    
    Testing (TST):
    -  Use pytest.warns() for warnings, and .raises() for exceptions (#1325)
    
    Full Changelog: 2.10.6...2.10.7
    MartinThoma committed Sep 11, 2022
    Configuration menu
    Copy the full SHA
    e23b985 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2022

  1. ROB: Improve NameObject reading/writing (#1345)

    Three kinds of changes were made in this PR
    
    1) _cmap.py : the str is coming from `/Encoding` which stores a NameObject : The conversion is already performed; no need to force it.
    2) _page.py : Replaced obsolete call in _debug_for_extract()
    3) _base.py :
    3.1) unnumber : all `#xx` should be performed prior to conversion to str (using utf-8) to allow multi language text
    3.2) read_from_stream : if utf-8 (normally the only one required) or gbk (kept to prevent regression) we will use charmap to get some sequence of chars
    3.3) renumber : added to recode in #xx sequence. renumber will also be compatible with utf-8 chars
    
    Closes #1344
    pubpub-zz authored Sep 14, 2022
    Configuration menu
    Copy the full SHA
    fb8be40 View commit details
    Browse the repository at this point in the history
  2. ENH: Add PageObject.user_unit property (#1336)

    Co-authored-by: Matthew Peveler <matt.peveler@gmail.com>
    MartinThoma and MasterOdin authored Sep 14, 2022
    Configuration menu
    Copy the full SHA
    3cf80bf View commit details
    Browse the repository at this point in the history
  3. REL: 2.10.8

    New Features (ENH):
    -  Add PageObject.user_unit property (#1336)
    
    Robustness (ROB):
    -  Improve NameObject reading/writing (#1345)
    
    Full Changelog: 2.10.7...2.10.8
    MartinThoma committed Sep 14, 2022
    Configuration menu
    Copy the full SHA
    168113b View commit details
    Browse the repository at this point in the history
Loading