Commit Graph
100 Commits
Author SHA1 Message Date
faumaray f98204935e Build: first-class VoidBuildSystem description for all modules
Add build.cpp declaring every Void module with its internal dependency
closure, external dependencies detected from the environment or
conventional prefixes, optional backends (OpenSSL/LibArchive/Lua), the
Void::Testing suites, helper executables and plugin fixtures, plus install
rules for libraries and headers. Track build.cpp/build.profiles.cpp past
the build* ignore rule.

Verified with vbs on GCC 16: all 57 modules build; the test binary
discovers 1,949 cases (1,924 pass, 23 skip) with two subreaper-related
process-group tests failing only under vbs test supervision; install
produces a 332-file relocatable prefix and an installer archive.

Refs #61
2026-12-05 10:03:28 +03:00
faumaray 9a3fc5e217 Configuration: fix option_default use-after-free when default aliases out
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
2026-12-05 08:40:05 +03:00
faumaray 9cb86f8f97 Data: keep exact JSON number lexemes and accept out-of-range numbers
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
2026-12-05 03:24:04 +03:00
faumaray e6745ac8cb Text: add Markdown link/image destination resolver hook
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
2026-12-04 21:48:20 +03:00
faumaray 549c7cfccb Text: bounded CommonMark-subset Markdown parser and safe HTML renderer
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
2026-12-04 13:29:25 +03:00
faumaray 1f98938061 DistributedApplications: multi-process acceptance with durable voter agents, kill/restart histories and acknowledged-write checks 2026-12-04 10:51:46 +03:00
faumaray b9dc055baa docs: record Applications-stack workload baseline 2026-12-04 10:48:30 +03:00
faumaray b70306fb3a DistributedApplications: workload baseline for replicated KV, queue and HTTP fixture with percentiles and confidence intervals (PERFORMANCE.md) 2026-12-04 10:48:26 +03:00
faumaray d5a2c9e718 docs: record Applications-stack example ASan/UBSan/TSan verification 2026-12-04 10:46:50 +03:00
faumaray 91e7a90213 DistributedApplications: queue workflow over the three-listener fixture with crash/partition histories (P-DISTRIBUTED-05 integration) 2026-12-04 10:44:34 +03:00
faumaray 57ebf3130b NetworkedApplications: Discovery-backed service directory with partition policy and optional registration (P-NETWORKED-08) 2026-12-04 10:42:44 +03:00
faumaray 504f259d02 DistributedApplications: range movement with freeze/verify/crash recovery and replicated directory persistence (P-DISTRIBUTED-07) 2026-12-04 10:40:09 +03:00
faumaray cdc55a594e DistributedApplications: backup/restore with identity retention, overlapping trust rotation and mixed-version rollout gates (P-DISTRIBUTED-06) 2026-12-04 10:38:10 +03:00
faumaray b386140899 DistributedApplications: replicated worker queue with inbox/outbox dedup, at-least-once retry, DLQ and consumer recovery (P-DISTRIBUTED-05) 2026-12-04 10:37:05 +03:00
faumaray 23a899a892 DistributedApplications: three-node networked KV fixture with quorum reads, durable replies and crash histories (P-DISTRIBUTED-04) 2026-12-04 10:34:33 +03:00
faumaray cfa860f944 DistributedApplications: deterministic replicated KV core with quorum commits, quorum reads and crash/partition histories (P-DISTRIBUTED-04 foundation) 2026-12-04 10:32:28 +03:00
faumaray 9ba4738415 ReloadableApplications: supervised out-of-process provider with bounded restart policy and explicit unknown effects (P-RELOADABLE-06) 2026-12-04 10:30:15 +03:00
faumaray aad91c7d01 NetworkedApplications: durable-job reference composition over Messaging with Scheduler-driven maintenance (P-NETWORKED-07) 2026-12-04 10:28:06 +03:00
faumaray 21b1c8422d NetworkedApplications: protocol/overload matrix with bounded timeouts and header limits (P-NETWORKED-06) 2026-12-04 10:26:09 +03:00
faumaray 2da3971760 ReloadableApplications: retained-resource ledger and failure-injection matrix; reject publish after failed drain (P-RELOADABLE-05) 2026-12-04 10:24:12 +03:00
faumaray 2489098478 DistributedApplications: single-node reference composition with authenticated peer fixture (P-DISTRIBUTED-03) 2026-12-04 10:21:43 +03:00
faumaray 1fec965c68 DistributedApplications: host graph composition with dependency-ordered lifecycle and readiness (P-DISTRIBUTED-02) 2026-12-04 10:19:19 +03:00
faumaray 0f1cf89cfc NetworkedApplications: auth-scoped operation outcome lookup endpoint (P-NETWORKED-03) 2026-12-04 10:17:19 +03:00
faumaray 50595bdabc ReloadableApplications: durable activation journal, crash recovery and read-only health window (P-RELOADABLE-04) 2026-12-04 10:15:38 +03:00
faumaray 03542d0d2f NetworkedApplications: live config generations and durable backup/restore (P-NETWORKED-05) 2026-12-04 10:13:31 +03:00
faumaray 3010b8a913 Text: add ICU-style message formatting, plural rules and catalog (#56) 2026-12-04 10:04:14 +03:00
faumaray 55a1399e01 Net: expose peer/client addresses and trusted-proxy policy on ServerRequest (#57) 2026-12-04 10:04:14 +03:00
faumaray b3c1246291 Log: color console output by default (NO_COLOR opt-out) 2026-12-04 08:20:14 +03:00
faumaray 3ce62c9cbd tests: cover colored Argparse help and NO_COLOR opt-out 2026-12-04 08:06:21 +03:00
faumaray 5e70ad2bc4 Argparse: colored help output by default (NO_COLOR aware) 2026-12-04 08:01:19 +03:00
faumaray b8e6e924a8 Merge issue-54-gzip: streaming gzip/deflate codec (closes #54) 2026-12-04 07:37:10 +03:00
faumaray ed4beba6e0 Text: streaming gzip/deflate inflate and stored-block deflate (closes #54) 2026-12-04 07:36:18 +03:00
faumaray 4a820748dd Net: pinned resolver callback and cancellation for HttpClient::send (closes #55) 2026-12-04 06:10:43 +03:00
faumaray 5c5fe96f11 Argparse: implement value_name/alias/hide accessors 2026-12-04 05:55:16 +03:00
faumaray 17a23bf88a Text: add checked patch apply and unified rendering (M-TEXT-06) 2026-12-04 05:38:16 +03:00
faumaray 48e5e223af Testing: add bounded fault-file plan port (M-TESTING-06) 2026-12-04 02:21:23 +03:00
faumaray 4b2bc8b25f Observability: bounded tail sampling with explicit eviction (S-OBSERVABILITY-06) 2026-12-04 02:14:32 +03:00
faumaray cc41e5b1d9 Observability: W3C traceparent/tracestate/baggage propagation (S-OBSERVABILITY-05) 2026-12-04 02:09:21 +03:00
faumaray 404bf4ce2f Testing: add subprocess resource limits (M-TESTING-05) 2026-12-04 02:03:24 +03:00
faumaray 80e6ed9afc Testing: add bounded corpus runner (M-TESTING-05) 2026-12-04 01:56:34 +03:00
faumaray d338305cc7 Testing: add composable property generators with shrinking (M-TESTING-04) 2026-12-04 01:52:27 +03:00
faumaray e40e2ca715 Argparse: add value_name, alias and hide customization 2026-12-04 01:40:25 +03:00
faumaray 3990c77155 Testing: add --shard i/n for CI splits 2026-12-04 01:29:53 +03:00
faumaray 546628c5b9 Argparse: derive optional and repeated numeric/enum fields 2026-12-04 01:24:18 +03:00
faumaray 4c0ebc76be Testing: add --fail-fast for sequential runs 2026-12-04 01:15:29 +03:00
faumaray 28e253b49c Argparse: derive enum option fields with possible values 2026-12-04 01:08:30 +03:00
faumaray 520849f82e Argparse: derive numeric option fields (int, unsigned, double) with strict validation 2026-12-04 01:02:06 +03:00
faumaray 1bd729147f Merge relapp-checkpoint: versioned checkpoint migration 2026-12-04 00:51:30 +03:00
faumaray 41e8c9c6ab ReloadableApplications: versioned checkpoint migration 2026-12-04 00:51:26 +03:00
faumaray b20425ded9 Merge cli-rich: Testing parallel auto and richer reporter 2026-12-04 00:48:13 +03:00
faumaray 7f861fa78f Testing: parallel auto mode, aligned timings and slowest/failure summaries 2026-12-04 00:48:10 +03:00
faumaray 96c5ddcb0c Merge cli-rich: richer Clap-like Argparse 2026-12-04 00:44:14 +03:00
faumaray af8757080f Argparse: richer Clap-like CLI (version, counts, checked values, required/conflicts/env, combined shorts, typo hints, aligned help) 2026-12-04 00:44:10 +03:00
faumaray d73a34d622 Merge issue-53-hasher: Hasher state export/import (closes #53) 2026-12-04 00:27:30 +03:00
faumaray 7d6834979e Crypto: Hasher state export/import for the built-in backend (closes #53) 2026-12-04 00:27:26 +03:00
faumaray 06e5bd5693 Merge issue-53-fileport: FilePort no-replace rename, hard link and free space (refs #53) 2026-12-04 00:19:24 +03:00
faumaray 217b20e37a Storage: add no-replace rename, hard link and free-space query to FilePort (refs #53) 2026-12-04 00:19:21 +03:00
faumaray ac30650266 Merge relapp-control: authenticated control endpoint 2026-12-03 23:53:33 +03:00
faumaray 30ba0159ee ReloadableApplications: authenticated bounded control endpoint 2026-12-03 23:53:31 +03:00
faumaray 92b30d2b14 Merge netapp-storage-wiring: durable SQLite profile selection 2026-12-03 20:49:05 +03:00
faumaray e6aec57ad8 NetworkedApplications: select the durable SQLite profile via storage_path 2026-12-03 20:48:21 +03:00
faumaray 686f73ec9d Merge relapp-releases: pinned release generations 2026-12-03 20:44:25 +03:00
faumaray 0f2cab97d5 ReloadableApplications: pinned release generations 2026-12-03 20:44:22 +03:00
faumaray 51bae9bfdf Merge netapp-kv-sqlite: SQLite-backed KV profile 2026-12-03 20:42:12 +03:00
faumaray c21dbf5c93 NetworkedApplications: SQLite-backed KV profile 2026-12-03 20:41:19 +03:00
faumaray 61582ea461 Merge netapp-admin-listener: separate administrative listener 2026-12-03 20:35:22 +03:00
faumaray c6d4a44394 NetworkedApplications: separate administrative listener 2026-12-03 20:35:19 +03:00
faumaray 6b9ccc5e9a Merge relapp-core: reload transaction and quiescence core 2026-12-03 20:32:20 +03:00
faumaray f9eeb34369 ReloadableApplications: reload transaction and quiescence core 2026-12-03 20:32:17 +03:00
faumaray 1f137f101d Merge netapp-kv-listener: Net HTTP listener wiring (NetworkedApplications) 2026-12-03 20:29:12 +03:00
faumaray 183b8033fd NetworkedApplications: serve KvApi behind a real Net HTTP listener 2026-12-03 20:29:09 +03:00
faumaray fd763e4feb Merge netapp-kv-http: HTTP application layer (NetworkedApplications) 2026-12-03 20:24:08 +03:00
faumaray 11fea2566a NetworkedApplications: HTTP application layer with auth and admin views 2026-12-03 20:23:22 +03:00
faumaray 0ef4e3b9ac Merge netapp-kv-domain: versioned KV domain (NetworkedApplications) 2026-12-03 20:19:27 +03:00
faumaray 3253b8b4d4 NetworkedApplications: versioned KV domain with idempotent outcomes 2026-12-03 20:19:25 +03:00
faumaray a2a0e1a4c3 Merge netapp-kv-manual: NetworkedApplications composition skeleton 2026-12-03 20:16:08 +03:00
faumaray 808b6d73df NetworkedApplications: networked-kv composition skeleton 2026-12-03 20:16:05 +03:00
faumaray a4c0bee501 Merge s-rpc-05-host: host adapter boundary (S-RPC-05) 2026-12-03 20:10:13 +03:00
faumaray c6c0303ef8 RPC: host adapter boundary for embedded and managed modes (S-RPC-05) 2026-12-03 20:10:11 +03:00
faumaray 1f92dd054e Merge s-rpc-05-version: Wire version negotiation and migration (S-RPC-05) 2026-12-03 20:03:20 +03:00
faumaray 9ab482dc5d RPC: Wire version negotiation and envelope migration (S-RPC-05) 2026-12-03 20:03:18 +03:00
faumaray 2c026ea30c Merge s-rpc-05-observations: bounded RPC observation sink (S-RPC-05) 2026-12-03 19:58:22 +03:00
faumaray dec48426ae RPC: bounded observation sink for hosts (S-RPC-05) 2026-12-03 19:58:20 +03:00
faumaray 3f71bfdd4a docs: mark VL-SQLITE-01/02/03/04 and VL-SEC-01 verified 2026-12-03 19:54:11 +03:00
faumaray a26ba70e48 Merge s-rpc-04: bounded RPC streaming (S-RPC-04) 2026-12-03 19:51:10 +03:00
faumaray 310fea8d7b RPC: bounded streaming with credit, half-close and cancellation (S-RPC-04) 2026-12-03 19:50:29 +03:00
faumaray 2532485b38 Merge vl-sqlite-03-manual: per-connection fault guard (VL-SQLITE-03) 2026-12-03 18:34:21 +03:00
faumaray 3b1ef4b028 Sqlite: per-connection phase-targetable fault guard (VL-SQLITE-03) 2026-12-03 18:34:19 +03:00
faumaray 103523f04a Merge vl-sqlite-02: unknown commit outcome after WAL I/O error (VL-SQLITE-02) 2026-12-03 18:25:05 +03:00
faumaray a1308a41f8 Merge vl-sqlite-04-manual: scoped busy-timeout override (VL-SQLITE-04) 2026-12-03 18:22:28 +03:00
faumaray 7e5cf7379a Sqlite: add a scoped per-call busy-timeout override (VL-SQLITE-04) 2026-12-03 18:22:26 +03:00
faumaray 7eaa96f9da Sqlite: report unknown commit outcome after WAL I/O error (VL-SQLITE-02)
- 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.
2026-12-03 18:17:17 +03:00
faumaray 797ea630a1 Merge vl-sqlite-01-manual: structural SQLite result codes (VL-SQLITE-01) 2026-12-03 18:15:30 +03:00
faumaray 0e8ee1848d Sqlite: expose native primary/extended result codes structurally (VL-SQLITE-01) 2026-12-03 18:15:26 +03:00
faumaray a29c9475f2 Merge vl-sec-01-manual: public CSPRNG bytes API (VL-SEC-01) 2026-12-03 18:10:21 +03:00
faumaray 54d143be93 Security: add a public CSPRNG bytes API (VL-SEC-01) 2026-12-03 18:10:18 +03:00
faumaray 0002e74a7d Merge issue-38-targets: Windows select backend foundation and Alpine/musl test qualification 2026-12-03 17:59:21 +03:00
faumaray 0751a4155b Merge issue-52-ed25519-manual: built-in Ed25519 backend (closes #52) 2026-12-03 17:58:18 +03:00
faumaray 86cb94c844 Crypto: add a built-in Ed25519 backend (closes #52) 2026-12-03 17:58:13 +03:00
faumaray f8c62c9851 Build: qualify Alpine/musl test suite (refs #38) 2026-12-03 17:51:20 +03:00