Skip to content

v0.96.0

Latest

Choose a tag to compare

@github-actions github-actions released this 19 Nov 23:43
· 1084 commits to master since this release
v0.96.0
579feb8

[0.96.0] - 2026-11-19 20:51

Added

  • Paths in the draw record. Version 16 of the draw record has a Path kind: lines and quadratic curves from points in the text table, filled by the nonzero rule and stroked with butt ends and bevel joins, each pixel by the exact part of it that the shape covers, the same pixels in each damage rectangle. A line is now the stroke of a path: across or down it keeps its pixels, at an angle it has antialiased edges, as in the rings of rings and the folded gaps of inspect, and the kind Line and its word 10 leave the format. The window of rings draws an arrow on each ring from an outline. The exports of the drawing module are damage_of_draw_table_16 and execute_draw_table_in_rectangles_16.
  • A start policy from the disk. On a machine whose machine key the TPM seals with no passphrase, start_policy_choose(nickname, hash) in the console of principal 0 makes a module of the store module_files the start policy of the next start, and start_policy_default() ends the choice. At that start the root service reads the choice before any start policy runs, checks the hash of the file, and starts it with the start grant Start_Policy only; a file that is absent, has another hash or fails gives way to the rescue start policy. Each start policy, the default one and the rescue too, is measured into PCR 12 before it runs, and the log gives the value of PCR 12, so an attestation sees which one ran; the seal of the machine key still reads PCR 7 and PCR 11 only, so a new choice changes no unseal. A machine with a machine passphrase refuses the choice.
  • The films of the tutorial: modustool film desktop, film console and film program film the desktop, the console and the start of the module plasma, and each film now writes its film cues to build/films/<name>.cues: the time of each named state of the film, so that the captions of the tutorial appear when their state is on the screen.
  • A picture of the rescue start policy: the guide of the trusted boot and the gallery show the console of a machine started with the key R, with its table of the processes of the rescue list.
  • The pipe operator |> of the console: a |> f(b) is f(a, b), so processes() |> where(name = "server") |> columns("name slot") reads in the order in which its calls run. The operator adds no meaning: the line checks and runs as the same line with calls in calls. A fault of the operator (no value on its left, no call on its right, a command that takes no argument or has 12 already, a | alone) fails the line before any call runs. After |>, the completion list offers the commands whose first parameter takes the value on the left.
  • The window of monitor shows the last minute and colors its bars by intensity: three sample graphs over the grid of points of the desktop show the memory in use, the processor time of all the processes and the kernel entries in one second for the last 120 samples, and the memory bar and the processor bar of each process take the color of their intensity step: the color of what they measure, the warning color from 60 %, and the new color token near_limit from 85 %. The window is 520 × 640.
  • A field of a record states its kind, the second step of log facts: a record description takes a hexadecimal Integer (value_kinds.Hexadecimal_32 and the other sizes), a status of a contract enum (operation.Status, operation.Log_Level), a module name (value_kinds.Module_Name_Field) and a hash (value_kinds.Hash_Field, a field of the type Bytes), in the bytes of module.Field that were reserved, so the format version stays. The console and the palette draw a hexadecimal Integer as 0x and two digits for each byte, a status by the name of its member in the color of a status, a module name in the color of a module and a hash in hexadecimal in the color of a version; where, sort and join refuse a hash field. Each compile of a package of src/ now accepts the attribute log_fact of a fact type (-custom-attribute:log_fact).
  • A process writes a log fact: system.log_fact(.Info, Probe{...}) writes the values of a record type whose attribute log_fact holds its sentence, in one record of the log with no text; the module file holds the sentence and the record in its new table Facts (format version 3), the serial port gets the raw bytes of the fact, and the tool writes its sentence for the machine tests. The build refuses a fact type with padding, a handle, more than 144 bytes, a sentence that leaves a field out, or a key that the code does not hold, and Log refuses each wrong fact with its error record.
  • The remote display. The service remote_display sends the screen to a viewer on another machine over QUIC, as lossless screen pieces of the damage of the compositor, one viewer frame in flight, with no pointer in the pixels; a viewer allowed for the input sends keys and a pointer, which take the path of the keys. A principal allows a key with remote_display_allow(key, "view") or "view_and_input", remote_disallow ends the session at once, and the bar shows the mark viewer while a viewer is connected. A key sees the screen only while the session of its principal is in front: a key of principal 0 sees nothing while a named principal is unlocked. A key allowed for the view alone makes no call of remote. The test part remote_display uses the peer of the tool as the viewer and compares the screen that it rebuilds with a picture of QEMU.
  • The readers write the sentence of a log fact: the console, under a line, and the window of the log show each log fact as the sentence of its fact template, each value in the color of its kind, from the module file of the boot image that the fact names, and its raw form when the image has no such module. log.records(0) |> facts(log_reader.Fact_Probe) gives the fields of one fact type as the columns of a table; the console refuses, before any call, a fact name that no module of the image writes, and completes the fact names. A row of log.records gives its level and its record form as members of Log_Level and Log_Record_Form, and log.fact_records gives the 144 value bytes of each fact. The console, the window and the tool write a sentence with one procedure, module.fact_sentence_write; the tool now writes the unit of a size or a time. The window of the log has the grant image.
  • A machine test waits for a log fact by its fields: the step Fact names a fact type, a process and a condition on one field, as condition = "value = 42", and passes at the first line of that fact whose values pass the condition, whatever its sentence. Before a machine starts, the tool checks each such step against the fact tables of the build and stops with one line for each fault: no process, a fact type that no module writes, a field that the fact type lacks, an operator that the field does not take, a value of another kind or out of the range of its field. The condition has the form of the condition of where in the console, and the same package reads it. The main test reads the fact of log_reader this way, and with facts() in the console.

Changed

  • The tool in packages. The tool modustool is one command over eight packages, one folder each under tools/modustool: foundation, resources, build, checks, fuzz, similarity, machine and site. A developer reads one concern in one folder, and modustool check runs the host tests of each package in its own process. The commands and their arguments do not change.
  • The test machines show 1920 × 1080. The boot program asks the firmware for the mode of the reference screen, so the desktop, the screenshots and the pictures of the site gallery are 1920 × 1080 in place of 1024 × 768, at scale 1: the windows keep their sizes. The compositor flips between two screen pages of 8.3 MB in the 16 MiB of the standard VGA, and its budget grows by 2526 pages for its frame, its background and their page tables. A firmware with no mode of 1920 × 1080 gets the largest mode inside it, and the boot program writes one line with the mode that it keeps; a screen that the budget of the compositor cannot pay stops the compositor with one line, and the rest of the system runs. The measure of a full frame of the compositor has a new sentence that names the size, so its chart starts again at the reference screen. The scale factor from 1.25 to 2 is the next step.
  • The steps of the boot display in their order. The boot display lists the boot image before the kernel module, as the boot program checks them, and the boot program checks each file of the boot image before the kernel: a failure of the kernel shows the boot image as done, which it is.
  • A start policy in place of the fixed list of the root service. The root service now starts one process, the start policy, which reads the start list of the boot image in its order and says when the machine is usable; a start policy that stops before, or that says nothing within the hang bound, gives way to the rescue start policy, which starts the input, the compositor, the console and remote, so a failed console no longer stops the machine. The key R held at the start, or the boot entry "modus (rescue)" that the boot program writes in the boot menu of the firmware, starts the rescue at that start, and the build refuses a start list that names no module of its image.
  • A boot display at the scale of the screen. The boot display takes the largest scale among 1, 1.5, 2 and 4 whose panel fits the screen with a margin of 8 pixels, keeps its proportions and stands in the middle of the screen: 1.5 on the screen of 1920 × 1080, a panel of 1464 × 1062 in place of 976 × 708. Each scale is a size of Spleen, the font of the display, as the console of Linux takes a font by the resolution: 8x16, 12x24, 16x32 and 32x64, so each letter fills its cell. Each card, bar, gap, mark and text is drawn at that scale, each edge rounded once to the nearest pixel. The boot program, the root service and the process boot draw every text of the display in Spleen, the titles too, so they show the same pixels. modustool font makes the three new sizes from the files of Spleen, 70 656 bytes in the boot program and the root service. A screen that holds no larger scale keeps scale 1.
  • A clip stack in the draw record. Version 17 of the draw record has the kinds Clip_Push and Clip_Pop in place of the Clip that replaced the cut: a clip inside a clip keeps the outer one, at most 16 clips are open, and a clip is a rectangle of whole pixels. The drawing module refuses a table whose pushes and pops do not match with an error record before it draws, and a table that changes during the call still draws no pixel outside a clip that it pushed. The two lists of the interface package push the clip of their area, so a list never draws past it. The exports of the drawing module are damage_of_draw_table_17 and execute_draw_table_in_rectangles_17.
  • Spacing tokens in place of the grid of 8. A window goes where the principal drops it and takes the size that the principal drags, to the pixel, and a part of its title of 8 pixels stays on the screen. The spaces between the elements are the named spacing tokens gap 8, margin 16 and title 40, and a width that a text gives is that width: the columns of the start menu, the value buttons of the palette and the columns of a row are no longer rounded up to a multiple of 8.
  • Text at any size. A glyph that no glyph cache holds, such as a Greek letter or a box-drawing character, is now drawn by the process that shows it into its own private glyph cache, which the process takes from its budget at its first such glyph, with the pixels of today. A text that is wider than its box now breaks its lines between two whole characters only. The packages fallback_glyphs and text_shaping are now one package, text_rendering. A frame whose glyphs fill the cache still draws each glyph right, and writes text_rendering: the glyphs of one frame fill the private glyph cache once on the log.
  • The table of the processes starts its service: processes() works at once in each start policy, the rescue included, because the root service starts monitor at its first connection; start("monitor") is no longer needed first.
  • The kernel records why a process stopped: each stopped process has a stop cause that no other process can forge: itself, a holder of its process handle, the end of its last thread, the close of its last handle, a fault, a page that is not committed, a return that the processor refused, or a fault that no thread can answer. Process_State gives it as its second result, monitor.processes() shows it in its column cause, and the lines name it: "root: net stopped: a holder", "error: the process calendar stopped: a fault, page fault". The codes 0x100 to 0x500 of the kernel are gone. The demonstrations and the tests give their results through memory that they share with their parent, never in their stop.
  • What a process says about its work when it stops. A process that stops itself names its stop outcome: done, failed, refused or stopped on request, as in system.stop(.Done); the stop code is gone. The kernel refuses Process_Stop of the caller with no outcome, and of another process with one, with Bad_Operation and the record Bad_Value of the argument 2, so no holder can make a process look done. Process_State gives the outcome as its third result, monitor.processes() has the column outcome, and the lines read "root: settings stopped: itself, done" and "error: the process calendar stopped: refused". A process with no seed, no grant or a word of its context that names nothing stops with refused; the start policy starts no row again after done or refused. system.process_stop, system.process_stop_wait and system.process_place are new, and the tool refuses a conversion to a stop enum and a raw call of Process_Stop or Process_State outside their packages.
  • The measure of every character from its font file: a text is measured at any text size from the advances and the pairs of its font file, not from the tables of a glyph cache, with the same numbers at the sizes of the glyph caches; an advance is kept within one line and a pair within half a line at each size, in place of 64 pixels. The library module text_shaping becomes text_rendering: its exports shape_text, measure_texts and the new break_text take the font outlines as bytes, a face and a text size, and refuse a face that names no member and a size out of 256 to 16 384.
  • Every glyph drawn by its process. The boot image no longer holds the five glyph caches of Paper Mono and B612, more than 1.3 MB, nor their five fixed ranges: each process draws each glyph of its text from the font outlines into its private glyph cache, the setting grid_fit chooses a face of the cells, and each stated budget of a process that draws text holds 354 pages of glyph memory for each copy that draws. A text of the interface font at the scales 2 and 3 now stands at the nearest third of a pixel, not at a whole pixel.
  • where takes a condition on a field: where(t, block = 12), where(t, level = Warning), where(t, number >= 100), in place of where(t, "block", 12), which the console no longer takes. The field is a name of the record, checked before a row is read, and before any call in a line with |> when the console knows the record; a status takes the name of a member of its enum, with = and != only. The operators are =, !=, <, <=, > and >=. where, sort and join compare an unsigned field as unsigned, so where(key > 0) keeps a key of 2^63. In a line with |>, the completion offers the fields and the members.
  • A text size in the draw record. The draw record is version 18: a text record and a text grid carry a text size in 1/64 pixel, from 4 to 256 pixels, in place of one of three scales, and the border refuses a size out of that range, 0 too, with no clamp; the exports of the drawing module are damage_of_draw_table_18 and execute_draw_table_in_rectangles_18. A text of the interface font takes its bold weight at each size, and the pictures of the desktop do not change.
  • The elements at the text size tokens. The caption of a card is at 14 pixels on the baseline of its title, the one number of a card at 32 with its label as a caption under it, and each page of manual has its title as a heading at 24 over its rows, which stays when the rows move. The help line of the palette and the hash prefix after a nickname are captions too, and the result of the palette stays at 48. The interface package gives draw_caption, draw_heading and the fonts of the tokens, and each element takes the height of its lines at its size.

Removed

  • No demand cache and no font service: the shared demand cache, its fixed range and the process glyphs that drew it at each start are gone, with their 1 073 shared pages. Each process draws each glyph past the glyph caches itself, into its private glyph cache, with the same pixels; the compositor now writes on the log what each fallback chain lacks, and the terminal tells once for each font of its fallback chain that it drew a cell from it.
  • The log channel leaves, the first step of log facts: a log record no longer carries a name that its writer chooses to group it, and the text of a record has 168 bytes in place of 152. system.log takes the level as its first argument, system.log(.Warning, "storage: ..."), and system.log_in is gone; the operation Log is (log, address, length, level, runs), and its free last value lets it take a table of error details, as the other operations do. A line of a process on the serial port starts with [name], the rows of log.records have no field channel, the step Record of a machine test reads the process and the level, the console groups the records of a line by process, and the window log counts the records of each process.

Fixed

  • The tool checks itself as packages: a change of a package of the tool that the tool imports now builds each module again, a change of a source in any folder under the tool gives the fuzzing of modustool check another seed, git no longer ignores a folder named build below the root, and modustool check refuses a code span of a guide that names a file of the tool that does not exist.
  • A disk that stops to answer. A block request that the disk does not answer in 60 s fails, the block service stops with its line, and the storage service writes "storage: the disk does not answer" and refuses each call that needs the disk at once, so the console, settings and unlock get a refusal or Gone in place of a wait with no end.
  • A machine with no screen. A machine with no screen at its start no longer ends its start on a failure that nobody sees: the root service writes root: no screen: no console, no window; the other services start, starts no input service, no compositor and no console, gives no process a window, refuses a process that needs a terminal, and starts the other services of the boot. An unlock that needs a typed key writes one line and stops. A compositor that stops later gives one line, refuses the later terminals, and starts nothing.
  • A frame service that stops. The network service ends its wait when the frame service stops, writes one line and stops, and the root service writes one line and refuses each later process with an endpoint while the other processes start; a machine with no network device gets the same line and runs on.
  • No PS/2 controller. On a machine with no PS/2 controller the input service no longer reads its status port for ever on one processor: a status of all ones, or a drain that reaches 100 000 bytes, gives input: no PS/2 controller: no keyboard and no mouse and a stop with the code 1, and the desktop runs with no keyboard and no mouse.
  • An entropy read that never completes. A read of the entropy device has a deadline, the hang bound of the system, from its ask: past it, the reads in flight count as refused, the root service writes one line and stops the entropy service, and the seed keeps the sources of the processor, so the fresh bytes no longer stop in silence.
  • A readable stop of the boot program. When the boot program cannot go on, for memory, for the memory map of the firmware or for a kernel module that it cannot load, its message stays on the boot display with the watchdog of the firmware off, in place of a power off at once; with no screen it stays on the console of the firmware. The buffer of the memory map takes the size that the firmware asks with a margin of 8 descriptors, in place of 16 fixed pages, and a map whose reserved ranges pass the 1024 ranges of the boot record gives one line with their count and their pages, while each usable range is kept.
  • A start of the kernel without a part. A machine with no 8254 no longer hangs its first processor: the kernel takes the frequency of the cycle counter that CPUID states on a processor of Intel, or writes its line and stops with the code 1 when the processor states none. An IOMMU unit that does not finish its first invalidation leaves the machine with no IOMMU in place of a stop, a missing table of the APIC writes kernel: the firmware lists no APIC table: one processor, and a failed proof of xsaveopt makes the kernel save with fxsave. A serial port that takes no byte and an interrupt that the controller does not send no longer hang a processor: each wait has a bound, and the log counts what was dropped.
  • A module that states too many parameters is refused. The sentence of an error of such a module no longer stops its process: the description of its export is refused, as a damaged description.