ci: fix freebsd build
Add editline support
Add meson option for readline
Move frontend_* -> frontend/*
42c50b20 — Jason Valencia 1 year, 8 months ago
Drop minimum meson version to 0.37.1

The minimum required meson version is 0.43.0, but no features are
actually being used that are incompatible with 0.37.1 (the latest
version shipped by Debian).
Remove context.{stdin,stdout}_fileno

These we too fragile, nesting wasn't properly supported.

Instead, we now use dup() to setup and restore stdin and stdout in pipelines.
Add support for IO redirections in builtins
builtin: implement `unset -f`
Fix state->args not set
Fix continuation lines in interactive mode
parser: add mrsh_parser_from_buffer

This allows the user to share a buffer with the parser. This is especially
useful when managing manually how input lines are read (e.g. for interactive
shells). Before each mrsh_parse_line call, the user can fill the shared buffer
with the (maybe incomplete) input.

Fixes https://github.com/emersion/mrsh/issues/59
Add frontend_ prefix to frontend files
ci: enable email on failure for FreeBSD
Do not use shm_open for command substitution

Use pipes instead. This has the drawback of blocking the shell while reading.

Fixes https://github.com/emersion/mrsh/issues/57
Stop using shm_open for here-documents

Use pipes instead.

See https://github.com/emersion/mrsh/issues/57
test: make function test easier to debug
ci: add email triggers on failure
ci: split build and test tasks
Fix basic frontend