Document the SMS rendering conventions in AGENTS.md
Reflect the line-by-line multiline text renderer, per-message scroll state, encoding-aware SMS accounting, SIM-tag-tolerant log parsing, and the new check-rebuild.sh guard in the repository layout and architecture conventions. Also correct which scripts mirror prebuilt/ into overlay/rootfs/ and rootfs/.
This commit is contained in:
1 parent
16df110b0b
commit
02a7f57399
2 files changed
+7
-3
No files matched your search
@@ -17,6 +17,7 @@ Release versions follow the `<year-letter><MM><DD>` format (where `2026` is `a`,
|
||||
- Replaced the byte-based `composeText.size()/160` counter with `smsTextMetrics()`, which decodes UTF-8 code points, detects the 3GPP TS 23.038 GSM 7-bit alphabet plus extension table, and reports GSM-7 septets (160 per part, 153 when concatenated) or UCS-2 UTF-16 units (70 per part, 67 when concatenated) with the correct part count. The offline-send fallback log now records units instead of bytes.
|
||||
- `parseSmsHeaderLine()` strips the `[SIM n]` tag written by the QMI WMS daemon (`Received from 5050 [SIM 1] at …:`) and by older local send fallbacks (`Sent at … [SIM 1]:`), so senders and ISO timestamps stay clean; the fallback no longer writes the tag into `sms.txt`.
|
||||
- Added a `scripts/check-rebuild.sh` guard that rejects a bulk `pango_xft_render_layout()` call in `sms_plugin.cpp` and requires the line-by-line renderer, scroll state, encoding metrics, and SIM-tag stripping.
|
||||
- Updated `AGENTS.md` with the multiline Pango/Xft rendering convention, the SMS text-accounting rule, the `sms_plugin.cpp` layout, and the new preflight guard.
|
||||
|
||||
### Remove the remaining optional scripting runtimes
|
||||
- Removed `perl`, `perl-io-socket-ssl`, `tcl-lib`, `tcl-tls`, `sqlite-tcl`, `lua5.4`, `lua5.4-dev`, `lua5.5`, `lua5.5-dev`, and `sqlite` (CLI) from `scripts/rootfs-packages.txt` and added them to the prune denylist: 13 packages / 49.45 MiB including dependents. `sqlite-libs`, `tcl`, and all paramount runtimes stay.
|
||||
|
||||
Reference in new issue
Block a user