Commit Graph
317 Commits
Author SHA1 Message Date
Claude d3901d09bb Nightly release: the Android APKs and an unsigned iOS .ipa from main, each day
nightly.yml takes the artifacts of the newest commit on main that has a
complete run of android.yml and apple.yml, and replaces the "nightly"
pre-release with them. It stops when main has no new commits. A hung
test does not stop it: the release APK comes from the release job,
which runs no tests, and the release lists each file that is missing.
apple.yml now also builds the iOS app for a device, not signed, on
main (DModem-unsigned.ipa).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRR6tKgobV4RbMTv4eL
2026-11-21 06:31:41 +00:00
Neo 411a97c1f6 Merge pull request #60 from D-Modem/claude/project-thread-b4zlk2
ZMODEM: zstd compression and resume
2026-11-20 18:51:23 -08:00
Claude c427364441 Merge remote-tracking branch 'origin/main' into claude/project-thread-b4zlk2
# Conflicts:
#	app/src/main/java/org/dmodem/app/android/ui/TerminalSettingsSection.kt
#	shared/src/commonMain/kotlin/org/dmodem/app/transfer/ZModem.kt
2026-11-21 02:10:32 +00:00
Neo 1349fc673b Merge pull request #61 from D-Modem/claude/project-thread-g3spou
Add YMODEM-G, Skip file, ASCII Setup, Send break and Print screen
2026-11-20 15:52:20 -08:00
Claude 3d2c8f4986 Document printText and its page callback
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRekyRUhR43KbmGNXK
2026-11-20 23:27:22 +00:00
Claude 04f59e74fa Add Send break, Print screen and a connect timer to the terminal
Telnet sends IAC BRK (TerminalLink.sendBreak). The screen prints through
the Android print dialog. The bar of a Telnet, SSH or rlogin session shows
how long the connection is open.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRekyRUhR43KbmGNXK
2026-11-20 23:08:52 +00:00
Claude e087235b05 Add the ASCII Setup receive items to the terminal
An LF after each CR, 7-bit ASCII and no wrap, in the shared emulator
(TerminalEmulator.addLineFeeds, sevenBit, wrapLines) with a test, and in
the Android terminal settings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRekyRUhR43KbmGNXK
2026-11-20 22:43:18 +00:00
Claude 256bd814d3 Document every function of the zstd code (doc_check)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRR1WNeCEtXUcjE8RgY
2026-11-20 22:41:47 +00:00
Claude a2c364d2b8 Add YMODEM-G, Skip file, transfer timing and text delays
The HyperTerminal gaps of phase B, as in the GUI:
- YMODEM-G both ways. A G sender that is asked with C uses plain YMODEM.
- Skip file when receiving by ZMODEM (ZSKIP) or Kermit (X in the ACK).
- Elapsed time, remaining time and cps/bps on the progress (Android, iOS).
- Line and character delays for a text file sent (Android settings).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRekyRUhR43KbmGNXK
2026-11-20 22:36:30 +00:00
Claude 4aca104548 ZMODEM: zstd compression (CANZSTD/ZTZSTD) and resume
Zstd.kt is a plain Kotlin zstd (RFC 8878) for whole frames, ported from
D-Modem's link/zstd_codec.cpp, so the JVM, iOS and Linux targets share
it, with XXH64 for the content checksum. ZModem sets CANZSTD in its
ZRINIT, and sends a file as zstd frames (ZTZSTD in the ZFILE's ZF2) when
the receiver sets it, the type is not compressed and the first 64 KiB
gets 5% smaller. Positions stay offsets in the file and whole frames are
written, so ZRPOS and resume work as before; frames halve on each ZRPOS.

Incoming gets resume() and interrupted(): FolderIncoming and
PosixFolderIncoming keep a file cut short as a hidden .part and the next
transfer of the same name and size goes on after it.

Android: a terminal setting turns zstd off; the progress shows zstd.
iOS: the transfer view shows it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRR1WNeCEtXUcjE8RgY
2026-11-20 22:21:15 +00:00
Neo 29e5687685 Merge pull request #59 from D-Modem/bot/d-modem-bump
Bump D-Modem to c06a380
2026-11-20 07:54:26 -08:00
github-actions[bot] 5fc0f6b544 Bump D-Modem to c06a380
external/d-modem-re: bbeb874 -> c06a380 (D-Modem's main), and its AT command reference.

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-11-20 15:31:31 +00:00
Neo 350700cb96 Merge pull request #51 from D-Modem/claude/project-thread-0xgx4j
Settings: the connection path at the top, as PCOMM draws its link
2026-11-20 03:04:29 -08:00
Claude b0beb6bd7a Merge remote-tracking branch 'origin/main' into claude/project-thread-0xgx4j
# Conflicts:
#	docs/features.md
2026-11-20 10:37:43 +00:00
Neo 5f3d4dae8b Merge pull request #58 from D-Modem/bot/d-modem-bump
Bump D-Modem to bbeb874
2026-11-19 08:01:13 -08:00
github-actions[bot] 909b576357 Bump D-Modem to bbeb874
external/d-modem-re: 94c55e0 -> bbeb874 (D-Modem's main), and its AT command reference.

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-11-19 15:48:59 +00:00
Neo b9e1692118 Merge pull request #57 from D-Modem/bot/d-modem-bump
Bump D-Modem to 94c55e0
2026-11-18 07:59:06 -08:00
github-actions[bot] 17694ad24b Bump D-Modem to 94c55e0
external/d-modem-re: 902fba1 -> 94c55e0 (D-Modem's main), and its AT command reference.

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-11-18 15:43:38 +00:00
Neo 70e645b0b5 Merge pull request #56 from D-Modem/claude/project-thread-2y4er4
Support the MultiTech MT9234MU USB modem (TUSB3410 driver, firmware import)
2026-11-17 03:13:22 -08:00
Claude c02c27c1a5 Ship MultiTech's mts_mt9234mu.fw in the app
The MT9234MU now works with no import step. The app has MultiTech's
firmware file in assets/firmware, with a README that gives its source
(linux-firmware before June 2026) and that its licence is unknown, and
that the AGPL and commercial licences do not apply to it.

TiFirmwareStore uses an imported file first, else the built-in one.
Settings, Line says which one ("built in" / "imported") and has "Use the
built-in file" to remove an import. docs/adapters.md and a unit test
(the asset is the known file and a valid image) follow.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTNWiwCE3duMg28226
2026-11-16 21:14:44 +00:00
Claude e15e16193a Support the MultiTech MT9234MU USB modem (TUSB3410 driver)
The MT9234MU (06E0:F114) and MT9234ZBA-USB (06E0:F115, 06E0:0319)
have a TI TUSB3410 USB UART between USB and the modem. The chip has
no firmware of its own, so the modem shows only its boot ROM until
the host downloads the firmware.

- TiSerialDriver: our own usb-serial-for-android driver for the
  TUSB3410 (configuration 2, SET_CONFIG, OPEN/START/PURGE, the MCR
  and LCR in XDATA, the lines from GET_PORT_STATUS).
- TiFirmwareLoader: the firmware (header fixed, 64-octet packets) to
  the boot ROM, a usbfs reset (new JNI call), and a wait for the
  modem to come back. SerialAdapters.open does this before it opens
  the port, so the line, the local Linux and the USB bridge all get it.
- TiFirmwareStore and a Settings button: the user imports
  mts_mt9234mu.fw. The app does not ship it: its licence is unknown
  and linux-firmware removed it in 2026.
- The device filter, the probe table, unit tests and docs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTNWiwCE3duMg28226
2026-11-16 19:52:15 +00:00
Neo 8450fe0399 Merge pull request #55 from D-Modem/bot/d-modem-bump
Bump D-Modem to 902fba1
2026-11-16 08:18:05 -08:00
github-actions[bot] ffeacfad49 Bump D-Modem to 902fba1
external/d-modem-re: 1d7b572 -> 902fba1 (D-Modem's main), and its AT command reference.

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-11-16 15:53:10 +00:00
Neo e48d2482dd Merge pull request #53 from D-Modem/claude/project-thread-fur9m9
docs: rewrite the documentation in Simplified Technical English
2026-11-15 21:44:17 -08:00
Neo 3f8952328a Merge pull request #52 from D-Modem/bot/d-modem-bump
Bump D-Modem to 1d7b572
2026-11-15 06:13:49 -08:00
github-actions[bot] 332de7f6df Bump D-Modem to 1d7b572
external/d-modem-re: 9a8cb09 -> 1d7b572 (D-Modem's main), and its AT command reference.

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-11-15 13:59:06 +00:00
Claude 6f3933e6e0 Merge origin/main into the STE docs rewrite
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRRR4BV2CBsQMqfrT6
Signed-off-by: Claude <noreply@anthropic.com>
2026-11-14 21:16:09 +00:00
Neo 2166541907 Merge pull request #54 from D-Modem/claude/project-thread-gxvnan
Bump D-Modem to 9a8cb09: SIP over TCP, RFC 3263 lookups
2026-11-14 07:31:22 -08:00
Claude ecc66ead2b USB engine: D-Modem's usb_cadmus2.cpp built in (usb_line.cpp calls it now)
D-Modem's main has its Cadmus2 soft modem in usb_cadmus2.cpp, which
usb_line.cpp now calls: the Android engine and native-test's USB
engines build it, its transfers counted as the others' are.  native-test
builds, and its 14 tests pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSJKSd2kxxKFZAiaXQ
2026-11-14 15:11:36 +00:00
Claude 1854566747 Bump D-Modem to 9a8cb09: SIP over TCP too, and RFC 3263 lookups tested
external/d-modem-re: da07c8d -> 9a8cb09 (D-Modem's main, with
D-Modem/D-Modem#114: a host's name found by NAPTR, then SRV over TCP
or UDP, then A/AAAA), and its AT command reference.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSJKSd2kxxKFZAiaXQ
2026-11-14 15:07:28 +00:00
Claude ebb5267a31 docs: keep the shared suite table the same as in the other repositories
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRRR4BV2CBsQMqfrT6
Signed-off-by: Claude <noreply@anthropic.com>
2026-11-14 10:30:12 +00:00
Claude bbce5ca974 docs: rewrite features, settings intro and fonts notes in Simplified Technical English
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRRR4BV2CBsQMqfrT6
Signed-off-by: Claude <noreply@anthropic.com>
2026-11-14 10:28:04 +00:00
Claude 3acca27cc6 docs: rewrite terminals in Simplified Technical English
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRRR4BV2CBsQMqfrT6
Signed-off-by: Claude <noreply@anthropic.com>
2026-11-14 10:26:45 +00:00
Claude ab1c0a9ae7 docs: rewrite ios and building in Simplified Technical English
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRRR4BV2CBsQMqfrT6
Signed-off-by: Claude <noreply@anthropic.com>
2026-11-14 10:26:06 +00:00
Claude 60051753b1 docs: rewrite voice and adapters in Simplified Technical English
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRRR4BV2CBsQMqfrT6
Signed-off-by: Claude <noreply@anthropic.com>
2026-11-14 10:25:36 +00:00
Claude 582a8221bf docs: rewrite README, lines, fax and layout in Simplified Technical English
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRRR4BV2CBsQMqfrT6
Signed-off-by: Claude <noreply@anthropic.com>
2026-11-14 10:24:53 +00:00
Claude badbe04956 docs: add the STE style guide and require it in CONTRIBUTING.md
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRRR4BV2CBsQMqfrT6
Signed-off-by: Claude <noreply@anthropic.com>
2026-11-14 10:23:59 +00:00
Claude fe090f12ab ConnectionPath: each function and test documented (tools/doc_check.py)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTvKupDGEromPgYtjG
2026-11-13 14:34:07 +00:00
Claude c67157fe4e Settings: the connection path at the top, as PCOMM draws its link
Settings now opens with how a call is made: the terminal (and what else
shares the modem: dial-up internet, dial-in, the bridges), the modem,
the line and what it reaches; for a modem of its own, the USB serial
adapter or Bluetooth it's reached by, the modem and its line. Each
step's role is above its icon and what it is below, one line joining
them. Idle it shows the settings as they are (a step still to set in
red, its line dashed, and a line saying what); starting, dialling and
online it lights as the call goes. On Android a step opens its page.

The shared Kotlin's ConnectionPath has the steps and their words,
tested, for Android (Compose) and iOS (SwiftUI) alike.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTvKupDGEromPgYtjG
2026-11-13 14:31:31 +00:00
Neo c14c012c7a Merge pull request #50 from D-Modem/claude/project-thread-gxvnan
Anonymous SIP: dial a SIP address with no account (Android, iOS)
2026-11-12 12:16:22 -08:00
Claude a8192515ce Tests: the SIP line's new menu label; anonymous SIP's settings and SIP addresses
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSJKSd2kxxKFZAiaXQ
2026-11-12 19:45:26 +00:00
Claude fda087f72c Bump D-Modem to da07c8d: its anonymous user agent and SIP URIs dialled as they are
external/d-modem-re: ba5ba93 -> da07c8d (D-Modem's main, with
D-Modem/D-Modem#112), and its AT command reference.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSJKSd2kxxKFZAiaXQ
2026-11-12 19:33:07 +00:00
Claude 66b3ad4421 docs/settings.md: the anonymous SIP setting (tools/settings_ref.py)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSJKSd2kxxKFZAiaXQ
2026-11-12 19:26:54 +00:00
Claude c737261367 Anonymous SIP: dial a SIP address with no account (Android, iOS)
The SIP line's "No account: anonymous SIP" switch runs D-Modem's SIP
with no account (an empty user and domain: dmodemd's anonymous user
agent): nothing registered, sip:user@host (or user@host) dialled as it
is from "Anonymous".  The phone's "Call a SIP address" places a voice
call to one (with an account too); a directory entry's number, and ATD
in the terminal, take one for data calls.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSJKSd2kxxKFZAiaXQ
2026-11-12 19:25:44 +00:00
Neo 41c75a5876 Merge pull request #49 from D-Modem/claude/project-thread-eywog3
SSH engine: PuTTY's .ppk keys and agents; iOS logs in with a private key
2026-11-12 10:35:01 -08:00
Claude 1f2aad5720 iOS: SSH logins by a private key, PuTTY's .ppk imported
The Remote screen keeps one key in the app: chosen from Files
(OpenSSH's, PEM, or PuTTY's .ppk turned into OpenSSH's form with the
same passphrase) or made here (Ed25519), its public key to copy, its
passphrase asked when connecting. SSHShell gains the engine's key
helpers (keyEncrypted, publicKey, exportKey, newKey), tested on Linux,
with a .ppk login against CI's sshd.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSV65geuGd6zMt2V6r
2026-11-12 18:11:43 +00:00
Claude e0e1888d17 SSH engine: agent.c's functions documented 2026-11-12 15:48:26 +00:00
Claude d9f3f8a731 SSH engine: PuTTY's .ppk keys read natively, an agent chosen (Pageant and OpenSSH's on Windows), as in D-Modem/gui 2026-11-12 15:46:58 +00:00
Neo 48bf218a07 Merge pull request #48 from D-Modem/claude/project-thread-eywog3
SSH on libssh for iOS and Android (sshj and SwiftNIO SSH gone)
2026-11-12 06:30:46 -08:00
Claude 88b31d5913 iOS: the SSH XCFramework's module map apart from the engine's, universal per slice
Both XCFrameworks' headers land in the app's one include/, so
CDModemSSH's module.modulemap goes in include/CDModemSSH/; each
slice's archive is lipo'd from one archive per arch.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSV65geuGd6zMt2V6r
2026-11-12 14:07:21 +00:00