Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAINT: simplify test with None and NullObject #121

Open
wants to merge 56 commits into
base: main
Choose a base branch
from

Commits on Jul 28, 2024

  1. DEV: Test against Python 3.13 (py-pdf#2776)

    * DEV: Test against Python 3.13
    
    * fix typo
    
    * add missing setup-python
    
    * fix another typo
    
    * update Pillow version
    
    * attempt to update coverage package
    
    * update number of expected coverage files
    stefan6419846 committed Jul 28, 2024
    Configuration menu
    Copy the full SHA
    4bd54bd View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2024

  1. STY: Remove boolean value comparison (py-pdf#2779)

    PEP 8 recommendation.
    j-t-1 committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    d4df20d View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2024

  1. Configuration menu
    Copy the full SHA
    3ad9234 View commit details
    Browse the repository at this point in the history
  2. SEC: Fix GitHub workflow vulnerable to script injection (py-pdf#2787)

    Signed-off-by: Diogo Teles Sant'Anna <[email protected]>
    diogoteles08 committed Aug 2, 2024
    Configuration menu
    Copy the full SHA
    582557e View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2024

  1. Configuration menu
    Copy the full SHA
    38f3925 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    09f9b7e View commit details
    Browse the repository at this point in the history
  3. BUG: Handle Sequence as an IndirectObject when extracting text with l…

    …ayout mode (py-pdf#2788)
    
    * Handle Sequence as an IndirectObject
    
    The spec allows an int or float to be an IndirectObject as well, but this commit does not address that theoretical possibility.
    
    * Update pypdf/_text_extraction/_layout_mode/_font.py
    
    Co-authored-by: Stefan <[email protected]>
    
    * Address PR comments
    
    -Rename w_1 to w_next_entry
    -Utilize ParseError instead of PdfReadError
    -Write a test (both positive and negative)
    
    * Handle unlikely case of IndirectObjects for float/int width elements
    
    Also adds a comment to clarify that we don't explicitly handle the IndexError exception. Rather, we let it be raised as an IndexError.
    
    * Yoda condition I removed
    
    * Last commit was a bad patch, confused by non-committed changes
    
    * Use test files from URL rather than resources
    
    * Update tests/test_text_extraction.py
    
    Co-authored-by: pubpub-zz <[email protected]>
    
    * Fix code style warnings in range() call
    
    ---------
    
    Co-authored-by: Stefan <[email protected]>
    Co-authored-by: pubpub-zz <[email protected]>
    3 people committed Aug 5, 2024
    Configuration menu
    Copy the full SHA
    b2d7204 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2024

  1. STY: Refactor b_ (py-pdf#2772)

    j-t-1 committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    5abd590 View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2024

  1. Configuration menu
    Copy the full SHA
    219eb13 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    46c89dd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a9758ae View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2024

  1. ENH: Compress PDF files merging identical objects (py-pdf#2795)

    Add compress_identical_objects().
    Discovered in py-pdf#2728.
    Closes py-pdf#2794.
    Closes py-pdf#2768.
    pubpub-zz committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    cf7fcfd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2eb565d View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2024

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

Commits on Aug 15, 2024

  1. BUG: Fix sheared image (py-pdf#2801)

    Closes py-pdf#2411.
    pubpub-zz committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    799630d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    454a62a View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2024

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

Commits on Aug 22, 2024

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

Commits on Aug 23, 2024

  1. Configuration menu
    Copy the full SHA
    9f08cd0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b7b3c8c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fba73a4 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2024

  1. fix test

    pubpub-zz committed Aug 24, 2024
    Configuration menu
    Copy the full SHA
    0543709 View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2024

  1. fixes + first test

    pubpub-zz committed Aug 25, 2024
    Configuration menu
    Copy the full SHA
    29030d4 View commit details
    Browse the repository at this point in the history
  2. coverage

    pubpub-zz committed Aug 25, 2024
    Configuration menu
    Copy the full SHA
    1067b74 View commit details
    Browse the repository at this point in the history
  3. coverage

    pubpub-zz committed Aug 25, 2024
    Configuration menu
    Copy the full SHA
    f1d3fbe View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2024

  1. Configuration menu
    Copy the full SHA
    ae97bc7 View commit details
    Browse the repository at this point in the history
  2. test + doc

    pubpub-zz committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    d9a99d9 View commit details
    Browse the repository at this point in the history
  3. coverage

    pubpub-zz committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    3c4cfdc View commit details
    Browse the repository at this point in the history
  4. coverage

    pubpub-zz committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    38d4b35 View commit details
    Browse the repository at this point in the history
  5. coverage

    pubpub-zz committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    79eca73 View commit details
    Browse the repository at this point in the history
  6. coverage

    pubpub-zz committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    290c5a6 View commit details
    Browse the repository at this point in the history
  7. coverage

    pubpub-zz committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    173578d View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    b2b0c9e View commit details
    Browse the repository at this point in the history
  9. simplification

    pubpub-zz committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    1a6eda5 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2024

  1. coverage

    pubpub-zz committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    d43d25b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f55d332 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7e2e74d View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2024

  1. Configuration menu
    Copy the full SHA
    38ea8c5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    708e449 View commit details
    Browse the repository at this point in the history
  3. ENH: add capability to remove /Info from pypdf

    to be merged after py-pdf#2811
    pubpub-zz committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    c9a6c95 View commit details
    Browse the repository at this point in the history
  4. coverage

    pubpub-zz committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    5147266 View commit details
    Browse the repository at this point in the history
  5. oups

    pubpub-zz committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    ec9aafe View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2024

  1. ROB: Robustify .set_data() (py-pdf#2821)

    Cope with objects where the filter is ["/FlateDecode"] and/or where data has not been read yet.
    pubpub-zz committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    82eac7e View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2024

  1. Configuration menu
    Copy the full SHA
    ff76e02 View commit details
    Browse the repository at this point in the history
  2. move to X-reference stream for increment

    this prevents "repairation" within acrobat
    pubpub-zz committed Sep 1, 2024
    Configuration menu
    Copy the full SHA
    14a93f1 View commit details
    Browse the repository at this point in the history
  3. coverage

    pubpub-zz committed Sep 1, 2024
    Configuration menu
    Copy the full SHA
    53e141f View commit details
    Browse the repository at this point in the history
  4. coverage

    pubpub-zz committed Sep 1, 2024
    Configuration menu
    Copy the full SHA
    b4b7c1b View commit details
    Browse the repository at this point in the history
  5. coverage

    pubpub-zz committed Sep 1, 2024
    Configuration menu
    Copy the full SHA
    7bc3abd View commit details
    Browse the repository at this point in the history
  6. fix

    pubpub-zz committed Sep 1, 2024
    Configuration menu
    Copy the full SHA
    ffa2f0c View commit details
    Browse the repository at this point in the history
  7. mypy

    pubpub-zz committed Sep 1, 2024
    Configuration menu
    Copy the full SHA
    b072952 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    ca724f9 View commit details
    Browse the repository at this point in the history
  9. coverage

    pubpub-zz committed Sep 1, 2024
    Configuration menu
    Copy the full SHA
    454c4fe View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2024

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

Commits on Sep 4, 2024

  1. fix

    pubpub-zz committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    645f574 View commit details
    Browse the repository at this point in the history
  2. different

    pubpub-zz committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    f56dab8 View commit details
    Browse the repository at this point in the history
  3. reworded

    pubpub-zz committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    5069a81 View commit details
    Browse the repository at this point in the history