summaryrefslogtreecommitdiff
path: root/src/CHANGELOG.md
diff options
context:
space:
mode:
Diffstat (limited to 'src/CHANGELOG.md')
-rw-r--r--src/CHANGELOG.md44
1 files changed, 42 insertions, 2 deletions
diff --git a/src/CHANGELOG.md b/src/CHANGELOG.md
index e398b43f..2f5d00f0 100644
--- a/src/CHANGELOG.md
+++ b/src/CHANGELOG.md
@@ -9,6 +9,36 @@
(docs/next-terminal.md). Editing a terminal's text is the core's, on a
copy of its rows, as before; nothing a session does changes.
+- A diff paged (`git show | pardes -`) is a plumbing message, as acme's
+ `plumb -i` sends what it shows: `type text/x-diff` to `edit`, which a
+ default rule makes `showdiff`, its +Pager stacked in a +Diff as before.
+ Take the rule out and the +Pager stays as text; a program reading
+ `plumb/edit` sees the diff. The `edit` port shows any message's data
+ with `action=showdata` (stacked with `showdiff`).
+
+- A port the plumbing rules name is a file a program reads,
+ `plumb/<port>`, as Plan 9's plumber serves one: every open reads its
+ own copy of what is sent there from then on (`cat plumb/edit` sees each
+ file a look opens), a read held until a message comes. A message to a
+ port no one reads runs its rule set's `start`, or with `plumb client`
+ waits for the port's first reader.
+
+- A look asks the plumber first, as acme's does: once the pane's own
+ readings are done and a name already open in a pane is focused, what
+ is looked at is sent (`type text`, `src pardes`, `wdir` the pane's
+ directory), and only what no rule set takes is Look's own. The default
+ rules keep every look as it was: the browser for a URL, a bare `.diff`
+ or `.patch` stacked in a +Diff, `git show` of a commit hash in a git
+ work tree are now rules of `src/plumbing`, no longer written into
+ Look. `Diff` takes a file or a revision (`Diff fix.patch`, `Diff
+ 3f2a9c1`), and a rule's Diff that cannot declines, so the look goes
+ on. `Plumb` opens your plumbing file (`<config>/plumbing`, `include
+ basic` until you save one), read at start and applied when saved; the
+ one-line `Plumb suffix .svg to image` rules are gone, refused in words
+ (write a rule set: `data matches '.*\.svg'`, `arg isfile $data`,
+ `plumb to image`). A program a rule starts runs detached, as Plan 9's
+ plumber starts one, with no pane; a failure to start it is said.
+
- A search with a class whose range ends at `\xff` (`[\x80-\xff]`, in an
address, `s`, a plumbing rule) no longer takes the editor down: mvzr
counted the range past a byte's end.
@@ -21,8 +51,7 @@
(`edit`, `web`, a loaded kind) or to a word or command started, with
Plan 9's words when it cannot. A session starts with `include basic`,
pardes's rules (`src/plumbing`). Kept in a dump. `$1`-`$9` are refused,
- the regular expressions having no submatches. A look does not ask it
- yet.
+ the regular expressions having no submatches.
- A query pane's row looked at on its address (its gutter) opens the
row's place however the look arrives, as a click there always did: an
@@ -48,6 +77,17 @@
A column resizes by its box, left of its tag; a pane by its own box,
or in a window by the rule above it.
+- An edit to the core recompiles it about 2 s sooner again (`core-test`,
+ 16 % fewer of the compiler's instructions, 4.4 MB less code in a Debug
+ test): a load's note on a field (another build's dump) is written from
+ the type's and the field's names at run time, where every type and
+ field had its own copy of the code that writes one; one byte dump's
+ reader serves a session, a pane and the rest, where each had its own;
+ and what tells a replica's build from another's (`wire.semantics`)
+ joins its two long parts on, and the tape's shape writes its numbers
+ itself and copies each line it builds once, where it formatted them
+ and copied the line again for each piece, at every compile.
+
- An edit to the core recompiles it about 3 s sooner (`core-test`, 13 s to
10 s): the build keeps each grammar's highlight patterns that pardes
colours once, where every compile of every program that takes the core