Skip to content

v0.2.2

Choose a tag to compare

@friedkiwi friedkiwi released this 04 Sep 12:48
· 459 commits to main since this release

geist 0.2.2

Pictures in books compiled by BookManager BUILD 1.3 now render, a URL a book
spells is no longer trusted just because the book spelled it, and a race in
mod_geist that could take a worker down is closed.

libgeist

  • The BUILD 1.3 artwork envelope (csart, ceart, csartdesc, cartdesc,
    ceartdesc) around a picture is read as what it is: BookMaster's
    :artwork and :artdesc. The AS/400 redbooks on SG24-4815-01's shelf
    wrap every picture in it, and every such figure declined, taking its topic
    to the verbatim route with the controls printed as text and no image
    shown. 42 of that book's 186 topics; now 2, both unrelated. The description
    lines become the image's alt text.
  • A URL a book carries is published live only when its scheme is one a
    reader can navigate (http, https, ftp, ftps, mailto) or it is
    relative. Anything else, javascript: included, keeps its affordance and
    is marked geist-link--unresolved, as a cross-book reference the renderer
    cannot spell already is. A consumer's resolve_external still has the
    first say. The scheme is read as a browser reads it, so whitespace and
    control bytes inside it do not hide one.
  • Every tool and the reader answer --version with their own version and
    the libgeist they are running against, and a test holds them to the same
    number. The 0.2.1 packages carried a library that still said 0.2.0.
  • A build with no CMAKE_BUILD_TYPE defaults to Release rather than to no
    optimisation at all, which was a 6x difference on a tree this templated.
  • Mapping a byte range onto a record's words is a lookup rather than a walk
    from word zero: 2-7% faster whole-book renders, output byte for byte the
    same.
  • The library builds without warnings. Two of them were real: the figure
    verifier did not know the description cell role the envelope above added,
    and a glossary emphasis switch did not name the WARNING styles.

mod_geist

  • The book's link map said "built" while it was still being built. Under a
    threaded MPM two first requests for a cold book raced, and the loser read
    a std::map the winner was still writing. The flag now goes up when the
    map is complete; the same shape in the reader is corrected for the case
    where a build throws part way.

Measured against the local corpus; the artwork change against ez30ad01 and
its four shelf-mates, the renderer change against every topic of the fixture.