Repository navigation
NativeBoat 0.1.0-alpha.6
Pre-release
Pre-release
·
133 commits
to main
since this release
- Fixes builds that failed with
error[E0502]: cannot borrow *realm as mutablein a generated crate, as MarkText's did with 0.1.0-alpha.5:
functions whose source text the program reads compile again. - Pages show
<iframe>documents: each frame runs its document's compiled
scripts in a realm of its own, painted and sized at the frame's box,
withcontentWindowandcontentDocumentfor same-origin frames,
postMessagebetween frames,loadevents,requestAnimationFrameand
document.open,writeandclose. Frames are 300 by 150 pixels with
an inset border unless styled. Thedocumentssetting names HTML files
that pages show in frames by URLs they build while they run. - Service workers: pages register them with
navigator.serviceWorker,
and a worker installs, activates, claims its pages and exchanges
messages with them. Itsfetchevent answers thefetch()calls,
images and linked style sheets of the pages it controls, and it has
clientsand in-memorycaches. Markup a page writes with
document.writeloads its images, style sheets and handlers. - Functions run in the realm that made them, so a frame calling its
page's listener sees the page's globals. - CSS container queries:
container-type,container-name, the
containershorthand and@containerrules with size conditions, also
for::beforeand::after. PerformanceObserverreports the page's marks and measures.net.isOnline()andnet.onlinereport whether Windows has a network
connection, andwindows-foreground-loveand@vscode/fs-copyfileare
supported native modules.- Paths through
app.asaror*.asar.unpackedread the folders those
archives were packed from, as packaged Electron applications expect. - The
forkssetting names modules a program starts withfork()by
paths it builds while it runs, and forked modules get files at those
paths, so programs that check a module exists before they fork it work. - The
scriptssetting names scripts that pages load by URLs they build
while they run, such as those of HTML the application generates, with
the source each compiles from. createRequire(import.meta.url)kept as a value, as esbuild's ESM
bundles keep it, requires modules by name when the application runs.- Packages around plugin packages that keep what they share, such as an
editor'sextensions/node_modules, get their dependencies installed.
Download nativeboat-0.1.0-alpha.6-windows-x64.zip, extract it and add the folder to your PATH; see the README. SHA256SUMS.txt holds the archive's checksum.