wiredfool
9ff0465e89
merge from upstream/main
2025-02-14 17:58:43 +00:00
Hugo van Kemenade
3c2310e090
Merge pull request #8739 from radarhere/boolean
2025-02-09 16:05:54 +02: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
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
Hugo van Kemenade
c73796dc1e
Merge pull request #8733 from radarhere/tuple
2025-02-06 13:19:29 +02:00
Andrew Murray
41861e8e9f
Updated AffineTransform docstring to mention it uses the inverse matrix
2025-02-06 19:26:49 +11:00
Andrew Murray
7924b6a11f
Use member names to initialize modules
2025-02-05 20:20:57 +11:00
Andrew Murray
a37702dd8a
Removed unused format character
2025-02-05 19:12:54 +11:00
Andrew Murray
b19506a499
Simplify Python code by passing tuples to C
2025-02-05 19:12:50 +11:00
Andrew Murray
a7d7a1080e
Removed redundant argument parsing
2025-02-05 18:42:35 +11:00
Andrew Murray
2810d7c6ba
Merge pull request #8721 from radarhere/justify
...
Added "justify" align for multiline text
2025-02-04 20:10:39 +11:00
wiredfool
159ffe3bc3
Fix mutex for Free-tread pythons
2025-02-03 20:34:40 +00:00
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]
955d678ca2
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2025-02-03 17:36:01 +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
Hugo van Kemenade
793e1fcba2
Merge pull request #8709 from radarhere/seek
2025-01-31 14:11:07 +02:00
Hugo van Kemenade
b03f143df1
Merge pull request #8701 from radarhere/stroke_outside
2025-01-31 13:35:22 +02:00
Hugo van Kemenade
84adbe5da8
Support saving PNG cICP chunk ( #8704 )
2025-01-31 13:24:08 +02:00
wiredfool
6fad11a926
added mutex around refcount, renamed arrow_borrow to refcount
2025-01-30 21:28:11 +00:00
Andrew Murray
10eaff8ac7
Added "justify" align for multiline text
2025-01-29 20:12:45 +11:00
Andrew Murray
7093de46a7
Moved common multiline code into _prepare_multiline_text
2025-01-29 19:42:25 +11:00
Andrew Murray
9a4f39588d
Use embedded color for text length in multiline_text
2025-01-29 18:58:53 +11:00
Andrew Murray
f598c03233
Removed unused file
2025-01-29 17:33:55 +11:00
Aleksandr Karpinskii
849768df7a
Remove unused declaration
2025-01-28 20:40:43 +11:00
Aleksandr Karpinskii
e7ae4aaad0
Use Py_RETURN_NONE macro when possible
2025-01-27 18:17:03 +11: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
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
Andrew Murray
8a90975c14
Seek relative to current position
2025-01-22 23:14:34 +11: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
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
427244877b
Support saving cICP chunk
2025-01-19 15:09:12 +11:00
Andrew Murray
0318304f9a
Do not draw normal text onto stroke text if they are the same color
2025-01-18 21:58:15 +11:00
Andrew Murray
8d9279dd73
Only use outside border of stroke in text()
2025-01-18 21:58:04 +11:00