Commit Graph
99 Commits
Author SHA1 Message Date
LGUG2Z 658827fcd5 fix(lint): build errors with Report::msg, not the eyre! macro the workspace bans
The ban (`just lint`, and now the hygiene job) came from the macOS and KDE repositories and was
never applied to the Windows code, so the unified tree had sixteen uses of the macro: seven in
the Windows daemon, six in komorebi-core (written during the unification), one in the KDE
backend and two in the recorder. Each becomes eyre::Report::msg, with format! where the message
has arguments.
2026-11-05 16:13:37 -08:00
LGUG2Z 279ac0f759 style: format the files the path edits touched with rustfmt and nixfmt 2026-11-05 15:03:27 -08:00
LGUG2Z 259575a1b3 build: route the workspace to crates/
The workspace members, the path dependencies, the include_str! and test
fixture paths, the recorder's indexed source keys, and the Nix source
filter and path literals follow the new layout. Cargo.lock is unchanged.
2026-11-05 15:03:27 -08:00
LGUG2Z e499ebb774 docs(recorder): the recorder is documented as part of the komorebi repository 2026-11-05 15:03:27 -08:00
LGUG2Z 170a6f51c0 feat(catalog): index the komorebi source in this repository, not a checkout of each komorebi
The recorder is a member of the repository it indexes: each flavor is built from the
directory of its own daemon (komorebi-macos, komorebi-windows, komorebi-linux) and the shared
crates that log. The statements of the container, workspace and monitor moved into
komorebi-core, so the targets of the real log sample in the fixture are komorebi_core's.
KOMOREBI_SRC and KOMOREBI_COMMIT replace the three KOMOREBI_*_SRC variables, for a build
that is not in a checkout.
2026-11-05 15:03:27 -08:00
LGUG2Z 9854f90db7 build(wix): the komorebi installer ships komorebi-recorder, which has no installer of its own 2026-11-05 15:03:27 -08:00
LGUG2Z c64c71541b build(workspace): komorebi-recorder is a member of the workspace, at 0.1.0-dev 2026-11-05 15:03:27 -08:00
LGUG2Z df35d7b258 chore(layout): move the files of the repository to where they live in the komorebi monorepo 2026-11-05 11:48:44 -08:00
LGUG2Z eab0b6af35 fix(windowtrack): mark komorebi for Mac's border windows in the window track
komorebi for Mac draws each border as an untitled, ordinary-level NSWindow owned by
the komorebi process. The Mac listing kept them but never set `border`, so a
recording gave an agent no way to tell a border from a window. They are now marked,
which lets `lag` compare a border with its window. `border_of` stays unset: a Mac
border does not name its window.
2026-10-29 16:31:31 -07:00
LGUG2Z e9f57115ae docs(guide): what the recording has, and KDE in the guide 2026-10-29 12:38:52 -07:00
LGUG2Z 1766439a6d feat(viewer): the agent prompt says what an agent can use 2026-10-29 12:38:21 -07:00
LGUG2Z a1384d11aa feat(brief): list events by komorebi's time, print what the recording has, and suggest lag 2026-10-29 12:38:21 -07:00
LGUG2Z 946e3b3dba feat(analysis): list what a recording has in it, and the commands that read each part 2026-10-29 12:38:21 -07:00
LGUG2Z a6f5a4e758 docs(lag): the lag command and the geometry-lag finding in the guide and the docs 2026-10-29 12:38:21 -07:00
LGUG2Z aca5ea7e80 feat(cli): a lag command for geometry lag, with a lag/1 schema 2026-10-29 12:38:21 -07:00
LGUG2Z 2ca4224d51 feat(overview): report geometry lag as findings 2026-10-29 12:38:21 -07:00
LGUG2Z 9f449fa930 feat(lag): find the stretches a window was off its layout rect, and a border off its window 2026-10-29 12:38:21 -07:00
LGUG2Z c4e505d921 docs(events): the komorebi time column and which flavors' logs it is checked for 2026-10-29 12:38:21 -07:00
LGUG2Z 2928944685 feat(viewer): show komorebi's time on the event tab and the recent-events list 2026-10-29 12:38:21 -07:00
LGUG2Z 333bf2fd03 feat(events): list komorebi's time with its source, and say when it fell back 2026-10-29 12:38:21 -07:00
LGUG2Z 63d3d256aa feat(views): one komorebi time per event, pushed when the log has it 2026-10-29 12:38:21 -07:00
LGUG2Z 1380a9cda4 docs(measure): list measure in the guide and the investigating docs 2026-10-29 12:38:21 -07:00
LGUG2Z 9e38ce17c1 feat(cli): a measure command and its schema 2026-10-29 12:38:21 -07:00
LGUG2Z fdb7112373 feat(measure): statistics of a region on a fixed-rate timeline 2026-10-29 12:38:21 -07:00
LGUG2Z 69ee42079e docs(windowtrack): the window track is on by default, borders, and what KDE lacks 2026-10-29 12:38:21 -07:00
LGUG2Z f945442c52 feat(windowtrack): mark komoborder windows and list them on Windows 2026-10-29 12:38:15 -07:00
LGUG2Z ca6a6380c5 feat(record): record the window track by default where windows can be listed 2026-10-29 12:38:15 -07:00
LGUG2Z 5585f42161 feat(record): --probe-windows on KDE, on by default as on Windows 2026-10-28 22:50:42 -07:00
LGUG2Z bdd0a5593c feat(probe): a prober of komorebi for KDE, and findings that name KWin 2026-10-28 22:50:41 -07:00
LGUG2Z cbf7441009 feat(linux): ask KWin about a window, to probe it as Windows is 2026-10-28 22:50:41 -07:00
LGUG2Z 748e788b45 feat(analysis): ghost tiles for komorebi for KDE 2026-10-28 22:50:41 -07:00
LGUG2Z 202d46f733 fix(linux): stamp screencast frames on the system clock, as the master clock reads, and not on PipeWire's 2026-10-28 22:50:41 -07:00
LGUG2Z 135324be89 feat(asc): a Kde platform, for which no rule is written yet 2026-10-28 22:50:41 -07:00
LGUG2Z 22f73ec27b feat(linux): leave the recorder's own window out of the screencast with a KWin window rule 2026-10-28 22:50:41 -07:00
LGUG2Z 092b4db8ad feat(linux): follow the journal as the OS trace 2026-10-28 22:50:41 -07:00
LGUG2Z f191fa9806 feat(linux): hear sleep, wake and the lock from D-Bus, and read whether the session is locked
logind's PrepareForSleep on the system bus, and the screen saver's ActiveChanged on the session
bus, which komorebi for KDE listens to as well; GetActive says whether the screen is locked.
2026-10-28 22:50:40 -07:00
LGUG2Z caab37e4aa feat(linux): list the windows komorebi for KDE manages, for the window track
A Wayland client cannot list the windows of other programs, so the list is komorebi's own state:
each window with its rect and program, shown when its workspace is showing and it is in front of
its stack. --window-track is allowed on Linux.
2026-10-28 22:50:40 -07:00
LGUG2Z 4216d7fd6f feat(doctor): say what KWin needs to offer the screencast, on Linux
KWin offers zkde_screencast_unstable_v1 only to a program whose desktop file lists it. The note
has the file to write, with the path of this executable in it.
2026-10-28 22:50:40 -07:00
LGUG2Z a061757598 feat(linux): capture the screen with KDE's screencast, read by GStreamer
The displays are the compositor's outputs, with the id komorebi for KDE gives a monitor with no
serial number. A screencast of one is a PipeWire node that pipewiresrc reads, stamped on the
master clock, into a segment written by the capture writer. KWin offers the screencast only to
a program whose desktop file asks for it, and says so when it does not.
2026-10-28 22:50:40 -07:00
LGUG2Z 97aa82751c feat(capture): write a Linux segment with GStreamer, from any source of frames
DisplayCapture::start_with takes a function that connects a source to the frames' sink, which
also hears why a source died. Frames are placed in the file's time, logged and measured as on
Windows, a still display has its last frame repeated, and the file is fragmented H.264 written
by x264enc and mp4mux. The tests are a source of their own, and read the video back with the
decoder. The default codec on Linux is H.264.
2026-10-28 22:50:40 -07:00
LGUG2Z 815d3c0693 feat(linux): the compositor's outputs and screencasts, over Wayland
One connection and a thread that reads its events keep the list of outputs, hotplug included,
so asking for it is cheap. A screencast of an output is KDE's zkde_screencast_unstable_v1,
which gives a PipeWire node and asks the user nothing.
2026-10-28 22:50:40 -07:00
LGUG2Z 47e458e793 feat(av): decode the recorded video on Linux with GStreamer
A pipeline per decode, filesrc ! decodebin ! videoconvert ! videoscale ! appsink, gives BGRA
frames at the size asked for. The time of a frame is its stream time, because an MP4's edit
list puts the media time of the first frame after zero. The playback and viewer tests that
need decoded video pass on Linux.
2026-10-28 22:50:40 -07:00
LGUG2Z bbd374ae24 feat(flavor): komorebi for KDE, with rules written from its source
Flavor::Kde is the flavor of a Linux host. Its rules are checked against a log and events
of komorebi for KDE's in-memory desktop, but not against a real desktop, so an analysis
of a KDE session says so. There are no ghost tiles for it yet.
2026-10-28 22:50:40 -07:00
LGUG2Z 1d80eb0272 build(gstreamer): GStreamer on Linux, to decode and encode the recorded video 2026-10-28 22:50:40 -07:00
LGUG2Z 7455c4df5e feat(blocks): the handler of komorebi for KDE's events is the span handle_event
Lines logged inside it belong to the event's block, as those inside process_event do.
2026-10-28 22:50:40 -07:00
LGUG2Z 098433155f feat(ignore): ask komorebi for KDE to ignore the recorder's window by its class
The window's Wayland application id is komorebi-recorder; komorebic ignore-rule class
registers it before the window exists, as the exe rule does on Windows.
2026-10-28 22:50:40 -07:00
LGUG2Z 121b4e9f48 feat(link): komorebi for KDE's sockets are in XDG_RUNTIME_DIR
socket_dir is the data directory everywhere but on Linux, where komorebi for KDE
keeps its sockets in $XDG_RUNTIME_DIR/komorebi.
2026-10-28 22:50:40 -07:00
LGUG2Z 5d08867da6 build(index): index the source of komorebi for KDE as well 2026-10-28 22:50:40 -07:00
LGUG2Z b762a5ca4d feat(platform): a Linux host with its own clock, process and shell
The rest of the host (apps, capture, power, session, trace) is still the
unsupported host's, and is replaced one module at a time.
2026-10-28 20:15:44 -07:00
LGUG2Z b39b17dd6e feat(platform): a Linux clock kind and Host::is_linux 2026-10-28 20:00:20 -07:00