Port Quagr NeoUI pager plugin, opt-in receiver daemon, and cover alerts

- Port Quagr (<=30-byte SHA-256 + XOR + checksum) as C++20 NeoUI DWM plugin quagr.so (xquagr / quagr) across all targets with 3-tab UI (Receive, Send, Config) and independent Rx/Tx Passphrase or Raw 64-Hex key support.
- Enforce strict receiver autostart gating in quagr_plugin_init and --preload (starts only when autostart_rx=1 and a valid Rx key/passphrase is set) with atomic $SXMO_NOTIFDIR system notification emission and duress-mode blocking.
- Integrate QUAGR/QUAGR_CLEAR full-message wrapped rendering, extended ASCII 5x7 glyphs, persistent hold, and any-side-button dismissal into bananarchy-cover-idle and bananarchy-cover-event.sh for nokia-beatles.
- Rebuild and pin a1120 (cocojamboo) images and release archives for nokia-argon, nokia-beatles, nokia-coconut, and nokia-sparkler, and add scripts/test-quagr.py.
This commit is contained in:
Luxferre committed 2026-11-16 17:36:05 +02:00
1 parent 0d8047ddfe
commit f6b42ff604
81 files changed
+3182 -58

No files matched your search

+5 -1
View File
@@ -332,6 +332,9 @@ static const char *resolve_plugin_name_from_argv0(const char *argv0) {
if (strcasecmp(base, "xprivacy") == 0 || strcasecmp(base, "privacy") == 0) {
return "privacy";
}
if (strcasecmp(base, "xquagr") == 0 || strcasecmp(base, "quagr") == 0) {
return "quagr";
}
return NULL;
}
@@ -430,7 +433,8 @@ int main(int argc, char **argv) {
strcmp(plugin_name, "irc") == 0 ||
strcmp(plugin_name, "sip") == 0 ||
strcmp(plugin_name, "engmenu") == 0 ||
strcmp(plugin_name, "privacy") == 0)) {
strcmp(plugin_name, "privacy") == 0 ||
strcmp(plugin_name, "quagr") == 0)) {
const char *a1 = (sub_argc >= 2 && sub_argv[1]) ? sub_argv[1] : "";
if (strcmp(a1, "--preload") != 0 && strcmp(a1, "close") != 0) {
return 1;
+2
View File
@@ -2080,6 +2080,7 @@ inline void closeOtherPlugins(const char* selfPluginName,
{"xpasscode.pid", "passcode"},
{"xengmenu.pid", "engmenu"},
{"xprivacy.pid", "privacy"},
{"xquagr.pid", "quagr"},
};
for (const auto& p : kAllPlugins) {
if ((selfPluginName && std::strcmp(p.name, selfPluginName) == 0) ||
@@ -2135,6 +2136,7 @@ inline bool isAnotherPluginActive(const char* selfPluginName) {
{"xpasscode.pid", "passcode"},
{"xengmenu.pid", "engmenu"},
{"xprivacy.pid", "privacy"},
{"xquagr.pid", "quagr"},
};
for (const auto& p : kAllPlugins) {
if (selfPluginName && std::strcmp(p.name, selfPluginName) == 0) {
File diff suppressed because it is too large. Load diff