Skip to content

OnlyWorlds Unity SDK 0.45.0

Choose a tag to compare

@tmoosting tmoosting released this 20 Nov 10:39
· 176 commits to main since this release

A world laid out in three dimensions by its links, and the elements a saved layout map has no Pin for (schema-dist
serial 137); a co-builder reads the whole world, and the graph as a keeper, and a contributor its own hidden creations
(serials 138 and 140); a talk on an Object or a Construct and its design state are read from the room, the report and
the charter (serial 135); the schema pin moves through serials 134 to 141. A minor release because it adds public API
(below).

Added

  • OWLayout.LayoutByLinks3d, the by-links-3d layout (the default layouts page, serial 137): a whole world in
    three dimensions by its links. The largest part no single element's removal splits is cut into groups round its
    most linked elements, packed apart in directions read from the published table, and settled by 300 seeded force
    steps; what hangs off it fans out. The world's first Map (the one holding most of the graph's elements by a Pin, at
    least three) is a flat plate its pinned elements stand on, with a Map over a place on it as a small plate; a layout
    map is never the plate. Every other piece of linked elements is laid out on its own, and those with no pinned or
    held element stand on rings beside the main shape. held and heldUnit keep elements where an earlier answer put
    them; a refused call throws OWLayoutRefusedException with the page's code (held-not-object, held-not-point,
    held-unit, held-box). Points agree with the method's fixture to the last bit, and within 6e-8 where the page
    allows it (what hangs as an arm or a link, and the ring); all 116 of its cases pass.
  • OWLayout.UnplacedByKind, UnplacedAround and UnplacedByLinks3d (the default layouts page, unplaced): which
    elements a saved layout map has no Pin for, by id in code point order, from the graph and placed, the element ids
    of the Map's Pins. A member of placed that is not a non-empty string names no element. The layout fixture's 17
    cases and the by-links-3d fixture's 9 pass.
  • OWLensReader.CoBuilder and a contributor's own hidden creations (the lens page, serial 138): the hidden mark
    keeps an element from every reader but a keeper (the owner or a co-builder) and the one who made it. A new rung,
    OWLensRung.CoBuilder (last in the enum, so no earlier value moves), reads the whole world as the owner does, hidden
    elements included and bodies as stored, with none of the owner's two counts. OWLensReader.Contributor takes an
    optional whole, the hidden elements that contributor made: each is in its view and its body carries hidden: true.
    The lens readers, the graph, the charter's CharterOf and DesignPartsOf and the strand reader read both through
    the view.
  • OWRoom.TalksOf, the talks on an Object or a Construct a line is in (the room page, serial 135): each
    (type, id) a line in the room names in its objects (object) or constructs (construct), read from the line
    alone; an entry that is not a string or is empty once trimmed of White_Space names nothing, a field that is not a
    list names none, and every other entry is an id read as written. Empty for anything that is no line (a Message
    without the mark, a board entry, a report). OWRoom.LinePair and OWRoom.TalkFields name the pair and the two
    fields. Every case of the room fixture's talk_cases passes.
  • OWReport.TalksOf, the talks a report is shown with (the report page, serial 135): the same reading of a
    report's objects and constructs, empty for anything that is no report; it never says which talk, if any, the
    report closed. Every case of the report fixture's talk_cases passes.
  • OWCharter.DesignPartsOf, the design parts a reader reads (the charter page, serial 135): each Object or
    Construct the reader is served whole whose subtype, trimmed and folded, is in design or locked
    (OWCharter.DesignStates), only in a world where CharterOf finds a Charter for that reader, as OWDesignPart
    {type, id, state}. A known-of stub has no design state, and a reader the hidden mark keeps the Charter from reads
    none. Every case of the charter fixture's design_cases passes.

Changed

  • OWGraph.Read: a co-builder reads the graph as a keeper (the lens page, serial 140). The flags Hidden and
    Proposed, and the hidden and proposed counts in Cut and EdgesCut, are a keeper's (the owner or a
    co-builder), where they were the owner's alone, so a co-builder's unlensed graph is answered as the owner's is on
    the same inputs; not_visible and anchor_not_visible stay the owner's. OWGraphCut.OwnerOnly now holds those
    two, and the new OWGraphCut.KeeperOnly holds hidden and proposed. A refused flag's message says "a keeper's
    alone (the owner or a co-builder)". Every case of the lens fixture's graph kind passes.
  • The schema pin moves to v0.34.1-dist.141 (canonical 00.34.01 unchanged; only the charter and lens pages and
    their fixtures moved). Serial 141: the charter page says folded Domain names compare by code point, as written, never
    by UTF-16 unit, a collation or a locale, with nothing normalized, and a name is trimmed and folded as the room page
    defines both. The charter fixture gains ten Domain order cases (57 in all) and three design cases (19), the lens
    fixture four graph cases on a co-builder's lens anchors (66 graph cases, 256 in all); no answer on an existing case
    moved.
  • The schema pin moves to v0.34.1-dist.140 (canonical 00.34.01 unchanged; only the lens page and its fixture
    moved). Serial 140: in the graph, the flags hidden and proposed and the hidden and proposed counts are a
    keeper's (the owner or a co-builder), where they were the owner's alone, so a co-builder's unlensed graph is
    answered as the owner's is on the same inputs; not_visible and anchor_not_visible stay the owner's. The lens
    fixture gains six graph cases (252 in all); no answer on an existing case moved.
  • The schema pin moves to v0.34.1-dist.139 (canonical 00.34.01 unchanged; no schema file, schema.json or
    views.json moved). Serial 137: a third default layout, by-links-3d, with its own fixture, which this SDK now
    lays out (Added); a member of a layout map's placed that is no non-empty string names no element; map-space reads a
    whole-number width, height or depth as written (four new cases, three new layout_cases, each read as before).
    Serial 138: the hidden mark keeps an element from every reader but a keeper (the owner or a co-builder) and the one
    who made it; the lens fixture gains four cases, the report fixture three talk cases and the charter fixture three
    design cases. Serial 139: where a child Map lies on its parent, x_parent_frame, with the map-space fixture's
    frame_cases, which this SDK does not read yet. No answer on an existing case moved.
  • The schema pin moves to v0.34.1-dist.136 (canonical 00.34.01 unchanged; no schema file, schema.json or
    views.json moved). Serial 135: the room page names a talk on an Object or a Construct (a line in the room that
    names one in its objects or constructs), the report page shows a report with the talk on each Object or
    Construct it links, and the charter page gives an Object or a Construct a design state, in design or locked, in
    a world where charterOf finds a Charter for the reader; a Charter the hidden mark keeps from a reader is not that
    reader's. The room fixture gains talk_cases (13), the report fixture talk_cases (6) and the charter fixture
    design_cases (13); no existing case or answer moved. Serial 136: the packet page's fourth work-item state,
    standing, its optional x_packet_from (who asked) and its first fixture, packet.fixture.json; this SDK reads
    no work item's state, so nothing here moves with it.
  • The schema pin moves to v0.34.1-dist.134 (canonical 00.34.01 unchanged; no schema file, schema.json or
    views.json moved). The strand page says no reader trims a member: one of white space alone is a string that names
    no element, so its slot is empty, and the empty string in any of the three members, narrative too, is no mark.
    The strand fixture holds 42 cases on 39 worlds (thirteen more: members of white space, ids padded with a space, an
    empty or spaced narrative, an object member, a mark with no narrative and one whose narrative is not a
    string); the vendored copy in Tests/Editor/Fixtures/strand/ is the distribution's bytes, and every case passes
    with no change to OWStrand. The checks page's specimen is one world's own house rules, a specimen of the form
    and not a set to adopt (no rule or case moved), and the lens page says a lens is read for its reader, never for the
    Character whose draught it is read beside.