- Allowlist Configuration, Crypto and System for the Windows target.
- System: link winmm for the Win32 audio backend; include windows.h before
mmsystem.h.
- Tests: add a whole-file // @requires-posix gate (CMake path and the VBS
build.cpp) and mark the POSIX-only System suites; skip helper-based cases
on Windows; make setenv/unsetenv and getpid portable.
- The POSIX process helper is no longer built on Windows.
Cross-built with x86_64-w64-mingw32 GCC 16.2: all modules and VoidTests.exe
link. Linux System+Testing suite still passes (477 tests, 474 passed).
Refs #65
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.