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

Update wl-paste handling and return None for some errors in grabclipboard() on Linux #7745

Merged
merged 13 commits into from
Feb 5, 2024

Commits on Jan 27, 2024

  1. Refactor grabclipboard() for x11 and wayland

    Simpified logic and made it more robust against edge cases ( see the `allowed_errors` list ). Doing error checking this way, makes the behaviour of this function for x11 and wayland platforms more silimar to darwin and windows systems.
    
    fix typo src/PIL/ImageGrab.py
    
    Co-authored-by: Ondrej Baranovič <nulano@nulano.eu>
    
    fix typo src/PIL/ImageGrab.py
    
    Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
    
    ImageGrab: \added debian edge case to comment
    nik012003 committed Jan 27, 2024
    Configuration menu
    Copy the full SHA
    cd640e5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b81341a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d2d9240 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #1 from radarhere/grabclipboard

    Rearranged code
    nik012003 committed Jan 27, 2024
    Configuration menu
    Copy the full SHA
    1522b3f View commit details
    Browse the repository at this point in the history
  5. Rearrange error handling

    Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
    nik012003 and radarhere committed Jan 27, 2024
    Configuration menu
    Copy the full SHA
    6998f34 View commit details
    Browse the repository at this point in the history
  6. Simplified code

    radarhere committed Jan 27, 2024
    Configuration menu
    Copy the full SHA
    d3205fa View commit details
    Browse the repository at this point in the history
  7. Merge pull request #2 from radarhere/grabclipboard

    Simplified code
    nik012003 committed Jan 27, 2024
    Configuration menu
    Copy the full SHA
    9392f24 View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2024

  1. Configuration menu
    Copy the full SHA
    e7470ed View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    39cbd4f View commit details
    Browse the repository at this point in the history
  3. Added test

    radarhere committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    5efa2ad View commit details
    Browse the repository at this point in the history
  4. Corrected check

    radarhere committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    d57b5e8 View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2024

  1. Merge pull request #3 from radarhere/grabclipboard

    Added test
    nik012003 committed Feb 2, 2024
    Configuration menu
    Copy the full SHA
    8156798 View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2024

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