Andrew Murray
5471dc2b26
Use fractional coordinates when drawing text
2022-11-08 11:49:39 +11:00
Andrew Murray
e31ca06b7c
Updated AppVeyor to Python 3.11
2022-11-08 10:58:33 +11:00
mergify[bot]
820214d210
Merge pull request #6721 from python-pillow/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2022-11-07 19:00:15 +00:00
pre-commit-ci[bot]
9448532f91
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/psf/black: 22.8.0 → 22.10.0](https://github.com/psf/black/compare/22.8.0...22.10.0 )
- [github.com/sphinx-contrib/sphinx-lint: v0.6.1 → v0.6.7](https://github.com/sphinx-contrib/sphinx-lint/compare/v0.6.1...v0.6.7 )
2022-11-07 18:03:51 +00:00
Andrew Murray
4001a9fab4
Update CHANGES.rst [ci skip]
2022-11-06 22:41:06 +11:00
Andrew Murray
03b8ac911d
Merge pull request #6714 from wiredfool/valgrind_imagingtransform
...
Fix compiler error: accessing 64 bytes in a region of size 48
2022-11-06 22:37:31 +11:00
Hugo van Kemenade
7b763bef2c
Merge pull request #6719 from radarhere/bmp
2022-11-05 18:20:48 +02:00
Andrew Murray
b8be24850b
Added file to questionable list
2022-11-05 21:54:23 +11:00
Andrew Murray
13a4feafb7
Patch OpenJPEG to include uclouvain/openjpeg#1423
2022-11-05 16:38:50 +11:00
Hugo van Kemenade
86b4cb6d14
Merge pull request #6713 from wiredfool/verbose_build
2022-11-04 13:23:02 +02:00
Eric Soroos
ef1eb2f3d6
Add oss-fuzz badge [ci skip]
2022-11-04 11:20:48 +01:00
Andrew Murray
bbe9cc6ae5
Use verbose flag for pip install for debug target
2022-11-04 20:26:39 +11:00
Hugo van Kemenade
7c00e79eb6
Merge pull request #6715 from radarhere/oserror
2022-11-04 10:20:26 +02:00
Andrew Murray
321c06694f
Merge pull request #6702 from nulano/win-cxxflags
...
Disable __CxxFrameHandler4 when compiling HarfBuzz
2022-11-04 18:50:50 +11:00
Ondrej Baranovič
8947cbf4d1
simplify code
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2022-11-04 07:31:00 +01:00
Andrew Murray
f9a2f991db
Replaced IOError with OSError
2022-11-04 11:48:18 +11:00
Eric Soroos
41987cffad
Fix compiler error:
...
src/_imaging.c:1842:17: warning: ‘ImagingTransform’ accessing 64 bytes in a region of size 48 [-Wstringop-overflow=]
1842 | imOut = ImagingTransform(
| ^~~~~~~~~~~~~~~~~
1843 | imOut, imIn, IMAGING_TRANSFORM_AFFINE, 0, 0, xsize, ysize, a, filter, 1);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/_imaging.c:1842:17: note: referencing argument 8 of type ‘double *’
2022-11-03 22:57:39 +01:00
Eric Soroos
d93b9919e3
Use verbose flag for pip install
...
* Ensures when developing that compilation warnings are visible
* Provides feedback that compilation has occured.
2022-11-03 21:40:08 +01:00
Ondrej Baranovič
c10c6bf894
use os.path.commonpath instead of os.path.commonprefix
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2022-11-03 20:23:59 +01:00
Andrew Murray
6ddbe4cbf0
Added signed option when saving JPEG2000 images
2022-11-03 18:26:31 +11:00
Hugo van Kemenade
aedbc77618
Merge pull request #6712 from radarhere/imagegrab
...
XCB will not be used by default on Linux if gnome-screenshot is present
2022-11-02 09:30:50 +02:00
Hugo van Kemenade
30dd02cc1a
Merge pull request #6711 from radarhere/lcms2
...
Updated lcms2 to 2.14
2022-11-02 09:29:53 +02:00
Andrew Murray
6b286ed62f
XCB will not be used on Linux if gnome-screenshot is present
2022-11-02 07:47:05 +11:00
Andrew Murray
6fd772e669
Updated lcms2 to 2.14
2022-11-02 00:08:29 +11:00
Hugo van Kemenade
7854f6c61c
Merge pull request #6705 from radarhere/fedora
2022-11-01 09:16:15 +02:00
Andrew Murray
5b4703d615
Added conversion from RGBa to RGB
2022-11-01 08:39:02 +11:00
Andrew Murray
7528b673fa
Removed Fedora 35
2022-10-31 19:36:14 +11:00
nulano
74c60b47a8
simplify patch, also check zipfile
2022-10-30 23:45:49 +00:00
TrellixVulnTeam
e50a3a213e
Adding tarfile member sanitization to extractall()
2022-10-30 23:44:48 +00:00
Andrew Murray
a4ec9f331c
Merge pull request #6703 from nulano/embeddable-xfail
...
Add xfail mark to TestEmbeddable
2022-10-31 08:24:05 +11:00
pre-commit-ci[bot]
23df3bda7f
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2022-10-30 03:17:57 +00:00
nulano
181fad2918
move import used only on Windows and remove unused import
2022-10-30 03:17:13 +00:00
nulano
eaee7fda97
add xfail mark to test_image_access:test_embeddable
2022-10-30 02:59:14 +00:00
nulano
76b99756e4
disable __CxxFrameHandler4 when compiling harfbuzz
2022-10-29 18:24:44 +01:00
Hugo van Kemenade
4fc0a4ceb2
9.4.0.dev0 version bump
2022-10-29 17:22:07 +03:00
Hugo van Kemenade
d594f4cb8d
Update CHANGES.rst [ci skip]
2022-10-29 15:25:53 +03:00
Hugo van Kemenade
909dc64ed5
9.3.0 version bump
2022-10-29 15:21:20 +03:00
Hugo van Kemenade
1a51ce7b95
Merge pull request #6699 from hugovk/security-libtiff_buffer
2022-10-29 15:06:57 +03:00
Hugo van Kemenade
2444cddab2
Merge pull request #6700 from hugovk/security-samples_per_pixel-sec
2022-10-29 13:16:49 +03:00
Andrew Murray
744f455830
Added release notes
2022-10-29 12:08:59 +03:00
Hugo van Kemenade
0846bfae48
Add to release notes
2022-10-29 12:06:33 +03:00
Hugo van Kemenade
799a6a0105
Fix linting
2022-10-29 12:06:30 +03:00
Hugo van Kemenade
00b25fd3ac
Hide UserWarning in logs
...
Tests/test_file_tiff.py::TestFileTiff::test_oom[Tests/images/oom-225817ca0f8c663be7ab4b9e717b02c661e66834.tif]
PIL/TiffImagePlugin.py:850: UserWarning: Corrupt EXIF data. Expecting to read 12 bytes but only got 6.
warnings.warn(str(msg))
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2022-10-29 12:06:27 +03:00
Eric Soroos
05b175ef88
Tighter test case
2022-10-29 12:06:24 +03:00
Eric Soroos
13f2c5ae14
Prevent DOS with large SAMPLESPERPIXEL in Tiff IFD
...
A large value in the SAMPLESPERPIXEL tag could lead to a memory and
runtime DOS in TiffImagePlugin.py when setting up the context for
image decoding.
2022-10-29 12:06:18 +03:00
Andrew Murray
fa71b11073
Revert "Temporarily skip valgrind failure"
...
This reverts commit a3e61c1f89
.
2022-10-29 12:02:07 +03:00
Andrew Murray
93e5fd4b40
Initialize libtiff buffer
2022-10-29 12:02:03 +03:00
Andrew Murray
e055ef0356
Update CHANGES.rst [ci skip]
2022-10-29 19:22:28 +11:00
Hugo van Kemenade
327db9a545
Merge pull request #6329 from nulano/imagetk-leak
...
Inline fname2char to fix memory leak
2022-10-29 10:59:54 +03:00
Hugo van Kemenade
966e98f36a
Merge pull request #6330 from nulano/imagingft-leak
...
Fix memory leaks related to text features
2022-10-29 10:58:36 +03:00