The Windows link failed on code that ELF links drop unused: MinGW's PE
linker reports undefined symbols even in dead functions. Ziran's file,
mapping, and curl modules now build for Windows (ziran 1a4bd23), and here:
- the CRT's _time64, _localtime64_s, and _gmtime64_s replace MinGW's
inline-only localtime_s and gmtime_s;
- the density lock needs SDL, which the Windows build does not use;
- the pthread-based Android mutex compiles only for Android;
- the dead whm_session.session and its stale C names are gone;
- the native host declines net_http's blocking Send, which inbe never
uses (native requests go through SendCurl);
- the link takes zlib from Ubuntu's MinGW zlib package.
The 32-bit build is dropped: Win32 APIs are stdcall there, and Ziran's C
output has no calling-convention support. The installer refuses 32-bit
Windows, and winget lists x64 only.
Tested under Wine: the screenshot scenes render, the data directory and
database are created, and the installer installs, runs, and uninstalls.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
- Kryon's library is built alone (libkryon.a), without its C++ and Go
backend checks, so snap and flatpak builds no longer need Go.
- The flatpak keeps its fetched packages in the build directory; each build
command runs in a fresh sandbox, so links into $HOME/.cache dangled.
- packages.sh builds the Ziran toolchain with GNU make, gmake on FreeBSD,
where make is BSD make.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
A snap or flatpak build starts from a copy of the tree without the host's
package links, which point into the host's cache anyway. Make checked the
build environment while first reading the Makefile, before it fetched the
packages, so it stopped on "libcurl >= 7.86.0 is required" by reading a
curl header that was not there yet. The checks now wait for the fetch. The
snap installs git for the fetch; the flatpak leaves the host build tree out
and may use the network while building.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Sync retry and the private-data layout are ordinary Ziran modules with
#law obligations checked by ziran check. The Bend proofs, Node generators,
pinned Bend dependency and Node build tool are removed, and a mutation test
shows each law rejects a deliberately broken implementation.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
ziran.toml and ziran.lock pin the Ziran toolchain, Kryon, Game2D, the Daochi
client, and the C libraries (as source packages) at the commits the vendor
submodules used. scripts/packages.sh bootstraps the locked toolchain, runs
ziran fetch, and links each checkout under build/packages/; make, Gradle, and
CI run it before building. make package-check replaces no-vendor-edits.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Author the remaining app UI, platform hosts, and storage helpers in .kry,
generate Kryon's src/ui modules and headers in the Inbe build, and follow the
migrated Kryon surface (generated props ABI and Button ImageProps). Move the
Plan 9 app loop and music fallback, Android lifecycle/share titles, desktop
tray, screenshots, and style tokens to their .kry owners, and delete the C
owners they replace.
Stop background execution whenever no visible indicator is present: the
desktop tray, Chrome worker, and Android foreground service now confirm their
indicator before continuing. Report gates: make native, no-vendor-edits,
clean-text-api-check, button-api-check, version-test, proof-test, and
sync-recovery-test pass.
vendor/kryon moves to 8f1a8608.
Move product behavior, app types, storage, audio, and tray logic into .kry modules. Use shared Kryon widgets, layout policies, asset-backed images, and app KSS styling with a smaller native boundary.
Include the pending navigation, sync recovery, localization, launcher icon, design asset, and 2.0.0 release metadata updates. Add version consistency checks and improve browser persistence and interaction validation.
make windows-setup builds an NSIS installer (both portable exes,
shortcuts, ARP entries, silent /S installs) beside the zip; verified
by running a silent install under wine. The release workflow builds
and ships it, and a gated publish-winget job keeps the winget manifest
current on each release (needs the WINGET_TOKEN secret; the one-time
new-package submission uses the template in packaging/winget).
The app checks the release appcast once a day on desktop and surfaces a
new version with a toast plus a download link in Settings -> About.
AppImage and Windows users get the direct artifact URL; deb/rpm, Snap
and Flatpak installs are left to the system updater. The release
workflow now publishes appcast.json (version, notes, per-channel URL,
SHA-256, size) alongside the release artifacts, and the vendor kryon
pointer brings in the new kry_update module. INBE_UPDATE_APPCAST_OVERRIDE
overrides the URL for testing.
The packaging icon was a 256px image, but the desktop install suite (make install / install-user, deb, AppImage) stages it into icons/hicolor/512x512. Replace it with the canonical 512px artwork so installed menu icons match their hicolor size slot.
Root-cause fix for accented characters rendering in a broken fallback
font in text fields (kryon dynamic font loading), plus the Android build
fix for the kryon vendor bump.