Commit Graph
212 Commits
Author SHA1 Message Date
noah f2782e7d03 Merge pull request 'Add a native Windows build, tested and released by CI' (#15) from windows-port into main
build-test-release / release (push) Successful in 13m32s
build-test-release / windows (push) Successful in 5m17s
Merge pull request 'Add a native Windows build, tested and released by CI' (#15) from windows-port into main
2026-11-02 18:00:26 -07:00
noahandClaude Opus 5.5 79fe3a2880 Document the Windows build, its CI and the native test runner
verify / verify (pull_request) Successful in 7m32s
verify / verify-windows (pull_request) Successful in 14m34s
source / check (pull_request) Skipped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 18:32:56 -06:00
noahandClaude Opus 5.5 cb08b59820 Build, test and release the Windows build in CI
- ci/windows-ci.sh is the one definition of every Windows step (toolchain,
  clippy, build, tests and UI self-test under Wine, packaging, test bundle);
  verify, release and next only call it.
- release.yml: a windows job builds, tests and packages
  alkane-toolkit-vX.Y.Z-windows-x86_64.zip; the release job waits for it
  and attaches the zip next to the Linux tarball. next.yml does the same
  for -rc candidates, verify.yml runs the Windows gates on PRs.
- windows-native.yml (advisory, never gates a release) runs main's
  cross-built unit tests and UI self-test on real Windows 11 through the
  self-hosted VM runner (label alkane-windows).
- CI image: ci/images/alkane-ci.Dockerfile layers mingw-w64, Wine with a
  ready prefix, the rustup target and a prebuilt wxMSW prefix on the
  previously verified image; ci/images/build-image.sh pushes it and pins
  the digest. wx prefix/cache scripts take a linux|windows argument.
- CI checks the wx-rs patch queue; versioning treats the GUI build script,
  Windows resources and assets as release-relevant; the workflow contract
  test covers the Windows gates.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 18:32:55 -06:00
noahandClaude Opus 5.5 3f5e9917f2 Port the toolkit GUI to Windows (wxMSW, cross-built with mingw-w64)
Build: the wx-rs build script chose the platform with cfg!(), which in a
build script describes the build host, so a Linux-to-Windows build took the
GTK path. It now reads CARGO_CFG_TARGET_*, and Windows/GNU builds through
wx-config exactly like GTK, against a static wxMSW from
scripts/build-wx-windows.sh. The C++ runtime is linked statically, so the
.exe imports only Windows system DLLs. crates/alkane-gui/build.rs embeds an
application manifest (Common Controls v6, per-monitor DPI v2, UTF-8 code
page, Windows 10/11), the icon and version info.

Bridge on wxMSW (patches 0007/0008):
- the upstream frame's invisible "OSX key events" child sat above the UI on
  MSW and swallowed every click and key; it is no longer created there
- light/dark is chosen before the first window (wxMSW ignores it later) and
  follows the Windows app mode, with dark grid rules for the data view
- the generic wxDataViewCtrl gets mouse input in its inner main window, so
  drag-select and the per-cell / per-icon tooltips bind there (GTK keeps
  its native GtkTreeView paths; the icon hit-test is shared)
- sizes cross the Rust/C++ boundary in DIPs (identity on GTK), so columns,
  icons, KPI cards and the status bar scale at 125-200 %
- vector shapes go through GDI+ (anti-aliased like Cairo on GTK); selected
  rows use the themed list-view text colour like the native renderer
- the frame never opens larger than the monitor work area; title-bar icon
  from the executable; upstream menu insert no longer reads UTF-8 as UTF-16

App: OS differences live in alkane_core::platform (settings in
%APPDATA%\alkane-toolkit, owner-only secret files, NUL, console-less helper
processes). SSH password logins use SSH_ASKPASS with the toolkit itself as
the helper on every platform, replacing sshpass, which Windows lacks.
Release builds are GUI-subsystem; headless modes attach to the parent
console.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 18:32:44 -06:00
noahandClaude Opus 5.5 3ab329c5f0 Make the wx-rs patch queue reproducible and checkable
The queue had drifted from the patched tree it describes: 0003 predated
rounds 12-19 of bridge work, 0005 no longer applied on top of it, and the
Cargo.toml note and the case-duplicate readme.md were in no patch at all.
Vendor the pristine crates.io crate (sha256 pinned in VERSION) and add
scripts/wx_rs_patches.py: 'check' rebuilds the tree from upstream + patches
and requires an exact match, 'capture' records an edit as the next patch.
0002/0003 are regenerated to the current bridge files (0005's GTK tooltip
fix is folded into 0003); 0005 now carries the packaging leftovers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 18:32:30 -06:00
noahandClaude Opus 5.5 1ff14508cb Restore wxWidgets files the tarball's own .gitignores kept out of git
The vendored wxWidgets 3.3.3 tree was missing 44 files of the pinned release
tarball (pnglibconf.h, PCRE2's configure and libtool files, libtiff build/):
the tarball ships nested .gitignore files, so a plain git add dropped them.
Linux links the system libpng/pcre2 and never noticed; the builtin libraries
the Windows build uses need them. The tree now matches the tarball
(sha256 81b09d6d...) byte for byte; VERSION says how to re-vendor safely.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 18:32:14 -06:00
noah f302de1d03 Gate first-party Toolkit Rust formatting
build-test-release / release (push) Successful in 36m26s
2026-10-20 19:42:41 -06:00
noah 035896ab00 Install rustfmt before CI format gates
source / check (pull_request) Skipped
verify / verify (pull_request) Successful in 9m44s
2026-10-20 19:32:20 -06:00
noah 5af2818c24 Describe formatting in quality badge
source / check (pull_request) Skipped
verify / verify (pull_request) Failing after 48s
2026-10-20 19:30:25 -06:00
noah 05585dea29 Format first-party GUI and gate Rust style 2026-10-20 19:29:43 -06:00
noah fc20ce18b9 Clarify Toolkit quality badge scope
build-test-release / release (push) Canceled after 0s
2026-10-20 19:28:47 -06:00
noah e9f0d4abef Clarify Toolkit quality badge scope
source / check (pull_request) Skipped
verify / verify (pull_request) Successful in 11m59s
2026-10-20 19:11:50 -06:00
noah 3fbd29c595 Merge pull request 'Isolate trusted toolkit jobs from fast runner' (#10) from ci/isolate-fast-runner-main into main
build-test-release / release (push) Canceled after 0s
2026-10-20 18:58:53 -06:00
noah 81e9d19632 Isolate trusted toolkit jobs from fast runner
source / check (pull_request) Skipped
verify / verify (pull_request) Successful in 12m56s
2026-10-20 18:45:04 -06:00
noah d07fccd9b1 Merge pull request 'Clarify Toolkit control and flashing scope' (#8) from docs/readme-scope into main
build-test-release / release (push) Successful in 16m42s
2026-10-19 23:52:32 -06:00
noah b70decb5ad ci: close documentation-only verification block
source / check (pull_request) Skipped
verify / verify (pull_request) Successful in 9m32s
2026-10-19 23:42:07 -06:00
noah ac7575ba65 docs: clarify toolkit control and flash scope
source / check (pull_request) Skipped
verify / verify (pull_request) Failing after 45s
2026-10-19 23:38:44 -06:00
noah 3d0cc99936 Merge pull request 7: ci benchmark input context
build-test-release / release (push) Successful in 17m29s
2026-10-19 07:23:37 -06:00
noah 055a183e9b ci: mark benchmark deltas with unchanged build inputs
verify / verify (pull_request) Successful in 11m28s
2026-10-19 07:04:44 -06:00
noah 21e3c5fe85 Merge pull request 'ci: scope Toolkit workflow-only pull request checks' (#6) from ci/workflow-only-pr into main
build-test-release / release (push) Successful in 13m45s
2026-10-19 06:45:20 -06:00
noah ac4a8b389d ci: scope Toolkit workflow-only pull request checks
verify / verify (pull_request) Successful in 12m44s
2026-10-19 06:31:16 -06:00
noah 9367bacc91 Merge pull request 'ci: restore Toolkit main release to Alkane build pool' (#5) from ci/restore-main-release-pool into main
build-test-release / release (push) Successful in 17m18s
2026-10-19 06:30:16 -06:00
noah c98232b9fd ci: route full Toolkit main release to Alkane build pool
verify / verify (pull_request) Successful in 10m37s
2026-10-19 06:18:28 -06:00
noah efd5f85eb8 Merge pull request 'Use persistent Alkane cache for Toolkit main releases' (#4) from ci/static-main-release into main
build-test-release / release (push) Successful in 32m30s
2026-10-19 05:11:16 -06:00
noah 3da9df9f6b Run Toolkit main release on persistent Alkane verifier
verify / verify (pull_request) Successful in 10m32s
2026-10-19 04:13:38 -06:00
noah 4826f47893 Merge pull request 'Use bounded Rust cache in Toolkit main and next CI' (#3) from ci/cache-main-and-next into main
build-test-release / release (push) Successful in 15m59s
Use bounded Rust cache on Toolkit main and next
2026-10-19 00:04:50 -06:00
noah 3f4a2352c6 Bound Toolkit release compiler parallelism to measured memory
verify / verify (pull_request) Successful in 10m41s
2026-10-18 23:53:33 -06:00
noah c0a5a352d8 Use bounded Rust cache in Toolkit main and next CI
verify / verify (pull_request) Canceled after 1m23s
2026-10-18 23:51:54 -06:00
noah ca3d97696b Merge pull request 'Scope Toolkit PR checks and use prebuilt CI tools' (#2) from ci/docs-pr-fast-path into main
build-test-release / release (push) Canceled after 0s
Speed Toolkit CI with scoped PR checks and bounded compiler caching
2026-10-18 23:49:27 -06:00
noah cd8d40b50d Pilot bounded Rust compiler cache in Toolkit verification
verify / verify (pull_request) Successful in 10m5s
2026-10-18 23:01:58 -06:00
noah 87ba049fc6 Avoid duplicate source job for Toolkit main PRs
verify / verify (pull_request) Successful in 28m8s
2026-10-18 22:35:04 -06:00
noah 671b7beff5 Use prebuilt CI tools and skip redundant wx cache transfer
source / check (push) Canceled after 5m24s
verify / verify (pull_request) Canceled after 6m45s
2026-10-18 22:28:35 -06:00
noah 3c375ede5f Skip wx cache upload when image supplies the library 2026-10-18 22:15:27 -06:00
noah 950f920bb3 Reject symlinked wx prefix markers 2026-10-18 22:02:48 -06:00
noah 1de566427a Verify wx source provenance before reusing prefix 2026-10-18 21:56:00 -06:00
noah 7f07db567f Publish Toolkit benchmarks on Pages runner after main CI 2026-10-18 21:50:25 -06:00
noah d53665bce3 Include every Toolkit crate in unit coverage 2026-10-18 21:31:36 -06:00
noah 45e4e597bf Cover all Toolkit crates and pin CI image 2026-10-18 21:29:33 -06:00
noah 1cb8190e89 Scope headless crate PR checks to reverse dependencies
source / check (push) Successful in 53s
verify / verify (pull_request) Successful in 57m21s
2026-10-18 21:04:36 -06:00
noah 1dbb8d9902 Save wxWidgets cache before later quality checks 2026-10-18 21:04:35 -06:00
noah f2189371ed Key wxWidgets cache to available native packages 2026-10-18 21:04:33 -06:00
noah e42dd6152c Skip redundant Toolkit package setup on prepared runners 2026-10-18 21:04:32 -06:00
noah 06e92a5626 Skip heavyweight Toolkit checks for documentation-only PRs 2026-10-18 21:04:30 -06:00
noah e7bb7d13d0 Merge pull request 'Consolidate Toolkit CI setup and gate benchmark publication' (#1) from ci/release-setup-pages-order into main
build-test-release / release (push) Failing after 13m23s
2026-10-18 21:02:52 -06:00
noah 6331baa724 Key wxWidgets cache to source and toolchain inputs
source / check (push) Successful in 52s
verify / verify (pull_request) Successful in 46m29s
2026-10-18 20:15:24 -06:00
noah 6e7509518f Isolate Toolkit pull request verification from release queue
source / check (push) Successful in 50s
verify / verify (pull_request) Canceled after 2m13s
2026-10-18 20:13:17 -06:00
noah f7688ed29b Stop scheduled Toolkit benchmark republishing
source / check (push) Successful in 1m1s
verify / verify (pull_request) Canceled after 0s
2026-10-18 20:03:45 -06:00
noah 21ff301578 Separate fast Toolkit checks from full main verification
source / check (push) Successful in 38s
verify / verify (pull_request) Canceled after 0s
2026-10-18 20:01:37 -06:00
noah 4f715c2b0c Route short Toolkit checks to Alkane fast runner 2026-10-18 20:01:35 -06:00
noah 392a7b8d72 Use lightweight checks for Toolkit feature and next changes 2026-10-18 20:01:32 -06:00