Messages app for imsd messages dbus
  • C++ 94.2%
  • Shell 3.9%
  • Python 1.9%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jorijn van der Graaf e6b343985d
Gesture, Ui, project: Crafter.Graphics at 364d210, whose pointer and touch events carry their time
The pinned library dropped the compositor's time of every pointer and
touch event, so the app dated them by its own clock at dispatch. Events
queued while the main loop was busy — a List importing a backlog, each
Import an fdatasync — all carried the time the loop came back: a swipe's
backlog read as a few milliseconds' travel and flung the list to its far
end, and a press whose down and up both waited out a stall had them at
one time, a tap where the user held — on a Failed bubble a Retry, an SMS
the user did not ask for. Crafter.Graphics 364d210 keeps the time on the
window (lastInputTime, set before the event fires), one commit on the
master of 2026-11-02, which added the library's review configuration and
no code.

The gesture detector now gets each event's own time, unwrapped past the
wrap at 2^32 into one running clock (an event stamped 0, which the
compositor's time reads for one millisecond in 2^32, gets the host's
clock), and the long-press timer's expiry is the host's elapsed since
the press put on that clock, so a press and its release keep their
distance however late the loop dispatches them — and a release or a move
the detector sees past the long-press time with no timer fired is the
long press itself, at the press, where the press can be one, since the
hold is measured on the events' clock (tests/Gesture pins both). The pin
moves from 3f646ec; the contracts this app relies on are unchanged by
the two commits between.
2026-11-18 01:13:56 +01:00
.forgejo/workflows ci: build the aarch64 flatpak and publish it 2026-11-18 01:13:56 +01:00
assets project: the repository skeleton 2026-10-17 23:14:00 +02:00
implementations Bus, main: start at login through the Background portal 2026-11-18 01:12:28 +01:00
interfaces Gesture, Ui, project: Crafter.Graphics at 364d210, whose pointer and touch events carry their time 2026-11-18 01:13:56 +01:00
packaging ci: build the aarch64 flatpak and publish it 2026-11-18 01:13:56 +01:00
tests Gesture, Ui, project: Crafter.Graphics at 364d210, whose pointer and touch events carry their time 2026-11-18 01:13:56 +01:00
utilities main, utilities: bench helpers and a fake imsd 2026-11-18 01:12:27 +01:00
.gitignore project: the repository skeleton 2026-10-17 23:14:00 +02:00
AGENTS.md ci: build the aarch64 flatpak and publish it 2026-11-18 01:13:56 +01:00
FUNDING.yml project: the repository skeleton 2026-10-17 23:14:00 +02:00
LICENSE project: the repository skeleton 2026-10-17 23:14:00 +02:00
project.cpp Gesture, Ui, project: Crafter.Graphics at 364d210, whose pointer and touch events carry their time 2026-11-18 01:13:56 +01:00
README.md ci: build the aarch64 flatpak and publish it 2026-11-18 01:13:56 +01:00

imsd-messages

The SMS app for imsd on Linux phones. imsd 2.0.0 carries texts over IMS and keeps them until a messaging app takes them; this is that app. It speaks imsd's net.catcrafts.IMS1.Messaging D-Bus interface: no ModemManager, no modem.

Install the flatpak (aarch64) from the Catcrafts remote; its runtime comes from Flathub:

flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
flatpak remote-add --if-not-exists catcrafts https://flatpak.catcrafts.net/catcrafts.flatpakrepo
flatpak install catcrafts net.catcrafts.ImsdMessages

It asks the desktop to start it at login without a window. To stop that:

flatpak permission-set background background net.catcrafts.ImsdMessages no
rm -f ~/.config/autostart/net.catcrafts.ImsdMessages.desktop

Building

This project uses Crafter.Build:

crafter-build          # the executable
crafter-build test     # the unit tests
crafter-build lint     # the house-style rules

The flatpak's build is in AGENTS.md.

License

GPL-3.0-only - see LICENSE. The bundled font (Noto Sans) is under the SIL Open Font License 1.1, see assets/OFL.txt.

Funding

https://catcrafts.net/shop/donation - see FUNDING

Copyright (C) 2026 Catcrafts® catcrafts.net