Andrew Murray
95255536cf
Merge branch 'main' into type_hints
2024-02-05 19:29:27 +11:00
Andrew Murray
1b67239674
Update CHANGES.rst [ci skip]
2024-02-05 11:56:55 +11:00
Andrew Murray
3bd58a80a3
Merge pull request #7745 from nik012003/main
...
Update wl-paste handling and return None for some errors in grabclipboard() on Linux
2024-02-05 11:49:31 +11:00
Andrew Murray
d8f52f58be
Merge branch 'main' into main
2024-02-05 08:56:25 +11:00
Andrew Murray
fe09f0db37
Merge pull request #7776 from hugovk/codecov/codecov-action@v3.1.5
...
Pin codecov/codecov-action to v3.1.5
2024-02-05 08:55:11 +11:00
Andrew Murray
1e0b17a052
Merge pull request #7775 from radarhere/cygwin
...
Removed platform argument from setup-cygwin action
2024-02-05 08:05:53 +11:00
Andrew Murray
435c884ebb
Removed platform argument from setup-cygwin action
2024-02-03 23:44:33 +11:00
Hugo van Kemenade
dba7dea326
Pin codecov/codecov-action to v3.1.5
2024-02-03 14:43:04 +02:00
Andrew Murray
cb9e3535c4
Merge pull request #7774 from python-pillow/renovate/github-actions
...
Update release-drafter/release-drafter action to v6
2024-02-03 14:39:14 +11:00
renovate[bot]
6207ad4196
Update release-drafter/release-drafter action to v6
2024-02-03 02:24:17 +00:00
Andrew Murray
acd7ecedcb
Merge pull request #7764 from radarhere/libxau
...
Fixed libXau error in wheels for macOS 10.10
2024-02-03 13:23:48 +11:00
Hugo van Kemenade
a5b4806830
Merge pull request #7772 from radarhere/codec_name
2024-02-02 20:05:58 +02:00
Andrew Murray
8d96e3bc59
Changed name of first _Tile parameter
2024-02-02 23:54:31 +11:00
Nicola Guerrera
8156798cec
Merge pull request #3 from radarhere/grabclipboard
...
Added test
2024-02-02 10:21:07 +01:00
Andrew Murray
2515938cdd
Simplified type hints
2024-02-02 19:04:22 +11:00
Andrew Murray
e47877587f
Merge pull request #7770 from python-pillow/renovate/github-actions
...
Update github-actions to v4
2024-02-01 09:07:48 +11:00
renovate[bot]
6dba9c9887
Update github-actions to v4
2024-01-31 21:14:01 +00:00
Andrew Murray
bb1fece57a
Added type hints
2024-01-31 21:55:32 +11:00
Hugo van Kemenade
4a4b90c365
Autotype tests ( #7756 )
...
* autotyping: --none-return
* autotyping: --scalar-return
* autotyping: --int-param
* autotyping: --float-param
* autotyping: --str-param
* autotyping: --annotate-named-param tmp_path:pathlib.Path
2024-01-31 20:12:58 +11:00
Andrew Murray
d57b5e827c
Corrected check
2024-01-31 19:10:33 +11:00
Andrew Murray
5efa2ade22
Added test
2024-01-31 19:10:33 +11:00
Andrew Murray
39cbd4f0f1
Expanded error message strings
2024-01-31 19:10:33 +11:00
Andrew Murray
e7470ed789
Merge branch 'main' into main
2024-01-31 19:07:08 +11:00
Hugo van Kemenade
db437386eb
Merge pull request #7762 from radarhere/cygwin
2024-01-31 09:46:42 +02:00
Andrew Murray
940d25614f
Merge pull request #7767 from python-pillow/renovate/cibuildwheel-2.x
...
Update dependency cibuildwheel to v2.16.5
2024-01-31 17:37:11 +11:00
renovate[bot]
1dad1b87ed
Update dependency cibuildwheel to v2.16.5
2024-01-31 00:17:32 +00:00
Andrew Murray
cae3506abb
Merge pull request #7766 from hugovk/m1
...
Test on macOS M1 where available
2024-01-31 08:34:19 +11:00
Hugo van Kemenade
d65f7b5ef7
brew install ghostscript
2024-01-30 22:51:04 +02:00
Hugo van Kemenade
7c6d806645
Test on macOS M1 where available
2024-01-30 22:50:52 +02:00
Andrew Murray
b374f2679c
Build libxcb dependencies on macOS x86-64
2024-01-30 22:57:17 +11:00
Andrew Murray
40fceedfba
brew remove libxau
2024-01-30 22:56:13 +11:00
Andrew Murray
139320be3a
Pin to Python 3.9.16-1
2024-01-30 19:44:42 +11:00
Andrew Murray
15dc4312d2
Merge pull request #7760 from hugovk/rm-exec-bit-setup.py
...
Remove execute bit from `setup.py`
2024-01-30 12:54:22 +11:00
Hugo van Kemenade
76955bbaf7
Remove shebang and execute bit
2024-01-29 18:43:51 +02:00
Hugo van Kemenade
0669532898
Remove shebangs
2024-01-29 18:43:03 +02:00
Hugo van Kemenade
866c26957d
Add check-shebang-scripts-are-executable to pre-commit
2024-01-29 18:37:24 +02:00
Hugo van Kemenade
529487c244
Remove execute bit from setup.py
2024-01-29 16:48:39 +02:00
Andrew Murray
62b222ddaa
Merge pull request #7758 from python-pillow/renovate/cibuildwheel-2.x
...
Update dependency cibuildwheel to v2.16.4
2024-01-29 14:40:38 +11:00
renovate[bot]
52e51e12b9
Update dependency cibuildwheel to v2.16.4
2024-01-28 21:20:28 +00:00
Nicola Guerrera
9392f24655
Merge pull request #2 from radarhere/grabclipboard
...
Simplified code
2024-01-27 13:00:56 +01:00
Andrew Murray
d3205fae19
Simplified code
2024-01-27 22:54:01 +11:00
Hugo van Kemenade
232bddd2ce
Merge pull request #7755 from radarhere/type_hints
2024-01-27 13:33:12 +02:00
Nicola Guerrera
6998f34768
Rearrange error handling
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-01-27 12:08:16 +01:00
Nicola Guerrera
1522b3fb84
Merge pull request #1 from radarhere/grabclipboard
...
Rearranged code
2024-01-27 11:04:43 +01:00
Andrew Murray
d2d9240de4
Do not declare variable until necessary
2024-01-27 20:15:31 +11:00
Andrew Murray
b81341ae7e
Only decode stderr when necessary
2024-01-27 20:15:10 +11:00
Nicola Guerrera
cd640e5df2
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
2024-01-27 10:03:44 +01:00
Andrew Murray
737314923f
Added type hints
2024-01-27 15:19:43 +11:00
Hugo van Kemenade
f55c9c6e01
Merge pull request #7754 from radarhere/type_hints
2024-01-26 18:54:36 +02:00
Andrew Murray
b82e601a44
Merge pull request #7741 from hugovk/ci-stuff
...
CI: Cache libimagequant on Linux builds
2024-01-26 13:10:46 +11:00