- Net/IO: Winsock sockets (UdpSocket, TlsClientStream, WebSocketClient),
HttpServer port with a loopback wake socket replacing eventfd, and the
select-based IO backend built on Windows (ws2_32).
- Net: implement StaticFileResolver::open_safe and OpenedStaticFile on
Windows (reparse-point rejection plus canonical containment check on the
opened handle) and widen native handles to intptr_t.
- Plugin: hot reload works on Windows by loading a fresh copy while the old
DLL stays mapped; enable the reload, discovery and FSM service reload
tests and retire the plugin file by rename instead of replacement.
- Update: activation pointer as a directory junction on Windows.
- Stacktrace: portable path comparison for wide native strings.
- Docs/targets: every module allowlisted on Windows; record the Wine run
(2000 tests, 1977 passed, 23 skipped, 0 failed).
- CMake: add -Wa,-mbig-obj for GNU MinGW targets (COFF section limit).
- Async: fix the FuturePool stopped-after-close test to wait for the
executor to release its admission slot instead of racing it.
Windows and Linux suites both pass: Windows 2000/1977/23 skips/0 failed,
Linux 2027/2023/4 skips/0 failed.
- Do not build the pthread-based C ABI fixtures on Windows (their tests
skip without the path macros); the C++ plugin fixtures still build.
- Plugin tests: drop the dlfcn.h proxy guard now that Windows uses
LoadLibrary; mark the C ABI hardening file @requires-posix.
- RuntimeSignals is POSIX-only (@requires-posix).
Refs #65
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