Commit graph

93 commits

Author SHA1 Message Date
b404e1f6b4 settings: colour options, screen colour picker and a switch for plain icons
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 23:26:41 -06:00
f77ecda1a8 net: split pasted sftp:// and ssh:// addresses into the connection fields
Also parses a bracketed IPv6 host without a port.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 10:51:00 -06:00
b7d46fe2b8 mouse: settings page for clicks, middle click and side buttons
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 10:51:00 -06:00
5e42b203f8 menu: new context actions, executables dialog, own default-app lookup
Terminal, open in tab/split, create new, duplicate, add to places, copy/move
to, other pane, compress, extract, invert selection; entries with a missing
tool are hidden, Play only for audio. Run / Run in terminal and an Ask dialog
for executables; default apps resolved from desktop entries, else Open with.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 10:51:00 -06:00
d1c8f69a03 keymap: one dispatch path for shortcuts, editor page, new window, tab menu
Commands with default chords, [shortcuts] overrides in settings.toml, conflict
detection; Shortcuts settings page with capture, Replace/Cancel and resets.
Ctrl+N opens a new window, tab right-click menu, closed-tab stack (10).
Probe gains key and middle-button modes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 10:51:00 -06:00
e3f1a7263e Merge branch 'refs/heads/worktree-agent-a2671e44f4d8fd2f0' 2026-11-19 10:01:22 -06:00
9dcffb5e2a Merge branch 'refs/heads/worktree-agent-a8099675de8cecb4e' 2026-11-19 10:01:22 -06:00
c27e663444 Merge branch 'refs/heads/worktree-agent-a4d139ca566fb1c6c' 2026-11-19 10:01:21 -06:00
95365b7754 test: sort order of the folder views
A small library target (src/lib.rs) exposes the pure item and sort modules to
tests/sort.rs: natural names, case ties, look names, each key in both
directions, folders first and group buckets.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 10:00:51 -06:00
42aa599066 feat: icon sizes, default view that applies, sort menus; fix grid columns
- Default view (Details, Icons, Large icons) now applies to every folder that
  keeps no view of its own: on opening, on leaving a folder with a saved view,
  and at once in open panes when the setting changes.
- Grid icon sizes small / medium / large / extra large: Ctrl+scroll over a pane,
  Ctrl+plus, Ctrl+minus, Ctrl+0; per pane, kept in `.directory` (IconSize) with
  the rest of a remembered view.
- A Sort button in the toolbar opens the sort menu (keys, ascending/descending,
  folders first, group by); the context menu of empty space and folders gets
  Sort by and View mode submenus (new action ids, also in the menu editor).
- Grid in a new tab showed one item per row: the reused pane view never
  reported its column count to the new folder model. FolderState now carries
  the model's columns and the grid reports again when they differ.
- Item and the sort functions are pure modules now (folder/item.rs, sort.rs).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 10:00:51 -06:00
62422d582d fix: tooltips no longer swallow clicks; split toggle keeps pane views
Each control opened its own PopupWindow as tooltip. While one showed, Slint
dropped every press outside it, so after resting on a button (the split toggle
above all) the next click did nothing. Tooltips are now one input-transparent
layer per window (Tips + TooltipLayer), filled in by StateLayer.

Toggle buttons whose state the shell owns (sidebar, previews, split) no longer
flip `checked` themselves, which broke their binding. Switching tabs or the
split now updates, adds or removes single pane rows instead of rebuilding every
pane view. xdnd_probe gains a `click` mode for real clicks under Xvfb.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 10:00:41 -06:00
92d9e29f42 player bar: wavy seek bar, fixed-width time, narrow layout; play video sound
The seek bar is a wavy progress line: the played part waves (travelling
only while playing, flat when paused, still under reduced motion), then a
gap, a pill handle at the playhead and the flat rest with a stop dot.
Drag shows the position live and seeks on release. The time label keeps
the width of its widest text; narrow, the volume slider, half the title,
the cover and artist and the mute button go in turn, so the bar fits down
to the 720 px window. Play is offered for audio and video files (by MIME
type), Edit tags for every format lofty writes; a tag write on the
playing file closes it and resumes playback where it was.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 07:24:54 -06:00
efb4acc35a player: read ffmpeg PCM with as_chunks (clippy)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 07:24:54 -06:00
1d047eeee8 net: wait for the sftp subsystem reply and name servers without SFTP
russh sends the subsystem request without waiting for its reply, so a server
that refuses SFTP, or an account with a forced command that accepts the request
and closes the channel at once, surfaced as the raw "sender dropped" of the
SFTP greeting. Read the reply first and map each case to a plain message
("<host> doesn't offer file access (SFTP)", "... to this account", "didn't
start file access (SFTP) in time"). Sign-in failures now say what was refused
(key, password, a key left locked). Messages name the host as written (the ssh
config alias).

One connect attempt per host at a time: callers that wait for it share its
connection or its error, and a second click on a Network entry while its home
folder is looked up does nothing, so a double click no longer shows two toasts.

Tests: refused subsystem, forced command, channel closed without reply,
concurrent requests sharing one attempt, specific auth errors.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 07:17:39 -06:00
4ae737e157 ios: app document folders via house_arrest
An Apps folder at the iPhone root (and an Apps entry under the device in
Devices) lists the user apps that share files (installation_proxy Browse,
UIFileSharingEnabled), by display name. ios://<udid>/Apps/<bundle id>/<path>
maps to /Documents/<path> on a house_arrest AFC client (VendDocuments, then
VendContainer), so the AFC Location code serves copy, move, rename and delete.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 07:16:06 -06:00
fcd5c4d1b1 tags: open files by content; round-trip tests on every format
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 06:56:46 -06:00
a3b9f19282 player: ffmpeg fallback for formats symphonia can't decode
Symphonia now has all its pure-Rust codecs and formats. What it can't
decode (Opus, WMA, AC-3, the sound of video files) goes through the
ffmpeg CLI: ffprobe for rate and length, raw f32 PCM piped into the same
output, seeking by restarting with -ss, the child killed on stop. Missing
ffmpeg keeps the unsupported error. A Handle lets another thread close
the playing file while it is rewritten and resume it in place (D-041).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 06:56:46 -06:00
389c9c7514 docs: handoff after overnight run (S033, S034, S037 done; S035 review and S036 checks open)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 05:19:20 -06:00
1cca81ead8 S036: real-world checklist (checks pending)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-19 05:18:34 -06:00
a3b1fb131a S037: desktop entry, install script, final docs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-19 05:18:34 -06:00
fa09c1b5b1 S035: motion audit, idle frame check, review PNGs (review pending)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 05:15:10 -06:00
365f715da7 docs: tick S033 final box
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 05:01:18 -06:00
9ea6cc342c S033: tests for thumbs, tags, MusicBrainz, player, ssh, SFTP and MTP
Fixes: key passphrase retried up to three times; zero track/disc number reads as none.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-19 04:58:55 -06:00
b042dfe29c S034: screenshot matrix and UI review fixes
--matrix renders every screen light/dark, hovered/pressed, empty/full and
at 720x480. Fixes: breadcrumb overflow mark, compact toolbar, names-only
narrow panes, short-window dialogs, scrolling settings pages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 04:49:45 -06:00
cf70592958 docs: orchestrator overnight run (D-040), tick S032 final box
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 01:19:30 -06:00
35715817aa S032: tests for core, ops, trash, dirmeta and the elevation protocol
Fixes: file over folder with Overwrite, CRLF .directory files, stray blank line
after removing an added group.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-19 01:00:47 -06:00
70d0d2d5b1 docs: handoff update (S031 done; phase 12 started)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 00:52:25 -06:00
3034af407a S031: native drag and drop and file clipboard on X11
XDND v5 source and target on an own x11rb connection (proxy window via
XdndProxy), CLIPBOARD owner and reader. Wayland and X11 share one Backend
trait. examples/xdnd_probe drives both directions under Xvfb.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 00:51:53 -06:00
8fa4429c5b docs: handoff update (S029, S030 done; S031 running)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 00:40:27 -06:00
34c76a2c66 S030: native drag and drop and file clipboard on Wayland
Own queue on Slint's wl_display (thread), drag out via start_drag with an shm icon,
drag in through Slint's drop handling (same drop targets and menu), copy/cut/paste
of files with other apps. Off on X11. Wayland checks deferred to S036 (D-038).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 00:39:24 -06:00
19d35f5c61 docs: D-038 Wayland DnD checks move to S036
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 00:36:06 -06:00
29f4456154 S029: SFTP connections in the UI
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-19 00:35:39 -06:00
e87cb896ed docs: handoff update (S023, S028 done; S029, S030 running)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 00:12:36 -06:00
26073c4e7b S023: quick player bar with waveform seek bar
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 00:11:52 -06:00
b36fea1436 S028: SFTP location with auth chain, host key checks and connection pool
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-19 00:05:26 -06:00
2faf23b3ef docs: handoff update (S021, S024 done; S023, S028 running)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 23:56:24 -06:00
0a7fbe580d S024: iPhones over usbmuxd and AFC as ios:// locations
Hotplug via usbmuxd Listen (hidden when the socket is missing), pairing
with a Trust prompt, AFC list/stat/stream/mkdir/rename/delete, Devices
entries merged with MTP, Eject in the place menu, ios_location example.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 23:55:31 -06:00
6ed36a90fd S021: tag editor and online lookup dialogs
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-18 23:47:31 -06:00
48eecf3163 docs: handoff S024 id
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 23:43:53 -06:00
75f3541366 docs: handoff update (S018, S026 done; S021, S024 running)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 23:43:49 -06:00
134095472e S026: Android phones as mtp:// locations with hotplug and Devices places
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 21:02:17 -06:00
eba5db311b S018: thumbnails in the folder views, previews toggle and settings
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-18 20:48:34 -06:00
270e828db4 docs: handoff update (S015, S016 done; S018, S026 running)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 20:34:33 -06:00
ba84775da2 S015: tick final box
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 20:34:06 -06:00
dbfbd2ca12 S015: drop dead_code allow on Bridge::elevation (now used)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-18 20:31:13 -06:00
7257b00b0c S016: root operations through a pkexec helper
Helper mode tunal --elevated-helper over a framed stdin/stdout protocol,
pkexec launcher, ElevatedLocal backend, per-job-thread Elevation for the
job engine, Retry as administrator in the error dialog, polkit policy and
a helper smoke example.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 20:29:25 -06:00
7ba6ae8eae S015: .directory folder metadata (lossless dirmeta, folder icons/names/views, appearance dialog)
Needs S016's Bridge::elevation() and tunal-elevate to build.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-18 20:28:31 -06:00
85692da7af docs: handoff update (S014, S039 done; S015, S016 running)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 20:08:40 -06:00
15d514eeab docs: breadcrumb leftover for S034
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 20:08:33 -06:00
5d278be373 S014: centre breadcrumb crumbs vertically, keep crumb widths so they never overlap
Crumbs sat at the top of the 40 px bar (a layout puts a fixed-height child at the top)
and a 32 px min-width let later crumbs shrink under their labels. Trailing padding
trimmed so the root crumb has more room.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 20:06:39 -06:00