is_process_group_alive() relied on kill(-pgid, 0), which also succeeds
when every remaining member is a zombie. A supervising ancestor that is
a child subreaper (a build system running tests) can hold those zombies
until it reaps them, so Child::terminate() timed out after SIGKILL even
though the group was dead. On Linux, scan /proc and require a non-zombie
member.
Regression test system_process_group_alive_ignores_unreaped_zombies.
Full vbs test suite passes (VoidTests).
option_default and option_default_checked assigned to out before reading
default_value; when the caller passed the same string for both, the view
dangled. Copy the default first. The reflective parse() path calls both
with aliased arguments.
Closes#62
StrictJson now preserves numbers that cannot be represented exactly as
int64 or double in a Number alternative holding the exact lexeme,
integrality, int64 fit and double range state. Grammar-valid numbers such
as 2^63, 1e309 and 1e-400 parse instead of failing, decimals such as
1.0000000000000001 no longer collapse to double 1.0, and serialization
round-trips the lexeme. Expose as_number/is_integral/is_finite_number and
keep allowDecimals for consumers that reject decimals.
Closes#60
MarkdownOptions::resolver rewrites a validated link/image destination
before it is escaped and emitted, once per destination in document order.
Unsafe schemes (javascript:, data:, ...) are still dropped and never reach
the resolver. A throwing resolver falls back to the original destination;
an overlong result is bounded by MarkdownLimits::max_output.
Closes#59
Add Void/Text/Markdown.hpp: a bounded CommonMark-subset parser with a safe
HTML renderer. Raw HTML is always escaped, link/image destinations are
allow-listed (http, https, mailto or relative), and unsafe schemes such as
javascript: and data: are dropped, including entity-smuggled variants.
Add html_escape to Void/Text/Html.hpp.
Closes#58
- Add TransactionState::Unknown: a failed COMMIT whose outcome cannot be
proven (WAL I/O error after the commit record may be durable) is never
reported as RolledBack.
- Keep the transaction Active when SQLite leaves it open after the error;
reject commit/rollback on an Unknown transaction with a clear error.
- Extend the fault guard with commit_applied_before_error to model a lost
commit acknowledgement, and cover Unknown, Active-retry and
rollback-journal RolledBack paths.