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
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
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
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
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
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
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