Commit Graph
5059 Commits
Author SHA1 Message Date
arnav-hiwarkar 8fe42b29c6 Merge remote-tracking branch 'upstream/main' into fix/3464-drop-shadow-softness-range 2026-11-17 16:49:21 +05:30
ash 150c75d8e7 Merge pull request #3813 from arnav-hiwarkar/fix/3492-cc-power-pin-expansion-range
CC Power Pin: Expansion takes After Effects' −200 minimum
2026-11-17 16:46:08 +05:30
arnav-hiwarkar cec04744f3 #3464: Drop Shadow: test a huge Softness; say what the GPU test checks
A Softness far past the range (an expression can set one) overflowed
the padding's u32 before drop_shadow_pad saturated it; the new test
panicked there in a debug build and renders a finite shadow now. The
GPU test's comment and the parity row now say that a cut margin renders
on the CPU, and the CPU test quotes the measured 0.11 at Softness 8000.
2026-11-17 16:24:22 +05:30
arnav-hiwarkar 0bd722b1a5 #3464: raster: unbounded blur skips zero radii and caps sigma
A zero-radius box is an identity, but as a difference of prefix sums it
kept their rounding error; those boxes are now left out (one to three
boxes, of the matching prefix-sum order). A sigma above 1e7 blurs as
1e7, wider than any buffer, so box_radii's i64 arithmetic can't
overflow on a huge or infinite sigma.
2026-11-17 16:24:22 +05:30
arnav-hiwarkar f149b65c57 #3464: Drop Shadow: Softness takes After Effects' range
Softness took 0..1000, so prop.set and the value editors clamped values
After Effects accepts: its recorded definition for ADBE Drop Shadow
allows 0..30000 in the same pixels (the .aep mapping is plain). The hard
range is now 0..30000; the default (0) and the slider (0..250) are
unchanged. Projects saved with the old range take the new one on open.

The .aep range guard loses its allow-list row, and the engine test sets
both ends through prop.set, undo / redo, save / reopen and an old
project. Keyframe text keeps no unit for it (only 0..100 sliders read
as percent).
2026-11-17 16:24:22 +05:30
arnav-hiwarkar 8903090007 #3464: Drop Shadow: keep the whole blur when the padding budget cuts the margin
Drop Shadow pads its buffer by Distance + 1.5 x Softness, but the pixel
budget (#2261) cuts that margin for a large Softness: from about 870 on
a 1080p layer. The box passes then dropped what they spread past the
edge, so the shadow came out too faint: at the centre of a 64 x 48
layer, 0.11 of the Gaussian at Softness 8000. With a cut margin the CPU now blurs as
if the buffer went on with transparency (the Gaussian is unchanged,
sigma = Softness / 2). The GPU hands that case to the CPU and keeps
every margin that fits, so those results are unchanged.

Measured on an M-series Mac: 1080p at Softness 30000 takes 0.10 s, and
a 4096 x 4096 layer (an 8192 x 8192 buffer) takes 0.99 s on the CPU.

The pad is computed once for both paths (drop_shadow_pad) and saturates
instead of overflowing on a huge Softness.
2026-11-17 16:24:22 +05:30
arnav-hiwarkar 12480ab94e #3492: say when crossed Expansion sides flip the CC Power Pin source
The source rectangle flips when two opposite sides add up to less than
-100 %, not when one side alone does.
2026-11-17 16:09:32 +05:30
arnav-hiwarkar fa11f72434 #3492: note CC Power Pin's Expansion range in the parity log 2026-11-17 16:04:45 +05:30
arnav-hiwarkar 9e3cfa639a #3492: test CC Power Pin below -100 % Expansion on CPU and GPU
Below -100 % an Expansion edge crosses the opposite one and the source
rectangle flips. Pin that geometry, check that the extremes (including
a zero-size source and Unstretch) keep the buffer size and render
finite pixels, and compare CPU and GPU at the new minimum.
2026-11-17 16:04:45 +05:30
arnav-hiwarkar cfea5b4bf9 #3492: CC Power Pin Expansion takes After Effects' -200 minimum
Top, Left, Right and Bottom Expansion had a hard range of -100..1000, so
prop.set and the value editors stored -100 for After Effects' valid
-200..-100. The hard minimum is now -200; the 1000 maximum, the default
and the 0..100 slider are unchanged. The engine range table covers both
ends through prop.set, undo/redo, save/reopen and an older project's
stored range, and the four rows leave the aep KNOWN_NARROWER list.
2026-11-17 16:04:44 +05:30
arnav-hiwarkar c7505fcafc #3464: raster: Gaussian blur as if the image went on with transparency
gaussian_blur's box passes drop what they spread past the buffer's
edge, so a blur wider than its buffer comes out far too faint: three
boxes of radius 15000 on a 4096-pixel line keep about 3 % of the centre
value per axis. gaussian_blur_unbounded gives the same three boxes as
if the image continued with transparency, at O(length) per line
whatever the sigma: each box is a difference of prefix sums, so three
are eight terms of the third prefix sum, which is a polynomial past
the line's ends. The sums are f64.

The test compares it with gaussian_blur on a buffer padded past the
blur's reach, up to sigma 15000 along each axis.
2026-11-17 16:00:59 +05:30
Dylan M. Taylor aeedb92ef2 Merge pull request #3801 from storytold/refactor/shared-svg-transform
svg: reuse shared permissive transform-list parsing
2026-11-17 03:16:41 -05:00
Dylan M. Taylor ce2df07d52 svg: integrate merged transform parser with current main 2026-11-17 02:16:35 -05:00
Dylan M. Taylor bb54263240 Merge remote-tracking branch 'origin/main' into refactor/shared-svg-transform 2026-11-17 02:16:32 -05:00
Dylan M. Taylor 7a34ceffe2 Merge pull request #3798 from storytold/refactor/shared-svg-colors
svg: use shared floating-point colour compatibility parser
2026-11-17 00:39:00 -05:00
Dylan M. Taylor ed7b40ab4d Merge shared CSS integration while retaining transform compatibility 2026-11-17 00:05:47 -05:00
Dylan M. Taylor 69b4115b36 Merge remote-tracking branch 'origin/main' into refactor/shared-svg-colors 2026-11-17 00:04:44 -05:00
Dylan M. Taylor c7068ae948 Merge pull request #3797 from storytold/refactor/shared-svg-stylesheet
svg: move stylesheet parsing and matching to craft-svg
2026-11-17 00:04:16 -05:00
Dylan M. Taylor 9953ca314d svg: consume shared compatibility transform-list parser 2026-11-16 23:22:52 -05:00
Dylan M. Taylor 76d98ecd4b svg: retain prefix-path API alongside color compatibility 2026-11-16 23:10:16 -05:00
Dylan M. Taylor f65ad2a42d Merge current main and retain CSS plus prefix-path shared APIs 2026-11-16 23:10:13 -05:00
Dylan M. Taylor d0cbc53494 Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	Cargo.lock
#	Cargo.toml
2026-11-16 23:02:54 -05:00
Dylan M. Taylor 41da144555 Shape operators: cap each expanding operator's output (#2948) 2026-11-16 21:58:09 -05:00
Dylan M. Taylor defa16a26f svg: use shared bounded prefix path parsing (#3800) 2026-11-16 21:58:04 -05:00
Dylan M. Taylor 99a9af86b1 svg: pin color compatibility to merged shared library 2026-11-16 21:50:00 -05:00
Dylan M. Taylor d5755f5dd9 Merge remote-tracking branch 'origin/main' into refactor/shared-svg-colors 2026-11-16 21:49:57 -05:00
Dylan M. Taylor b29778b577 svg: pin stylesheet consumer to merged shared implementation 2026-11-16 21:10:12 -05:00
Dylan M. Taylor ca5ca106fa Merge remote-tracking branch 'origin/main' into refactor/shared-svg-stylesheet 2026-11-16 21:09:59 -05:00
Dylan M. Taylor 6d908d1301 Merge pull request #3215 from vangel76/cc-ball-action-params-3197
Ball Grid effect has all of After Effects' CC Ball Action controls, including flat balls without shading
2026-11-16 20:39:25 -05:00
Dylan M. Taylor 22dbd1612f Merge pull request #3246 from vangel76/waveform-reversed-3238
The Timeline waveform shows what is really heard for reversed layers and the Backwards effect
2026-11-16 20:37:23 -05:00
Dylan M. Taylor bf29ef51b0 Merge pull request #3794 from vangel76/fix/ocio-test-windows-path-3793
OCIO LUT test passes on Windows
2026-11-16 20:31:41 -05:00
Dylan M. Taylor a9d53efbb5 svg: route paint colours through shared floating-point compatibility parser 2026-11-16 19:51:35 -05:00
Dylan M. Taylor 3972e5181b svg: delegate stylesheet parsing and matching to craft-svg 2026-11-16 19:38:19 -05:00
vangel76 fa542829e9 #3793: build the OCIO test's expected LUT path from its parts
join("luts/grade.cube") keeps the forward slash on Windows, while the code
resolves the config's LUT as luts\grade.cube, so the test's text lookup in the
read log missed there. The code under test is unchanged.
2026-11-16 22:05:56 +01:00
Dylan M. Taylor 60e2cbbbe3 Merge pull request #3783 from storytold/refactor/interchange-shared-preflight
interchange: use shared XML and JSON nesting preflight
2026-11-16 14:10:51 -05:00
Dylan M. Taylor e57aa567b9 interchange: pin merged shared nesting preflight 2026-11-16 13:33:08 -05:00
Dylan M. Taylor e2cbc0861f Merge branch 'main' into refactor/interchange-shared-preflight 2026-11-16 13:15:45 -05:00
Dylan M. Taylor a163fa3fcb Merge pull request #3773 from storytold/refactor/interchange-current-shared-film
interchange: stage current shared Film format dependency cutover
2026-11-16 13:14:50 -05:00
Dylan M. Taylor de0843b193 interchange: pin merged optional marker-color parity fix 2026-11-16 12:32:32 -05:00
Dylan M. Taylor 3c20178e06 Merge pull request #3778 from storytold/cutover/psd-unpredict-scratch
psd: delegate ZIP prediction reversal with budgeted scratch
2026-11-16 12:28:29 -05:00
Dylan M. Taylor ee6f04c4fc refactor: pin merged PSD prediction scratch API 2026-11-16 11:40:58 -05:00
Dylan M. Taylor b6d2598b3f interchange: delegate lexical depth preflight to craft-timeline 2026-11-16 11:27:30 -05:00
Dylan M. Taylor e9d5f37561 test: use valid encoded PCE layout for AAC downmix parity 2026-11-16 11:09:24 -05:00
Dylan M. Taylor b842402a83 interchange: retain EDL guessed-path bounds with current Film metadata 2026-11-16 11:04:56 -05:00
Dylan M. Taylor 9da73e9cf3 psd: delegate ZIP prediction reversal with budgeted scratch 2026-11-16 09:47:19 -05:00
Dylan M. Taylor adb120c327 interchange: update test fixtures and adopt merged shared AAF route 2026-11-16 09:41:59 -05:00
FredApps 91f9e9b1ef Merge pull request #3776 from FredApps/onee/i786-psd-cutover-followup
psd: parse linked files with craft-psd and pin past #1845
2026-11-16 15:20:44 +01:00
FredApps ed8811d2d8 psd: parse linked files with craft-psd and pin past #1845
Repin only craft-psd to craft-libs main e836b6fd (includes #1845).
lnk2 / lnkD / lnk3 / lnkE records come from craft_psd::smart::linked_files;
payload ranges are shifted from the block back into the document bytes.
is_linked_layer_key is the deferral predicate.

Descriptors, placed objects, and pixel decode stay local until
craft-libs#1887 (parse_prefix) and #1885 (PackBits recovery) are on main.
2026-11-16 14:55:09 +01:00
FredApps 554bb887c8 Merge pull request #3767 from storytold/onee/i786-psd-writer-craft-psd
psd: write fixtures with craft_psd
2026-11-16 14:45:37 +01:00
Dylan M. Taylor cb29f77eaf interchange: adapt export to current Film media and marker APIs 2026-11-16 08:42:06 -05:00