Repository navigation
v0.2.7
Android is amongst us
Building
hive export <entrypoint.hive> --target android/arm64writes an installable app. The program is the same onehive buildwrites; what the handset needs to start it — a WebView host, a binary manifest, a resource table, an aligned archive and an APK Signature Scheme v2 signature over it — the build writes itself. No Android SDK and no network, the way the Windows resource object is written. The application id comes from the entrypoint, sochat.hiveishive.chat, and the signing key is made on first use at~/.hive/android.keyso a later build installs over an earlier one.android/arm64is the only Android target, being the only one Go links without a C cross-compiler; the other three are refused by name. A program that opens no window is refused too — an app with no window has nothing to show and no way to start.
Standard library
- A window is usable with a finger. Where the pointer is coarse, a button, a field and a checkbox stand at least 44px tall and a field's text is 16px — below which a phone zooms the page on focus and never zooms back. A dialog no longer runs wider than the screen it is on. No layout moves: a
rowis a row at every width, on every device. widthon arowor acolumnis held to the space there is, where awidth(460)box on a 360px screen made the whole page 460 wide and every window on a handset opened zoomed out. Acanvas, asceneand animagekeep the width they asked for, since one wider than the box showing it is whatscroll(Horizontal)is for.
Fixes
- An import of a library module this compiler does not carry is refused at the import, where it loaded nothing and said nothing: the standard library names no file, so
import hive.jsnocompiled and the error arrived later against every use of the alias instead of against the line that got it wrong. An import naming something inside a module is answered as that rather than as a mistake about names — no alias makesimport hive.ui.Viewright. hive.syslink.listenanswers with the port it bound, where a0asking the kernel to choose was handed straight back andnode()went on telling peers to dial:0. The host is untouched — which address a machine advertises stays the program's to answer, withhive.net.localAddress.- A declaration of your own is what a bare call answers with, where inference handed back the shadowed builtin's result type and every typed position was held to that instead.
- A declared
append,prepend,droporsortcalled as a statement is an ordinary call, where it lowered to the builtin's own statement and the Go toolchain refused what came out. hive.append(v, x)stands as a statement of its own while a binding of your own shadowsappend, where the long name was turned down for the short one's reason.asyncfires off a declaration named after a builtin, where it was turned down as the builtin.- A generic reached only from a
testis specialised for it, where no copy was made and the call was reported as a name nothing declared.
Documentation
hive analyzeis in the pageshive agentswrites, which until now documented every command but that one.
To bootstrap from this release, seed/pinned.txt becomes:
tag: v0.2.7
asset: hivec-linux-amd64
sha256: 6e86b924ac98c8d33b4be4ce9cd667d86b4ea8468ab6aa06be623daaeefb1ddc