Commit Graph
200 Commits
Author SHA1 Message Date
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
Claude 3891c3b83f Mobile calls: +MS=VCVM, the core's new name for V.cvm
D-Modem-RE now names V.cvm VCVM (like K56 and VWB); the mobile-call
line sends +MS=VCVM. A saved V_CVM setting from an older version reads
as VCVM. The submodule moves to the D-Modem commit with the rename.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRUhzHK9FsNkkr7T6X3
2026-10-30 15:20:30 +00:00
Neo 4740d727d6 Merge pull request #6 from D-Modem/claude/project-thread-bb7ios
CI speed-ups, and the native engine tests on GoogleTest
2026-10-30 08:14:16 -07:00
Claude 0bcb0354ad native-test: the GoogleTest tests' functions documented (doc_check)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSgB6M9Vp9dEP1haEE
2026-10-30 14:34:00 +00:00
Claude 903e861dcf native-test: the engine and C API tests on GoogleTest
engine_test.cpp's five calls are now four GoogleTest tests, each with a
dmodemd of its own, and c_api_test.c is c_api_test.cpp, seven tests
(its header still compiled as C, c_api_header.c). ctest registers each
test on its own (gtest_discover_tests). GoogleTest is the system's
(libgtest-dev, added to the native job) or else fetched, v1.14.0 as
D-Modem-RE has it. The USB line tests stay as they were.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSgB6M9Vp9dEP1haEE
2026-10-30 14:32:16 +00:00
Claude bd3fa40dfd CI: each commit run once, superseded runs cancelled, time limits, one ABI on the emulator
- Pushes run CI only on main; a branch's commits run as its pull
  request (each PR commit ran everything twice). workflow_dispatch to
  run a branch by hand.
- A newer commit on a pull request cancels the run before it.
- Every job has a time limit: a hung test had a build job running for
  over an hour, with GitHub's default 6 hours to go.
- The emulator job builds x86_64 only (-Pdmodem.abis, new: the ABIs of
  the native code and proot, all four by default); the build job still
  builds all four.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSgB6M9Vp9dEP1haEE
2026-10-30 14:16:54 +00:00
Neo 1eb596d6d3 Merge pull request #5 from D-Modem/claude/project-thread-bb7ios
Fix CI failures on main: lost bytes in ByteQueue, flaky loopback tests, iOS build
2026-10-30 07:15:47 -07:00
Claude 11861248eb Apple CI: the iOS app built for arm64 simulators only, as #4 has it
The job now gets as far as the app, whose x86_64 simulator link fails:
the shared Kotlin's XCFramework has no x86_64 simulator slice. #4's
apple.yml, unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSgB6M9Vp9dEP1haEE
2026-10-30 12:21:12 +00:00
Claude 299daabfb1 PeerLoopbackTest: the fake pipe delivers what was written before its close
A phone turning down a wrong PIN writes DENIED and closes. The test's
pipe returned -1 as soon as it saw the close, before reading what was
already queued, so the caller now and then missed DENIED, took the call
as unanswered (503) and aPinToCall waited out its 15 s for a 403. A
socket delivers the data before the end; the fake now does too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSgB6M9Vp9dEP1haEE
2026-10-30 12:20:37 +00:00
Claude fe6ab528f1 iOS engine build: #4's configure and link fixes, as they are there
The Apple job now gets past the shared Kotlin tests and stops where #4
fixed it: CMAKE_MACOSX_BUNDLE=OFF for dmodemd's install rule, and
libresolv, SystemConfiguration and CoreFoundation for libre. The files
are #4's, unchanged, so the two merge cleanly in either order.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSgB6M9Vp9dEP1haEE
2026-10-30 11:58:35 +00:00
Claude 6ed4134a0e Apple CI: build the iOS app for the arm64 simulator only (the shared XCFramework has no x86_64 slice)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRUcd5i5X7Q7F2QBNEF
2026-10-30 11:54:52 +00:00
Claude acf2a05ecb NativeModemTest: SIP's log at level 4, so a line comes before the test ends
The test looks for a "sip: " line through the log hook. Since dmodemd's
SIP moved to libre, nothing at level 3 is said without a call or a
registrar's answer, and the test stops the modem within a few ms, so the
emulator job failed on main. At level 4 the SIP thread names its
addresses ("SIP on ...") before sip::start returns.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSgB6M9Vp9dEP1haEE
2026-10-30 11:51:45 +00:00
Claude 688b99b2bb ByteQueue: a chunk sent as a timed read runs out is no longer lost
poll(ms) waited with withTimeoutOrNull { ch.receive() }. When a chunk
arrived just as the timeout fired, the cancelled receive had already
taken it from the channel, and kotlinx.coroutines drops an element
delivered to a cancelled receive. Readers that poll in short waits
(the fake fax line's modems, TransferIo under every job, the PPP
loopback's pumps) lost bytes now and then: a lost AT command or frame
became a 4-10 s stall, and on slower CI runners a failed test
(EcmTest, JobsTest.dialUpInternet on iOS, PppLoopbackTest).

The wait is now a select of the receive and a timeout, which can't both
win, so the chunk stays in the channel when the timeout does. The new
ByteQueueTest loses a chunk within the first hundred on the old code.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSgB6M9Vp9dEP1haEE
2026-10-30 11:51:45 +00:00
Claude 49904cc837 Swift packages: link SystemConfiguration (libre's srv.c reads macOS's DNS servers)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRUcd5i5X7Q7F2QBNEF
2026-10-30 11:40:36 +00:00
Claude d5b1a41bb7 D-Modem-RE: main with caller ID merged (D-Modem/D-Modem#15)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRUcd5i5X7Q7F2QBNEF
2026-10-30 11:29:30 +00:00
Claude 9f09c55578 Swift packages: link libresolv (libre's res.c uses res_ninit), as the app project does
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRUcd5i5X7Q7F2QBNEF
2026-10-30 11:28:09 +00:00
Claude e4b300d090 iOS engine build: no app bundles (dmodemd's install rule has no BUNDLE DESTINATION)
On iOS CMake makes every executable an app bundle; D-Modem-RE's
dmodemd install(TARGETS ... RUNTIME) then fails at configure ("no
BUNDLE DESTINATION for MACOSX_BUNDLE executable").  The engine builds
only dmodem_engine, so CMAKE_MACOSX_BUNDLE=OFF.  (The Apple job had
not got this far lately: its Kotlin tests failed first.)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRUcd5i5X7Q7F2QBNEF
2026-10-30 11:15:58 +00:00
Claude 3d7bd92b0b D-Modem-RE: D-Modem/D-Modem#15's head (its 32-bit test build fixed)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRUcd5i5X7Q7F2QBNEF
2026-10-30 11:08:48 +00:00
Claude c2c803f544 Caller ID in the incoming call's popup and notification; the CI's APK unzipped
The modem's caller ID after the first RING (AT+VCID=1's NMBR and NAME,
=2's MESG, voice mode's <DLE>X packet) now names the call: the popup and
the call notification show the caller's name, the number under it (or
the number alone, or "Private number" when withheld), and the
notification's Person carries the tel: URI.  A new Modem setting,
"Caller ID" (on by default), sends AT+VCID=1 at start.

D-Modem-RE goes to the commit that gives SIP calls caller ID (the
INVITE's P-Asserted-Identity or From): D-Modem/D-Modem#15.

CI: the debug APK is uploaded as the .apk itself (upload-artifact v7,
archive: false) instead of inside a zip.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRUcd5i5X7Q7F2QBNEF
2026-10-30 11:01:52 +00:00
Claude e0a0396eb7 CI: upload the debug APK even when a test fails
The APK is built before the unit tests run, but the upload was skipped
whenever any test failed (PppLoopbackTest has been timing out on the
runners), so there was no APK to try on a phone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRVHnHRzok8eDG2idnz
2026-10-29 13:05:07 +00:00
Claude 4b08994783 proot build: fall back to Debian's copy of talloc when samba.org is down
samba.org has been timing out and returning 504s, which fails
native-proot/build.sh and with it the APK build and LinuxUiTest. Try
Debian's copy of the same tarball after it; the SHA-256 check still
covers whichever one is downloaded.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRVHnHRzok8eDG2idnz
2026-10-29 12:40:26 +00:00
Claude d435187ee5 New launcher icon: rainbow RJ11 jack with the D-Modem carrier
Replace the blue handset-over-a-box icon with an adaptive launcher icon
from D-Modem/brand: the front of an RJ11 jack, its outline striped in
the six CD Rainbow Book colours like the org mark, with the white
sine-to-square carrier inside, on the brand navy.

- mipmap-anydpi-v26/ic_launcher(_round): adaptive icon (minSdk is 26,
  so no PNG fallbacks are needed)
- drawable/ic_launcher_foreground: the jack and carrier
- drawable/ic_launcher_monochrome: one-colour layer for themed icons
- values/ic_launcher_background: brand navy

Notification small icons still use ic_modem.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRVHnHRzok8eDG2idnz
2026-10-29 12:12:52 +00:00
Neo 3fbd831c76 Merge pull request #1 from D-Modem/claude/project-thread-v0cc83
Point the submodule and links at the D-Modem organisation
2026-10-29 03:00:26 -07:00
Claude f0abbcc59b CI: read the D-Modem submodule with the DMODEM_TOKEN secret
Renamed from DMODEM_RE_TOKEN, now that D-Modem-RE is D-Modem/D-Modem.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRUwD2JJ5d6fgHmpVTw
2026-10-29 09:59:16 +00:00
Claude f632959ef9 Point repository references at the D-Modem organisation
The repositories moved from Neo-Desktop to the D-Modem GitHub
organisation: D-Modem-RE is now D-Modem/D-Modem, pico-serial is
D-Modem/hardware, modemmenu (PBX-Modem) is D-Modem/menu, bbs-sec is
D-Modem/bbs and go3270-sec is D-Modem/go3270.  Update links, module
paths, submodule URLs and source-location strings to match.  Copyright
notices still name Neo-Desktop.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRUwD2JJ5d6fgHmpVTw
2026-10-29 09:02:38 +00:00
Claude 1627a1f3e5 Line settings: USB, Bluetooth, Wi-Fi / Cell and More buttons filter the line menu
Each kind's button shows only its lines in the menu (USB's one line is
picked at once); More shows every line.  The kind of the line saved is
lit at first.  The page's duplicate Line heading is gone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
2026-10-28 09:55:38 +00:00
Claude 308fa9f76c D-Modem-RE: INFO1a in the log
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
2026-10-28 06:01:36 +00:00
Claude 11431b09c3 D-Modem-RE: V.34 loop timing (the SmartUSB56's dial-outs)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
2026-10-28 02:54:23 +00:00
Claude d15305020a D-Modem-RE: the SmartUSB56's own automatic transmit level
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
2026-10-28 02:20:33 +00:00