Commit Graph
99 Commits
Author SHA1 Message Date
faumaray 4d48f2a8f2 feat(Memory): add Memory subsystem with BudgetResource, Arena, and BlockPool (S-MEMORY-02..04) 2026-11-24 02:49:28 +03:00
faumaray 4227348051 feat(Time): add MonotonicClock/CivilClock/ManualClock and bounded Stopwatch (M-TIME-02) 2026-11-24 02:46:25 +03:00
faumaray 7f3395cb74 feat(Functional): add compact Status, ErrorKind/ErrorCode, bounded chains, and Adapters (M-FUNCTIONAL-02) 2026-11-24 02:45:17 +03:00
faumaray 284d9635b5 fix(Testing): prevent VoidTestScanner from dropping tests after unbalanced brackets 2026-11-24 02:44:47 +03:00
faumaray cbc900412b feat(Core): detach Uuid from Math, add CheckedBits and portable Hash (M-CORE-02, M-CORE-03) 2026-11-24 02:39:35 +03:00
faumaray 8d28c7e3c4 docs(workflow): add P1 Gate 1 foundation implementation task specs 2026-11-24 02:37:43 +03:00
faumaray 196ed251f9 bench: add reproducible foundation benchmark harness and record P0 baseline (X-BASE-05) 2026-11-24 02:35:43 +03:00
faumaray c64fa93373 build: add compiler, reflection, and sanitizer capability probes (X-BASE-04) 2026-11-24 02:34:11 +03:00
faumaray cd6fc7e5f5 build: reconcile module dependency closures, Log.hpp ownership, and consumer tests (X-BASE-03) 2026-11-24 02:28:33 +03:00
faumaray e385746b74 build: mark fetched Boost headers as SYSTEM for clean -Werror on GCC 16 (X-BASE-02) 2026-11-24 02:15:22 +03:00
faumaray 340acaec34 test(System): replace host /bin utility assumptions with VoidProcessHelper (X-BASE-01) 2026-11-24 02:10:06 +03:00
faumaray 563da02c0f docs(workflow): add P0 baseline implementation task specs (X-BASE-01..05) 2026-11-24 02:05:08 +03:00
faumaray faa8a5198d docs: add expansion roadmap and workflow baseline 2026-11-24 02:04:38 +03:00
faumaray f1f9ba375b log: snapshot scopes through the shared library boundary
Avoid consumer-inline access to DLL-owned thread-local storage by copying
the scope span returned by the existing out-of-line current_scopes function.
Keep the owned snapshot at its original initializer position and preserve
filtering, scope order and exception behavior.

Add direct-call regressions for nested buffered ownership, overlapping
producer scopes and immediate sink reentry. All 14 focused shared-library
tests pass on Linux and the two-file candidate passed independent review.
Native UCRT64 linking and runtime verification follow through Engine CI.
2026-11-15 03:25:25 +03:00
faumarayandClaude Opus 5.5 5464e9fa35 Testing: an exception that escapes a test fails it
execute_test and execute_test_parallel set Failed when the body threw,
then recomputed the state from the recorded assertions alone, so a test
whose body threw before any failed assertion was reported as passed.
The state now stays Failed when an unhandled exception was recorded.
Found by a Void Engine test that threw on its first line and passed;
it hid two failing engine tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 17:31:09 +03:00
faumarayandClaude Opus 5.5 cd237207d4 Log: one facade state per process, in a LogState library
Release / release (push) Failing after 5s
Void::Log::Detail::state() was a static in an inline function, which is
one object per DLL on Windows: a sink set from one DLL never saw events
from another (a plugin's log lines, or any module but the one that set
it). The state now lives in Void::LogState, a small compiled module with
no dependencies, linked by every module that includes the facade
(Async, System, Stacktrace, Testing; the rest through them), so
INTERFACE modules can still log and no dependency cycle appears.

Tests: VoidTests 1242 pass, 3 skip; run_with_args_builds_correct_argv
and run_stdin_forwarded_to_cat fail on NixOS, which has no
/bin/echo or /bin/cat (exit 127).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
rm v1.2.2 push
2026-10-27 05:43:45 +03:00
faumarayandClaude Opus 5.5 20893d1bf3 Module selection, and test signal handlers on Windows
VOID_ENABLED_MODULES (cache, empty for all) configures only the named
modules and their INTERNAL_DEPS, followed transitively; OPTIONAL_DEPS
are used when named too. A project embedding Void configures what it
links, so the packages of modules it never builds (LibArchive, OpenSSL,
SQLite, libsodium) need not exist, as in a mingw-w64 cross build.

Testing's crash handlers use the C runtime's signal() on Windows, which
has no sigaction.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 05:13:42 +03:00
Aleksey SelihovandClaude Opus 5.5 3ef1013b85 Prepare VoidLibrary 1.2.1
Release / release (push) Successful in 1m52s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
v1.2.1
2026-10-24 17:55:10 +00:00
Aleksey SelihovandClaude Opus 5.5 ff70dc685d Install the shared Void/Detail headers
include/Void/Detail/Enum.hpp is included by public headers of Core
(Meta.hpp), Log (Level.hpp, LoggingAdapter.hpp), Configuration
(Config.hpp) and Data (Reflect.hpp), but belongs to no module's
FILE_SET, so `cmake --install` never copied it and every consumer of
an installed VoidLibrary failed to compile those headers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 17:55:03 +00:00
faumaray d95e11ea3e Prepare VoidLibrary 1.2.0
Release / release (push) Successful in 27m41s
v1.2.0
2026-08-02 02:07:30 +03:00
faumaray 531b604154 Add configurable split file logging 2026-08-02 01:47:22 +03:00
faumaray 8531bea681 Use organization release token 2026-08-01 20:12:32 +03:00
faumaray 68d86f76a2 Build release artifacts with RelWithDebInfo
Release / release (push) Successful in 29m41s
v1.1.0
2026-08-01 18:07:13 +03:00
faumaray cb58236538 Release 1.1.0 with transactional plugin validation 2026-08-01 17:59:57 +03:00
faumaray 4418374de7 Release: make checksums directly verifiable
Release / release (push) Successful in 1m6s
v1.0.0
2026-07-30 03:42:14 +03:00
faumaray d1572a55a5 Release: export token for publisher
Release / release (push) Failing after 1m2s
2026-07-30 03:33:57 +03:00
faumaray f732845dc7 Release: use native Gitea job token
Release / release (push) Failing after 1m2s
2026-07-30 03:30:45 +03:00
faumaray c509aa7424 Make rotating logger failure test deterministic
Release / release (push) Failing after 21m4s
2026-07-30 02:03:44 +03:00
faumaray f528ef644c Align release workflow with Gitea Actions
Release / release (push) Failing after 20m42s
2026-07-29 23:11:54 +03:00
faumaray 721e11f4ce Remove assistant-only repository artifacts 2026-07-29 22:51:54 +03:00
faumaray 4c2b96ac69 Add reusable strict JSON, rate limiting, and sealed secrets 2026-07-29 22:40:15 +03:00
faumaray 7edce967f2 Update: align component feed identities
CI / GCC 16 / C++26 / werror (push) Failing after 1m57s
CI / GCC 16 / C++26 / default (push) Failing after 2m36s
CI / GCC 16 / C++26 / sanitizers (push) Failing after 2m39s
2026-07-29 00:41:57 +03:00
faumaray 05815c4668 Update: add component catalog transactions
CI / GCC 16 / C++26 / sanitizers (push) Failing after 2m35s
CI / GCC 16 / C++26 / default (push) Failing after 2m39s
CI / GCC 16 / C++26 / werror (push) Failing after 1m54s
2026-07-29 00:22:20 +03:00
faumaray 9d8b334b4b Plugin: initialize readiness detail
CI / GCC 16 / C++26 / default (push) Failing after 2m39s
CI / GCC 16 / C++26 / sanitizers (push) Failing after 2m40s
CI / GCC 16 / C++26 / werror (push) Failing after 1m54s
2026-07-28 23:18:07 +03:00
faumaray 541d4e8b6d Plugin: adapt legacy lifecycle to modules
CI / GCC 16 / C++26 / sanitizers (push) Failing after 2m42s
CI / GCC 16 / C++26 / default (push) Failing after 2m43s
CI / GCC 16 / C++26 / werror (push) Failing after 1m52s
2026-07-28 22:58:44 +03:00
faumaray fb5388a7ee Plugin: add reusable module descriptor
CI / GCC 16 / C++26 / sanitizers (push) Failing after 1m48s
CI / GCC 16 / C++26 / werror (push) Failing after 1m56s
CI / GCC 16 / C++26 / default (push) Failing after 7m11s
2026-07-28 22:33:51 +03:00
faumaray 053ee5b296 update
CI / GCC 16 / C++26 / sanitizers (push) Failing after 4s
CI / GCC 16 / C++26 / werror (push) Failing after 3s
CI / GCC 16 / C++26 / default (push) Failing after 1m48s
Signed-off-by: faumaray <faumaray@gmail.com>
2026-07-25 23:42:52 +03:00
faumaray 3851aeb703 Update
CI / GCC 16 / C++26 / werror (push) Failing after 3m9s
CI / GCC 16 / C++26 / sanitizers (push) Failing after 10m15s
CI / GCC 16 / C++26 / default (push) Failing after 13m1s
Signed-off-by: faumaray <faumaray@gmail.com>
2026-07-20 01:18:53 +03:00
faumaray 8583a479dd Update
CI / GCC 16 / C++26 / default (push) Has been cancelled
CI / GCC 16 / C++26 / sanitizers (push) Has been cancelled
CI / GCC 16 / C++26 / werror (push) Has been cancelled
Signed-off-by: faumaray <faumaray@gmail.com>
2026-07-15 19:49:06 +03:00
faumaray fa30098129 Update
CI / GCC 16 / C++26 / default (push) Has been cancelled
CI / GCC 16 / C++26 / sanitizers (push) Has been cancelled
CI / GCC 16 / C++26 / werror (push) Has been cancelled
Signed-off-by: faumaray <faumaray@gmail.com>
2026-07-12 03:00:38 +03:00
Aleksey Selihov 4fca5523f6 Merge pull request 'feat/plugin-system' (#2) from feat/plugin-system into main
CI / GCC 16 / C++26 / default (push) Has been cancelled
CI / GCC 16 / C++26 / sanitizers (push) Has been cancelled
CI / GCC 16 / C++26 / werror (push) Has been cancelled
Reviewed-on: Void/VoidLibrary#2
2026-07-11 23:40:11 +00:00
Aleksey Selihov 704d1a8e89 Merge branch 'main' into feat/plugin-system
CI / GCC 16 / C++26 / default (pull_request) Has been cancelled
CI / GCC 16 / C++26 / sanitizers (pull_request) Has been cancelled
CI / GCC 16 / C++26 / werror (pull_request) Has been cancelled
2026-07-11 23:38:22 +00:00
faumaray f94366104e Update
CI / GCC 16 / C++26 / default (pull_request) Has been cancelled
CI / GCC 16 / C++26 / sanitizers (pull_request) Has been cancelled
CI / GCC 16 / C++26 / werror (pull_request) Has been cancelled
Signed-off-by: faumaray <faumaray@gmail.com>
2026-07-12 02:37:49 +03:00
faumarayandClaude Fable 5 9a54f15e7e Net: actually enforce Request::timeout on HTTP socket I/O
Request::timeout was declared but never used — every sync Asio
operation (TLS handshake, read, write) blocked without bound, so a
stalled peer hung the calling thread indefinitely (observed: a stalled
CDN download blocking a host's shutdown join forever).

SO_RCVTIMEO cannot fix this: Asio's sync emulation treats the
resulting EAGAIN as would-block and poll()s with no deadline. Instead
a per-request DeadlineGuard watchdog ::shutdown()s the descriptor on
expiry, which wakes any blocked sync op with EOF and fails the
request. Declaration order in send() keeps the descriptor owners alive
past the guard. Resolution and connect() remain on kernel defaults.

Regression test: a stalled localhost server is bounded at ~1s.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018yj92cCihyaYtf4gKCT3nv
2026-07-12 00:20:49 +03:00
faumarayandClaude Fable 5 a06f639393 Plugin: copy_on_load option; unique hotswap temp names
- copy_on_load: dlopen a fresh-inode temp copy on first load (reloads
  already did), so deployments that rewrite the plugin file in place —
  e.g. a build writing its output — cannot corrupt the mapped image.
  The registry keeps addressing the original path for watch/reload.
- hotswap_copy now generates a unique temp name per copy. glibc dedupes
  dlopen by pathname, so the previous fixed ".void_hotswap" name made
  every second reload through the same path silently return the
  already-mapped OLD image instead of the new bytes.
- hot_reload_under_concurrent_load now asserts the true downgrade
  semantics (v2 -> v1 is rejected transactionally, v2 stays); it only
  ever passed the old all-succeed expectation via the dedup bug, since
  no flip after the first actually took effect.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018yj92cCihyaYtf4gKCT3nv
2026-07-11 23:46:21 +03:00
faumarayandClaude Fable 5 ee4486e1d2 Plugin: discovery, unload, config entry, multi-observer reloads, state API
Host-side additions for applications embedding a plugin system:

- PluginManager::load_directory(dir) loads every shared-library file in
  a directory (filename order) with per-file expected results.
- PluginManager::unload(name) drops the registry entry; the instance
  dies with its last pinned handle (RCU semantics, as on reload).
- Optional C entry void_plugin_configure(inst, config): fed from
  PluginManagerOptions::config_provider after create and after each
  reload swap, before on_load().
- on_reloaded() is now multi-observer: returns a ReloadCallbackId,
  remove_on_reloaded() unregisters. Manual reload() now notifies
  observers too (previously only watched reloads did, contradicting
  the documented contract). PluginServiceBinding deregisters its
  callback on destruction (was a dangling-callback hazard).
- PluginManager::serialize_state/deserialize_state expose the plugin's
  v2 state exports so an embedder can carry plugin state through its
  own hot reload.
- ServiceRegistry::remove<I>() withdraws a provided service (child
  removal re-exposes a parent's entry).
- EventBus::subscribe_scoped<E>() returns a move-only RAII
  Subscription that unsubscribes on destruction.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018yj92cCihyaYtf4gKCT3nv
2026-07-11 23:39:10 +03:00
Aleksey Selihov 6f1b5f0b72 Merge pull request 'Process update and UdpSocket' (#1) from feat/plugin-system into main
CI / GCC 16 / C++26 / sanitizers (push) Has been cancelled
CI / GCC 16 / C++26 / werror (push) Has been cancelled
CI / GCC 16 / C++26 / default (push) Has been cancelled
Reviewed-on: Void/VoidLibrary#1
2026-07-11 18:44:30 +00:00
faumaray 7ca0e1b62e Process update and UdpSocket
CI / GCC 16 / C++26 / sanitizers (pull_request) Has been cancelled
CI / GCC 16 / C++26 / werror (pull_request) Has been cancelled
CI / GCC 16 / C++26 / default (pull_request) Has been cancelled
Signed-off-by: faumaray <faumaray@gmail.com>
2026-07-11 21:40:52 +03:00
faumaray 827c9e150a change rotation
CI / GCC 16 / C++26 / default (push) Has been cancelled
CI / GCC 16 / C++26 / sanitizers (push) Has been cancelled
CI / GCC 16 / C++26 / werror (push) Has been cancelled
Signed-off-by: faumaray <faumaray@gmail.com>
2026-07-06 14:42:28 +03:00
faumaray a4f52cf174 fix warnings in cmake about sqlite
CI / GCC 16 / C++26 / default (push) Has been cancelled
CI / GCC 16 / C++26 / sanitizers (push) Has been cancelled
CI / GCC 16 / C++26 / werror (push) Has been cancelled
Signed-off-by: faumaray <faumaray@gmail.com>
2026-07-06 12:03:10 +03:00