Commit Graph
5623 Commits
Author SHA1 Message Date
FredApps 615853803a ci: pass only the dispatch token to the notify-services workflow
secrets: inherit hands the called workflow every repository secret, including
the signing credentials. The reusable workflow only reads
ARTCRAFT_SERVICES_DISPATCH_TOKEN, so map just that one.
2026-11-27 09:43:51 +01:00
Dylan M. Taylor 130c5f3c2e ci: notify artcraft-services on release state changes 2026-11-26 21:56:01 -05:00
FredApps bfe6878d65 Merge pull request #3737 from vangel76/gpu-upload-budget-3731
GPU rendering is no longer slower than the CPU on comps with many large layers (up to about 10x faster)
2026-11-26 21:44:52 +01:00
FredApps 2b750011a7 Merge upstream main into gpu-upload-budget-3731 2026-11-26 21:17:44 +01:00
skylar taylor-barrick 225ab2f072 test(sam2): check transposed convolution with a rounding-aware oracle (#4124)
Merged within Executive 271's Fred-approved scope, on Fred's REST review 6076595648 given explicitly at 81a2ce21, with the fresh full bar verified at that head: CI green (Linux gate and all four instrumented shards, Sonar among them), CodeRabbit reviewed this head, zero unresolved threads. #4122 and #4123 are untouched by this.
2026-11-26 13:54:55 -06:00
NazarandFredApps 6002e6214f Helper host: video helper client with reply rules and gate tests (#4189)
* Helper host: video protocol types, reply rules and discovery

Part of RFC-0031, phase 1. The host side of docs/video-helper-protocol.md
that needs no process: the messages, what to do with each reply, and
finding the program. Starting the helper and the client come next.

- video::wire: encode.open/frame/flush/close, cancel, hello and the
  replies, as the page documents them; control lines are at most 1 MiB.
- video::jobs: job and frame ids, the 8 frame / 256 MiB budget and the
  "What EffectCraft does with each reply" table (accept, drop, job error,
  protocol break) as plain logic.
- video::check_hello and find_video_helper: the version and app_min
  checks, and the program is looked for only in helpers/ next to the
  executable. Effect-helper scans now skip it.

* Helper host: video helper client, stand-in helper and gate tests

Part of RFC-0031, phase 1. Starts a video helper and runs encode jobs
on it, following docs/video-helper-protocol.md and the reply rules
added in the previous commit.

- video::client: VideoHelper starts the program, checks its hello,
  opens encode jobs, sends pictures (waiting when 8 frames or 256 MiB
  are out), flushes, cancels and closes. Packets are copied out of the
  exchange file as they arrive. A crash, hang or broken reply stops the
  helper and fails the export; 3 stops turn it off. A refused job ends
  that job only.
- Stopping kills the helper process and waits at most 5 s, then drops
  the exchange file so a stray process can't touch a reused region. The
  spec no longer promises a process-group or job-object kill, which
  needs unsafe code; its wording follows what is implemented.
- tests/it/video.rs: a stand-in helper (this test binary, driven by a
  scenario) and 19 gate checks: crash, hang, bad and out-of-order
  replies, out-of-bounds packets, version mismatch, missing helper,
  lost device, packet_too_large as a job error, cancel, ignored
  cancel, 3 stops and retry.

* Helper host: harden the video client against a misbehaving helper

Review fixes on the video client and its tests.

- Packets in one reply may not add up to more than their region, so
  repeated references to the same bytes can't make the host copy them
  many times. The reader's queue is bounded; a helper that floods it
  waits on its own pipe.
- A picture is sized with checked arithmetic and refused over 256 MiB
  before any layout or exchange file growth; an encode.open that can't
  be written is refused before the job, its ids and regions exist.
- Waits end at their deadline even while replies keep arriving, a poll
  looks at a bounded number of late replies, the flush batch and
  encode.flushed share one timeout, and a timeout too long to represent
  no longer panics.
- close is private: a job is closed only after encode.flushed or
  cancelled. An unsent frame is given back when writing its planes
  fails; a failed copy of packets stops the helper without counting it
  as a crash.
- Contents/Helpers is searched only for an executable in
  Contents/MacOS. An incomplete base64 group is rejected.
- Tests assert the protocol diagnostic of each malformed reply and
  cover the flood, the flush deadline, oversized pictures and an
  oversized encode.open. The spec table drops every reply except
  cancelled for a failed job that has not been cancelled yet.

* Helper host: allow one encoder job at a time on a video helper

open_encoder accepted a second job while the first was open. If the
first job then reported an error while the client was waiting on the
second, the error was dropped and its caller only saw "no such video
job".

A second open is now refused with a request error until the first job
is finished or cancelled, so each job's error reaches its own caller.
The receiver state machine still tracks several jobs; only the client
API is single-job.

The gate test refuses a second open while one is active and accepts a
new one after finish and after cancel.

* Helper host: reject malformed base64 padding, align two protocol notes

base64_decode stripped every trailing "=", so "====" decoded to an
empty codec configuration that open_encoder then accepted. It now
accepts at most two "=" and only when the length is a multiple of 4.

The protocol page said job ids are never reused even after a restart,
but the counter is per process, and said nothing about replies that
were already queued when the frame timeout passed. Both now describe
what the client does.

* Helper host: fix two code comments about job id reuse

The comments on NEXT_JOB and Jobs::new said ids are never reused across
helper processes or restarts. The counter is per process and a new
helper starts from the highest id opened so far, so the comments now say
that, matching docs/video-helper-protocol.md.

* Helper host: cap the encoder delay a video helper may report

A helper-reported delay sized the flush region (and the exchange file) with
unchecked arithmetic. A delay over 64 is now a protocol break, the flush
region uses checked arithmetic, and the protocol page says so. Also moves a
test doc comment back onto the test it describes.

---------

Co-authored-by: FredApps <[email protected]>
2026-11-26 20:47:36 +01:00
FredApps 68fbd42ee4 Merge pull request #3721 from gmrmad1/fix/3668-render-queue-duplicate-shortcut
Render Queue: Ctrl+D duplicates the selected item (#3668)
2026-11-26 18:29:04 +01:00
FredApps b602fc35f5 Merge branch 'main' into fix/3668-render-queue-duplicate-shortcut 2026-11-26 17:54:25 +01:00
FredApps 175000fe98 Merge pull request #2956 from dotCooCoo/feat/import-photocraft
Import: PhotoCraft documents as footage or saved pixel layers
2026-11-26 17:54:10 +01:00
FredApps 995039c7aa Merge branch 'main' into feat/import-photocraft 2026-11-26 17:17:26 +01:00
FredApps f1beeb8a3a Merge pull request #2007 from MarekSpodBiedry/issue-1963
Offset all selected keyframes when a value is edited on one of them (#1963)
2026-11-26 17:17:11 +01:00
FredApps 6969ca541d Merge branch 'main' into issue-1963 2026-11-26 16:42:30 +01:00
FredApps 48ff5961cc Merge pull request #3259 from vangel76/camera-tools-2586
The camera tools offer After Effects' eight Orbit, Pan and Dolly variants in each slot's flyout
2026-11-26 16:42:14 +01:00
FredApps 52b1d18833 Merge branch 'main' into camera-tools-2586 2026-11-26 16:07:34 +01:00
FredApps e50caa8ef2 Merge pull request #3724 from vangel76/export-log-phases-3713
Export log shows where the time went: render, encode, write
2026-11-26 16:07:18 +01:00
FredApps c1758a2667 Merge branch 'main' into export-log-phases-3713 2026-11-26 15:30:33 +01:00
FredApps a999ce63af Merge pull request #3904 from vangel76/paste-text-style-3901
Pasted Source Text keyframes keep their font and colours
2026-11-26 15:30:17 +01:00
FredApps ac45c3fe9e Merge branch 'main' into paste-text-style-3901 2026-11-26 15:03:43 +01:00
FredApps 8087064fb9 Merge pull request #3842 from ChristopherLinnett/test/issue-2285-separated-motion-path
Viewer: a test draws the motion path of separated X/Y Position (#2285)
2026-11-26 15:03:27 +01:00
FredApps b77e13887a Merge branch 'main' into test/issue-2285-separated-motion-path 2026-11-26 14:30:48 +01:00
FredApps 50358c2e47 Merge pull request #3841 from ChristopherLinnett/test/issue-2286-dof-guard-tests
#2286: a failing test behind each Classic 3D depth-of-field bounding guard
2026-11-26 14:30:33 +01:00
FredApps a0be2a752f Merge branch 'main' into test/issue-2286-dof-guard-tests 2026-11-26 13:55:34 +01:00
FredApps 6485310ab0 Merge pull request #3837 from ChristopherLinnett/fix/issue-3808-interpret-footage-target
Interpret Footage: the dialog shows the footage the command will change (#3808)
2026-11-26 13:55:18 +01:00
FredApps 28fc5906d3 Merge main into fix/3668-render-queue-duplicate-shortcut
Conflict in crates/ui-egui/tests/it/ui_shortcut_scopes.rs: kept this PR's press/press_in split (press and release, shared context) and main's framework::install_headless call, now made on every context the tests create.
2026-11-26 19:26:23 +07:00
FredApps d56f2d058f Merge branch 'main' into fix/issue-3808-interpret-footage-target 2026-11-26 13:18:53 +01:00
FredApps ff41f29c6a Merge pull request #3777 from gmrmad1/contributors/gmrmad1
Contributors: add gmrmad1's name for the About window
2026-11-26 10:07:57 +01:00
FredApps 0760042742 Merge pull request #3993 from nazar-gavrylyk/docs/hardware-video-protocol
Docs: propose the video helper protocol for hardware encoding (RFC-0031)
2026-11-26 10:07:25 +01:00
FredApps e09d68ba01 Merge pull request #4121 from storytold/fix/media-unsupported-video-errors
fix(media): keep the shared decoder's unsupported-video errors
2026-11-26 10:05:28 +01:00
skylar taylor-barrick 89deb98175 Nightly: stop blocking a refused launch on macOS (#4177)
Nightly launch fix under Skylar's Exec 454: the Launcher's trailing `--` no longer reaches the file list where that applied, and a refused launch no longer blocks on macOS (the reason goes to stderr and the app exits 2). One doc comment was reworded so the app's `rfd`-use guard (#3084) keeps passing.
2026-11-26 01:59:20 -06:00
FredApps 8d9aaf1055 Reconcile PhotoCraft import with current EffectCraft dependencies 2026-11-26 08:54:52 +01:00
aiongg 47ab68c218 Merge pull request #4153 from aiongg/minimal-port-next
EffectCraft: move to craft-libs next (minimal port)
2026-11-25 23:09:14 -05:00
skylar taylor-barrick 9111eaa73c Switch on supervised nightlies on the nightly-signer branch (#4175)
Supervised nightly switch-on, merged under Skylar's explicit Nightly 758 override after green CI, CodeRabbit on this head with no open threads, Sonar passing, and an independent adversarial review with no blockers.
2026-11-25 21:05:26 -06:00
skylar taylor-barrick 5eccc055ce Use the shared nightly launcher template (#4169)
Renders the plain nightly tar's launcher from craft-common-actions' shared template.

Independent check: dylanmtaylor compared all 14 app launcher PRs byte for byte with the template rendered from the registry (https://github.com/storytold/craft-common-actions/pull/367#issuecomment-7172085284); this head was re-checked against craft-common-actions main 88148a5.
2026-11-25 16:16:58 -06:00
aiongg 984b10c5a6 Preview keeps its 46-point body under the 28-point tab strip; the examples install the UI runtime 2026-11-25 20:44:58 +00:00
aiongg fb5a5fd910 Floating windows carry the running channel's app id 2026-11-25 20:10:33 +00:00
aiongg 5bdbd2cf89 The font picker stays on the side it opened on 2026-11-25 20:10:33 +00:00
aiongg 805848551f Repin craft-libs to storytold next 8fa4db64a9 and egui to b9770908e; the media crates at filmcraft's rev, one craft-timeline 2026-11-25 19:14:41 +00:00
aiongg 9776fc722f Shift+Escape stays Shift+Escape when Shift is let go at once
As before the move to the craft-ui runtime, an Escape shortcut matches
the modifiers of its own press, not the ones held when the frame runs.
2026-11-25 18:28:37 +00:00
aiongg b74e746f3f Repin craft-libs to storytold next aa401985d 2026-11-25 15:51:18 +00:00
vangel76 6dbdefa987 Export timing: audio mux writes count as writing; a finish without timing clears the last one
The movie's audio step now times mixing and encoding as audio and muxing the encoded AAC/PCM
samples (and the AAC drain) as writing, as the timing contract says. A Finished update without
timing clears the item's earlier timing. New test: an_audio_mux_write_counts_as_writing.
2026-11-25 16:36:19 +01:00
aiongg 5c8a110c8f Copy, Cut and Paste pressed in a floating panel reach the app 2026-11-25 15:15:01 +00:00
aiongg c44f67531d The IME reset answers are one function beside the viewer's keyboard loop 2026-11-25 14:41:33 +00:00
aiongg 144982d678 The focused viewer keeps its focus at Escape 2026-11-25 14:26:45 +00:00
aiongg ea50d79108 A floating panel's window hands the main window only the keys and clipboard events no widget has 2026-11-25 14:23:42 +00:00
aiongg 121be81389 The focused Composition viewer leaves the keyboard to the app 2026-11-25 14:22:08 +00:00
aiongg e5bf0ca05a Ask for a new IME reset when the integration retires the request 2026-11-25 13:45:20 +00:00
aiongg 6a51e00441 Repin craft-libs to storytold next d1bdf8e5da 2026-11-25 13:43:59 +00:00
aiongg afb7ee6868 pdf-deps checks craft-libs from the repository Cargo.toml pins 2026-11-25 07:30:36 +00:00
aiongg 57d7b0dd1b Merge main into the minimal port
Conflicts: crates/ui-egui/src/lib.rs (module list: kept the port's capture module and main's channel module).
2026-11-25 06:36:34 +00:00
aiongg 656d6c867d Repin craft-libs to storytold next 16001e7210 and egui to storytold b15ffe9bfc 2026-11-25 06:33:03 +00:00