Commit Graph

18843 Commits

Author SHA1 Message Date
Andrew Murray
4427767f2d
Merge branch 'main' into mode_enums 2024-11-06 21:11:47 +11:00
Hugo van Kemenade
7fe56d62c6
Merge pull request #8534 from radarhere/parse 2024-11-05 12:15:38 +02:00
Hugo van Kemenade
8561875b2d
Merge pull request #8532 from radarhere/type_hint 2024-11-05 12:12:43 +02:00
Andrew Murray
48db4a1d4d Use test image filename 2024-11-05 19:40:03 +11:00
Andrew Murray
2d23a84049 Fixed type hint 2024-11-05 17:18:46 +11:00
mergify[bot]
82199efbf7
Merge pull request #8531 from python-pillow/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2024-11-04 18:26:52 +00:00
pre-commit-ci[bot]
4b7f6a6eb0
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.6.9 → v0.7.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.6.9...v0.7.2)
- [github.com/psf/black-pre-commit-mirror: 24.8.0 → 24.10.0](https://github.com/psf/black-pre-commit-mirror/compare/24.8.0...24.10.0)
- [github.com/pre-commit/mirrors-clang-format: v19.1.1 → v19.1.3](https://github.com/pre-commit/mirrors-clang-format/compare/v19.1.1...v19.1.3)
- [github.com/python-jsonschema/check-jsonschema: 0.29.3 → 0.29.4](https://github.com/python-jsonschema/check-jsonschema/compare/0.29.3...0.29.4)
- [github.com/tox-dev/pyproject-fmt: 2.2.4 → v2.5.0](https://github.com/tox-dev/pyproject-fmt/compare/2.2.4...v2.5.0)
- [github.com/abravalheri/validate-pyproject: v0.20.2 → v0.22](https://github.com/abravalheri/validate-pyproject/compare/v0.20.2...v0.22)
2024-11-04 17:35:35 +00:00
Hugo van Kemenade
a60981650b
Merge pull request #8527 from python-pillow/renovate/migrate-config 2024-11-04 08:45:59 +02:00
Andrew Murray
89735266ad
Merge pull request #8526 from hugovk/zizmor
Apply security fixes to GitHub Actions
2024-11-04 16:34:23 +11:00
renovate[bot]
924df0ac5c
Migrate config .github/renovate.json 2024-11-03 23:22:57 +00:00
Hugo van Kemenade
d3db931f21 Fix error[excessive-permissions]: overly broad workflow or job-level permissions 2024-11-02 23:31:21 +02:00
Hugo van Kemenade
9faf598c89 Fix warning[artipacked]: credential persistence through GitHub Actions artifacts 2024-11-02 23:29:56 +02:00
Hugo van Kemenade
5771f0ec37
Merge pull request #8523 from nulano/winarm64 2024-11-02 15:36:05 +02:00
Ondrej Baranovič
6fe7160cb9
Update Windows 11 Arm64 tested versions 2024-11-02 14:03:53 +01:00
Hugo van Kemenade
48a4ee9904
Merge pull request #8521 from hugovk/gcov 2024-11-02 12:55:48 +02:00
Hugo van Kemenade
141e8d2546 Remove unused 'gcov: true' for codecov-action@v4 2024-11-02 12:08:23 +02:00
Andrew Murray
a9e110e64a
Merge pull request #8520 from radarhere/fedora
Added Fedora 41
2024-11-02 19:45:55 +11:00
Andrew Murray
71016f23b4 Added Fedora 41 2024-11-02 17:51:01 +11:00
Hugo van Kemenade
16372dd951
Merge pull request #8512 from radarhere/qtables 2024-10-29 17:50:25 +02:00
Andrew Murray
80cf74030d
Removed fixture
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-10-29 23:13:01 +11:00
Andrew Murray
624848ff97 Do not repeatedly save to the same path 2024-10-29 22:21:53 +11:00
Andrew Murray
2d1d801ec0 Update CHANGES.rst [ci skip] 2024-10-29 22:15:56 +11:00
Hugo van Kemenade
e214dbf75c
Merge pull request #8509 from radarhere/toqpixmap
Detach PyQt6 QPixmap instance before returning
2024-10-29 13:06:37 +02:00
Hugo van Kemenade
0fd608626a
Merge pull request #8511 from radarhere/multibuild_lib64
Upgraded multibuild to remove openjpeg lib64 copy
2024-10-29 13:04:24 +02:00
Andrew Murray
e5706a590b Upgraded multibuild to remove openjpeg lib64 copy 2024-10-29 09:04:06 +11:00
Yay295
3ba2ea71f5 linter changes 2024-10-28 10:17:04 -05:00
Yay295
f7b57265ad require types-setuptools>=75.2.0
this is necessary to have https://github.com/python/typeshed/pull/12791
2024-10-28 10:17:04 -05:00
Yay295
96421923eb use mode enums in _imagingcms.c 2024-10-28 10:17:03 -05:00
Yay295
c3c968e025 add debug check that all modes and rawmodes are defined 2024-10-28 10:17:03 -05:00
Yay295
0d3c59e277 build Mode.c as a common library 2024-10-28 10:17:03 -05:00
Yay295
c889643b7e use a different temp build dir for each module 2024-10-28 10:17:03 -05:00
Yay295
3b33a2c1bb add Mode.c as a dependency for _imagingft.c and _webp.c 2024-10-28 10:17:02 -05:00
Yay295
4f9b68c192 use more mode enums in decode.c 2024-10-28 10:17:02 -05:00
Yay295
cb682445cf use mode enums in _imagingft.c 2024-10-28 10:17:02 -05:00
Yay295
268b0905e6 use mode enums in Jpeg2KDecode.c 2024-10-28 10:17:01 -05:00
Yay295
5f1858c835 use mode enums in _webp.c 2024-10-28 10:17:01 -05:00
Yay295
9c02ccd0db change mode structs to enums
Structs have better type safety, but they make allocation more difficult, especially when we have multiple Python modules trying to share the same code.
2024-10-28 10:17:01 -05:00
Yay295
20986c82aa use Mode struct for windows display code 2024-10-28 10:16:39 -05:00
Yay295
e53aa29d20 use RawMode struct for jpegmode 2024-10-28 10:16:39 -05:00
Yay295
7bd8041087 replace some string function usage with imaging mode checks 2024-10-28 10:16:38 -05:00
Yay295
05d7b313c6 check for null input in findMode() and findRawMode() 2024-10-28 10:16:38 -05:00
Yay295
5afeb11f9a fix findRawMode()
and change findMode() to match
2024-10-28 10:16:38 -05:00
Yay295
b594a756da define rawmodes 2024-10-28 10:16:37 -05:00
Yay295
d46284368a initialize accessors similar to converters/packers/unpackers 2024-10-28 10:16:37 -05:00
Yay295
1b1f250b74 use mode structs in map.c 2024-10-28 10:16:37 -05:00
Yay295
ebbe5d844b use mode structs in Unpack.c 2024-10-28 10:16:34 -05:00
Yay295
43473101cf set pointer to NULL after free 2024-10-28 10:07:19 -05:00
Yay295
7cb3efc762 use (void) for empty function parameters 2024-10-28 10:07:18 -05:00
Yay295
91776f2589 use mode structs in TiffDecode.c 2024-10-28 10:07:18 -05:00
Yay295
6f0ce3e876 use mode structs in Storage.c 2024-10-28 10:07:18 -05:00