Files
alkane-toolkit/thirdparty/wx-rs/patches
noah ac6bc20c68
verify / verify (pull_request) Skipped
source / check (pull_request) Failing after 20s
Merge branch 'feature/afw-os-bundle' into release-next-stage
2026-11-11 18:21:46 -06:00
..

wx-rs patch queue

../wx-rs-0.2.0-patched/ is the tree cargo builds. These patches, applied in order to the pristine crate in ../upstream/ (digest pinned in ../VERSION), must reproduce it byte for byte; CI checks this with scripts/wx_rs_patches.py check.

To change the bridge: edit the patched tree, build and test, then record the change as the next patch and commit both:

python3 scripts/wx_rs_patches.py capture short-name "One-line subject" [PATH ...]

capture limits the patch to the given paths (default: everything that differs) and re-runs the check. 0002 and 0003 create the widget bridge files outright, so they carry those files as of the queue's re-baselining; later changes go in new patches.

Patch What
0001 Linux/GTK3 build through wx-config
0002 Widget/event bridge, Rust side (src/widgets.rs)
0003 Widget/event bridge, C++ side (cpp_src/widgets_bridge.cpp)
0004 Upstream fixes for wx 3.3 (uninitialised callbacks)
0005 Packaging: build-only reqwest note; drop the case-duplicate readme.md
0006 Build: platform from the target, not the host; Windows/GNU via wx-config
0007 wxbridge.cpp on wxMSW: no input-swallowing overlay, appearance before the first window, work-area sizing, executable icon, UTF-8 menu fix
0008 Widget bridge on wxMSW: generic data-view input and tooltips, DIP boundary, anti-aliased shapes, themed selection colours
0009 macOS: wxOSX (universal static) through wx-config, logical sizes on Apple, clang compiler runtime for @available
0010 macOS table: native alternating rows instead of the unclipped custom-cell background fill (it hid neighbouring cells' text), theme-aware text colour, osx_native.mm, self-test window snapshot
0011 macOS self-test snapshot captures the window's frame view, so areas the app does not paint show the real window background instead of transparency

History: the round 19 health-tooltip fix (GTK tip area converted from bin-window to widget coordinates) used to be a separate patch on top of an older 0003; it is part of 0003 since the re-baselining.