Andrew Murray
fe1cab6ea0
Merge pull request #8761 from hugovk/slice-startswith
...
Replace slice and comparison with `startswith`/`endswith`
2025-02-18 18:41:42 +11:00
mergify[bot]
f6d227e128
Merge pull request #8760 from radarhere/px
...
Corrected type check
2025-02-17 22:05:00 +00:00
Hugo van Kemenade
9665eb3972
Replace slice and comparison with endswith
2025-02-17 23:39:33 +02:00
Hugo van Kemenade
1e574e6f8b
Replace slice and comparison with startswith
2025-02-17 23:39:33 +02:00
Andrew Murray
322e121a92
Corrected type check
2025-02-18 07:56:11 +11:00
Andrew Murray
fa58313c41
Merge pull request #8759 from radarhere/tar
...
Improve TarIO test coverage
2025-02-18 07:40:50 +11:00
Hugo van Kemenade
17541258c0
Merge pull request #8618 from radarhere/px
2025-02-17 13:30:17 +02:00
Hugo van Kemenade
a254b8cfeb
Merge pull request #8741 from radarhere/type
2025-02-17 13:29:44 +02:00
Hugo van Kemenade
0e333bf0dc
Merge pull request #8738 from radarhere/pkg_config
2025-02-17 13:28:21 +02:00
Hugo van Kemenade
3f111b986e
Merge pull request #8748 from radarhere/gif
2025-02-17 13:07:20 +02:00
Andrew Murray
1ac527a9e1
Merge pull request #8758 from hugovk/pypy3.11
...
Add PyPy3.11 to CI
2025-02-17 22:00:20 +11:00
Andrew Murray
19010bb301
Use match
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-02-17 21:49:08 +11:00
Andrew Murray
017b16b803
Removed argument
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-02-17 21:48:09 +11:00
Hugo van Kemenade
15e4c1a724
Fix ShellCheck
2025-02-17 12:19:44 +02:00
Andrew Murray
152d982644
Test missing subfile
2025-02-17 20:20:45 +11:00
Andrew Murray
9762c9e30e
Test unexpected end of tar file
2025-02-17 20:20:02 +11:00
Hugo van Kemenade
216690ff17
Add PyPy3.11 to CI
2025-02-16 21:29:54 +02:00
Hugo van Kemenade
8a3c4f5965
Merge pull request #8757 from mgorny/pycapi-compat-pypy311
2025-02-16 21:23:43 +02:00
Michał Górny
0fbe1860c4
Update pythoncapi_compat.h
to fix building with PyPy3.11
...
Update `pythoncapi_compat.h` to upstream commit
c84545f0e1e21757d4901f75c47333d25a3fcff0, which includes fixes necessary
for Pillow to build against PyPy3.11. Otherwise, it fails due to
duplicate declarations:
```
In file included from src/encode.c:28:
src/thirdparty/pythoncapi_compat.h:295:1: error: static declaration of ‘PyThreadState_GetInterpreter’ follows non-static declaration
295 | PyThreadState_GetInterpreter(PyThreadState *tstate)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/pypy3.11/Python.h:80,
from src/encode.c:26:
/usr/include/pypy3.11/pystate.h:35:33: note: previous declaration of ‘PyThreadState_GetInterpreter’ with type ‘PyInterpreterState *(PyThreadState *)’ {aka ‘struct _is *(struct _ts *)’}
35 | PyAPI_FUNC(PyInterpreterState*) PyThreadState_GetInterpreter(PyThreadState *tstate);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
2025-02-16 16:32:24 +01:00
Andrew Murray
0364cfdfc4
Merge pull request #8754 from hugovk/update-tox
...
Don't call `make clean` or `pip` in tox
2025-02-16 06:23:57 +11:00
mergify[bot]
fed5d85cd6
Merge pull request #8756 from radarhere/open
...
Don't shadow builtin open
2025-02-15 18:40:09 +00:00
Andrew Murray
7f414846a3
Don't shadow builtin open
2025-02-16 05:08:22 +11:00
Andrew Murray
1650425283
Merge pull request #8673 from freakboy3742/zlib-ng-with-sip
...
Rewrite the install_name of the ZLIB-NG library on macOS
2025-02-16 05:00:36 +11:00
Andrew Murray
f8566b90eb
Merge pull request #8755 from hugovk/rm-_wedge
...
Remove debug `Image._wedge`
2025-02-16 04:54:27 +11:00
Andrew Murray
397e6f2710
Merge pull request #8753 from hugovk/rm-unused
...
Remove unused `bdf_slant` and `bdf_spacing` variables
2025-02-16 04:24:13 +11:00
Hugo van Kemenade
126026e5e5
Don't shadow builtin open
2025-02-15 16:35:07 +02:00
Hugo van Kemenade
028f0d6ea9
Remove unused data read
2025-02-15 16:35:07 +02:00
Hugo van Kemenade
ff960b8841
Remove debug Image._wedge
2025-02-15 16:35:07 +02:00
Hugo van Kemenade
8261348fff
Don't call pip in tox
2025-02-15 14:27:52 +02:00
Hugo van Kemenade
1c18d29c34
Remove unused bdf_slant and bdf_spacing variables
2025-02-15 13:26:06 +02:00
Hugo van Kemenade
c4eb2fe597
Merge pull request #8752 from radarhere/mingw_test
2025-02-15 13:00:20 +02:00
Andrew Murray
9f0398ef32
Removed unused code
2025-02-15 21:07:43 +11:00
Hugo van Kemenade
ede46d47fc
Merge pull request #8745 from radarhere/zlibng
2025-02-14 23:59:06 +02:00
Hugo van Kemenade
9b2ea830e0
Merge pull request #8744 from radarhere/imagequant
2025-02-14 23:54:19 +02:00
Hugo van Kemenade
ad231352a8
Merge pull request #8747 from radarhere/monkeypatch
...
Use monkeypatch
2025-02-13 20:03:00 +02:00
Andrew Murray
8f4bfe1fe5
Only crop when saving with disposal method 2 if transparency is present
2025-02-12 19:12:27 +11:00
Andrew Murray
8020d423bc
Use monkeypatch
2025-02-12 18:36:14 +11:00
Andrew Murray
45d8d80567
Updated zlib-ng to 2.2.4
2025-02-11 11:36:55 +11:00
Andrew Murray
c566a81c64
Updated libimagequant to 4.3.4
2025-02-10 21:47:37 +11:00
Hugo van Kemenade
3c2310e090
Merge pull request #8739 from radarhere/boolean
2025-02-09 16:05:54 +02:00
Hugo van Kemenade
c81f2f5014
Merge pull request #8740 from radarhere/tuple
2025-02-09 16:05:29 +02:00
Andrew Murray
422c0f607d
Use default tp_flags
2025-02-09 16:03:38 +11:00
Andrew Murray
bfa2d64e0e
Use member names to initialize PyTypeObjects
2025-02-09 16:02:50 +11:00
Andrew Murray
b59dea60a6
Simplify Python code by receiving tuple from C
2025-02-08 21:07:25 +11:00
Andrew Murray
166d0b94d9
Use boolean format argument for irreversible
2025-02-08 21:00:54 +11:00
Andrew Murray
1b0095fad4
Pass CFLAGS to build_simple directly
2025-02-08 17:23:41 +11:00
Andrew Murray
56a72a3da4
Merge branch 'main' into zlib-ng-with-sip
2025-02-08 16:31:36 +11:00
Andrew Murray
f4db366e41
Merge branch 'main' into px
2025-02-07 08:51:58 +11:00
Hugo van Kemenade
b57b4e5f2c
Merge pull request #8735 from radarhere/affine
2025-02-06 13:26:24 +02:00
Hugo van Kemenade
a788ab31ca
Merge pull request #8734 from radarhere/module
2025-02-06 13:25:54 +02:00