Commit Graph
5382 Commits
Author SHA1 Message Date
FredApps 723f47a3b4 Merge remote-tracking branch 'origin/main' into fix/786-psd-section-adapter 2026-11-18 17:40:03 +01:00
Dylan M. Taylor dfcb6d5356 Merge pull request #3903 from storytold/fix/unused-is-wav-import
Drop the now-unused WAV probe re-export
2026-11-18 10:42:05 -05:00
Dylan M. Taylor a6c46ec7c5 Drop the now-unused WAV probe re-export 2026-11-18 10:41:47 -05:00
FredApps d0693d9dcb psd: share recovering section-divider framing 2026-11-18 16:39:11 +01:00
FredApps 7edb6b154a Merge pull request #3898 from FredApps/fix/786-psd-fixed-adjustments
psd: share fixed-binary adjustment readers
2026-11-18 22:05:40 +07:00
Dylan M. Taylor c89395d5d7 Merge pull request #3743 from storytold/extract/shared-wav-markers
media: cut WAV cue, adtl, RF64 and XMP markers over to craft-libs
2026-11-18 09:47:41 -05:00
Dylan M. Taylor 292313f2a1 Merge pull request #3774 from storytold/cutover/shared-psd-packbits
psd: cut over recovery PackBits decoding to craft-psd
2026-11-18 09:13:46 -05:00
Dylan M. Taylor e3cf168119 Merge remote-tracking branch 'origin/main' into pr-3743 2026-11-18 09:12:54 -05:00
FredApps 1d823a01a1 psd: share fixed-binary adjustment readers 2026-11-18 15:12:01 +01:00
FredApps 71ff90865d Merge pull request #3895 from FredApps/fix/786-psd-unicode-name-reader
psd: share Unicode layer-name record framing
2026-11-18 21:07:45 +07:00
FredApps 67e6e27fa7 psd: share Unicode layer-name record framing 2026-11-18 14:27:17 +01:00
Dylan M. Taylor 47384980a4 psd: cover the shared PackBits row-limit error mapping
The recovery wrapper maps every non-decompress failure to Error::Invalid so a
limit refusal is never reported as truncated data. That arm had no test, which
left the changed lines under the coverage gate.
2026-11-18 07:44:01 -05:00
FredApps 82cf1b5c5e psd: align vector fixtures with fixed-size chunk lint 2026-11-18 13:39:15 +01:00
FredApps c149bb513f psd: read vector mask records through craft-psd 2026-11-18 13:19:34 +01:00
vangel76 cc639b9cd6 OpenEXR limit: the decode that let planes go no longer keeps them for its waiters, and an entry with planes let go but still in use is kept (#3750 review) 2026-11-18 13:19:05 +01:00
vangel76 51bb54efde Merge branch 'plane-store-on-craft-exr' into decode-cap-on-craft-exr 2026-11-18 13:17:20 +01:00
vangel76 f6a867a951 Disk cache: an entry larger than the cache is skipped before it is sealed (#3750 review) 2026-11-18 13:17:19 +01:00
vangel76 3c48ddc72c OpenEXR limit: planes let go that are still in memory count toward the limit, so a request is refused for now rather than read beside them (#3750 review) 2026-11-18 13:07:17 +01:00
vangel76 0f872a46a6 Merge branch 'plane-store-on-craft-exr' into decode-cap-on-craft-exr 2026-11-18 13:03:28 +01:00
vangel76 c2c40200f6 Caching: the test of a still cached twice checks that its memory goes once nobody holds it (#3750 review) 2026-11-18 13:03:27 +01:00
vangel76 596a5ac55d Merge branch 'plane-store-on-craft-exr' into decode-cap-on-craft-exr 2026-11-18 13:03:07 +01:00
vangel76 9bbc0847ad Caching: a still cached both whole and as a frame can be let go, and a plane entry without memory to seal it is skipped (#3750 review) 2026-11-18 12:57:37 +01:00
ash 3f1cd00745 Merge pull request #3843 from arnav-hiwarkar/fix/3830-3831-ocio-lut-limits
OCIO: cap the .3dl mesh and rows before cubing them (#3830)
2026-11-18 17:20:01 +05:30
FredApps 8a4a29b227 Merge pull request #3779 from FredApps/onee/i786-psd-descriptors-placed
psd: parse descriptors and placed layers with craft-psd
2026-11-18 18:36:59 +07:00
arnav-hiwarkar c6612da798 #3830: tell a 3-entry .3dl mesh apart by the row count alone 2026-11-18 15:46:04 +05:30
arnav-hiwarkar bf31b65271 #3830: keep four .3dl tokens and a spare mesh row at small limits 2026-11-18 15:38:08 +05:30
arnav-hiwarkar 648ae78591 #3830: test the .3dl cap through an injectable limit; drop the local .spi3d precheck (#3831 belongs in craft-cms) 2026-11-18 15:27:36 +05:30
FredApps e48cfde63f fix(psd): pin corrected quilt policy test revision 2026-11-18 10:40:03 +01:00
Sean Hawkey 67942cda7b Expressions: a layer parameter left at None is the layer it sits on (#3601)
Fixes #3601.

### What

A layer parameter left at None (a Layer Control, or an effect's layer parameter) now stands for the layer it sits on, as in After Effects (values observed in AE 26.3 are in #3601). Before, its value was `null`. The property was still truthy, so a rig's `L ? L.sourceRectAtTime(t) : 0` went down the wrong branch and stopped with "not a callable function".

The change is one line in `Prop.__wrap` (`crates/expr/src/prelude.js`).

### Tested

- **`an_empty_layer_control_stands_for_its_own_layer`** in `crates/expr/src/tests.rs`: truthiness, `name`, `index`, the `L ? L.transform.position[0] : -1` pattern, and `sourceRectAtTime`. It fails without the change.
- **Suites:** `cargo test -p effectcraft-expr` (167 passed) and `cargo test -p effectcraft-script` pass. clippy and fmt are clean.
- **Not covered here:** calling the empty parameter like a layer (`L("ADBE Transform Group")`). That depends on #3554, and works with both applied.
2026-11-18 16:25:57 +07:00
JCleanCode 981981632c Fix #1986 Cmd+A ("select all") doesn't work in "Import multiple files…
Fixes #1986

**Cause.** On macOS the open panel has no key equivalents of its own. Cmd+A (and C/V/X/Z) work
because the menu bar sends `selectAll:`, `copy:` and so on down the responder chain to the key
window. EffectCraft's Edit items are custom muda items, so while the sheet was up Cmd+A ran
Edit > Select All on the Project panel behind it.

**Fix.** The native file dialogs on screen are counted (`native_dialogs`). While one is open on
macOS, Undo / Redo / Cut / Copy / Paste / Select All become macOS predefined items, which send
the real actions to the dialog. The other `edit.*` items are disabled. The UI is repainted when
a dialog opens so the menu is rebuilt before the next key.

**Tests.** `edit_menu_is_disabled_while_a_file_dialog_is_open`,
`edit_text_commands_are_predefined_while_a_file_dialog_is_open`. Checked by hand on macOS:
Cmd+A in "Import multiple files" selects the files.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- coderabbit-ai-generated:v1 -->

## Summary by CodeRabbit

* **Bug Fixes**
  * On macOS, Edit menu commands are disabled while a native file dialog is open and return to their appropriate enabled state when it closes or is canceled.
  * While a dialog is open, Undo, Redo, Cut, Copy, Paste, and Select All appear as native macOS menu commands with their current labels.
  * Opening a file dialog now triggers an immediate interface refresh, helping the menu update before the next key event.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-11-18 16:25:06 +07:00
FredApps 8030fd96e6 fix(psd): pin quilt bounds context validation 2026-11-18 10:12:07 +01:00
FredApps 49170cdf18 fix(psd): surface unsupported modern placements at import boundary 2026-11-18 09:43:01 +01:00
FredApps cb3f66e06c fix(psd): align local warp bounds with shared numeric contract 2026-11-18 09:36:47 +01:00
FredApps 7bb70c73d8 #3779: pin audited quilt read-write contract fixes 2026-11-18 08:43:41 +01:00
FredApps 218470e7b6 #3779: pin explicit quilt bounds and template roundtrip fixes 2026-11-18 08:08:36 +01:00
FredApps a1c1288b13 #3779: pin bounded PSD placement fixes and test app boundaries 2026-11-18 05:59:44 +01:00
FredApps cc5c5cb732 #3779: integrate reviewed shared PSD adapters with current main 2026-11-18 04:13:58 +01:00
vangel76 f0725e18bb OpenEXR limit: a decode thread that took over a decode lets the held planes go itself, and the region test reads the footage's size (#3750 review) 2026-11-17 18:12:03 +01:00
arnav-hiwarkar 104875a897 #3830: read only the three .3dl Mesh header tokens it uses 2026-11-17 22:28:16 +05:30
arnav-hiwarkar 6232bed556 #3830: stop collecting a .3dl line's numbers past the mesh limit 2026-11-17 22:20:14 +05:30
arnav-hiwarkar a65a1f746f #3830: cap the .3dl mesh and rows and cube with checked math; #3831: refuse a .spi3d short of its rows before the lattice is reserved 2026-11-17 22:11:34 +05:30
vangel76 6bee053990 Merge branch 'plane-store-on-craft-exr' into decode-cap-on-craft-exr
# Conflicts:
#	crates/media/src/exr_planes.rs
2026-11-17 17:40:27 +01:00
vangel76 3494ef8552 Caching: an oversized Cryptomatte plane stays beside held ones, disk copies are made a job at a time, and the review tests prove what they claim (#3750 review) 2026-11-17 17:40:16 +01:00
arnav-hiwarkar d550d3d476 #3830: regression tests for hostile .3dl meshes and row-less .spi3d lattices 2026-11-17 22:09:04 +05:30
ash cd9ee1e46a Merge pull request #3822 from arnav-hiwarkar/fix/3464-drop-shadow-softness-range
Drop Shadow: Softness takes After Effects' range, and keeps its blur past the padding budget
2026-11-17 21:53:35 +05:30
vangel76 e6a3c32357 OpenEXR limit: planes let go are gone before the request is read, a claimed decode without memory isn't read again, and the oversized-header test keeps the fixed limit (#3750 review) 2026-11-17 17:05:03 +01:00
vangel76 79fdc7b21b Merge branch 'plane-store-on-craft-exr' into decode-cap-on-craft-exr
# Conflicts:
#	crates/media/src/exr_planes.rs
2026-11-17 17:00:55 +01:00
vangel76 5d0bfe7869 Caching: memory is let go only where it frees memory, Purge keeps nothing decoding meanwhile, and regions read the rows they show (#3750 review)
- Cryptomatte planes: a plane a render holds is not offered for its gone channels, and the entry
  limit holds while renders hold every plane.
- Footage frames and whole stills held elsewhere are not offered to the memory accountant.
- Purge (clear frames) makes decodes in flight stale: their frames are not kept or joined.
- Plane store: a size refusal of a merged decode is not handed to a request that fits alone;
  slimming a shared set and copies for the disk cache take memory fallibly, and planes the disk
  cache can't take are not copied.
- Disk cache: the plane encoder's scratch is taken fallibly; no memory skips the entry.
- Region of interest: rows follow the projected transform of a 2D layer under a 3D parent, and
  a frame of another size than its footage is read whole.
- The box filter's work bound is checked without a wall clock.
2026-11-17 17:00:29 +01:00
arnav-hiwarkar c07dbf32ca Merge remote-tracking branch 'upstream/main' into fix/3464-drop-shadow-softness-range 2026-11-17 20:54:02 +05:30
ash 4c38f78307 Merge pull request #3817 from arnav-hiwarkar/fix/3467-radial-blur-amount-range
Radial Blur: Amount takes After Effects' range 0..1000
2026-11-17 19:03:14 +05:30