Messages app for imsd messages dbus
- C++ 94.2%
- Shell 3.9%
- Python 1.9%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
An address becomes one conversation key. A number in international form becomes E.164, and one in national form gets the given country code in front — nine digits or more with a leading 0, or eight or more without one, as a plan without a trunk prefix writes its numbers, the latter only while the result is no longer than a number can be; the country code of an E.164 number is found by the ITU length rule; short codes and alphanumeric senders are their own keys. The display form puts a space after the country code. The key groups; a text goes to the address as dialled (DialledNumber: the separators gone, a parenthesised trunk zero after a country code dropped — not after Italy's code or San Marino's, where no zero is a trunk prefix (a landline's is part of its number, a mobile has none): such an address names two numbers and is none — nothing added), since imsd sends a national number or a short code with the type unknown and the network reads it by its own dialling plan — a country code completed for the key would be dialled for real. A national number's leading 0 is taken for the trunk prefix and goes when the country code is added — not under Italy's code or San Marino's, where it is the number's and stays. The key's known limits are of grouping: a number written with its country code and no '+' is completed as a national one, one of a plan whose trunk prefix is not a lone 0 (Hungary's 06, Russia's 8) is completed wrongly, and a national number shorter than those lengths (Iceland's seven digits) stays its digits. Tested: tests/Number, thirty-two normalisation cases (the parenthesised trunk zero of an international number, one after San Marino's code left as no number, a national number's zero kept under Italy's code and San Marino's, the numbers without a trunk prefix and both rules' shortest numbers among them), twelve dialled forms (two with a zero in parentheses after Italy's code, left as typed, among them), the country codes of one-, two- and three-digit countries, the display forms. |
||
| assets | ||
| implementations | ||
| interfaces | ||
| tests/Number | ||
| .gitignore | ||
| AGENTS.md | ||
| FUNDING.yml | ||
| LICENSE | ||
| project.cpp | ||
| README.md | ||
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 and nothing else: no
ModemManager, no modem.
Nothing to install yet. The flatpak will come from the Catcrafts remote:
flatpak remote-add --if-not-exists catcrafts https://flatpak.catcrafts.net/catcrafts.flatpakrepo
Building
This project uses Crafter.Build:
crafter-build # the executable
crafter-build test # the unit tests
crafter-build lint # the house-style rules
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
Copyright (C) 2026 Catcrafts® catcrafts.net