S007: file operations engine, freedesktop trash and trash:/// backend
Jobs with progress, cancel, conflict and error requests; scan pass, copy_file_range and stream copies, rename moves; per-filesystem trash with .trashinfo, restore and empty; ops smoke example. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
parent
64ec86bf3b
commit
d90bf731bc
1 changed files with 2031 additions and 20 deletions
|
|
@ -28,3 +28,4 @@ D-023 — 2026-11-18 — Window minimum size 720×480 px (preferred 960×640): f
|
|||
D-024 — 2026-11-18 — Location URIs are `scheme://authority/path` with the path as raw bytes (percent-encoded only in Display); every backend implements the object-safe blocking `Location` trait in `tunal-core` (chunked `list` with a `ControlFlow` sink, `watch` returning a drop guard), unsupported ops return `Error::Unsupported`, and views gate actions on `capabilities()` — S006 — S007–S014, S024–S029.
|
||||
D-025 — 2026-11-18 — Controls: every control inherits `StateLayer` (tint drawn above content, `clicked` for users and `activated` for the control's own toggling; inherited properties must be written `root.x`); `TextField` is built on the builtin `TextInput` because std `LineEdit` (material) takes its colours from the fixed `MaterialPalette` and can't use our tokens; the software renderer ignores `transform-scale`, so press squeeze shows only in a real window — S004 — every UI plan, S035.
|
||||
D-023 — 2026-11-18 — UI sessions look at the user's other Material You apps (Damson, Mulberry, Nacre; egui) as design references for colour roles, state layers, shape, spacing and motion, porting ideas to our Slint Theme/Motion tokens; the stack (Slint 1.19) stays; library defaults that don't match are replaced by own components — user — all UI plans (S004–S031, S034, S035).
|
||||
D-026 — 2026-11-18 — File operations run as jobs in `tunal-core::ops`: `Jobs::new(locations, sink)` (one worker thread runs long jobs in order; mkdir/rename get their own thread), `submit(JobKind) -> JobHandle` (`progress()`, `cancel()`); the sink gets `JobEvent::{Progress, Conflict(Box<ConflictRequest>), Error(ErrorRequest), Finished(Report)}` on the job thread, requests block the job until answered through `Reply::send` (dropped = Skip). Folder onto folder with Overwrite merges. Trash item URIs are `trash:///<id>:<name>[/sub]` with `<id>` = `home` or the hex path of a per-mount trash dir; entries' `name` is that key, `display_name` the original name; jiff 0.2 for local DeletionDate — S007 — S010, S011, S012, S013 and every plan that changes files.
|
||||
|
|
|
|||
Loading…
Reference in a new issue