Commit Graph
217 Commits
Author SHA1 Message Date
lotherk 3e16dea795 dtchat: bind local identities to their keys and gate files on pairing (T10.2)
Security review findings: (1) the local peer identity was only a claimed pin; the listener now requests the client certificate and compares the certificate hash that completed the handshake with the pin in hello, refusing a mismatch or a missing certificate, and the client presents its identity certificate (test_local uses real identities: matching, other identity, any). (2) unpaired peers could send file offers; the UI manager carries a paired flag, answers offers from unpaired peers with file-reject 'pairing required' and refuses to send. The review document lists both fixes and the accepted limits (no passphrase, public pins, media nonces later, adapter spawn, file names, QR, parser limits). Standalone: test_local, test_filexfer, tests/p2p.sh and the UI pairing/message run pass with the changes. The in-tree build is pending because another release chain holds the lock (pid 4040149).
2026-11-17 06:49:35 +00:00
lotherk 0fc1e49d8b mcde: record the green dtchat build gate
make mcde-host exit=0, 30 ok/0 bad, the four new tests and p2p pass with the built binaries; the built UI paired with a headless peer and received a message.
2026-11-17 06:33:38 +00:00
lotherk 7adb7e598a mcde: record dtchat T5.4-T5.8 and pairing
The local listener, text protocol, file transfer, headless mode, pairing and the UI manager are built and committed; the full build of everything after T5.3 is still waiting for the build lock. Expected harness: 30 ok.
2026-11-16 21:09:32 +00:00
lotherk 5d11b79269 dtchat: document the local peer protocol
Normative description of the LAN transport: TLS with the identity certificate, TOFU pin and 6-digit SAS, hello/hello-ack, presence/msg/msg-ack/typing, file-offer/data/end/done/cancel with 64 KiB chunks and the 512 MiB limit, reconnect backoff and the peers.json pin store. Aligned with local.c, filexfer.c, pair.c and headless.c; the file dialogs are the remaining part of T5.8.
2026-11-16 20:51:22 +00:00
lotherk 97934484aa mcde: record dtchat T5.4 and T5.5
The local listener and the text protocol with reconnect are built; T5.4/T5.5 wait for the next full build because the lock is held by a foreign release/sourcesets/usb chain.
2026-11-16 20:36:22 +00:00
lotherk dbff3de672 mcde: record dtchat T3.3-T3.6, T5.1 and T5.3
The IRC adapter is complete through reconnect; the identity and peer model are in. The build gate is green (mcde-host exit=0, 26 tests). T3.7 is paused for lack of public IRC, T5.2 for lack of avahi/libdns_sd and T4.x for lack of libstrophe. Next is T5.4.
2026-11-16 19:50:49 +00:00
lotherk 2be8b6414d mcde: record dtchat T3.1/T3.2 in the program plan
The IRC skeleton and parser are built; T3.3 needs libtls on the build host, and the full make mcde-host gate still waits for the build lock.
2026-11-16 19:11:58 +00:00
lotherk d8c08644d2 docs/screenshots: drop the old desktop pictures
The screenshots of this directory follow the rule of 2026-11-16: the whole
desktop (bar, front panel, icons) and a palette per picture.  The pictures
from before that rule do not show the session and are removed; the four
pictures still there are the new set (dtwm-4dwm-font, the two pointer panes,
the desktop menu).  The files stay in the history if a state is needed
again.
2026-11-16 19:11:18 +00:00
lotherk 8fd9cf7dc5 mcde: record dtchat T2.7/T2.8 and the end of Phase 2
Desktop integration and the keyboard work are committed; Phase 3 starts with the IRC adapter. The full build gate still waits for the lock.
2026-11-16 19:05:34 +00:00
lotherk 1173bb17fa docs/screenshots: the whole desktop and a palette per picture
The desktop pictures show the session (dtbar, front panel, desktop icons)
and each picture of a series takes another palette (MCDE_SHOT_PALETTE);
tools/mcde-shot.sh has both (MCDE_SHOT_EXTRA=dtbar, MCDE_SHOT_FULL=1).
2026-11-16 19:04:11 +00:00
lotherk 98f079f198 MCDE screenshots: the full desktop, a palette per picture (t0301)
tools/mcde-shot.sh learns MCDE_SHOT_PALETTE (a palette from dt/palettes:
its first colour is the background, the text is black) and MCDE_SHOT_FULL
(dtsession starts the whole desktop).  A holder client keeps the X server
from resetting the resource database and the font path when xrdb and xset
exit; the palette and share/fonts are in place before the first client
starts, so dtwm, the bar and the program take them.

The four desktop pictures are taken again with the bar (clock, sound,
bluetooth, global menu, M menu), the front panel and the desktop icons,
each in another palette: dtwm-4dwm-font.png IRIX, pointer-irix-xcursor.png
Charcoal, pointer-solaris-cursors.png Desert, desktop-root-menu.png
Default.
2026-11-16 19:03:35 +00:00
lotherk dd4fafed3a mcde: record dtchat T2.3-T2.6 in the program plan
Transcript/input, the account editor, the request/QR dialogs and the demo adapter are built; the full build gate is still waiting for the build lock.
2026-11-16 18:57:36 +00:00
lotherk 39a461d519 mcde: record dtchat T2.2 in the program plan
The roster now shows accounts, presence and unread, and selection drives the title and transcript. Next is T2.3.
2026-11-16 18:27:54 +00:00
lotherk 7ed9963a44 mcde: record dtchat T2.1 in the program plan
Phase 2 has started: the Motif main window and --smoke-test are built; the next task is T2.2 (roster/unread/selection).
2026-11-16 18:13:50 +00:00
lotherk c59c6b3473 mcde: record the end of dtchat Phase 1
T1.7 (adapter protocol v1) and T1.8 (test harness) are done; tools/mcde-tests.sh passes 23/0. Next is Phase 2, T2.1.
2026-11-16 17:52:08 +00:00
lotherk 838d6f0de7 dtchat: document the adapter protocol v1 (T1.7)
Normative contract for the stdio JSON-line adapters: framing, lifecycle, hello and settings schema, core commands, adapter events, request/answer, error/fatal, bye, versioning, security, IRC and QR examples. Aligned with adapter.c, fake_adapter.c and test_adapter.c; hello timeout now 10 s.
2026-11-16 17:49:13 +00:00
lotherk c3f2b5c22c mcde: record dtchat T1.6 in the program plan
The single-instance lock and control socket are built; all eight dtchat unit tests pass. Next tasks are T1.7 and T1.8.
2026-11-16 17:46:22 +00:00
lotherk 67cabeef13 mcde: record dtchat T1.5 in the program plan
The adapter process manager is built; all seven dtchat unit tests pass. Next tasks are T1.6 and T1.7.
2026-11-16 17:35:53 +00:00
lotherk b5145684cf mcde: record dtchat T1.4 in the program plan
The conversation model and text helpers are built; all six dtchat unit tests pass. Next task is T1.5, the adapter manager.
2026-11-16 17:18:40 +00:00
lotherk 9f93a67112 mcde: record dtchat T1.2 and T1.3 in the program plan
Phase 1 now has the poll/timer loop and the atomic store; all four dtchat unit tests pass under make mcde-host. Next task is T1.4.
2026-11-16 17:09:56 +00:00
lotherk c7fdb6957a museum: four vintage machines in QEMU (Makronix Museum group)
IRIX 6.5.29, SunOS 4.1.4, Mac OS 9.2 and Mac OS X 10.4 Tiger as QEMU
machines: /usr/bin/museum (base system, CNCL) links the owner's media,
creates the qcow2 disks, prints the exact command and checks what is
missing; the emulator comes from pkgsrc, offered by the installer as the
new group "Makronix Museum" (kind museum, like games).

Measured 2026-11-16 with QEMU 11.1.2: the Mac OS 9.2.2 CD reaches the
Finder and the Tiger 10.4.6 DVD the language chooser through
`museum install'.  OpenBIOS cannot boot the SunOS 4.1.4 CD (the SS-5 PROM
ss5.bin is required); stock QEMU has no SGI Indy (qemu-sgi-ip22 or MAME
indy_4610).  The operating system media are proprietary and stay with
their owner.

checkflist after installing the program: only the pre-existing missing
makronix-guide-vm.7 remains (another session's file).
2026-11-16 17:02:04 +00:00
lotherk b8d58fb11a dtchat: pair local peers with a SAS code
Documents the decision recorded as t0360: first contact shows a 6-digit code derived from both certificate hashes and a nonce; only after the people compare it is the pin stored. Unpaired peers may send a text request only; a changed pin blocks until re-pairing.
2026-11-16 17:01:25 +00:00
lotherk b03b485df7 mcde: record dtchat T1.1 in the program plan
Phase 1 has started: the core API, JSON reader and line framing build with make mcde-host and their tests pass. The mcde-tests.sh entry is written but that file is still an untracked other-agent change, so T1.8 is not committed yet.
2026-11-16 16:52:55 +00:00
lotherk cd6bcdc827 docs: add a chapter on installing in a virtual machine
QEMU/KVM: KVM/CPU host, 2-4 GiB, 32 GiB disk, BIOS and UEFI (OVMF with a
writable variable store), AHCI for UEFI because OVMF's IDE is slow, the
serial console (com0) and the device names the installer shows (ld0,
sd0, wd0).  Proxmox VE: q35/OVMF or i440fx/SeaBIOS, VirtIO SCSI, the
qm create example, boot order, serial socket and the noVNC focus note.

The installation chapter points to it.  Rebuilt 28 manual pages and the
73-page PDF with page numbers and the chapter outline; www/guide.html
updated.  The print stylesheet wraps long commands instead of clipping
them.
2026-11-16 16:50:50 +00:00
lotherk d283c85767 dtchat: TDLib 1.8.70 tdjson spike on Linux (T0.7)
TDLib builds with -DTD_ENABLE_JNI=OFF; libtdjson.so.1.8.70 is 50 MB and the build tree 537 MB. tdjson_spike starts a client without an account and getOption(version) answers 1.8.70; the authorization state is waitTdlibParameters. NetBSD is still open, so the Telegram package is Linux-first and a release gate.
2026-11-16 16:47:07 +00:00
lotherk f8b04beec1 dtchat: start the TDLib build (T0.7)
Records the exact cmake invocation, the -j4 choice and the current 48% state in /home/lotherk/tmp/dtchat-tdlib/td/build; go/no-go and the NetBSD attempt are still open.
2026-11-16 16:27:04 +00:00
lotherk fe6b91e088 dtchat: review the Phase 0 spikes so far (T0.9)
ADR and C5 now record: libtls and DNS-SD verified on Linux (NetBSD runs open), libstrophe TLS/SASL/message verified, ALSA 48k/20ms duplex verified, whatsmeow builds and emits a QR event, TDLib still building. Phase 1 proceeds on Linux; NetBSD validation is a release gate; PTT stays default; Telegram/WhatsApp remain conditional and call-less in v1.
2026-11-16 16:26:12 +00:00
lotherk ccbb275e86 dtchat: whatsmeow QR-flow spike (T0.8)
whatsmeow v0.0.0-20261116124925 and Go 1.27 build with cgo sqlite3; sqlstore + GetFirstDevice + GetQRChannel + Connect produce a 277-character QR code and a 160 KB session DB. Login and message need a spare account, so the task is paused.
2026-11-16 16:24:23 +00:00
lotherk aa6ed2ccc3 dtchat: 48 kHz/20 ms duplex audio spike on ALSA (T0.6)
ALSA default opens capture and playback simultaneously at 48k S16_LE mono with 960-frame periods and a 3840-frame buffer; 48000 frames in 1.013 s. The one-period loop underruns playback, so the real path needs a pre-filled ring buffer. hw:0,0 rejects the config; default is the entry point. NetBSD audio(4) not run; PTT stays the v1 default.
2026-11-16 16:19:47 +00:00
lotherk a89ae1a9ba dtchat: libstrophe STARTTLS/SASL/message spike (T0.5)
libstrophe 0.12.3 against a minimal fake XMPP server: TLS 1.3, SASL PLAIN, bind, session and an incoming message through xmpp_run_once() in a poll-style loop. Build needs -Wno-error=incompatible-pointer-types on GCC 16. xmpp_stanza_get_text_ptr() is the wrong accessor for element text; use xmpp_stanza_get_text() and free it.
2026-11-16 16:17:50 +00:00
lotherk ade7f3049b dtchat: DNS-SD spike on Avahi (T0.4)
_dtchat._tcp registers and resolves on IPv4/IPv6, TXT survives, the service disappears after exit. pkgsrc's avahi installs avahi-client but not the libdns_sd compat library, so the Linux backend uses avahi-client; NetBSD keeps libdns_sd. NetBSD runtime not measured.
2026-11-16 16:13:25 +00:00
lotherk dce624b11f dtchat: TLS spike on Linux, NetBSD run open (T0.3)
libretls 3.8.1: non-blocking handshake with poll, system-CA verification, self-signed rejection and a TOFU pin that matches openssl's SHA-256. NetBSD had no reachable host; the exact command and the open point are recorded in docs/reference/dtchat-spikes.txt.
2026-11-16 16:11:04 +00:00
lotherk 712d066c09 dtchat: record upstream API findings (T0.2)
Adds docs/reference/dtchat-upstream.txt with the quoted sources for libtls, libstrophe, TDLib, whatsmeow, DNS-SD, Opus, VP8, XMPP and the media crypto. Corrects the ADR: TDLib does expose call signalling (createCall/acceptCall/sendCallSignalingData/discardCall), but the media stack is the separate tgcalls; whatsmeow lists Calls as not implemented. libstrophe 0.12.3 has no MUC module; xmpp_run_once exists. DNS-SD uses txtvers, not v.
2026-11-16 16:08:02 +00:00
lotherk 15f695f874 mcde: allow dtchat's TLS, XMPP and codec libraries
dtchat needs libtls, libstrophe, libopus and optional libvpx; record the exception in AGENTS.md, the decision in docs/reference/dtchat-architecture.txt, and the program in docs/MCDE-PROGRAMS.md (C5). Tasks: tasksd scope mcde/dtchat.
2026-11-16 15:57:46 +00:00
lotherk bd472dc661 MCDE: the IRIX and Solaris Helvetica fonts, the 4Dwm font as the default (t0301)
The Helvetica bitmaps of the reference desktops are in share/fonts: the six
IRIX x_eoe PCFs (helvB10, helvBO10, helvR10, helvR12, helvR14, helvR18) and
the twenty Solaris SUNWxwfnt PCFs (Helvetica 6..14, bold, oblique, bold
oblique); mkfontdir wrote fonts.dir.

Dtwm.defs.src sets the four fontLists of the 4Dwm app-defaults: menus and
client titles -adobe-helvetica-bold-o-normal--14-*, feedback
-adobe-helvetica-bold-r-normal--14-*, icon labels
-adobe-helvetica-medium-r-normal--14-*.

The fonts are core X11 fonts (Motif reads them): dtlogin fontPathTail
(config/Xconfig) puts share/fonts on the X server font path at session
start (ApplyFontPathMods, fontpath.c); 0070.dtfonts keeps the same for a
session that did not come through dtlogin, without a second entry.

Measured: xlsfonts -fn -adobe-helvetica-bold-o-normal--14-* returns the
IRIX 100dpi face; xrmget on the installed Dtwm app-defaults resolves the
four fontLists to the Helvetica names; a session through dtlogin lists
.../share/fonts in xset q Font Path (9 elements); mcde-plist-check ok;
docs/screenshots/desktop/dtwm-4dwm-font.png shows the dtterm title in
Helvetica Bold Oblique.
2026-11-16 15:22:50 +00:00
lotherk afc9bbf93c MCDE: the IRIX cursor font as an Xcursor theme, both themes in Appearance (t0301)
The IRIX cursor font x_eoe usr/lib/X11/fonts/misc/cursor.pcf is extracted
with the sw parser, pcf2bdf turns it into BDF, and bdf-cursors.py makes
58 Xcursor names from the glyphs (form + _mask).  The Solaris and IRIX
themes are in share/icons/Solaris and share/icons/IRIX; the Appearance
pane has a "Cursor theme:" menu (Solaris, IRIX) that keeps the choice in
~/.dt/cursor-theme; 0079.dtcursor exports XCURSOR_THEME from it.
Measured: XcursorLibraryLoadImage("left_ptr", "IRIX", 16) returns a
16x16 image, and the menu shows Solaris/IRIX; choosing Solaris wrote
~/.dt/cursor-theme.
2026-11-16 14:32:23 +00:00
lotherk e5108c277d dtfile: Eject in the Selected menu and Command+E (t0093)
The network view's warning names Eject; now dtfile has it.  The Selected
menu carries "Eject" (mnemonic E) after "Put in Trash", and Command+E is
bound in the drawing area's translation block (Mod4<Key>e:McdeKey(@,eject)).
Both call McdeEjectSelection(): it takes the selected folders, asks
mcde_sys_disks for the mounted volume whose mountpoint is one of them, and
unmounts it through mcde_sys_disk_unmount -- never a shell, and McdeSys
refuses what the computer runs from.  No selection or no mounted volume gets
a sentence instead; a refused unmount shows mcde_sys_error() (as a user,
udisksctl asks polkit and fails without an agent -- measured).

The menu table is a fixed XtCalloc(menuItemCount): the new item made it 69
entries, so menuItemCount goes from 68 to 69 (51 to 52 without the Trash
menu).  Without that, opening the Selected menu crashed the window (the
overflow was found by the menu click, not by the build).

Catalog: set 20 messages 173 "Eject", 174 "E", 175/176 the two answers, in
dtfile.msg and the German copy.  The desktop's warning now says "Eject in
the file manager (Command+E) or Unmount in the Disk Utility"; its screenshot
docs/screenshots/leopard/Device-Removal-mcde.png is renewed.

Measured (Xvfb, a 32 MB image with one ext4 partition on /dev/loop0p1):
- as the user on :82: the Selected menu shows "Eject" and the window
  survives (0x60002d, 213x218); Command+E opens the Eject message
  "/usr/bin/udisksctl did not succeed (status 1)." -- the key reaches the
  call, polkit refuses a user.
- as root under a root ttsession on :83 (ttsession -c dtfile): selecting the
  mounted folder and Selected > Eject unmounts; findmnt then prints
  "UNMOUNTED" for /tmp/opencode/ejecttest/mnt.
- after that Eject, a simulated removal of loop0p1 in dtwm
  (MCDE_DESK_TEST_DEVICE) logs only "desktop: loop0p1 (remove)" and opens
  0 dialogs -- a volume that was put away stays quiet.
- make mcde-linux MCDE_DIRS="install programs/dtfile" and "install
  programs/localized/C/msg" exit=0; gencat reads both catalogs;
  MCDE_DIRS=plist "mcde-plist-check: ok".
2026-11-16 14:24:00 +00:00
lotherk a75d3d342b MCDE: the Solaris cursor theme (t0301)
programs/cursors holds the 27 .cursor files of Solaris 2.6; programs/dtcursor
reads the X11 cursor text format (Format_version=1, Width, Height,
Valid_bits_per_item=16, one or two bitmaps) into source and mask bitmaps,
makes the cursor with XCreatePixmapCursor and puts it on the root window
(XDefineCursor; the clients that set none inherit it).  The name is kept
in ~/.dt/cursor; 0079.dtcursor sets it at login.  The Appearance pane has
a "Pointer:" menu of the cursor names; a choice runs dtcursor -set NAME.
Measured under Xvfb: the menu lists black, bullseye, busy, ... gr_root;
choosing busy wrote ~/.dt/cursor and printed "dtcursor: busy".
2026-11-16 14:08:53 +00:00
lotherk 5282891426 MCDE: the disk-removed warning through the kernel's device events (t0093)
A medium that is pulled while it is still mounted now gets the reference's
one-button "Disk Not Ejected" warning: Motif's error dialog, the device and
its stale mountpoint in the text, the Warning sound.  The desktop (dtwm,
WmMcdeDesktop.c) owns the event descriptor already; it reads each event,
asks what it says, and checks the mount table before it shows anything.

McdeSys:
- mcde_sys_disk_event_info() parses both shapes the read gives: Linux's
  uevent with its NULs turned into spaces ("remove@/... ACTION=remove
  DEVNAME=sdb1 ...") and NetBSD's "device-detach sd0"; 1 when the device
  went away, 0 for add/change/attach, -1 on bad arguments.
- mcde_sys_disk_detached(name, mountpoint, len): looks in the mount table
  for a partition of NAME (sdb takes sdb1, sd0 takes sd0a), copies the
  mountpoint and unmounts it the forced way -- "umount -l" on Linux,
  "umount -f" on NetBSD (disk_linux.c, disk_netbsd.c) -- but never what the
  computer runs from.  0 when nothing of NAME was mounted.
- test_disk_events.c: the uevent and drvctl shapes, add/change/attach,
  missing DEVNAME, the bad arguments.  make check: 8/8 PASS (the seven
  before and this one).

Measured under Xvfb :79 with a real ext4 loop mount at /tmp/opencode/mnt:
- start of dtwm with MCDE_DESK_TEST_DEVICE="remove@/... DEVNAME=loop0":
  log "desktop: loop0 (remove)", "umount: /tmp/opencode/mnt: must be
  superuser to unmount.", "desktop: loop0 was mounted at
  /tmp/opencode/mnt"; the dialog is 354x167 at (335,300), OK as the only
  button (docs/screenshots/leopard/Device-Removal-mcde.png).
- sudo umount /tmp/opencode/mnt, the same event again: log "desktop: loop0
  (remove)" and no "was mounted"; zero dialog windows -- a device that was
  put away stays quiet.
- make mcde-linux MCDE_DIRS="install lib/McdeSys programs/dtwm" exit=0;
  MCDE_DIRS=plist "mcde-plist-check: ok".

MCDE_DESK_TEST_DEVICE is the test hook: one event line through the same
handler a real event takes, without a kernel.  The NetBSD drvctl branch is
unchanged (t0272); the force unmount there is written for it but was not
run.  Still open in t0093: the Eject item in dtfile (Selected menu,
Command+E) and the qemu device_del test in a VM.
2026-11-16 13:56:06 +00:00
lotherk 793a29b35e dttoolbox: the IRIX toolchest menus, mapped to the MCDE programs (t0298)
system.chestrc now has the reference's menu tree instead of the five short
menus: ToolChest (Desktop, Selected, Internet, Find, System, Help), Desktop
(Access Files, Shared Resources, Customize, Control Audio, Empty Dumpster,
Eject Media, Start ScreenSaver, Open Unix Shell, Log Out), Access Files
(home, network, another user, remote login), Shared Resources, Customize
(Windows, Desktop, Sounds, Background, Color Schemes, Screen Saver, Mouse,
Keyboard, Accessibility, Language), Internet (browser, accounts, network,
remote login), Find (files, quick find, host quick find, info search, icon
catalog), System (manager, processes, filesystems, printers, software,
displays, date, information, Utilities: xhost and console, restart/shut
down through dtbar's one question) and Help.

Every action is a program this tree has: dtsystemsettings -pane for the
settings, dtfile for files and ~/Network, dtaction for ExitSession,
DtEmptyTrash and StartDtscreen*, dtactivity, dtdiskutility, dtprintinfo,
dtinfo, dticon, dtconsole, dtremotelogin, dtbar -command power.  Entries
without a counterpart (Extra Desks -- the workspace switch is dtwm's and F8
the overview, no command; License Manager; Demos; Restart Window Manager)
are left out and named in a comment at their place rather than starting
nothing.

The parser's TakeCommand stopped at the \" of an argument: a chestrc line
f.exec "dtfile -dir \"$HOME\"" gave "dtfile -dir \".  It now reads the
escaped quote as part of the command.

Measured (Xvfb :77, build/mcde-root/dt): the log says "dttoolbox: 11 menus
from .../share/toolchest/system.chestrc" (no menu left unread), the
screenshots show the opened Desktop, Access Files, System, Utilities and
Help menus (/tmp/opencode/dtchest-*.png), and a click on Access Files > In
my Home Directory runs "dttoolbox: dtfile -dir "$HOME"" (stderr; dtfile is
not in this test shell's PATH).  make mcde-linux MCDE_DIRS="install
programs/dttoolbox" exit=0; MCDE_DIRS=plist "mcde-plist-check: ok".

docs/MCDE-PROGRAMS.md: the T1 status says 11 menus, the mapped entries and
the quote fix; T2/T3/include and -horizontal/-icon stay open.
2026-11-16 13:18:50 +00:00
lotherk 9a83e2b4b6 MCDE: the WEB_URL data type and the hanging test_sysload child (t0303)
A .url file is a WEB_URL now (the reference sdturl.dt): a text file
whose content is a URL, ACTIONS McdeWeb,Print, ICON Dtdata,
NAME_TEMPLATE %s.url, MIME text/x-url.  Measured in dtfile: test.url
shows the URL icon beside note.txt (screenshot).

test_sysload: the child that waits for a signal sets alarm(60), so a
hung or killed test no longer leaves it in pause() and blocks the
build lock with waitpid.
2026-11-16 13:04:42 +00:00
lotherk 86033f6a48 MCDE dttoolbox: the IRIX ToolChest menus (t0298)
The chestrc now carries the reference structure: Desktop (Access Files,
Open Home Folder, Shared Resources, Customize, Control Audio, Empty
Dumpster, Open Unix Shell, Start ScreenSaver, Lock Screen, Log Out),
Shared (Network Places, Connect to Server), Internet (Open Web Browser),
Find (Search For Files, File QuickFind, Host QuickFind, Info Search) and
System (Processes, Filesystems, Disk Utility, Printers, Software Update,
Date & Time, System Settings, Backup, Restart, Shut Down).  Measured
under Xvfb: the chest lists Desktop/Selected/Find/System/Help and the
Desktop menu shows the reference entries (screenshot).
2026-11-16 12:49:52 +00:00
lotherk 9bb5f0f6cb docs: tests check the build lock before they start
test.sh, mediacheck.sh, install-simple.sh, install-cgd.sh and mcde-tests.sh
call build-lock.sh --check; an existing build stops them, while make
test/cdtest pass because they hold the lock.
2026-11-16 12:16:16 +00:00
lotherk 09e05087b3 docs: the build lock covers cdtest, the MCDE builds and the tools
AGENTS.md, tools/AGENTS.md and docs/BUILD-CONTRACT.md name the re-entrant
lock, cdtest's whole run, mcde-linux/mcde-host, and the tools that refuse
to write build/obj or releasedir outside the lock (build-lock.sh --held).
2026-11-16 12:11:53 +00:00
lotherk 5619071f98 docs: the media carry the signed package list
Measured 2026-11-16: make release && make iso exit 0; the DVD and CD 3 have
pkg_summary.gz.sig, and the summary extracted from the DVD verifies through
the root key -> release key chain.
2026-11-16 12:03:51 +00:00
lotherk 6d0c92ae38 signify: sign the release automatically, verify it before an upgrade
- make sourcesets signs RELEASEDIR/source/sets/SHA512 inside the build lock
  when SIGNIFY_SECKEY is set (tools/sign-release.sh auto); a build without
  the key says so and stays unsigned.
- make iso signs the package summary first; tools/cd3.sh puts
  pkg_summary.gz.sig next to the summary on the DVD and on every package CD.
- tools/cd-source.sh carries SHA512.sig on the source DVD and the README
  names the two verification commands.
- tools/upgrade-verify.sh: verifies root key -> release key -> SHA512 and
  then the SHA512 of the set files; the upgrade command (tasksd t0055) calls
  it before sysupgrade/pkg_add run as root.

Measured 2026-11-16: the source SHA512 signed with the release key verifies
through the chain ("signed by the root key", "good signature"), the copy
extracted from the source DVD too, the package summary verifies, and
upgrade-verify checks src.tgz (5.8 GB) against SHA512.  `make iso` itself
was not run to the end: a commit in another session changed src/ during the
release, so build-stamp refused the packaging
(build/logs/release-iso-2026-11-16-signed.log).
2026-11-16 10:38:59 +00:00
lotherk a3df74a5b3 docs: screenshots in the desktop chapters, page numbers and outline in the PDF
The MCDE chapter gets the desktop, System Settings, file manager and
terminal figures; the Information Manager chapter gets its book list.
The system HTML embeds the PNGs as data URIs, the website form points to
www/img/, the manual pages keep the caption and the dtinfo book keeps
the caption (the CDE DTD could carry TIFFs, but the library stays text).

The PDF gets a page-number overlay (gs + qpdf) and a chapter outline
(mutool); mutool clean normalises the file so qpdf and readers see the
outline.  docs/guide/check.sh checks outline and page numbers when the
tools are installed; tools/test-tools.sh copies www/img for the site
check and stays at 33 ok.
2026-11-16 10:22:20 +00:00
lotherk 645d493a60 MCDE: a backdrop per workspace (t0290)
dtsystemsettings has a Workspace menu on the Desktop page: This
Workspace (the active one) or one of the named workspaces, read from
DtWsmGetWorkspaceList.  A chosen backdrop goes to that workspace: dtwm
learned f.change_backdrop_ws INDEX PATH PIXMAP STYLE (the same parse as
f.change_backdrop, with the workspace index first) and
McdeBackdropFromFile on pSD->pWS[INDEX]; SetNewBackdrop keeps the choice
with SaveWorkspaceResources, so dtsession carries it to the next login
and ChangeToWorkspace shows it.  Measured under Xvfb: the menu lists
This Workspace, One, Two, Three, Four; Two + Ankh.bm printed
'dtwm: backdrop ws=1 .../backdrops/Ankh.bm style=0'.  WmMain.c now
includes WmFunction.h (the MCDE prototypes were implicit).
2026-11-16 10:05:40 +00:00
lotherk 3a9bb23395 docs: the Sound pane with the IRIX theme chosen (t0291) 2026-11-16 09:14:48 +00:00
lotherk 304c2cd15a MCDE sound: the IRIX 6.5 theme (t0291)
The old IRIX desktop sounds (imported from the IRIX 6.5.29 media,
~/tmp/irix_extract/assets/desktop-sounds/sounds-events) are a theme of
their own beside Camouflage and Base: 20 events with the names MCDE
uses (Launch, Start, End, Error, Warning, Beep, OpenFolder, DropMove,
DropCopy, Remove, RemoveToDumpster, DeskSwitch, Iconify, Deiconify,
NewMail, PrintFiles, SearchHit, SearchMiss, ClockChimeHour, TerminalBell),
theme.ss from the reference event list, in
$(CDE_INSTALLATION_TOP)/share/sounds/themes/IRIX.  The Sound pane lists
it (Theme menu: Camouflage, Base, IRIX); mcdesoundd -selftest with
MCDE_SOUND_THEME=.../IRIX prints PASS.  tools/mcde-shot.sh passes
MCDE_SOUND_THEME through for such tests.
2026-11-16 09:13:31 +00:00