Commit Graph

19032 Commits

Author SHA1 Message Date
pre-commit-ci[bot]
be3b0fd05c [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-02-03 17:43:10 +00:00
wiredfool
240175733e Add a way to force the use of the old block allocator
* Test that arrow can be exported when the block allocator is forced.
2025-02-03 17:42:22 +00:00
wiredfool
13e33010e0 Fix handling of capsule destruct sequencing
* PyCapsules call the destructor on Del
* Need to make sure that lifetime matches the array lifetime.
2025-02-03 17:41:29 +00:00
pre-commit-ci[bot]
9f94d4f9f8 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-02-03 15:29:30 +00:00
wiredfool
e7bd152aac Error handling:
* Return memory error for allocation errors
* Return value error for invalid layout (block) or bad mode)
* Free children on releasing the array
* Only decrement refcount on the leaf array release
2025-02-03 15:23:55 +00:00
wiredfool
4fc8328fe9 remove unused code 2025-02-03 11:48:09 +00:00
wiredfool
6fad11a926 added mutex around refcount, renamed arrow_borrow to refcount 2025-01-30 21:28:11 +00:00
pre-commit-ci[bot]
d02417e411 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-01-25 16:25:44 +00:00
wiredfool
ad492ee4d8 Pull readonly in from the C level 2025-01-25 16:21:15 +00:00
wiredfool
55f5351e3d Test for size, add offset support 2025-01-25 15:43:22 +00:00
wiredfool
388da5c4a4 Test rejection of incorrect modes 2025-01-25 15:12:41 +00:00
wiredfool
dbe0304bb3 Tests for destructors of the PyCapsules 2025-01-25 14:12:31 +00:00
wiredfool
244dded7a8
Typing Lint
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2025-01-25 13:43:01 +00:00
wiredfool
af64250144
Lint
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2025-01-25 13:42:53 +00:00
wiredfool
2b88b1c49d
Typing Lint
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2025-01-25 13:42:42 +00:00
wiredfool
9d584a1014
Lint
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2025-01-25 13:42:32 +00:00
pre-commit-ci[bot]
f1349e973d [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-01-21 21:41:58 +00:00
wiredfool
97eb7c09ba WIP -- First light of round trip of image -> arrow -> image
* basic safety included
* only respecting the types we emit
2025-01-21 21:27:41 +00:00
wiredfool
e1ef083f60 fix macoxisim 2025-01-20 19:28:20 +00:00
wiredfool
6ec855e0b7 Lifetime check 2025-01-20 19:28:20 +00:00
wiredfool
56780ceaae Tests, lifetime changes 2025-01-20 19:28:15 +00:00
wiredfool
bdd4b3ae0c Export as fixed width pixels, or just pixel values for single channel. 2025-01-20 19:27:38 +00:00
wiredfool
d44212d650 WIP - Non working struct encoding
* structs can't be encoded this way, they need to have one child array
per struct member.
* i.e. struct of arrays, rather than an array of structs.
2025-01-20 19:27:38 +00:00
wiredfool
5890e40365 WIP - Initial Pillow->Arrow support
* Fixed format, only for 4 channel images
2025-01-20 19:27:38 +00:00
Andrew Murray
4c1aed801e 11.1.0 version bump 2025-01-02 16:00:59 +11:00
Hugo van Kemenade
dfb368a7e9
Merge pull request #8651 from radarhere/blp
Corrected BLP1 alpha depth handling
2025-01-01 17:27:28 +02:00
Andrew Murray
5d998d3fed Improved coverage 2025-01-01 23:38:24 +11:00
Andrew Murray
6b75e06875 Do not reread start of header in decoder 2025-01-01 22:58:04 +11:00
Andrew Murray
b89cc09944 Corrected BLP1 alpha depth handling 2025-01-01 12:22:55 +11:00
Hugo van Kemenade
aa0f4127b8
Merge pull request #8646 from radarhere/centos 2024-12-31 17:04:35 +02:00
Andrew Murray
e34427167d Added CentOS Stream 10 2024-12-31 23:26:09 +11:00
Andrew Murray
17f09f3993
Merge pull request #8644 from radarhere/c99
Remove pre-C99 definitions
2024-12-31 22:57:57 +11:00
Andrew Murray
d42f22baaf Added release notes 2024-12-31 21:38:05 +11:00
Hugo van Kemenade
c7026d9bc8
Merge pull request #8642 from radarhere/bigtiff 2024-12-31 12:31:40 +02:00
Andrew Murray
f91b111fac Removed pre-C99 definitions 2024-12-31 20:42:49 +11:00
Andrew Murray
c3fac1d78f
Merge pull request #8643 from python-pillow/renovate/mypy-1.x
Update dependency mypy to v1.14.1
2024-12-31 11:25:01 +11:00
Andrew Murray
1de617fbe7 Added release notes 2024-12-31 11:13:14 +11:00
renovate[bot]
e27115ee8d
Update dependency mypy to v1.14.1 2024-12-30 23:31:05 +00:00
Andrew Murray
8bdcadcbe9 Renamed argument to big_tiff 2024-12-31 10:16:00 +11:00
Andrew Murray
2ac383028a Allow saving as BigTIFF 2024-12-31 01:26:13 +11:00
Andrew Murray
7d5ccffae3
Merge pull request #8629 from radarhere/makernote
Restored Makernote as a deprecated enum
2024-12-30 21:52:04 +11:00
Andrew Murray
050caa9cae Restored Makernote as a deprecated enum 2024-12-30 21:14:23 +11:00
Hugo van Kemenade
8c3fbd5055
Merge pull request #8641 from radarhere/rawmode 2024-12-30 12:04:10 +02:00
Andrew Murray
7cee64ad1b Use endswith 2024-12-30 19:45:46 +11:00
Andrew Murray
167ed55d8b Use elif 2024-12-30 19:37:38 +11:00
Andrew Murray
a4f976ca27
Merge pull request #8638 from hugovk/pre-commit-zizmor
Add zizmor to pre-commit and fix potential cache-poisoning in wheels workflow
2024-12-30 09:44:40 +11:00
Hugo van Kemenade
171531cb67
Merge pull request #8635 from radarhere/exif_ifd 2024-12-29 21:36:15 +02:00
Hugo van Kemenade
ec49b98bbb
Merge pull request #8637 from radarhere/rgbx_16n 2024-12-29 21:35:37 +02:00
Hugo van Kemenade
8d28514e40 Add zizmor to pre-commit and fix potential cache-poisoning in wheels workflow 2024-12-29 21:16:42 +02:00
Hugo van Kemenade
743256f80b
Merge pull request #8633 from radarhere/jfif_unit 2024-12-29 20:45:20 +02:00