Commit Graph
172 Commits
Author SHA1 Message Date
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
lotherk 3737db565e docs: the Desktop & Screen Saver backdrop chooser (t0285)
The pane lists the 49 installed backdrops (including the 20 imported
from Solaris 2.6) as small previews; a click makes one the backdrop,
the style menu fills/fits/centres/tiles it, and Change picture starts
the slideshow.
2026-11-16 08:59:46 +00:00
lotherk 87fc0e5fc7 MCDE desktop: the trash icon (t0284)
The desktop carries a Trash icon (Dtbin.m.pm when ~/.dt/Trash is empty,
Dtbinml.m.pm when it holds something); a double click opens the trash in
dtfile, the icon menu has Empty Trash.  The icon is an XDND drop target:
a file dragged onto it is moved into ~/.dt/Trash (renamed, or copied and
removed across file systems).  tools/mcde-xdnd-drop.c is the test
source: it sends XdndEnter/Position/Drop with text/uri-list and answers
the SelectionRequest.  Measured under Xvfb: the empty and the full
glyph, Empty Trash emptied the folder, and the drop of
file:///tmp/xdnd-test.txt printed status accept=1, selection request,
finished and left the file in the trash.  Screenshots:
desktop-trash-empty.png, desktop-trash-full.png.
2026-11-16 08:58:03 +00:00
lotherk d6704af716 MCDE desktop: the context menu of the empty desktop (t0283)
A right click on the background (not on an icon) opens the desktop's own
menu: New Folder (in ~/Desktop, numbered when it exists), Clean Up Icons
(the icons the person never dragged go back to the grid; a dragged one
keeps its place, moved=1 in ~/.dt/desktop.conf), Change Backdrop...
(dtsystemsettings -pane screensaver) and Show Desktop Icons ([x] in the
menu, show=0/1 in the file).  The menu is the same override-redirect
window the icon menu uses, with its own entry table.  Measured under
Xvfb: New Folder made ~/Desktop/New Folder and its icon appeared; a
dragged DATA stayed at 668,358 while the others returned to the grid;
Show Desktop Icons wrote show=0 and unmatched every icon, a restart with
show=0 shows no icons.  Screenshots: desktop-root-menu.png,
desktop-cleanup.png.
2026-11-16 08:48:33 +00:00
lotherk 0fb59ccf63 docs: BUILD-CONTRACT names the gap to the decided targets
The contract describes the decided surface (make release builds everything,
make install installs the makronix set and the packages).  Neither is in the
Makefile yet -- t0051/t0246 and t0056 -- so the file says what is true today
instead of describing a build the tree does not have.
2026-11-16 08:34:11 +00:00
lotherk 632068d877 docs: bring the CNCL into the guide and explain it in the preface
Appendix C now contains the full CNCL 1.0 text, exactly as it is in
LICENSE (line-wrapped for the page), and the preface has a long section
that explains what the licence says, what it does not cover (NetBSD's
BSD licence, CDE/MCDE's LGPL, pkgsrc packages, Hack, DocBook) and why
Makronix uses a licence this short.

The same pass corrects the MCDE help claim: the cross-built MCDE
package has no help pages (options.mk turns docs off), so the
Information Manager holds this guide and no program help books.

Rebuilt all five forms: 67-page PDF, HTML, 27 manual pages, the dtinfo
library and www/guide.html.  check.sh green, test-tools 33 ok, 0 bad.
2026-11-16 08:32:32 +00:00
lotherk bf02a8365b docs: the MCDE desktop on NetBSD (t0275)
Screenshots from the Makronix-0.99.10 amd64 VM: the computer icon alone,
and with MCDE_DESK_TEST_MOUNTS the CD, the stick and the NFS mount, in
the top right corner from the top down.  test_mounts on the same VM
printed PASS: mcde_sys_mounts on NetBSD.
2026-11-16 08:31:03 +00:00
lotherk de446b10fb docs: record Konrad's decisions of 2026-11-16; rewrite the build contract
GOAL.md names the decisions: an own signify key for updates (private key
offline with Konrad, public key in /etc/signify, release signs the SHA512 of
the sets and of the medium's package list); the makronix packages as binary
packages installed with pkg_add, not unregistered files; sshd on with root
and password as before, but the firewall lets port 22 in from the local
network only; make release builds everything in one run (userland,
distribution/release, source set, install DVD, USB image) with test and
compress as separate commands; make install installs base, X, the makronix
set and the packages; BUILD-CONTRACT is rewritten now.

BUILD-CONTRACT.md is rewritten for the current tree: the four entry points,
cross and native as one build, checkflist as the gate, the three sections of
a card, the reviewer's own run, and what "done" means for build, medium,
encryption and source set.  docs/AGENTS.md loses the stale-parts note.
2026-11-16 08:17:27 +00:00
lotherk ec3c1b496d guide: the source tree is /usr/src, not /usr/msrc and /usr/xsrc
The source set is one tree since 2026-11-15 (tasksd t0071):
/usr/src/src, /usr/src/xsrc, /usr/src/pkgsrc, with the tools and the
documentation at the top.  The chapters still sent the reader to /usr/msrc
and /usr/xsrc (building, tour, cross, help, updating, dtinfo and the
glossary's "msrc" entry); they now name /usr/src and its subdirectories.

Rebuilt with docs/guide/build.sh all, check and install: 27 manual pages,
61 PDF pages (build/logs/guide-2026-11-16.log).  A grep for usr/msrc and
usr/xsrc over src/share/doc/makronix, src/share/man/man7 and www/guide.html
finds nothing.
2026-11-16 07:22:42 +00:00
lotherk d4d59254e2 docs: the source DVD install is measured
The full-profile installation from the install DVD and the source DVD
passed the source checks on 2026-11-16
(build/logs/install-simple-source-2026-11-16h.log); record the parts, the
swap and what was checked.
2026-11-16 03:10:11 +00:00
lotherk 5fc42ec1ac source DVD: 5.8 GB in parts, the installer cats them
The source set is 5.8 GB; one ISO 9660 file can hold 4 GB (the size field
is 32 bits) and makefs truncated src.tgz to 1.5 GB (measured 2026-11-15:
the installer's gzip stopped with "unexpected end of file").  UDF would
hold the single file, but NetBSD rejected the makefs image with EINVAL
(measured 2026-11-16 on a dvdrom image and on a small test image).

- tools/cd-source.sh splits src.tgz into 2 GiB parts (src.tgz.aa, .ab,
  ...) and writes ISO 9660 with Rock Ridge; the README gives the
  `cat ... | tar` command.
- sysinst: set_file_exists_p() accepts the first part, and the source set
  is extracted with `sh -c 'cat .../src.tgz.* | tar --chroot -xzpf -'`.
  run_program() splits its command into argv and has no shell: without
  `sh -c`, cat wrote the parts to the terminal and tar never ran (measured
  2026-11-16, build/logs/install-simple-source-2026-11-16f.log).
- tools/install-simple.sh: the -S test swaps in the source DVD for the
  source prompt and back to the install DVD for the makronix set that
  follows it; DVDISO/CDSRC can name copies outside RELEASEDIR, because a
  release in another session removes images (measured 2026-11-15).

Measured (build/logs/install-simple-source-2026-11-16h.log): the full
profile asked for the source DVD, the parts were extracted, the installed
system passes "/usr/src holds the tree", "/usr/src has PINS and pkgsrc",
"all 1569 Makronix distfiles are in /usr/src/distfiles", and PINS names the
base.  The run exits 1 on dbus and cupsd not enabled/running, unrelated to
the source set.
2026-11-16 03:09:27 +00:00
lotherk 76b17bef76 source DVD: its own medium
The sources are one set (src.tgz, 5.5 GB) and they get their own data DVD
instead of riding on the install DVD: `make isosrc' now runs
tools/cd-source.sh, which writes
RELEASEDIR/images/Makronix-<version>-amd64-source.iso with
source/sets/src.tgz, MD5, SHA512 and a README that names the commands
(ISO 9660 with Rock Ridge, the same nbmakefs the other media use).

The install DVD and the CDs carry no sources.  The installer side --
selecting the source set for the full profile and asking for this disc when
it is not in the drive (MSG_nextcd_source, cd_has_sets accepts
source/sets) -- is in the working tree with the sysinst profile work
(tasksd t0260) and not in this commit.

Measured: make isosrc -> Makronix-0.99.10-amd64-source.iso, 5.5 GB, 3m49s;
the image lists README, source/sets/src.tgz, MD5, SHA512
(build/logs/isosrc-2026-11-15b.log).  docs/OFFLINE-BUILD.md has the size and
the DVD class (dual layer).
2026-11-15 22:36:39 +00:00
lotherk bb81435610 Plan t0270: Ergebnis und offene Punkte 2026-11-15 22:26:17 +00:00
lotherk fb6cf7f937 Plan t0270: Fortschritt (McdeSys mounts + Desktop-Neufassung) 2026-11-15 21:56:29 +00:00
lotherk d0b1a454b8 www: publish The Makronix Guide in the site window
The guide's web form is generated from the same DocBook source as the
manual pages, the PDF and the information library: pandoc's html4
writer, docs/guide/template-web.html and the site's style.css.  It is
installed as www/guide.html, all pages link to it from the menubar, and
the home page names it.

HTML 4.01 Strict checked with xmllint; docs/guide/check.sh checks the
site copy and tools/test-tools.sh still passes (33 ok, 0 bad).
2026-11-15 21:47:10 +00:00
lotherk bfb8f1a32e source set: one tree, usr/src, the whole repository
The source medium carried six sets: NetBSD's src, gnusrc, syssrc and
sharesrc at /usr/src, xsrc at /usr/xsrc and msrc at /usr/msrc.  Makronix is
one tree, so there is one set now: src.tgz, unpacked to /usr/src, with the
repository as it is -- src/, xsrc/, ext/, pkgsrc/, mobile/, www/, docs/,
tools/, the root files, PINS, packages.list, distfiles.lst and distfiles/
(only the archives of the Makronix packages).

- makesrctars -m packs the staged tree as usr/src and skips the split sets.
  It keeps the modes and the links of the repository (pkgsrc and tools run
  their scripts directly); build.sh gets the directory as MAKROSRCDIR.
- tools/srctree-stage.sh replaces tools/msrc-stage.sh.  It copies git's file
  list of the root repository and of pkgsrc (tracked files plus the untracked
  Makronix recipes: AGENTS.md, wm/mcde, x11/mcde-motif,
  filesystems/afpfs-ng), stages the distfiles, and puts the pkgsrc patch
  names that ustar cannot store into pkgsrc-longnames.cpio.
- makesrctars removes source sets of the old layout from
  RELEASEDIR/source/sets before it writes, so no stale gnusrc/msrc/xsrc can
  travel on a medium.

Measured: tools/srctree-stage.sh -> 462655 entries, 11 GB, 214 names in
pkgsrc-longnames.cpio; make sourcesets verified distfiles.lst (2010 archives,
0 missing, 0 wrong hash) and wrote RELEASEDIR/source/sets/src.tgz
(build/logs/sourcesets-2026-11-15.log).

The installer side is not in this commit: it is being changed in the same
tree by the sysinst profile work (tasksd t0260) -- one SET_SRC, the long-name
extraction from /usr/src/pkgsrc, the messages and sysinst.8.
docs/OFFLINE-BUILD.md, docs/BUILD-VM.md, docs/LICENSES.md and GOAL.md
describe the one tree.
2026-11-15 21:45:20 +00:00
lotherk 079330f37d docs: render the guide's installed path on the man index
.Pa is an mdoc macro; the index is a man(7) page and the path vanished.
Use .I, which man(7) knows.
2026-11-15 21:29:15 +00:00
lotherk ff89bfd670 docs: install the guide's information library, keep its SGML
The install verb only copied the HTML, the PDF and the manual pages;
the MCDE information library stayed in docs/guide/out and the copy in
src/ was made by hand.  Copy out/infolib/makronix.dti into
src/share/doc/makronix/infolib as well, and keep the generated SGML,
TOC and bookcase beside the compiled library for reading (they are not
installed).
2026-11-15 21:28:28 +00:00
lotherk 862f341bcd Plan t0270: Label-Kuerzung, Computer-Icon mit Open Home, drvctl als t0272 2026-11-15 21:23:10 +00:00
lotherk b654bf74a2 docs: add The Makronix Guide and its four installed forms
One DocBook source in docs/guide produces the manual pages, one HTML
file, the PDF and an MCDE information library.  The guide follows the
structure of The NetBSD Guide, describes Makronix 0.99.10
(Camouflage), and has its own chapters for MCDE, the Information
Manager and the display.

The forms are installed by the release:

  /usr/share/doc/makronix/makronix-guide.html
  /usr/share/doc/makronix/makronix-guide.pdf
  /usr/share/doc/makronix/infolib/makronix.dti/   (base-sys-share)
  /usr/share/man/man7/makronix-guide*.7           (man-reference-man)
  /etc/dt/config/Xsession.d/0000makronix          (etc-sys-etc)
  /etc/dt/infolib/en_US.UTF-8/makronix.dti        (symlink)

The information library is built with MCDE's dtdocbook2infolib from a
small Lua writer for the CDE DocBook SGML dialect; tools/test-tools.sh
runs docs/guide/check.sh on the installed copies and proves that a
missing manual page falls red.
2026-11-15 21:21:49 +00:00
lotherk f8211cd379 Plan t0270: Entscheidungen (beide Desktop-Ordner, mounten+oeffnen, Trash, Positionen nie loeschen) 2026-11-15 21:21:19 +00:00
lotherk c48e45a489 Plan t0270: rechts oben, XPM-Glyphen, Computer + Mounts + User-Icons, Positionen merken 2026-11-15 21:18:07 +00:00
lotherk f7505a040e Plan t0270: Desktop-Icons fuer Disk-Mounts, Wechselmedien und Netzwerk-Mounts 2026-11-15 21:13:01 +00:00
lotherk 9dfd843892 Plan: Netzwerk-Mounts gehoeren zu den Desktop-Icons 2026-11-15 21:08:30 +00:00
lotherk 0951a781d8 Plan: Desktop nur Disk-Mounts/Wechselmedien; Rechtsklick auf Icon begrenzt Workspace 2026-11-15 21:07:15 +00:00
lotherk a98af5d2c5 Import Solaris 2.6 CDE backdrops into MCDE (30->49) + 4Dwm-style desktop placement + wallpapers in /usr/share/makronix/wallpapers 2026-11-15 20:58:48 +00:00
lotherk 54c242f71a msrc/docs: carry LICENSE and root docs in source set, install CNCL on system (t0233) 2026-11-15 18:54:44 +00:00
lotherk df64a5b693 docs: remove remaining stale overlay/patch 0009/0005 references (t0085) 2026-11-15 15:54:58 +00:00
lotherk 129222a556 docs: remove dead overlay/patch references from build docs, install media and tools (t0085) 2026-11-15 15:52:48 +00:00
lotherk 13b0b13e16 docs/tools: add CROSS.md and check-x11-links.sh 2026-11-15 13:29:25 +00:00
lotherk 5bf8a42643 docs: version bump to 0.99.10 in GOAL, download, STUPID 2026-11-15 13:29:03 +00:00
lotherk d17ad7a219 docs/reference/sysupgrade.txt: the 2026-11-14 reading put back, a measured section added (t0055)
My commit e52d511ec0 replaced this file instead of adding to it: `ls
docs/reference | head -40` had cut the list before this name, so I took it for
new and wrote over 211 lines of saved reading.  docs/reference/AGENTS.md is
explicit ("Correct a file by a dated note, not by silent rewriting"), so this
restores the file byte for byte from e52d511ec0^ (verified: the diff against
that commit is 53 insertions, 0 deletions) and appends what was measured
today, as section "2026-11-15: measured in this tree".

The measurements, each with its line:
- `config(1)` is comp-obsolete in this tree (src/distrib/sets/lists/comp/
  mi:4719-4720) and absent from the destdir, so KERNEL=AUTO does not merely
  "need config" -- sysupgrade stops with "Failed to determine kernel name".
- The set carries only share/examples/sysupgrade/default.conf; the
  /usr/pkg/etc/sysupgrade.conf of CONF_FILES (recipe:26) is a pkg_add action
  and shtk_config_load is fatal on a missing file
  (share/shtk/config.subr:176-181): the upgrade command must pass -c.
- pkgsrc's default.conf names the NetBSD daily snapshots, not our source.
- The release's 24 *.tar.xz sets match pkgsrc's ARCHIVE_EXTENSION (tar.xz on
  x86_64), no override needed.
- /usr/pkg/sbin/sysupgrade (17447 bytes) and shtk are in the destdir -- the
  NetBSD binary of packages.list:48.
- The package's cache is /var/cache/sysupgrade (recipe:18-20).
- No set is verified (ftp(1), tar -xp); t0078.
2026-11-15 09:04:46 +00:00
lotherk e52d511ec0 docs/reference/sysupgrade.txt: what sysupgrade 1.5 does on this tree (t0055)
packages.list:46-48 takes sysutils/sysupgrade as a binary of the makronix
set and names docs/reference/sysupgrade.txt as the reading behind it, and
docs/reference/AGENTS.md lists the file too; neither existed.  This is the
reading, done in the distfile sysupgrade-1.5.tar.gz (build/distfiles) and
pkgsrc's three patches, with the claims measured in the tree.

What it settles for t0055:
- RELEASEDIR is the architecture directory of a release (it fetches
  binary/sets/<set>.<ext> and binary/kernel/netbsd-<KERNEL>.gz under it), so
  build/obj/releasedir/amd64, not the sets directory; the sets there are
  *.tar.xz and pkgsrc's ARCHIVE_EXTENSION is tar.xz on x86_64.
- file:// is not an accepted form: an absolute path, ftp://, http://, ssh://
  (and https:// through pkgsrc's patch).  Our command has to translate
  file:///DIR to /DIR.
- KERNEL=AUTO needs config(1), which is comp-obsolete in this tree
  (src/distrib/sets/lists/comp/mi:4719-4720) and not in the destdir: it
  fails, it does not skip; KERNEL must be explicit (GENERIC on amd64).
- SETS=AUTO takes /etc/mtree/set.*, and set.makronix is one of them: the
  makronix set is fetched and unpacked with the base system.
- The configuration file does not exist on an installed system: the set
  carries share/examples/sysupgrade/default.conf, the CONF_FILES copy to
  /usr/pkg/etc/sysupgrade.conf is a pkg_add action, and shtk_config_load
  stops when the file is missing.  The command of t0055 passes -c its own.
- Nothing verifies a set (t0078's subject).

Also recorded as makronix wiki entry e00012.
2026-11-15 09:03:42 +00:00
lotherk 724ad5bd80 docs: ROADMAP as the draft plan, NEXT a pointer, ISSUES dated (t0062, t0010, t0061)
ROADMAP.md (root) is the plan t0062 asks Konrad to confirm: five phases with
the goal's done-criterion, the tasks that carry each (tasksd, 2026-11-15),
and the decisions that still need him.  It is marked as not confirmed --
GOAL.md and a measurement win over it.

The task counts in it are the ones tasksd answers today (makronix/mcde 61
pending / 24 paused / 64 done; makronix/upgrade 1 pending / 1 running /
3 paused; build 2/17/11) and t0046, t0047, t0070, t0013, t0064 (done) and
t0014 (dropped) are no longer described as running.  The device sync is
recorded with Konrad's decision of 2026-11-15: KDE Connect protocol, C99 in
MCDE, t0223 (t0151 dropped).

docs/NEXT.md is now a one-page pointer: its 2026-11-09 plan is superseded by
the tree since 2026-11-13 (src/ and xsrc/ tracked, one packages.list through
tools/pkglist.sh, no VM build).  docs/AGENTS.md says so instead of "partly
outdated".

ISSUES.md: the RPi4 entries that named packages.vm.list, tools/vmbuild/,
vm-pkgbuild.sh, vm-pkgcollect.sh and packages.$ARCH.list are marked with
their date and corrected against the tree of 2026-11-13 (single packages.list
with @ARCH tags, tools/pkglist.sh, no VM build path); the measurements of
2026-11-09 stay, marked as such.

.gitignore: the comment said src/ and xsrc/ were their own repositories;
they are tracked here (src/BASE, xsrc/BASE), only pkgsrc/ is its own.
2026-11-15 08:59:43 +00:00
lotherk 814ec71eaf tools/claude-build-gate.sh: the hook in POSIX sh, and its rules are tested (t0052, t0074)
The hook parsed the tool input with `python3 -c` and matched plain substrings:
any ">" and "releasedir" in one command was refused (a `2>&1` too), and
"git checkout" anywhere blocked the command.  tools/ is POSIX sh, no Python.

- jq when it is there (`.tool_input.command // empty`, fail closed when the
  field cannot be read), sed only as a fallback; dash -n clean.
- releasedir: the operation must target a path under it -- rm/mv/cp/touch/
  chmod/mkdir, `sed -i`, tee, or a redirection whose target is under
  releasedir.  A read with 2>/dev/null stays allowed.
- git reset --hard, git clean -f (any flag order), `git checkout -- .` and
  `git checkout .` in the root; the src/ rule matches src/ as a path
  component, so xsrc/ is not blocked.
- rm of the set lists with any flag order (rm -r -f, -fr, -Rf, long options).
- The allowed entry points named in the refusal are the root Makefile's.

tools/claude-build-gate-test.sh: 25 cases, each one command with its expected
exit code (16 blocked, 8 allowed, one unparsable input that must fail closed).
Measured: `sh tools/claude-build-gate-test.sh` -> 25 ok, 0 bad, exit 0;
dash -n on both scripts clean; .claude/settings.json still calls the same path.

tools/vmctl.py and tools/vmmon.py are deleted: building in a VM is gone
(2026-11-13) and nothing in the tree calls them (git grep finds only the
history files); tools/AGENTS.md already described them as removed.  No Python
in tools/ remains.
2026-11-15 08:57:55 +00:00
lotherkandClaude Sonnet 5.5 55a9319ac4 keytest: Ctrl+Up, zones, Shift+Cmd+Tab, the screenshot key, Option+Cmd+H/M/W; table of 2026-11-15 completed (t0058)
All seen except: Shift+Cmd+3/4 do nothing because there is no dtscreenshot (t0222),
Ctrl+F2 is not bound (t0221), Option+Cmd+W not judged (the windows were minimized by the step before).
build/logs/mcde-keytest-2026-11-15d.log exit=0.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 06:00:01 +00:00
lotherkandClaude Sonnet 5.5 0290af4d9e sys.dtwmrc.tmsg de_DE, es_ES, fr_FR: the key lines were cut off by quoting (t0058)
Merged with the project's tool (programs/localized/util/merge, LC_ALL=C.UTF-8),
de_DE and es_ES lost F8-F11, Ctrl+Up and all lines after them because message 11
closed its quote after the F10 line; de_DE, es_ES and fr_FR lost every line
after the first f.exec "..." because the inner quotes were not escaped.  Both
fixed; all 11 locales now merge with rc=0 and no message, and the Keys sections
carry the same 56 MCDE key lines as C.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 05:57:39 +00:00
lotherkandClaude Sonnet 5.5 7f2453a8b3 MCDE shortcuts: Command+Tab is the program switcher in sys.dtwmrc too; the keytest presses plain keycodes and the table of 2026-11-15 (t0058)
4affe0dc00 changed the compiled-in key table (WmResource.c) but not the
sys.dtwmrc.tmsg files, so a session bound Cmd+Tab to f.next_key (window cycling)
and Shift+Cmd+Tab to f.prev_key.  Now f.mcde_app switcher / switcher-prev in all
three key messages of the 11 files.  SEEN (C locale, tools/mcde-keytest.sh, build/logs/mcde-keytest-2026-11-15c.log
exit=0): a box naming the program 'Dtterm' appears.

tools/mcde-keytest.sh: keys through tools/mcde-xkey.sh, a before/after screenshot
compare next to the window list, the terminal keys with a terminal focused.
docs/reference/shortcuts-test-2026-11-15.txt: key, expected, seen, verdict for the keys tried; Ctrl+F2 (the bar's menu
bar) is not bound anywhere.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 05:55:37 +00:00
lotherkandClaude Sonnet 5.5 53fdef60ad dtwm: F8 shows the workspaces as a grid of small screens with their windows; arrows, digit, Return or click switch (t0183, first part)
WmMcdeSpaces.c: an override-redirect window like the window overview, drawn
once on demand, nothing runs while it is closed.  Reached as f.mcde_app spaces
(a new function name is not bound by a key, as measured for the overview).
Seen on Xvfb: F8 opens it, Right + Return goes to Two, a click on Four goes
there, F8 twice closes, 1 goes back to One; docs/screenshots/leopard/Spaces-mcde.png.

The 'F9 does nothing' of t0058/t0216 was the test sender: xdotool 3.20160805
sends Alt_L before an F-key in this keymap, so the key arrives as Alt+F9.  With
plain XTest keycodes F8 reaches the root grab (ext/src/mcde/AGENTS.md).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 05:45:20 +00:00
lotherkandClaude Sonnet 5.5 12fe789f36 dtactivity: the activity window (t0091)
A table of the processes -- PID, name, user, % CPU since the last sample,
threads, real and virtual memory -- sorted by the column title you click; Show
(all, mine, system), a filter, Quit Process (asks; SIGTERM; Force Quit SIGKILL)
and Inspect; and under it four tabs, CPU, System Memory, Disk Activity and
Network, with the numbers and a three-minute history graph.  All of it through
McdeSys (processes, CPU times, memory, disk and network counters, signals, the
commits of 2026-11-14/15); no ps(1), no top(1).  New program: programs/
dtactivity (Makefile.am, programs/Makefile.am, configure.ac, PLIST line
dt/bin/dtactivity; make mcde-linux plist: ok).

Frugal, as t0080 asks: one timer, 2 s, only while the window is mapped and not
fully obscured.  Measured with strace -c -f -p for 15 s: 2349 system calls
visible, 0 unmapped (xdotool windowunmap), 0 with an override-redirect window
over the whole screen, 2365 shown again.  Control: an idle sleep gives the same
empty summary, a process that makes calls does not.

Quit Process measured against real processes in a PID namespace (unshare -rpf
--mount-proc: only the test session's processes exist, so neither the tests nor
the screenshot show the host's): Cancel leaves a process alive, Quit ends it, a
process that ignores SIGTERM survives Quit and is ended by Force Quit.  Filter
and column sorting seen in screenshots (the committed image is the CPU tab with
two busy loops and the 24 MB/s of a disk writer in the other tab).  Cross
compile for NetBSD (x86_64--netbsd-gcc -Wall -Wextra): no diagnostic.  The
"Cannot convert string mcde to type FontStruct" warning is the shared
*renderTable fallback: dtimage prints it too.

Not built: Show "with window", the global menu, Cmd+F and Cmd+1..5, the
administrator's way for another user's process (t0079; it says "belongs to
somebody else"), a legend for the graph colours, the dtappscan entry; the NetBSD
backends of the numbers were never run.  Sorting by clicking a header was not
exercised by a script (the layout was); the default sort (CPU, descending) is
what the screenshots show.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 05:20:01 +00:00
lotherkandClaude Sonnet 5.5 1a42f9176e dtfile: the folder-merge question as one sentence with Stop / Merge; Return takes the default button (t0215)
create_replace_merge_dialog: "A folder named ... already exists in this location.
Do you want to merge the contents of the two folders?" and Stop / Merge, no radio
box.  Merge is the default (Return), Escape and the Stop button cancel.  The
hidden G_merge_toggle keeps replace_merge_ok_callback and the pipe protocol as
they were; "replace the whole folder" is no answer of this question any more.

Found while measuring Stop: the focus of both dialogs sat on the FIRST button
(Stop here, Keep Both in the single-file dialog of t0156), and in Motif Return
activates the focused button, so Return did not take the default.  XmNinitialFocus
is ignored on the form for a button in a RowColumn (a tab group of its own); it
is set on the row now, to Merge and Replace.

Measured (real dtfile on Xvfb; Cmd+C opens the Copy Object dialog, the
destination typed there; folders A/ord{one.txt}, B/ord{two.txt}):
  folder: Return -> B/ord one.txt two.txt; Merge button -> the same; Escape and
  Stop button -> B/ord two.txt only; A/ord one.txt every time.
  file (A/f.txt "from-A", B/f.txt "from-B"): Return -> f.txt=from-A; Escape and
  Stop button -> f.txt=from-B (the Stop of t0156 now measured); Keep Both ->
  f_1.txt=from-B and f.txt=from-A.
Before the focus fix Return in the folder dialog did NOT merge (B/ord two.txt).
Cross compile for NetBSD (x86_64--netbsd-gcc, the build's flags): no error, no
warning in the changed code.  Screenshots: Finder-Copy-Merge-mcde.png (new),
Finder-Copy-Replace-mcde.png (retaken: the focus is on Replace).

Not done: the multi-collision dialog "Do this for all" (item 3 of the task).
Keep Both renames the EXISTING file (CDE's rename protocol); the Finder keeps
the incoming copy under the new name -- noted in AGENTS.md, not changed.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 00:55:52 +00:00
lotherkandClaude Sonnet 5.5 e282d61715 docs/reference/netbsd-extattr.txt: file comments are dormant on a default NetBSD (t0200, step 1)
Read in src/: every ufs_*extattr operation answers EOPNOTSUPP until
extattrctl start has run (ufs_extattr.c:1048, :1165, :1291, :1323; started
only through ufs_extattr_autostart, :637, which needs /.attribute); FFS
does not start it at mount and no rc.d script does.  So on a default
install McdeSys' comment get/set answer MCDE_SYS_ENOTSUP ("This file system
keeps no comments"): the error mapping in netbsd.c is right, the feature does
nothing until an administrator sets it up.  The immutable-flag lock does not
depend on it.  Compile of netbsd.c with the cross gcc: clean.  Not run: no
NetBSD here (build/vm is gone).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 00:44:02 +00:00
lotherkandClaude Sonnet 5.5 e8d031cc63 dtlaunch: the clipboard history is opt-in and leaves passwords out (t0080 2')
What was copied is shown on the screen the moment the launcher opens, so a
password from a password manager sat there in clear.

- Dtlaunch*clipboardHistory, default False.  Off: nothing is asked of the
  clipboard's owner (no XFixes watch, no poll) and the hint line drops "the
  clipboard".  System Settings > Keyboard & Mouse > Shortcuts has the toggle
  "The launcher keeps a history of what was copied"; it writes the resource
  like the hot key does and restarts the launcher.
- On: a text that is new is kept only if its owner does not offer the target
  x-kde-passwordManagerHint with the value "secret" (what KeePassXC, KDE Wallet
  and others set; docs/reference/clipboard-password-hint.txt has the two
  sources and what they do not say).  An unchanged clipboard costs no second
  request.  The copy of the text is overwritten after use.

Measured (Xvfb, a small X program as the password manager, logging requests):
on: owners "ordinary-text-123" (no hint target), "hunter2-PASSWORD" (hint
"secret"), "second-ordinary-456": each got UTF8_STRING then the hint request;
the list shows the two ordinary texts, not the password.  Off (no resource):
0 requests in total, empty list.  The toggle in the real dtsystemsettings gives
the resource True, False, True; the indicator changes; the note fits.  Cross
compile (build's flags): dtlaunch.c and input.c without a warning; make check
of dtlaunch passes.  Not verified: a real password manager (the assumption
that its MIME type is an X11 target of that name is written in the reference
file), a launcher restart on a real session.  The default is the task's; one
word in dtlaunch.c's resource table turns it back.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 00:37:01 +00:00
lotherkandClaude Sonnet 5.5 26c5e01021 docs/reference/rust-cross.txt: how Rust gets to the NetBSD target (t0084, step 1)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 00:25:05 +00:00
lotherkandClaude Sonnet 5.5 7c0d3697c9 docs/reference/calendar-libs.txt: what pkgsrc has for iCalendar and what it costs MCDE (t0148, step 1)
libical 3.0.20 / 4.0.5 include glib2, icu and libxml2 unconditionally (libical4
also gobject-introspection); the sysroot has icu 93 MB, glib2 17 MB, libxml2 3 MB,
curl 4 MB -- there for other packages (icu: one, boost-libs; glib2: 15), while the
MCDE packages depend on Xft2, libjpeg-turbo and png only.  CalDAV = HTTP + XML;
www/curl and www/neon exist, no CalDAV client library by name.  Options with what
each needs; whether libical can be built without glib/ICU is NOT checked (source
not fetched).  The choice is Konrad's: it is a dependency of the whole desktop.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 23:54:39 +00:00
lotherkandClaude Sonnet 5.5 12e3dac436 docs/reference/netconfig.txt: NetBSD has no network 'location'; dhcpcd has selectors (t0131)
The base's network rc scripts and rc.conf defaults have no location/profile
concept (searched, existing files named).  dhcpcd.conf(5) has interface and ssid
blocks, profile NAME, fallback PROFILE and arping-selected profiles -- automatic
selection, no user switch.  A Location menu is therefore ours to design (ssid
blocks for Wi-Fi, or a directory per location that rewrites files etcupdate
owns); not a pane detail.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 23:53:22 +00:00