Commit Graph
134 Commits
Author SHA1 Message Date
Neo f201d28b2f Merge pull request #40 from D-Modem/bot/d-modem-bump
Bump D-Modem to e70a3d9
2026-11-25 09:54:30 -08:00
github-actions[bot] 6e306417bd Bump D-Modem to e70a3d9
external/D-Modem: df4781b -> e70a3d9 (D-Modem's main).

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-11-25 17:38:45 +00:00
Neo 54b9159198 Merge pull request #39 from D-Modem/claude/project-thread-xpcup4
Build the Windows app on macOS for Intel Macs (x86_64)
2026-11-24 23:26:08 -08:00
Claude 2502165f05 Build the Windows app on macOS for Intel Macs (x86_64)
winport/CMakeLists.txt takes the architecture of libwinport from
CMAKE_OSX_ARCHITECTURES (one architecture). CI builds the app on macOS
for arm64 and x86_64, and the nightly release adds
dmodem-win32-macos-x86_64.tar.gz.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRVR36R8PgTTMQiuWkQ
2026-11-25 07:13:38 +00:00
Neo 828bdac037 Merge pull request #38 from D-Modem/claude/project-thread-0vuy4k
Nightly: update the release in place, and publish after each build of main
2026-11-24 20:19:40 -08:00
Claude be0af12441 Nightly: no release is no ID (gh writes a 404's body to stdout)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTrw1ffsyY5bhTghu1
2026-11-25 04:05:53 +00:00
Claude 661a9cb066 Nightly: update the release in place, and publish after each build of main
The publish step deleted the release first and then made a new one.
When the token could not make the release (HTTP 403), the release was
gone. The script now moves the tag, edits the release and uploads the
files with --clobber. It makes a release only when there is none.

If DMODEM_BUMP_TOKEN fails, a second step tries with the GITHUB_TOKEN.

The workflow also runs each time a run of Build on main completes, so
the release follows main.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTrw1ffsyY5bhTghu1
2026-11-25 04:03:16 +00:00
Neo d67c460485 Merge pull request #37 from D-Modem/claude/project-thread-0vuy4k
Build the modem into the macOS builds (Windows app on macOS, universal SwiftUI app)
2026-11-24 19:56:37 -08:00
Claude 1ca2115f4d Build the modem into the Windows app on Linux and macOS
The Windows app on macOS (and on Linux) had no built-in modem: CMake
turned DMODEM_GUI_EMBED off for winport/, and CI did not check out the
D-Modem submodule. The app looked for dmodemd.

- CMake: DMODEM_GUI_EMBED is on by default for winport/. winport/
  links libdmodem_embed. The data file of the line uses DIR_SEP.
- CI: the winport jobs check out the submodule and check that the
  built-in modem is in the app. The smoke test starts the built-in
  modem (SIP, no account), and runs dmodemd with builtin=0.
- CI: the SwiftUI app builds for arm64 and x86_64 (it was arm64 alone),
  and the check looks at each architecture.
- Docs and the release notes say which builds have the modem.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTrw1ffsyY5bhTghu1
2026-11-25 03:45:59 +00:00
Neo 2a2f1fed62 Merge pull request #34 from D-Modem/bot/d-modem-bump
Bump D-Modem to df4781b
2026-11-24 06:42:28 -08:00
Neo 3f7f8e8662 Merge pull request #36 from D-Modem/claude/project-thread-92ttqa
Nightly: publish the release with DMODEM_BUMP_TOKEN
2026-11-24 06:35:16 -08:00
Claude 93520c3413 Nightly: publish with DMODEM_BUMP_TOKEN
The GITHUB_TOKEN of the workflow deleted the nightly release, then got
HTTP 403 (Resource not accessible by integration) when it made the
release again (run 45212602781). The Publish step now uses the
DMODEM_BUMP_TOKEN organization secret if it is available.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSE9B8aAKiw3a5VpMx
2026-11-24 14:20:58 +00:00
Neo 37b73c16a9 Merge pull request #35 from D-Modem/claude/project-thread-92ttqa
Site: d-modem.github.io/gui with the suite's shared theme
2026-11-24 06:20:49 -08:00
Claude 7363ab73a3 Site: d-modem.github.io/gui with the suite's shared theme
A home page, a download page for the nightly build, and the docs/ pages,
built by brand's site workflow (.github/workflows/pages.yml).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSE9B8aAKiw3a5VpMx
2026-11-24 14:16:56 +00:00
github-actions[bot] 917cd53b5f Bump D-Modem to df4781b
external/D-Modem: a2b0e56 -> df4781b (D-Modem's main).

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-11-24 14:10:29 +00:00
Neo bf33dcb6d5 Merge pull request #33 from D-Modem/claude/project-thread-fvsti7
CI: move the built-in modem to D-Modem's main and build
2026-11-24 06:06:57 -08:00
Claude 66d27a9702 CI: DMODEM_BUMP_TOKEN is an organization secret
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRT9xSDzhZPJHVyrj6o
2026-11-24 13:51:05 +00:00
Claude 2b0eed5d16 CI: move the built-in modem to D-Modem's main and build
d-modem-bump.yml starts on D-Modem's d-modem-main event, each day, or manually. It opens a pull request that moves external/D-Modem, waits for Build and merges. It needs the DMODEM_BUMP_TOKEN secret.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRT9xSDzhZPJHVyrj6o
2026-11-24 13:40:12 +00:00
Neo b8cafb5018 Merge pull request #32 from D-Modem/claude/project-thread-mxrh5c
Windows 95 and NT 4.0: the modem built in (win32-picolibc)
2026-11-23 19:57:11 -08:00
Claude 7342c374d6 external/D-Modem: D-Modem main, with win32-picolibc (D-Modem/D-Modem#167)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTRNP9YEnRxydbrw9G
2026-11-24 03:47:25 +00:00
Claude 0d28b76fa4 Merge main into claude/project-thread-mxrh5c
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTRNP9YEnRxydbrw9G
2026-11-24 03:43:24 +00:00
Neo ca2518ac62 Merge pull request #19 from D-Modem/claude/project-thread-q3zs8l
Windows app on Linux and macOS: use clang-retro MFC's new APIs, remove the stand-ins; D-Modem mark as the icon
2026-11-23 19:43:06 -08:00
Claude b80e912303 Merge main into claude/project-thread-q3zs8l
main changed winport/include/windows.h and winport/src/stubs.cpp
(SetCommBreak and ClearCommBreak stand-ins). This branch removes those
files, because clang-retro MFC's layer now has the functions. The
winport build and its smoke test pass with the current layer.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTRNP9YEnRxydbrw9G
2026-11-24 03:33:17 +00:00
Claude 7e05e1a952 Windows 95 and NT 4.0: the modem built in (win32-picolibc)
clang-retro's win32-picolibc now has libc++, and D-Modem builds with it
(D-Modem/D-Modem#167). The Windows 95 build of the app now has the
built-in modem too. Its imports agree with Windows 95 and NT 4.0, and it
needs no msvcrt.dll or iphlpapi.dll.

- CMakeLists.txt: DMODEM_GUI_EMBED is on for all the Windows builds.
- external/D-Modem: the branch of D-Modem/D-Modem#167.
- CI: the windows-9x job checks out the submodule, and checks that the
  app has the modem and imports no msvcrt.dll or iphlpapi.dll.
- Docs: embedded-modem.md, building.md, design.md, README and the
  nightly release notes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTRNP9YEnRxydbrw9G
2026-11-23 21:50:06 +00:00
Neo 0e0cde36ab Merge pull request #31 from D-Modem/claude/project-thread-mxrh5c
Linux, Windows and macOS apps: the modem built in, no dmodemd needed
2026-11-23 07:58:19 -08:00
Claude c614bfb364 external/D-Modem: D-Modem main, with libdmodem_embed (D-Modem/D-Modem#164)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTRNP9YEnRxydbrw9G
2026-11-23 15:48:08 +00:00
Claude 8dd715bd2b macOS: build the modem into the app
- CMake builds libdmodem_embed on macOS too. cmake/MacosEmbed.cmake links
  a small program with it and keeps the link command (a linker launcher).
  From it, CMake writes build/macos-embed.xcconfig: the header path, all
  the static libraries and the Swift condition DMODEM_GUI_EMBED.
- macos/project.yml includes that file.
- Modem.swift starts the built-in modem for the SIP and USB lines, in a
  thread of the app. Its DTE socket goes to the same session code as
  the pty. LineSettingsView has a Built-in modem switch (on by default).
- CI: the macOS job checks out the submodule, and checks that the app
  has the library.
- Docs: macOS in docs/embedded-modem.md, building.md, design.md and the
  README.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTRNP9YEnRxydbrw9G
2026-11-23 15:34:46 +00:00
Claude 3371175fec external/D-Modem: the embed starts Winsock on Windows
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTRNP9YEnRxydbrw9G
2026-11-23 15:28:54 +00:00
Claude 526dd567f8 Windows: build the modem into the app (Windows 98 SE and Windows 7)
- windows/: the target is now dmodem-app (output dmodem.exe), because
  D-Modem has a target dmodem. The app links dmodem_embed when it exists.
- The app starts the built-in modem for the dmodemd line when builtin=1
  (default). The DTE socket goes to WSAAsyncSelect as a TCP socket does.
- CMakeLists.txt: get _WIN32_WINNT from the clang-retro config and include
  dmodem_retro.h for C++ files only.
- ssh: build gai_strerror.c for the win98 and winme configs, because
  the gai_strerrorA of ws2_32 imports FormatMessageW.
- CI: a new windows-98 job; the win7 job gets the submodule. The nightly
  release takes dmodem-win98.exe.
- Docs: Windows in docs/embedded-modem.md, README.md, docs/building.md
  and docs/design.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTRNP9YEnRxydbrw9G
2026-11-23 15:28:49 +00:00
Claude c6dba26742 Linux app: the modem built in (libdmodem_embed), no dmodemd needed
D-Modem is now a git submodule (external/D-Modem). With
DMODEM_GUI_EMBED (on when the submodule is there, on Linux), the app
runs the modem in a thread for the SIP, USB and ALSA lines. Its DTE is
a socket, so there is no pty, no /dev/ttyDM0 and no root. The modem's
log goes to the Log page. Line settings > Advanced > Built-in modem
(on by default) turns it off, and the app starts dmodemd as before.

libssh's sha1() and sha256() are renamed, because libre has functions
of the same names. The bundled Mbed TLS is now 3.6.7, the same release
as D-Modem's.

Docs: docs/embedded-modem.md (STE), with links from the README,
building.md and design.md. CI: the Linux job checks out the submodule
and installs libasound2-dev and libusb-1.0-0-dev.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTRNP9YEnRxydbrw9G
2026-11-23 15:16:24 +00:00
Neo 504038af21 Merge pull request #30 from D-Modem/claude/project-thread-bemanq
docs: shorter README; features and build steps in docs/
2026-11-23 06:42:05 -08:00
Claude dbe952b308 docs: shorter README; features and build steps in docs/
Move the details of the Remote page, the terminal types and the menus
of the Windows app to docs/features.md, and the build steps for each
system to docs/building.md. The line about the Windows app on Linux and
macOS does not change, so that PR #19 merges without a conflict.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSvurgAXJHmd8Fs4ud
2026-11-23 13:47:14 +00:00
Neo 702ee0e72c Merge pull request #29 from D-Modem/claude/project-thread-62wuhs
README: the menu repository is now D-Modem/login
2026-11-23 01:30:50 -08:00
Claude 739e16c9e0 Docs: modemmenu is now dmodem-login, in D-Modem/login
The menu repository is renamed D-Modem/login, and its program modemmenu
is now dmodem-login (with an LDAP provider).  The links, names and
sample paths follow (/usr/local/bin/dmodem-login,
/etc/asterisk/dmodem-login.conf, /run/dmodem-login/dmodem-login.sock).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTD8BSptdpaUWGcs65
2026-11-23 05:05:29 +00:00
Neo f6dd29f952 Merge pull request #28 from D-Modem/claude/project-thread-u6e15a
Nightly: the Linux tarball extracts into /
2026-11-20 22:56:07 -08:00
Claude bfcee79d52 Nightly: the Linux app's tarball extracts into /, not /usr/local
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRR6tKgobV4RbMTv4eL
2026-11-21 06:49:27 +00:00
Neo ed35ad2f70 Merge pull request #27 from D-Modem/claude/project-thread-u6e15a
Nightly release: the apps from main's newest build, each day
2026-11-20 22:38:58 -08:00
Claude 7ebf6e3c99 Nightly: the release lists a missing file by its name; no tag is no commit
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRR6tKgobV4RbMTv4eL
2026-11-21 06:31:29 +00:00
Claude 970890b3f6 Nightly release: the apps from main's newest build, each day
nightly.yml takes the artifacts of the newest complete run of build.yml
on main and replaces the "nightly" pre-release with them. It stops
when main has no new commits. build.yml now packs each artifact as a
.tar.gz or .zip (an artifact does not keep the executable bit), and the
Linux (GTK 4) job uploads its app too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRR6tKgobV4RbMTv4eL
2026-11-21 06:29:32 +00:00
Neo cb35cb2eb5 Merge pull request #23 from D-Modem/claude/project-thread-b4zlk2
ZMODEM: zstd compression (CANZSTD/ZTZSTD)
2026-11-20 18:34:54 -08:00
Claude 46585abadd ZMODEM receiver: a quiet line in a file is an error, not the end
When noise damaged the ZDLE before a subpacket's ZCRCQ (or a ZEOF), the
sender waited for an answer that the receiver could not give, and the
receiver gave up after 10 s of quiet. It now sends ZRPOS, as for a bad
CRC, and gives up only after 4 quiet waits in a row. Found by CI on the
zstd noisy test; 49 noisy runs at 1 in 2000 to 1 in 3200 now all pass
(before, the first two failed).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRR1WNeCEtXUcjE8RgY
2026-11-21 02:28:15 +00:00
Claude 66232933d4 Merge remote-tracking branch 'origin/main' into claude/project-thread-b4zlk2
# Conflicts:
#	windows/src/resource.h
#	windows/src/xfer.cpp
2026-11-21 02:08:33 +00:00
Neo 15df4fa46a Merge pull request #26 from D-Modem/claude/project-thread-g3spou
Add the Call menu and the COM port settings
2026-11-20 15:12:48 -08:00
Claude 4cd7fc8f56 Add the Call menu and the COM port settings
HyperTerminal's Call menu for the Windows app: Call (sessions with a
name and a number, kept in [sessions]), Wait for a Call (ATS0=1, sent
again when the modem opens), Disconnect, and Send Break.

Line Settings gets the COM port settings: bits per second, data bits,
parity, stop bits and flow control (none, Xon/Xoff, hardware).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRekyRUhR43KbmGNXK
2026-11-20 23:05:50 +00:00
Neo afa2c42587 Merge pull request #25 from D-Modem/claude/project-thread-g3spou
Add Terminal Settings, a connect timer and Send Break
2026-11-20 15:02:33 -08:00
Claude 8d6316e7ce Add Terminal Settings, a connect timer and Send Break
HyperTerminal's Terminal Settings for each terminal of the Windows app
([terminal], [remote_terminal]): Backspace (Ctrl+H, Del, or Ctrl+H Space
Ctrl+H), terminal or Windows keys, backscroll lines, font, cursor, the
Telnet terminal ID, and exit upon disconnecting.

The status bar shows the connect timer during a call. Send Break (Modem
menu, Ctrl+Break) sends a break on a COM port or as Telnet's IAC BRK.

Core: dmc_vt_set_scrollback and dmc_net_break, with tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRekyRUhR43KbmGNXK
2026-11-20 22:55:35 +00:00
Neo 4f7e90f598 Merge pull request #24 from D-Modem/claude/project-thread-g3spou
Add ASCII Setup to the Windows app
2026-11-20 14:48:59 -08:00
Claude 77a487fe4f Add ASCII Setup to the Windows app
The HyperTerminal ASCII Setup dialog (Modem menu), kept in [ascii]:
- Sending: Enter as CR LF, local echo, line and character delays.
- Receiving: an LF after each CR, 7-bit ASCII, wrap of long lines.

The receive items are in the core terminal (dmc_vt_set_ascii), with
tests. The settings apply to the modem and Remote terminals.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRRekyRUhR43KbmGNXK
2026-11-20 22:42:03 +00:00
Claude ce1fa43f5c ZMODEM: zstd compression (CANZSTD/ZTZSTD)
ZMODEM with zstd as docs/zmodem-zstd.md of D-Modem specifies, on top of
the crash recovery of #22:

- core/src/zstd_codec.c: a Zstandard (RFC 8878) encoder and decoder for
  whole frames, and XXH64, in plain C (a port of the app's Zstd.kt; no
  libzstd).
- xfer_z.c: CANZSTD in ZRINIT ZF1, ZTZSTD in ZFILE ZF2. Each chunk of the
  file goes as one frame (64 KB, halved after a ZRPOS to 1 KB, doubled
  after an ACK); the receiver writes only whole frames, so positions stay
  file offsets and ZRPOS and crash recovery work as before. Files of 0
  bytes, with a compressed extension, or whose first 64 KB don't get 5%
  smaller go as they are. A ZTZSTD file is skipped when we did not set
  CANZSTD.
- dmc_xfer_options.no_zstd stops it, and dmc_xfer_zstd() tells if the file
  now goes with zstd (the status struct is not changed).
- Windows: Transfer > ZMODEM Compression (zstd), on by default, and
  "(zstd)" after the file name in the progress dialog.
- Tests: the specification's vector, XXH64, round trips, against the
  reference zstd CLI when installed; ZMODEM with zstd in memory (smaller
  on the line, a noisy line, off on either side, a .zip, resume).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRR1WNeCEtXUcjE8RgY
2026-11-20 22:38:20 +00:00
Neo fcbee27d5b Merge pull request #22 from D-Modem/claude/project-thread-g3spou
Add YMODEM-G, ZMODEM crash recovery, Skip file and text delays
2026-11-20 14:33:14 -08:00