Commit Graph
7039 Commits
Author SHA1 Message Date
r31lin 8d5b02457e document-bundle: turn a non-zip file away after four bytes in read_preview_from
The zip reader searches a whole file for an end-of-directory record
before it gives up on a file that isn't a zip. DesignCraft reads the
preview of every recent file this way before the start screen's first
frame: 2.6 s for a local 110 MB InDesign document, 43 s on a network
share.

read_preview_from now checks the zip local-file header first.

Fixes #2031
2026-11-17 12:21:21 +01:00
Terra854 96dd8c4e09 Disambiguate the SVG writer documentation link 2026-11-17 19:14:47 +08:00
Terra854 76a27e21d7 Keep validated policy storage within the renderer feature 2026-11-17 19:12:08 +08:00
Terra854 6d0fa2c26d Parse lockfile dependency graphs as TOML documents 2026-11-17 19:09:27 +08:00
Terra854 ca56374cf1 Use shared preflight in MIME body regression 2026-11-17 19:07:31 +08:00
aiongg e5e06108c8 Merge branch 'fw/zoom' into p/stage 2026-11-17 11:03:46 +00:00
aiongg 8c66b02cf1 Pointer-over readers and component text widgets in the one pointer resolution
The roots that contain the pointer are found whatever egui's click target is.
A widget a component made for its own text (a field's text, a selection part)
is recorded with its component: a press egui gives it stays the widget's, and
the hover goes to that component's topmost shape. Collection rows report
pointer_over beside hovered, and the document tab strip names the tab under
the pointer by it, so a drop target reads it while another root holds the
press. DIAG (CRAFT_DIAG_PRESS) prints each resolution's stack and answer.
2026-11-17 11:03:06 +00:00
Terra854 f32b47a1d4 Add opt-in checked SVG image validation 2026-11-17 19:00:14 +08:00
aiongg 0bfa3ca65a Canvas::queued takes ViewRequest: user commands ease, app placements jump
A new or cropped document's fit and a new arrangement's fits place the view, which jumps as PhotoCraft's
placements did; a menu row or an action step eases under Animated Zoom as its chord does. The full-window wheel
trial turns Overscroll on: after the 20-point fit one notch leaves the image smaller than the canvas, which
Overscroll off centres.
2026-11-17 10:59:06 +00:00
Dylan M. Taylor 20baec266a Accept horizontal tabs around PJL language separator 2026-11-17 05:43:28 -05:00
el-j e524806621 craft-audio: the Vorbis decoder's bit-reversal loop iterates the table 2026-11-17 11:25:41 +01:00
aiongg a804f08d83 Context-menu part reads the hovered member through Hovered::find 2026-11-17 10:25:27 +00:00
aiongg 83ed4b0b6c Merge branch 'fw/hover' into o/stage 2026-11-17 10:17:58 +00:00
aiongg d046011855 Full-window view: read the target before borrowing the view 2026-11-17 10:17:41 +00:00
aiongg abf5962ac4 Hover follows the press winner: one resolution of what lies under the pointer
pointer::Under, found once per pass at the begin hook over last pass's shape
record, answers both the press and the hover: the press winners hover, plus
the topmost shape when it takes no press; roots with a shape under the point
contain the pointer. While a press is open only its target hovers. Arenas
read their hover and their press hit from it; the per-root layer check and
the arena's own hover and press resolves are gone, and withheld members are
dropped in the one resolution. Toasts pause on contains_pointer. Trials for
hover/press agreement, nested controls, held presses and one resolution per
pass.
2026-11-17 10:17:17 +00:00
aiongg fe6da87e8b Canvas view commands: queued app commands, 20 pt Fit on Screen, one implementation for full-window views
- Fit on Screen leaves 20 points on each side (PhotoCraft and the old framework) and fits up to the target's fit
  ceiling: 100 % for a document canvas, 400 % for a full-window dialog.
- Canvas::queued: view commands an app asks of a document's canvas run in the canvas's loop before the fired ones,
  eased the same way, and never in a measuring run.
- FullWindowView runs Zoom In, Zoom Out, Fit on Screen and 100% through ViewCommands::apply.
2026-11-17 10:10:41 +00:00
aiongg 79ded40ba3 Merge round M into next: keyboard typing scopes and Tab gate, screen mode as one command, press routing fixes, live stroke without a footprint trail, workspace tool rails one column wide 2026-11-17 09:40:42 +00:00
Dylan M. Taylor 51673a8fea Merge main preserving aligned ZIP and Lottie provenance 2026-11-17 04:35:16 -05:00
aiongg cd73a4f24a Remove the DIAG prints 2026-11-17 09:35:16 +00:00
Dylan M. Taylor 83cb1133dd Merge pull request #2009 from storytold/feat/lottie-raw-gradient
feat(lottie): expose raw gradient values for animated fitting
2026-11-17 04:32:57 -05:00
el-j e5bde5203c Merge main into feat/audio-mp2-encode 2026-11-17 10:12:38 +01:00
el-j 46587441df Merge main into feat/audio-adpcm 2026-11-17 10:12:32 +01:00
el-j 1ec3f6737c Merge main into feat/audio-dsd 2026-11-17 10:12:18 +01:00
el-j 3d06331fc8 Merge main into feat/audio-g722 2026-11-17 10:12:12 +01:00
el-j de861bef5a Merge main into feat/audio-vorbis-decode 2026-11-17 10:11:58 +01:00
el-j 8d3cd561a4 craft-video: Motion JPEG frames convert to VideoFrame (#1231) 2026-11-17 10:07:43 +01:00
aiongg 15d73ac5fc Merge branch 'red/ff' into m/stage 2026-11-17 08:55:31 +00:00
aiongg 80fef44001 Typing scopes: a command set marked typing is a keymap context while an instance is around the focus, so a text component's own keys work while it types; the text editor's formatting keys are one 2026-11-17 08:54:37 +00:00
aiongg 544153f5bd Tab moves focus from a text field however it got the focus: only a pressed control leaves Tab to the panels toggle 2026-11-17 08:54:37 +00:00
aiongg 4b3a558184 Remove the press-routing DIAG prints: the colour-well click reaches its member and the routing tests of rounds I-K pass 2026-11-17 08:51:00 +00:00
alehelandClaude Opus 5.5 e0440f9942 video: the VMD decoder is behind vmd-decode, with vmd turning it on
craft-audio names its VMD decoder feature `vmd-decode`, and craft-video
names a codec's decoder `<codec>-decode` wherever the codec may also have
an encoder (mpeg2, mpeg4, vp8…). The video decoder now follows that:
`vmd-decode` gates the module and its VideoFrame conversion, and `vmd`
turns it on, so `vmd` keeps working and an encoder can be added later
without renaming.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 09:39:25 +01:00
aiongg 2fc58c1ef7 ToolRail::show_column: the full-window workspaces' tool strips are one column wide 2026-11-17 08:31:27 +00:00
aiongg 5169a1e378 Merge branch 'red/screenmode' into m/stage 2026-11-17 08:30:02 +00:00
aiongg 6496e37e68 cargo fmt 2026-11-17 08:27:05 +00:00
Dylan M. Taylor 1b7ab973fa Document intentional PJL language recovery correction 2026-11-17 03:24:53 -05:00
aiongg f86c3b134c Keys with nothing focused match in the window's shell; a momentary command's held key makes its scope's keys work first (keymap context), and that scope's commands go to the application 2026-11-17 08:21:52 +00:00
aiongg 8d37b08071 Merge branch 'red/ff' into fw/mac1 2026-11-17 08:21:16 +00:00
Dylan M. Taylor 763b0f32a1 Only select PJL language for ENTER commands 2026-11-17 03:19:11 -05:00
Dylan M. Taylor 8672aff3d8 Merge pull request #1991 from storytold/fix/plot-range-contains
unbreak the Workspace gate: the xlsx fixture Result and the docx range-contains lint
2026-11-17 03:17:42 -05:00
aiongg 86fce21a01 cargo fmt 2026-11-17 08:07:14 +00:00
aiongg 98226eb219 Merge branch 'look/align' into fw/mac1 2026-11-17 08:04:37 +00:00
aiongg 81da1ad38b cargo fmt 2026-11-17 08:04:00 +00:00
aiongg 059d9b17d6 Tab after a press on a component toggles the panels in a canvas window: the focused stop keeps how focus reached it; focus_holds names a Tab that moves focus; typing lets only command chords and function keys fire 2026-11-17 08:03:41 +00:00
aiongg 4244120e1a DIAG: whether the press step runs in a measuring run 2026-11-17 08:03:05 +00:00
aiongg db6769d288 DIAG: the colour-well click past the arena start (the arena's own resolve, each press step, the end sweep, the member's read of the activation, the component's activation) 2026-11-17 08:02:43 +00:00
aiongg 05f34f857d Vanishing point delete trial: the first plane holds the layer's middle and the click lands on the canvas's middle, whatever zoom the fitted view takes 2026-11-17 08:02:43 +00:00
aiongg 5ccb18f828 A transformed box's corner near the origin holds the precision of the box's largest coordinate: a host's f32 write-back of a rotated text box no longer reads as a document change that cancels the handle drag after its first step 2026-11-17 08:02:42 +00:00
aiongg db4365d954 TransformFields panel form: the angle's rotate glyph sits beside its field in the column's label column, as W, X and H do; the bar keeps it inside 2026-11-17 07:59:12 +00:00
aiongg 54ccab3324 Text part: the text adapter gives the editor its line's baseline, so the egui runtime layer imports no primitives 2026-11-17 07:59:12 +00:00
aiongg 490a9e0207 Text in a control's line sits on the line's baseline: a field's mono digits and its unit share the body text's baseline 2026-11-17 07:52:46 +00:00