Commit Graph
115 Commits
Author SHA1 Message Date
waoziandClaude Opus 5.5 685eb4e143 Build Windows again, for 64-bit Windows only
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]>
2026-09-30 01:54:51 -03:00
waoziandClaude Opus 5.5 e228b1acc8 Build Windows raylib and FreeBSD packages without Kryon's old make files
Kryon deleted its legacy make fragments on 09-24, and Inbe still relied on
two of them: the MinGW raylib rule, so Windows builds found no rule for
libraylib.a, and package-freebsd.mk, which also provided install, stage,
and uninstall. Inbe now builds Windows raylib like the native library and
keeps the FreeBSD packaging rules itself. The FreeBSD VM also installs
git, which fetching the pinned packages needs.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-29 22:15:49 -03:00
waoziandClaude Opus 5.5 53b70d16d5 Keep CI toolchain caches complete and readably keyed
Jobs that only fetch packages saved the toolchain cache first, before
any job had built the compiler, so later runs restored a cache without
it. They now restore it without saving. Cache keys use runner.os, since
ImageOS is empty inside composite actions.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-29 19:36:06 -03:00
waoziandClaude Opus 5.5 9a243a8019 Speed up CI: shard the tests, build the web app once, cache toolchains
- make test runs as three parallel shards (scripts/test-shard.sh), so
  the test job takes about a third as long.
- One job builds the web app, packages it for Chrome and Firefox, and
  runs the smoke test in both, instead of two jobs building it twice.
- Emscripten is pinned to the version CI already used (6.0.10) and
  cached, including the libraries it builds on first use.
- The built Ziran compiler is cached by the toolchain commit instead of
  the whole lock, so a Kryon bump no longer rebuilds it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-29 19:20:12 -03:00
waoziandClaude Opus 5.5 70bedd0473 Build the browser add-ons beside the tests and run their smoke test once
The Chrome and Firefox jobs waited for the whole test job before
starting, so a CI run took the two back to back. They now start with it.
The Chrome job also rebuilt the web app through make web-canvas and ran
the same canvas smoke test twice more.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-09-29 19:09:24 -03:00
waoziandClaude Sonnet 5.5 871ea723bb Cache the Ziran toolchain and package sources; run tests beside the secret scan
Every job rebuilt Ziran and re-cloned Kryon, curl, sqlite, and liboqs, about three
minutes each. A shared step now caches both by the hash of ziran.lock. In CI the
tests no longer wait for the secret scan, since CI publishes nothing.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-09-28 22:11:46 -03:00
waoziandClaude Sonnet 5.5 2797478457 Check build laws with Ziran instead of Bend
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]>
2026-09-28 19:23:19 -03:00
waoziandClaude Opus 5.5 94b3bd5f9d Fetch dependencies as Ziran packages instead of submodules
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]>
2026-09-27 16:44:19 -03:00
waozi f7eec1888c Retry transient Emscripten zlib port downloads 2026-09-21 12:02:40 -03:00
waozi 8e38e2a6f4 Keep release appcast tool with Inbe 2026-09-21 11:46:14 -03:00
waozi d1307b06f4 Release 2.0.4 with complete account and Lists sync 2026-09-21 09:59:08 -03:00
waozi 5efa30658b Keep Node available in web CI and site builds 2026-09-20 17:04:48 -03:00
waozi f03acd1d06 Pin CI sync server to device registration support 2026-09-20 16:27:17 -03:00
waozi 7c1c87ec7a Keep Node executable available in web release jobs 2026-09-20 11:00:56 -03:00
waozi d5fdb4ec28 Fetch Kryon for CI version checks 2026-09-20 10:03:56 -03:00
waozi f13ad7eae6 Prove sync retry policy with Bend and enforce build contracts 2026-09-19 12:18:05 -03:00
waozi 7a88e3df9e Move Inbe application logic to Kryon and refresh the app
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.
2026-09-19 11:58:09 -03:00
waozi b6fcfc21b7 Package meditation audio for website-only deployments 2026-09-19 11:31:13 -03:00
waozi 91a6e99df2 Allow website updates to reuse the published Inbe web app 2026-09-19 11:29:07 -03:00
waozi 80c754c053 Move Inbe entry point to Kry 2026-09-07 13:30:24 -03:00
waozi 9b8da214ea release: prepare 1.9.19 2026-09-04 20:59:16 -03:00
waozi 4bcc744c8d Move site deployment to Cloudflare Pages 2026-08-31 16:48:31 -03:00
waozi 0a267df3f6 Generate the Plan 9 build with k2c --plan9
The vendored Kryon compiler now emits 8c-safe C directly, so the
per-project rewriter script is gone: kry-c-plan9 runs k2c with --plan9
across the kryon, sqlite, and generated include dirs, writes the
generated file list, and builds the embedded asset table. The handful
of declarations the pass cannot type (member pointers and ternaries
over locals) now carry explicit types in the Kry sources, which reads
better anyway and keeps every platform's generated code identical.
2026-08-31 15:50:41 -03:00
waozi 13b7a95663 Make F-Droid Android release the default build 2026-08-30 02:39:58 -03:00
waozi b23e4fe58e Improve donation modal 2026-08-29 22:33:30 -03:00
waozi c11dcf401a Release 1.9.13 2026-08-29 12:16:00 -03:00
waozi 687f5af9c0 Deploy Netlify site to production directly 2026-08-25 18:57:11 -03:00
waozi cf87438af5 Fix Netlify release deploy ordering 2026-08-25 18:53:51 -03:00
waozi 94c47248cc Fix release runner package checks 2026-08-23 12:05:30 -03:00
waozi 09ec8a7938 Build arm64 Linux release assets 2026-08-23 09:30:52 -03:00
waozi 7805dae046 Update Chrome privacy disclosures 2026-08-22 17:29:56 -03:00
waozi 8bb5135cd7 Retry FreeBSD package dependency installs 2026-08-21 21:20:47 -03:00
waozi 2f66434a44 Merge remote master and release Inbe 1.9.7 2026-08-19 22:58:30 -03:00
waozi 13aacab312 Limit release appcast submodule checkout 2026-08-19 19:42:15 -03:00
waozi 72736b010f Fetch submodules for release appcast 2026-08-19 19:15:05 -03:00
waozi 97f303be23 Pin CI apt installs to Ubuntu archive 2026-08-19 18:37:24 -03:00
waozi 0928bd1012 Harden release workflow installs 2026-08-19 18:10:29 -03:00
waozi a763b582d7 Fix release appcast publishing 2026-08-19 17:40:07 -03:00
waozi 1a124cb444 Add web renderer comparison gate 2026-08-19 17:14:43 -03:00
waozi b51e7403c3 Speed up CI workflow checkouts 2026-08-19 16:22:01 -03:00
waozi 97cc83ab2f Speed up release workflow checkouts 2026-08-19 16:15:46 -03:00
waozi e3de8ec99d CI: gate on public-HTTPS submodule URLs
A guard job with a plain checkout fails the run when any .gitmodules
URL is not https:// — SSH URLs work only with a developer key and
break fresh clones and CI instead. The test job needs the guard.
2026-08-19 15:28:53 -03:00
waozi aa1dc4e451 Add Windows installer and winget publishing (1.9.5)
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).
2026-08-19 14:22:08 -03:00
waozi 169835e3af Bump kryon: Go bindings, arch-aware AppImage appcast key
The appcast appimage channel is now appimage-<dpkg arch> so multi-arch
publishers list one channel per arch and each machine resolves its own.
Also brings the kry_update_flow kryui bindings (not yet used by inbe).
2026-08-19 14:15:50 -03:00
waozi ae419fb8ae Ride the shared kry_update_flow for the desktop updater
app_update_check.c keeps only inbe's persistence (daily check stamp in
settings), locale strings, the toast, and the miniz zip extractor
handed to the flow as a callback; check/channel/download/verify/apply
now come from kryon's kry_update_flow so every kryon app embeds the
same lifecycle. The release workflow generates appcast.json through
kryon's scripts/make_appcast.py instead of inline python. Verified end
to end against a local appcast server: available -> staged+verified.
2026-08-19 14:03:28 -03:00
waozi 7077d5aaa4 Add desktop update notifications (1.9.5)
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.
2026-08-19 13:26:23 -03:00
waozi fed87680e0 Harden CI and Release workflows against apt stalls
Add timeout-minutes to every job and apt retry/timeout options
(Acquire::Retries, Acquire::http/https::Timeout) to all apt-get
update/install calls, so a stalled package download fails fast
instead of hanging until the 6-hour job limit cancels the run.
2026-08-18 15:57:02 -03:00
waozi b5f3bb9efb ci: fix OpenStore arm64 apt sources 2026-08-17 08:59:09 -03:00
waozi 32dff85145 release: repair 1.9.1 builds 2026-08-17 08:54:18 -03:00
waozi 3c0df6f264 ci: exactness via the armed pre-swap capture; kryon ffd53ee 2026-08-17 05:58:55 -03:00