Commit Graph
228 Commits
Author SHA1 Message Date
Claude 7efa6813a8 Contributor agreement: CONTRIBUTING.md and a sign-off check on pull requests
Each contribution comes with the suite's contributor agreement (the one
bbs, menu and brand already use): the contributor keeps the copyright
and licenses it to the D-Modem Authors under the repository's licence
and any other terms, commercial ones included.  Each commit's
Signed-off-by line says they agree.  The new workflow checks for that
line on every commit of a pull request, except pull requests from the
owner, the organization's members and bots.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSQaj3bYPQDZU4qf9U
2026-11-07 10:58:30 +00:00
NeoandClaude dc3fbe8c86 README: link the website (#27)
Claude-Session: https://claude.ai/code/session_01B82eRSqjp9Pn2KBr9N9LAn

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-05 18:21:33 -08:00
NeoandClaude 5a2ca6e164 Add the site, with a settings reference made from the code (#26)
tools/settings_ref.py writes docs/settings.md from the apps'
ModemSettings: on Android each setting's DataStore key, kind, default and
comment (and it fails on a setting with no key); on iOS each setting and
the Keychain name of the secrets. The iOS settings that took the comment
of the one above them get their own.

The Pages workflow builds docs/ and the README with brand's theme, and
fails if docs/settings.md is out of date; the Android and Apple workflows
skip the site's files.


Claude-Session: https://claude.ai/code/session_01B82eRSqjp9Pn2KBr9N9LAn

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-05 18:12:28 -08:00
Neo 30cd2e2289 Merge pull request #25 from D-Modem/claude/project-thread-6n8z9z
README: add the header banner
2026-11-05 17:48:34 -08:00
Claude b72452fafc README: add the header banner
The 1280x320 banner from D-Modem/brand (banner/app@2x.png), kept at
.github/banner.png.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRR7XmhWoFbzJFFFqde
2026-11-06 01:32:14 +00:00
Neo e4bfa0b5ad Merge pull request #23 from D-Modem/claude/project-thread-cwmrpa
Landing-page README, D-Modem-RE renamed to D-Modem, CI skips doc-only changes
2026-11-05 17:09:04 -08:00
Claude acff74a8fe Unit tests named as they start in CI, to find the one that hangs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSqjp9Pn2KBr9N9LAn
2026-11-06 00:51:03 +00:00
Claude f06690336c Merge remote-tracking branch 'origin/main' into claude/project-thread-cwmrpa 2026-11-06 00:50:53 +00:00
Neo 2a6ba3c7a5 Merge pull request #24 from D-Modem/claude/project-thread-s10k5o
D-Modem-RE at main: HST, V.FC, PEP, AT&V1, configurators
2026-11-05 16:50:10 -08:00
Claude c436ebc7f2 D-Modem-RE at main (a3aaade): HST, V.FC, PEP, AT&V1, configurators
The submodule moves from dea3628 to a3aaade, 37 commits: HST's link
layer and channel reversal, V.FC's data mode, Telebit's PEP, AT&V1's
call statistics and the AT!C / !CF / !CT / !R configurators.

Home names the new CONNECT parts: VFC as V.FC, HST and PEP.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRQyiDuL1VGGiw4Qnub
2026-11-06 00:32:50 +00:00
Claude 71c649bce1 README as a landing page; D-Modem-RE is now D-Modem; CI skips doc-only changes
The README, titled for Android only, now introduces the app on Android
and iOS with a short feature list, a quick start, the suite's
repositories and the licence. Its sections move to docs/: the modem's
lines, fax, adapters and phone lines, the app screen by screen, building,
the iOS app and the source layout.

D-Modem-RE becomes D-Modem in comments, docs, workflows and the
generator's header, as in brand's naming guide; the build info line says
'D-Modem core <commit>' for the submodule's commit. Identifiers and the
external/d-modem-re path keep their names.

The Android and Apple workflows no longer run for a change to Markdown,
docs/ or COPYING alone (tag pushes still run).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSqjp9Pn2KBr9N9LAn
2026-11-05 10:46:04 +00:00
Neo b79b285c6d Merge pull request #22 from D-Modem/claude/project-thread-kqjtul
USB serial adapters: a modem on one as the line, /dev/ttyUSB0 in Linux, Start PPP
2026-11-03 21:43:59 -08:00
Claude 88d1ad0f30 SerialModemTest: say() documented (doc_check)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTB3RLw6uwCRCpEmpk
2026-11-04 05:29:40 +00:00
Claude 4f01904472 USB serial adapters: a modem on one as the line, /dev/ttyUSB0 in Linux, Start PPP
- A new line, "a phone line, through a modem on a USB serial adapter": an
  external Hayes modem on a PL2303 (PL2303GS too), FTDI, CP210x, CH34x or
  CDC-ACM adapter takes D-Modem's modem's place, as a Bluetooth modem does.
  The terminal, the internet, fax and /dev/ttyDM0 talk to it; its status
  from its result codes and DCD; DTR up while it runs, down when it stops.
  Its speed (8N1) and RTS/CTS in the line's settings.
- The local Linux gets the adapter as /dev/ttyUSB0: a pty bridged to it,
  opened when a program opens the port, closed (DTR down) when it closes;
  the speed, stop bits, RTS/CTS and B0 follow the program's termios
  (pty.c's new Pty.termios reads the slave's through the master).
- SerialAdapters keeps the modem's line, /dev/ttyUSB0 and the USB bridge
  off each other's adapter.
- The terminal's menu: Start PPP, the app's PPP on a call already up
  (dialled and logged in by hand), Internet.connect(dial = false).

Tests: SerialTtyTest, SerialModemTest, PppTakeoverTest.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTB3RLw6uwCRCpEmpk
2026-11-04 05:27:46 +00:00
Neo 7b2a38b688 Merge pull request #21 from D-Modem/claude/project-thread-yp7cez
Settings: saved as they change, no repeated headings
2026-11-03 21:04:39 -08:00
Claude c717dad7f1 Settings: saved as they change, no repeated headings
Every settings page now saves on its own: the line's and the modem's
pages and the dial-up ISP's lose their Save button (a change is stored
half a second after the last edit, and at once when the screen closes),
and the serial bridges' port, password, speed and format fields lose
their Set button (used 1.5 s after typing stops, on Done, or when the
page closes; a value that isn't valid is still ignored). Saves run in a
scope that outlives the screen, so leaving a page right after a change
keeps it.

The pages no longer repeat their title as a heading under it
(Appearance, Terminal, Linux, Fax, SSH keys, Dial-up internet, Serial
bridges), and a page's settings start 8 dp below its title bar.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRUcPSSYn1E8cwS11wj
2026-11-04 04:51:17 +00:00
Neo c71b5e997e Merge pull request #20 from D-Modem/claude/project-thread-m64hjq
D-Modem-RE: the Apple USB Modem rings (notification 0x09)
2026-11-03 20:43:35 -08:00
Claude 546e29de30 D-Modem-RE: the Apple USB Modem rings (notification 0x09)
A real call's log showed the ring as notification 0x09 every 40 ms;
dmodemd now rings on that, so RING (and auto answer) works (D-Modem
#80).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSpDnDnJUjH5xnnnwz
2026-11-04 04:23:20 +00:00
Neo 13c42cc1c7 Merge pull request #19 from D-Modem/claude/project-thread-m64hjq
D-Modem-RE: no phantom rings on the Apple USB Modem
2026-11-03 16:51:55 -08:00
Claude 1772859bd2 D-Modem-RE: no phantom rings on the Apple USB Modem
Its ring detector reports every millisecond with bit 15 set while
nobody calls; dmodemd now takes a ring as both polarities (D-Modem
#79).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSpDnDnJUjH5xnnnwz
2026-11-04 00:40:25 +00:00
Neo 207ec01e96 Merge pull request #18 from D-Modem/claude/project-thread-m64hjq
D-Modem-RE: Apple USB Modem hooks with its DAA when SET_HOOK_STATE stalls
2026-11-03 15:49:16 -08:00
Claude ad288dad4a CI: no release build on a pull request
The release job (R8) is the slowest; a pull request is tried with the
build job's debug APK. main, v* tags and manual runs still build it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSpDnDnJUjH5xnnnwz
2026-11-03 23:30:23 +00:00
Claude 5e6a0cb36d D-Modem-RE: the Apple USB Modem hooks with its DAA when SET_HOOK_STATE stalls
The real device stalled SET_HOOK_STATE at start-up; dmodemd now hooks
with the Si3056's register 5 instead, as Apple's driver can (D-Modem
#78).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSpDnDnJUjH5xnnnwz
2026-11-03 23:27:11 +00:00
Neo 06f6d8b878 Merge pull request #17 from D-Modem/claude/project-thread-m64hjq
Fix the Apple USB Modem not starting (D-Modem update)
2026-11-03 03:45:29 -08:00
Claude 3e29022872 Update D-Modem-RE: the Apple USB Modem's notifications read whole
The first real Apple USB Modem stopped at start-up: a notification
overflowed dmodemd's 16-octet read, then the hook request stalled.
D-Modem/D-Modem#77 reads the interrupt endpoint a whole packet at a
time, as Apple's driver does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSpDnDnJUjH5xnnnwz
2026-11-03 10:51:01 +00:00
Neo 12ab872d63 Merge pull request #16 from D-Modem/claude/project-thread-m64hjq
Support the Apple USB Modem, on the latest D-Modem
2026-11-03 00:59:11 -08:00
Claude 2d53e019d7 Update D-Modem-RE: dsvd_audio without posix_spawn() on Android API < 28
The release build (minSdk 26) failed on dsvd_audio.cpp's posix_spawn()
calls; D-Modem/D-Modem#76 starts its command with fork() there.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSpDnDnJUjH5xnnnwz
2026-11-03 08:45:18 +00:00
Claude 9183a2d3aa Support the Apple USB Modem (05AC:1401) as the modem's line
D-Modem-RE (D-Modem) updated to its main with the Apple USB Modem's
driver (usb_apple.cpp), built into the engine. UsbModems knows it
(05AC:1401 and 05AC:8220, 9600 Hz), the app is offered when one is
plugged in, and native-test's usb_line_test.py runs calls on its fake
(apple_line).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSpDnDnJUjH5xnnnwz
2026-11-03 08:39:35 +00:00
Claude c88fd1e862 Update D-Modem-RE to its latest main
The submodule from 7f53883 to 04a7341 (116 commits: point-of-sale V.22
fast connect and V.29 FastPOS, T.434 and T.44 fax, and the rest since).
The host's engine tests pass on it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSpDnDnJUjH5xnnnwz
2026-11-03 07:56:22 +00:00
Neo 49e3eb11e1 Merge pull request #15 from D-Modem/claude/project-thread-tc183j
Find dmodemd's sources in D-Modem-RE's frontend/dmodemd
2026-10-31 19:18:40 -07:00
Neo cb0d1c6cd9 Merge pull request #14 from D-Modem/claude/project-thread-hdz9ld
CI: move actions to their Node 24 versions
2026-10-31 19:03:58 -07:00
Claude 0623a656db Find dmodemd's sources in D-Modem-RE's frontend/dmodemd
D-Modem-RE moved dmodemd/ to frontend/dmodemd/ (D-Modem/D-Modem#49).
DMODEM_RE_DMODEMD is that directory, or dmodemd/ in a tree from before
the move, so the submodule can be bumped whenever.  Its build directory
is still d-modem-re/dmodemd (the iOS package's library path).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSnYKZ4hXc7DHCsuMA
2026-11-01 02:01:59 +00:00
Claude 4b12deab91 CI: move actions to their Node 24 versions
GitHub warns that Node 20 actions are deprecated. checkout v6, cache
(and cache/restore, cache/save) v5, setup-java v5, setup-node v6,
upload-artifact v7, gradle setup-gradle v5 (v6 defaults to a proprietary
cache provider).

setup-swift has no Node 24 release yet: the DModemKit test uses the
runner image's Swift instead (6.4 on ubuntu-24.04; the package needs
tools 5.9).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRUAp3wTZAV7UCEiC4S
2026-11-01 01:51:35 +00:00
Neo 52ac4a4b21 Merge pull request #13 from D-Modem/claude/project-thread-hdz9ld
CI: cache apt and Homebrew downloads
2026-10-31 18:38:02 -07:00
Claude aa3e40e185 CI: key the package caches on the runner image
ImageOS and ImageVersion are the runner's environment variables, not the
workflow's env context, so ${{ env.ImageVersion }} was empty and the
cache key never changed with the image. Build the key in the shell.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRUAp3wTZAV7UCEiC4S
2026-11-01 01:25:21 +00:00
Claude db3c98fd6e CI: cache apt and Homebrew downloads
Package installs sometimes stall on GitHub's runners. A local action
(.github/actions/apt, and .github/actions/brew where macOS builds) caches
the downloaded packages, and apt's package lists with them, keyed on the
runner image and the package list. A cache hit installs offline; a miss
installs as before, with retries and timeouts, and saves the cache.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRUAp3wTZAV7UCEiC4S
2026-11-01 01:11:52 +00:00
Neo ed1fcd3079 Merge pull request #12 from D-Modem/claude/project-thread-x9hagk
Android signing from CI's secrets
2026-10-31 09:52:59 -07:00
Claude 772cdf3c9a Android signing from CI's secrets
The debug and release signing configs take a PKCS12 keystore from
ANDROID_KEYSTORE_FILE and its password, alias and key password (the
store's if empty) from the environment; without them debug builds keep
the SDK's debug key and release builds stay unsigned. CI decodes
ANDROID_KEYSTORE_BASE64 into that file: the build job with the
repository's (debug) secrets, a new release job (assembleRelease,
bundleRelease) with the protected release environment's on main and v*
tags, the debug key on a pull request. Fork pull requests, with no
secrets, build as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRuUkndpo3FJrWFe84
2026-10-31 16:36:20 +00:00
Neo e95641e5a1 Merge pull request #11 from D-Modem/claude/project-thread-wo92ay
Rename the Android app to org.dmodem.app.android
2026-10-31 06:21:32 -07:00
Claude 24525a0d17 Rename the Android app to org.dmodem.app.android
The application id, namespace and Kotlin package of the Android app
are now org.dmodem.app.android (was com.neodesktop.dmodem), with the
JNI symbols (pty.c, jni.cpp's class name), ProGuard keeps, the USB
permission action, README and the generator scripts to match. The
shared Kotlin Multiplatform code moves to org.dmodem.app alongside it,
so the app now imports what it used to see as its own package.

The iOS bundle ids are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRipoddxponCaexwE4
2026-10-31 13:08:06 +00:00
Neo 12c04eb266 Merge pull request #10 from D-Modem/claude/project-thread-iw8j9d
CI: run the Apple job on macos-latest
2026-10-31 05:02:36 -07:00
Claude 2eaed3a344 CI: the macOS jobs on macos-latest
Pinned images (macos-14, macos-15) are retired on GitHub's schedule;
macos-latest follows the current one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRSUHzMG7AJLUWME6d
2026-10-31 11:44:33 +00:00
Neo cc8015963c Merge pull request #9 from D-Modem/claude/project-thread-jr548g
Update D-Modem core to latest main
2026-10-31 02:24:09 -07:00
Neo 393a085e0b Merge pull request #8 from D-Modem/claude/project-thread-lf4nuy
AT command reference in the app
2026-10-31 02:19:10 -07:00
Claude e60ba4e8b2 external/d-modem-re: D-Modem main (7f53883)
Moves the core from 502a827 to D-Modem main's latest: V.110/V.120 on
the clear channel, V.18 text telephones, class 2 and 2.0 fax, the
mISDN line and dmodem-capid (not built for Android: gradle builds only
dmodem_jni and dmodem_pty), the AT reference rework.

.gitmodules now follows main, not the old feature branch.

native-test builds and passes 13/13; tools/doc_check.py is clean.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRU1DLnbp5FrrPXuTh6
2026-10-31 09:12:07 +00:00
Neo 410cfbc005 Merge pull request #4 from D-Modem/claude/project-thread-kw1hfz
Caller ID in the incoming call popup; CI uploads the APK unzipped
2026-10-31 02:09:05 -07:00
Claude 37a4ac710d AT command reference in the app: Settings, AT commands, and the terminal's menu
D-Modem-RE's A5 AT command manual (docs/at_commands.pdf, merged in
D-Modem/D-Modem #26) bundled in the assets and shown in the app: its
pages rendered with PdfRenderer, one under another, with a zoom, or
opened in the phone's PDF app (through the FileProvider, from the cache)
for its search and its contents' links.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRVNHPWcCitx9W4sAfc
2026-10-31 09:06:07 +00:00
Claude ef52a3f580 Merge main into the caller ID branch
Keeps main's V_CVM -> VCVM settings migration next to the new callerId
setting, and takes main's d-modem-re pin, which already holds the
caller ID merge (D-Modem/D-Modem#15).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRQooB42bttmxqnS23Z
2026-10-30 21:39:38 +00:00
Neo 69e30fc1a9 Merge pull request #7 from D-Modem/claude/project-thread-ai22rg
Mobile calls: send +MS=VCVM (V.cvm's new name)
2026-10-30 08:40:57 -07:00
Claude 2ca383afd7 Settings: qualify CELL_VCVM in SettingsStore
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRUhzHK9FsNkkr7T6X3
2026-10-30 15:23:01 +00:00