aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
AgeCommit message (Collapse)AuthorFilesLines
32 hoursfix: close the review nits in the write path, query path and testsDanilo M.1-1/+8
Remove the temp file on every writeJSON failure path, not just the write and close ones. A failed rename left the temp behind with no cleanup. Surface the list path's unmarshal error instead of printing null with exit 0, and make a non-positive history limit print an empty array rather than falling through to the whole ring. Assert the evicted item actually lands in the history ring, so the "files to history" half of eviction is covered rather than just its signal. Add the missing README License section beside the GPLv2 text and headers.
32 hoursfeat: add the control interface and notifyctlDanilo M.1-0/+127
The private interface carries what the spec cannot: close-all, invoke action and clear history. notifyctl reads the published files for list and history, because the files are the interface, and uses D-Bus only for the mutations.
33 hoursfeat: add the D-Bus service and the daemonDanilo M.1-0/+39
Notify assigns an id and publishes; a replaces_id or stack tag reuses the id. CloseNotification closes with reason 3. The daemon claims org.freedesktop.Notifications and exits non-zero if it cannot, which is what happens while dunst still holds it.