Commit Graph

113 Commits

Author SHA1 Message Date
Dandaedre a6d9dc558f
fix: allow TUI exit when server hangs
Restore terminal state before client teardown and bound IPC worker joining to a 25 ms grace period. A worker stuck in an in-flight server request is detached and exits after the request returns and observes cancellation.

Tests: cargo fmt --all -- --check; cargo check --workspace --all-targets --all-features; cargo test --workspace --all-targets --all-features; cargo test --workspace --doc --all-features; cargo clippy --workspace --all-targets --all-features -- -D warnings; cargo build --workspace --release --all-features; default/no-default/backend feature checks.
2026-10-15 22:16:38 +02:00
Dandaedre acb0f609cb
feat: add horizontal mixer layout
Persist a vertical or horizontal mixer orientation in the profile and expose it in Config. Horizontal mode packs fader cards into width-aware bands while keeping separators full-width and respecting per-fader density.

Tests: cargo fmt --all -- --check; cargo check --workspace --all-targets --all-features; cargo test --workspace --all-targets --all-features; cargo test --workspace --doc --all-features; cargo clippy --workspace --all-targets --all-features -- -D warnings; cargo build --workspace --release --all-features; default/no-default/backend feature checks.
2026-10-15 22:13:44 +02:00
Dandaedre 2fe7824203
feat: clarify MIDI binding controls
Split each volume and mute binding into controller selection, Learn MIDI, and Unlearn MIDI actions. Preserve the current message when changing controllers and show a modal prompt while waiting for the next supported control.

Tests: cargo fmt --all -- --check; cargo check --workspace --all-targets --all-features; cargo test --workspace --all-targets --all-features; cargo test --workspace --doc --all-features; cargo clippy --workspace --all-targets --all-features -- -D warnings; cargo build --workspace --release --all-features; default/no-default/backend feature checks.
2026-10-15 22:08:22 +02:00
Dandaedre bcba3e96eb
feat: add per-fader display sizes
Persist slim, standard, and thick mixer densities and expose them through the guided fader editor. Render slim faders on one line and make mixer scrolling account for variable row heights.

Tests: cargo fmt --all -- --check; cargo check --workspace --all-targets --all-features; cargo test --workspace --all-targets --all-features; cargo test --workspace --doc --all-features; cargo clippy --workspace --all-targets --all-features -- -D warnings; cargo build --workspace --release --all-features; default/no-default/backend feature checks.
2026-10-15 22:02:54 +02:00
Dandaedre e55ed59f5b
feat: turn config tab into settings
Keep fader and separator editing on the main mixer. Replace the normalized table browser and pipe-delimited commands with theme selection, per-fader hidden restoration, Apply/Save controls, MIDI-learn cancellation, and backend/device diagnostics. Remove the Shift+H alternate hidden-fader mixer.\n\nTests: cargo fmt --all -- --check\nTests: cargo check --workspace --all-targets --all-features\nTests: cargo test --workspace --all-targets --all-features\nTests: cargo test --workspace --doc --all-features\nTests: cargo clippy --workspace --all-targets --all-features -- -D warnings\nTests: cargo build --workspace --release --all-features
2026-10-15 21:57:03 +02:00
Dandaedre 6a8db551a9
ci: export native backend parameter
Rust CI fader_master passed its selected CI mode.
MadGobblins/fader_master/pipeline/head This commit looks good Details
Bridge the declarative Jenkins boolean into the shell environment and retain a false fallback for initial jobs where the parameter has not yet been materialized.\n\nTests: scripts/test-ci.sh\nTests: cargo fmt --all -- --check
2026-10-15 19:44:04 +02:00
Dandaedre 6fa9bf2a57
ci: add portable FreeBSD gate mode
Rust CI fader_master failed CI.
MadGobblins/fader_master/pipeline/head There was a failure building this commit Details
Default Jenkins to portable core/config/MIDI-policy/fake-audio/TUI gates while the only worker is FreeBSD. Skip Linux-only executable, native MIDI/Pulse, workspace coverage, and binary assertions without reporting partial coverage as complete. ENABLE_NATIVE_BACKENDS restores the existing full Linux matrix per build.\n\nTests: scripts/test-ci.sh\nTests: cargo fmt --all -- --check\nTests: portable locked check/test/doctest/rustdoc/clippy/release package matrix\nTests: cargo check --workspace --all-targets --all-features --locked\nTests: cargo test --workspace --doc --all-features --locked
2026-10-15 18:56:54 +02:00
Dandaedre 93506e0a67
fix: project editor values from profiles
Publish configured group modes and pickup tolerances through IPC so the TUI renders server-owned draft values. Preserve unrelated group modes and fader tolerances during edits, and document the projection invariant. Protocol version is now 11.\n\nTests: cargo fmt --all -- --check\nTests: cargo check --workspace --all-targets --all-features\nTests: cargo test --workspace --all-targets --all-features\nTests: cargo test --workspace --doc --all-features\nTests: cargo clippy --workspace --all-targets --all-features -- -D warnings\nTests: cargo build --workspace --release --all-features\nTests: cargo check --workspace --all-targets --no-default-features\nTests: cargo test --workspace --all-targets --no-default-features\nTests: cargo check -p midi --all-targets --no-default-features --features midir\nTests: cargo check -p volume_lib --all-targets --no-default-features --features pulse
2026-10-15 18:02:22 +02:00
Dandaedre 1da6da5da2
feat: add guided mixer fader editor
Open a field-oriented editor from mixer faders for capture selectors, group membership and mode, volume/mute learn or unset, and visibility. Preserve unrelated selectors and bindings, replace learned actions atomically, and publish the richer draft through protocol version 10.\n\nTests: cargo test --locked --workspace --all-targets --all-features\nTests: cargo clippy --locked --workspace --all-targets --all-features -- -D warnings\nTests: cargo fmt --all -- --check
2026-10-15 17:55:19 +02:00
Dandaedre 6156700927
feat: manage layout from the mixer
Render logical faders through the ordered mixer layout, show separators, preserve selection across snapshots, and support direct reorder, separator, hide, and hidden-fader restore actions.\n\nTests: cargo test --locked -p tui\nTests: cargo clippy --locked --workspace --all-targets --all-features -- -D warnings\nTests: cargo fmt --all -- --check
2026-10-15 17:48:02 +02:00
Dandaedre b9d52a3d5e
feat: expose revisioned mixer layout edits
Carry effective mixer layouts through snapshots and IPC, and apply reorder, visibility, and separator mutations through the server-owned configuration draft.\n\nTests: cargo test --locked -p fader_master --lib\nTests: cargo check --locked --workspace --all-targets --all-features\nTests: cargo fmt --all -- --check
2026-10-15 17:44:11 +02:00
Dandaedre 7790951c22
feat: add mixer layout drafts
Add a validated ordered mixer layout with fader visibility and separators, synthesize compatible entries for existing profiles, and provide comment-preserving reorder, hide/show, and separator edits.\n\nTests: cargo test --locked -p fader-config\nTests: cargo clippy --locked -p fader-config --all-targets -- -D warnings\nTests: cargo fmt --all -- --check
2026-10-15 17:42:31 +02:00
Dandaedre ef60da3953
docs: define mixer-first editor workflow
Specify ordered fader and separator layout, hide/show semantics, guided capture and MIDI binding controls, and the single-screen migration backlog.\n\nValidation: git diff --cached --check
2026-10-15 17:40:17 +02:00
Dandaedre fbea588e67
fix: confirm TUI quit requests
Make Q open an explicit confirmation dialog and reserve Escape for cancelling editors and dialogs. Update the rendered help and README controls accordingly.\n\nTests: cargo fmt --all -- --check\nTests: cargo check --locked --workspace --all-targets --all-features\nTests: cargo test --locked --workspace --all-targets --all-features\nTests: cargo test --locked --workspace --doc --all-features\nTests: cargo clippy --locked --workspace --all-targets --all-features -- -D warnings\nTests: cargo build --locked --workspace --release --all-features\nTests: cargo check --locked --workspace --all-targets\nTests: cargo check --locked --workspace --all-targets --no-default-features\nTests: cargo test --locked --workspace --all-targets --no-default-features
2026-10-15 17:37:37 +02:00
Dandaedre 661b0b105a
docs: condense the M9 and M10 hardware checklist
Rust CI fader_master failed CI.
MadGobblins/fader_master/pipeline/head There was a failure building this commit Details
Validation: checklist commands and key bindings reviewed against the implemented CLI and TUI
2026-10-15 04:33:32 +02:00
Dandaedre 184cec90c7
feat(M10.2): restore saved intents on explicit switch
Test: cargo test -p fader-config --all-targets --all-features

Test: cargo test -p fader_master --all-targets --all-features

Test: cargo clippy -p fader-config -p fader_master --all-targets --all-features -- -D warnings
2026-10-15 04:31:39 +02:00
Dandaedre d028cf26f0
feat(M10.3): persist active profile selection
Test: cargo test -p fader_master --all-targets --all-features

Test: cargo clippy -p fader_master --all-targets --all-features -- -D warnings
2026-10-15 04:28:35 +02:00
Dandaedre 1129cc9730
feat(M10.3): validate active profile pointers
Test: cargo test -p fader-config --all-targets --all-features

Test: cargo clippy -p fader-config --all-targets --all-features -- -D warnings
2026-10-15 04:26:41 +02:00
Dandaedre cbaf2a9694
feat(M10.1): activate prepared sibling profiles
Test: cargo test -p fader_master --all-targets --all-features

Test: cargo clippy -p fader_master --all-targets --all-features -- -D warnings
2026-10-15 04:26:15 +02:00
Dandaedre 8e1c504478
feat(M9.3): apply and atomically save editor drafts
Test: cargo fmt --all -- --check

Test: cargo check --workspace --all-targets --all-features

Test: cargo test --workspace --all-targets --all-features

Test: cargo test --workspace --doc --all-features

Test: cargo clippy --workspace --all-targets --all-features -- -D warnings

Test: cargo build --workspace --release --all-features

Test: default, no-default, Pulse-only, and MIDI-only feature matrix
2026-10-15 04:22:05 +02:00
Dandaedre fa45944b79
feat(M9.2): learn MIDI controls into server drafts
Rust CI fader_master failed CI.
MadGobblins/fader_master/pipeline/head There was a failure building this commit Details
Test: cargo test -p fader-config --all-targets --all-features

Test: cargo test -p tui --all-targets --all-features

Test: cargo test -p fader_master --all-targets --all-features

Test: cargo clippy -p fader-config -p tui -p fader_master --all-targets --all-features -- -D warnings
2026-10-15 04:18:12 +02:00
Dandaedre 9941a79231
feat(M9.2): validate learned binding drafts
Test: cargo test -p fader-config --test editor

Test: cargo clippy -p fader-config --all-targets --all-features -- -D warnings
2026-10-15 04:15:16 +02:00
Dandaedre 5daa06100b
feat(M9.1): edit server drafts from the TUI
Test: cargo test -p tui --all-targets --all-features

Test: cargo test -p fader_master --all-targets --all-features

Test: cargo clippy -p tui -p fader_master --all-targets --all-features -- -D warnings
2026-10-15 04:14:41 +02:00
Dandaedre 102f233980
feat(M9.1): own revisioned drafts in the server
Test: cargo test -p fader_master --all-targets --all-features

Test: cargo test -p tui --all-targets --all-features

Test: cargo clippy -p fader_master -p tui --all-targets --all-features -- -D warnings
2026-10-15 04:11:38 +02:00
Dandaedre b5d7ac9c5f
feat(M9.1): complete transactional profile mutations
Test: cargo test -p fader-config --all-targets --all-features

Test: cargo clippy -p fader-config --all-targets --all-features -- -D warnings
2026-10-15 04:09:20 +02:00
Dandaedre 3452fee880
feat(M9.1): add server-backed configuration tab
Test: cargo test -p tui --all-targets --all-features

Test: cargo test -p fader_master --all-targets --all-features

Test: cargo clippy -p tui -p fader_master --all-targets --all-features -- -D warnings
2026-10-15 04:07:56 +02:00
Dandaedre 9493183365
feat(M9.1): add transactional profile drafts
Test: cargo test -p fader-config --all-targets --all-features

Test: cargo clippy -p fader-config --all-targets --all-features -- -D warnings
2026-10-15 04:05:39 +02:00
Dandaedre 44582036c5
docs: condense the Arch hardware checklist
Replace accumulated milestone-by-milestone repetition with a confirmed baseline and one focused set of pickup, routing, buffering, polling, recovery, and optional hardware checks. Preserve the established environment and control mappings.

Validation: git diff --cached --check; local profile link and shell commands inspected.
2026-10-15 04:02:43 +02:00
Dandaedre e7a0254b38
test(M8.3): guarantee terminal restoration on failure
Wrap fallible TUI initialization and execution in an injectable restoration guard. Prove an injected client failure restores the terminal while existing buffered-client tests retain nonblocking refresh coverage.

Tests: cargo fmt --all; cargo test -p tui; cargo clippy --workspace --all-targets --all-features -- -D warnings.
2026-10-15 04:00:42 +02:00
Dandaedre a286e4258e
feat(M8.2): show actionable MIDI device status
Preserve server-published device mappings in the buffered TUI snapshot and summarize connected IDs, missing/ambiguous recovery actions, connection progress, and transport errors without expanding the mixer layout.

Tests: cargo fmt --all -- --check; cargo test -p tui; cargo test -p fader_master --all-targets --all-features; cargo clippy --workspace --all-targets --all-features -- -D warnings.
2026-10-15 04:00:04 +02:00
Dandaedre 69a49cdbfd
feat(M8.1): expose physical pickup state in the TUI
Instantiate pickup controls from validated bindings before discovery, aggregate their unavailable/waiting/tracking/mixed state into mixer snapshots, and render it in live rows. Reorder first observations so startup can arm configured controls.

Tests: full workspace fmt/check/test/doc/clippy/release gates; default/no-default backend matrix; focused pickup transition and TUI rendering regressions.
2026-10-15 03:58:12 +02:00
Dandaedre c812af52ee
feat(M7.4): make runtime polling configurable
Add validated profile runtime.poll_interval_ms settings with a 10 ms default and 1..=100 ms range. Apply the interval to both the server state-owner wait and Pulse notification/command loop, expose it in startup output, and document it in shipped profiles.

Tests: full workspace fmt/check/test/doc/clippy/release gates; default/no-default backend matrix; profile validation and Pulse owner-loop interval regression tests.
2026-10-15 03:54:10 +02:00
Dandaedre 3a75e24003
fix(M7.4): keep fader pickup tracking through Pulse echoes
Correlate subscription notifications that match confirmed Pulse writes with their originating operation. This prevents server-generated echoes from being treated as external edits and re-arming pickup during continuous physical motion, while differing observations still re-arm it.

Tests: full workspace fmt/check/test/doc/clippy/release gates; default/no-default backend matrix; isolated real Pulse/PipeWire stream fixture.
2026-10-15 03:48:30 +02:00
Dandaedre 9b3cc9c9a2
docs(M7.3): add lifecycle recovery checks
Add hands-on checks for TUI startup without a socket, offline MIDI targets, server loss, and automatic client resynchronization.

Validation: git diff --cached --check.
2026-10-15 03:38:32 +02:00
Dandaedre 7d58204ab1
fix(M7.3): tolerate disconnected clients and targets
Rust CI fader_master failed CI.
MadGobblins/fader_master/pipeline/head There was a failure building this commit Details
Treat MIDI input for offline or read-only mixer objects as a nonfatal no-op. Start the buffered TUI with a local disconnected snapshot, retain confirmed state across transport failures, and reconnect in the background.

Tests: cargo fmt --all -- --check; cargo check --workspace --all-targets --all-features; cargo test --workspace --all-targets --all-features; cargo test --workspace --doc --all-features; cargo clippy --workspace --all-targets --all-features -- -D warnings; cargo build --workspace --release --all-features; default/no-default MIDI and volume_lib feature matrix.
2026-10-15 03:38:00 +02:00
Dandaedre f029304cf4
fix(M7.4): preserve Pulse snapshot capacity
Separate the one-slot worker command lane from the 256-event snapshot lane so command backpressure cannot overflow startup metadata. Report event overflow distinctly and cover one-slot command startup with a regression test.\n\nLive verification: PipeWire-Pulse server reached status=ready with Browser, Media, Master, and APC MINI snapshots.\n\nTests: cargo fmt --all -- --check; cargo check --workspace --all-targets --all-features; cargo test --workspace --all-targets --all-features; cargo test --workspace --doc --all-features; cargo clippy --workspace --all-targets --all-features -- -D warnings; cargo build --workspace --release --all-features; volume_lib no-default and pulse feature checks (all pass).
2026-10-15 03:28:39 +02:00
Dandaedre f673b313a7
docs(M8.5): add TUI theme checks
Add hands-on contrast, cycling, default-selection, and control-isolation checks for the built-in terminal palettes.\n\nValidation: git diff --check (pass).
2026-10-15 03:21:53 +02:00
Dandaedre b1a1f0769b
feat(M8.5): add built-in TUI themes
Centralize semantic terminal colors and add Default, Dracula, Nord, Gruvbox Dark, Catppuccin Mocha, and Solarized Dark palettes. Support launch-time --theme selection and live cycling with t while keeping theme state session-local.\n\nTests: cargo fmt --all -- --check; cargo check --workspace --all-targets --all-features; cargo test --workspace --all-targets --all-features; cargo test --workspace --doc --all-features; cargo clippy --workspace --all-targets --all-features -- -D warnings; cargo build --workspace --release --all-features; default/no-default/individual-backend matrix (all pass).
2026-10-15 03:21:32 +02:00
Dandaedre 1fae9bef73
feat(M1.4): reserve stateful relative groups
Keep absolute/sync as the only runtime-selectable group mode while defining and testing the future relative model. Relative members retain their last independent or external channel vector as a maximum and scale reversibly from zero to that maximum. Reject relative profiles until origin-aware runtime lifecycle support is implemented.\n\nTests: cargo fmt --all -- --check; cargo check --workspace --all-targets --all-features; cargo test --workspace --all-targets --all-features; cargo test --workspace --doc --all-features; cargo clippy --workspace --all-targets --all-features -- -D warnings; cargo build --workspace --release --all-features; default/no-default/individual-backend matrix (all pass).
2026-10-15 03:14:36 +02:00
Dandaedre ce88a5ee6a
docs(M7.4): add buffered interaction checks
Document hands-on Arch/PipeWire checks for optimistic TUI updates, redraw responsiveness, coalesced fader bursts, ordered mute edges, external synchronization, and final-value convergence.\n\nValidation: git diff --check (pass).
2026-10-15 03:10:50 +02:00
Dandaedre 977f7452b1
feat(M7.4): buffer interactive volume updates
Move blocking TUI IPC onto a joined worker, coalesce pending volume writes, preserve mute edges, and publish optimistic local snapshots until server confirmation. Add bounded server-side dispatch ahead of the Pulse worker and batch ready events so slow native round trips cannot stall MIDI handling.\n\nTests: cargo fmt --all -- --check; cargo check --workspace --all-targets --all-features; cargo test --workspace --all-targets --all-features; cargo test --workspace --doc --all-features; cargo clippy --workspace --all-targets --all-features -- -D warnings; cargo build --workspace --release --all-features; default/no-default/backend feature matrix (all pass).
2026-10-15 03:10:20 +02:00
Dandaedre 95282c6222
docs(M4.5): add output master smoke checks
Rust CI fader_master failed CI.
MadGobblins/fader_master/pipeline/head There was a failure building this commit Details
Preserve the completed APC preparation checks and revise the hands-on routing checklist for Media on CC 50 / Note 66 and the real default-output master on CC 56 / Note 98.\n\nValidation: git diff --cached --check
2026-10-15 03:02:16 +02:00
Dandaedre fda38f6f17
feat(M4.5): control the default output master
Add a first-class default-output target across the profile, Pulse worker, live mixer, IPC, and TUI. Route APC CC 56 / Note 98 to Master and move Media to CC 50 / Note 66.\n\nTests: cargo test --workspace --all-targets --all-features\nTests: cargo test --workspace --doc --all-features\nTests: cargo clippy --workspace --all-targets --all-features -- -D warnings\nTests: cargo build --workspace --release --all-features\nTests: default, no-default-feature, and individual backend matrix passed
2026-10-15 03:01:45 +02:00
Dandaedre 9648fdf5db
docs(M5.5): add APC routing smoke checklist
Record the completed discovery checks and add the physical pickup, target isolation, mute, and hotplug acceptance steps for the selected APC controls.\n\nValidation: git diff --cached --check
2026-10-15 02:52:31 +02:00
Dandaedre 8b5df92d3e
feat(M5.4): route pickup-safe APC controls
Route the configured APC MINI faders and buttons through the live mixer, with pickup rearming after external changes and controller reconnects.\n\nTests: cargo test --locked -p fader_master --test live_mixer --all-features\nTests: cargo test --locked -p fader_master midi_runtime::tests --all-features\nTests: cargo clippy --locked -p fader-config -p fader_master --all-targets --all-features -- -D warnings
2026-10-15 02:51:21 +02:00
Dandaedre 5721a713a0
docs(M5.3): hand off APC MINI lifecycle checks
Rust CI fader_master failed CI.
MadGobblins/fader_master/pipeline/head There was a failure building this commit Details
Validation: git diff --cached --check
Gates: full workspace all-feature, doctest, strict Clippy, release, and no-default-feature suites pass
Smoke: APC MINI connected as backend 36:0 with PipeWire mixer ready
2026-10-15 02:38:30 +02:00
Dandaedre 51d1e5bd25
feat(M5.3): own live MIDI surface connections
Tests: cargo test --locked -p fader_master --all-targets --all-features
Tests: cargo test --locked -p midi --all-targets --all-features
Lint: cargo clippy --locked -p fader_master -p midi --all-targets --all-features -- -D warnings
Smoke: APC MINI connected as backend 36:0 while PipeWire mixer remained ready
2026-10-15 02:37:30 +02:00
Dandaedre ff2e39e135
feat(M5.3): validate MIDI surface identity hints
Tests: cargo test --locked -p fader-config --test schema
Lint: cargo clippy --locked -p fader-config --all-targets -- -D warnings
2026-10-15 02:35:49 +02:00
Dandaedre 6004d8cf8d
fix(M5.2): ignore volatile ALSA port suffixes
Tests: cargo test --locked -p midi --test identity --all-features
Tests: cargo test --locked -p midi --test lifecycle --all-features
Lint: cargo clippy --locked -p midi --all-targets --all-features -- -D warnings
2026-10-15 02:35:02 +02:00
Dandaedre be4f592295
feat(M5.3): reconcile MIDI surface hotplug state
Tests: cargo test --locked -p midi --all-targets --all-features
Tests: cargo test --locked -p midi --all-targets --no-default-features
Lint: cargo clippy --locked -p midi --all-targets --all-features -- -D warnings
2026-10-15 02:34:37 +02:00