Commit Graph

13820 Commits

Author SHA1 Message Date
neilnaveen
43b185e1c1 chore: Set permissions for GitHub actions
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.

- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)

Signed-off-by: neilnaveen <42328488+neilnaveen@users.noreply.github.com>
2022-07-04 01:19:58 +00:00
Hugo van Kemenade
26e2c7e030 9.3.0.dev0 version bump 2022-07-01 21:29:53 +03:00
Hugo van Kemenade
58acec3312 Update CHANGES.rst [ci skip] 2022-07-01 16:19:51 +03:00
Hugo van Kemenade
dc518ac25e 9.2.0 version bump 2022-07-01 16:16:26 +03:00
mergify[bot]
488589b4b6
Merge pull request #6381 from nulano/deprecate-getsize
Deprecate ImageFont.getsize and related functions
2022-07-01 13:10:14 +00:00
Andrew Murray
8a6050ee5b Replaced __internal__ argument with warning filters 2022-07-01 14:10:29 +02:00
mergify[bot]
79329fb18d
Merge pull request #6408 from radarhere/furo
Install furo if it is not available
2022-07-01 11:15:34 +00:00
Andrew Murray
4ca99f7454 Install furo if it is not available 2022-07-01 19:51:29 +10:00
Andrew Murray
729fe6f8b0 Updated indentation 2022-07-01 19:45:36 +10:00
nulano
74e0b954f2
test {ImageFont,TransposedFont}.getsize() deprecation 2022-07-01 11:22:47 +02:00
nulano
a37c21e136
document planned removal date for ImageFont deprecations and release notes 2022-06-30 15:29:09 +02:00
nulano
ad5271d62f
Document replacements for individual deprecated font methods 2022-06-30 15:03:55 +02:00
Andrew Murray
65020e7c7c Documented deprecation in individual methods 2022-06-30 15:03:12 +02:00
nulano
7691231aa7
Fix heading in deprecations.rst 2022-06-30 14:51:29 +02:00
nulano
9957e0b0d7
link to ImageDraw2 in deprecations and release notes 2022-06-30 14:38:20 +02:00
Andrew Murray
3c0b8763ab Added documentation and release notes 2022-06-30 14:23:22 +02:00
Ondrej Baranovič
838b1f1598
add replacement for getsize_multiline to deprecation warning 2022-06-30 14:22:07 +02:00
pre-commit-ci[bot]
303ec1a95e [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2022-06-30 12:21:43 +00:00
Ondrej Baranovič
f57a9d678c
update TransposedFont.getlength error message
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2022-06-30 14:20:56 +02:00
Andrew Murray
0d91d13a6e Merge branch 'main' into deprecate-getsize 2022-06-30 20:37:37 +10:00
mergify[bot]
11918eac06
Merge pull request #6403 from radarhere/gif_decompression_bomb
Added release notes for #6402
2022-06-30 10:23:13 +00:00
Andrew Murray
31009c9780 Update CHANGES.rst [ci skip] 2022-06-30 19:30:01 +10:00
Andrew Murray
d66e730fea
Merge pull request #6376 from nulano/fribidi-no-version
Fixed null check for fribidi_version_info in FriBiDi shim
2022-06-30 19:27:28 +10:00
Andrew Murray
3b8e195db2 Added release notes for #6402 2022-06-30 18:58:38 +10:00
Andrew Murray
7527964ce9 Update CHANGES.rst [ci skip] 2022-06-30 18:46:51 +10:00
Andrew Murray
884437f8a2
Merge pull request #6402 from radarhere/gif_decompression_bomb
Added GIF decompression bomb check
2022-06-30 14:02:43 +10:00
Andrew Murray
c9f1b35e98 Added GIF decompression bomb check 2022-06-30 12:47:35 +10:00
mergify[bot]
8f35234f3a
Merge pull request #6401 from radarhere/harfbuzz
Updated harfbuzz to 4.4.1
2022-06-29 10:55:50 +00:00
Andrew Murray
baa8628e7c
Merge pull request #6399 from hugovk/docs-rm-search-page
Docs: remove redundant search page from table of contents
2022-06-29 19:08:42 +10:00
Andrew Murray
eebbf6b271 Updated harfbuzz to 4.4.1 2022-06-29 18:59:44 +10:00
Hugo van Kemenade
31bed8cfcc Docs: remove redundant search page from table of contents 2022-06-29 09:49:14 +03:00
Hugo van Kemenade
14169c5e2d
Merge pull request #6397 from radarhere/harfbuzz
Updated harfbuzz to 4.4.0
2022-06-28 08:26:25 +03:00
Andrew Murray
3558f4e5d6 Updated harfbuzz to 4.4.0 2022-06-28 09:50:03 +10:00
Andrew Murray
60f0b7eebc Update CHANGES.rst [ci skip] 2022-06-27 15:50:31 +10:00
Hugo van Kemenade
714ff4e397
Merge pull request #6386 from dawidcrivelli/handle_pcf_missing_characters
Handle PCF fonts files with less than 256 characters
2022-06-27 07:59:50 +03:00
Andrew Murray
93805d5257 Limit expected number of characters to nencoding 2022-06-27 14:05:13 +10:00
Andrew Murray
bc6a02422e Update CHANGES.rst [ci skip] 2022-06-27 09:13:21 +10:00
Andrew Murray
fc497ffe5e
Merge pull request #6378 from raygard/fix_get_optimize
Improved GIF optimize condition
2022-06-27 09:12:20 +10:00
Ray Gardner
7c839d8d81
Merge pull request #3 from radarhere/fix_get_optimize
Optimise palettes with more than 128 colors
2022-06-26 13:55:49 -06:00
Andrew Murray
847ad8c512 Clarify check that palette is not already at its smallest 2022-06-26 20:58:36 +10:00
Andrew Murray
ce486e77b1 Merge remote-tracking branch 'radarhere/handle_pcf_missing_characters' into handle_pcf_missing_characters 2022-06-25 21:30:57 +10:00
Andrew Murray
ef93892af8 Update CHANGES.rst [ci skip] 2022-06-25 17:08:56 +10:00
Hugo van Kemenade
b1e9a3c171
Merge pull request #6394 from radarhere/numpy
Reverted to __array_interface__ with the release of NumPy 1.23
2022-06-25 09:44:00 +03:00
Andrew Murray
e5046b1057 Reverted to __array_interface__ with the release of NumPy 1.23 2022-06-24 23:08:36 +10:00
Andrew Murray
2970a5b8b2 Update CHANGES.rst [ci skip] 2022-06-23 16:59:28 +10:00
Hugo van Kemenade
e774be01fe
Merge pull request #6391 from radarhere/pcx
Pad PCX palette to 768 bytes when saving
2022-06-23 09:50:22 +03:00
Andrew Murray
e6b7730c62 Update CHANGES.rst [ci skip] 2022-06-22 19:49:02 +10:00
Hugo van Kemenade
6dd5b2e8c9
Merge pull request #6377 from btrekkie/fix-round-to-palette
Fixed bug with rounding pixels to palette
2022-06-22 12:31:25 +03:00
Andrew Murray
317286d260 Pad palette to 768 bytes 2022-06-22 17:27:49 +10:00
Andrew Murray
db741bf25f Skip remaining characters after IndexError 2022-06-22 16:55:33 +10:00