summaryrefslogtreecommitdiffhomepage
path: root/Doxyfile
diff options
context:
space:
mode:
authorSean Kurtz <seankurtz75@gmail.com>2026-11-25 21:54:08 -0600
committerSean Kurtz <seankurtz75@gmail.com>2026-11-25 21:54:08 -0600
commit87c6a0f8f822c57b4f63bc8bb099a33307871414 (patch)
treebadd8a2f1485c15280cdf7c64a167b9ffd0e47c5 /Doxyfile
parentc980daddaa17460a65fe1ce7511b680279381dc1 (diff)
downloadzash-editor/one-editor.tar.gz
interactive: one editor, no libraryeditor/one-editor
libedit was a compile-time alternative (`make EDIT=libedit`). It goes: FreeBSD and NetBSD `sh` use it because it is in their base system, which is not the case on z/OS, and it cost about a third of a millisecond to reach the prompt -- three more shared libraries, `el_init()`, an `~/.editrc` read and a copy of the history -- for the same cost per key. What it bought was `~/.editrc` bindings and a kill ring; `bind` and the built-in editor's own bindings cover the keys, and a second editor meant a second build mode and a second set of interactive expectations, with seven tests skipping under it. Everything that existed only to serve two editors goes with it: the `EDIT` switch and the two `edit_$(EDIT)` paths in the makefile, the `$ZASH_EDITOR` variable the tests used to skip, the skip guards in `tests/linux/`, the NUL stripping in `ptydrive.py` that libedit's redraw needed, and the parallel paragraphs in README.md, DESIGN.md, bench/README.md and the two website pages. `bench/README.md` keeps the measurement, since that is why the decision is written in DESIGN.md. Checked on Linux (97 passed, 1 skipped, the one known local failure in linux/i-dscomplete) and on z/OS (64 passed, 3 skipped, 0 failed, plus the EBCDIC build).
Diffstat (limited to 'Doxyfile')
-rw-r--r--Doxyfile11
1 files changed, 5 insertions, 6 deletions
diff --git a/Doxyfile b/Doxyfile
index 963e7e8..f386259 100644
--- a/Doxyfile
+++ b/Doxyfile
@@ -22,10 +22,9 @@ GENERATE_TREEVIEW = YES
WARN_LOGFILE = docs/doxygen-warnings.txt
WARN_IF_UNDOCUMENTED = YES
WARN_NO_PARAMDOC = NO
-# Two files are alternative implementations of the same interface and
-# would be documented twice over: edit_libedit.c (the editor, when libedit
-# is used) and sys_posix.c (the platform layer on Linux). Their contract
-# is in interact.h and sys.h; the files documented here are the ones with
-# the explanations, edit_builtin.c and sys_zos.c.
-EXCLUDE = src/edit_libedit.c src/sys_posix.c
+# Two files are alternative implementations of one interface and would be
+# documented twice over: sys_posix.c (the platform layer on Linux) against
+# sys_zos.c. Their contract is in sys.h; the file documented here is the
+# one with the explanations.
+EXCLUDE = src/sys_posix.c
PREDEFINED = PRINTFLIKE(f,a)= NODISCARD= _Noreturn=