blob: 61e670d634b6fe49cf2411f3d09a5871936f126d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Changelog
## 0.0.1
- Version tracking: the compiled version is embedded from build.zig.zon and shown by Changelog.
- New builtins: Changelog, Newtty, and Joincol.
- Markdown tree-sitter highlighting, including nested fenced code blocks.
- `.patch` and `.diff` files are highlighted.
- Coloring dispatch keys off the buffer title.
- Opening a new file only splits into a new column when both panes would be at least 100 columns wide.
- Terminal ANSI colors render only in tty mode; normal mode is a plain editing
view, so an edit can never shift a shell row's colour.
- `New` and `Newcol` open an empty scratch buffer instead of a shell or a
temporary file. Its directory is inherited from the pane it was opened from.
- `Save` on a scratch asks for a path, prefilled with that inherited
directory, and the buffer becomes an ordinary file once written.
- `Save` on a terminal writes its plaintext scrollback to a prompted path and
leaves the pane a terminal.
- A dropped pane's memory outlives its frame, so a pane pointer taken during
that frame stays valid until the next one repairs it.
- The core owns the event loop. Each platform is now a `Host` of optional
function pointers; an unimplemented method falls back to an in-process
default, so a host with no methods at all is still a complete pardes.
- Ctrl-V and Ctrl-Shift-V paste in a tty pane: the default register and the
system clipboard, typed at the program the way a terminal emulator pastes
(bracketed under mode 2004). A paste arriving from the desktop reaches the
shell instead of an edit buffer the pty cannot see.
- The default filesystem is pardes's own source, embedded from an allowlist
(src/source_manifest.zig): what a host with no file method reads, and what
the browser has always read. It replaced a build-time generator that embedded
every tracked .zig file.
- `zig build run-isolated` builds and runs `pardes-isolate`: the same source
with one comptime option, whose host supplies only the terminal. The
filesystem is not disabled in it, it is absent — the libc paths compile away.
|