Restructure into umbrella modules (~55 -> 16 targets)

Headers move, CMake targets merge, C++ namespaces stay unchanged:
- Core: Scope, Lazy, Counted, Flags, Hash, Bits, Uuid, TypeList, TypeMap, Variant
- Functional: Pipeline, Either, Result, Retry
- Containers: Ring, Pool, PriorityQueue, LRU, Trie, Graph, DisjointSet, Bitset, Interval
- Math: +Matrix, Numeric, Random, Histogram
- Text: Str, Format, Tokenizer, Diff, Encoding, Semver
- Data: Json, Csv, Ini
- Async: Coro, Concurrency, EventBus, Observable
- Time: +Bench
- Log: Log facade + Logging framework (facade now header-only, breaking
  the Stacktrace<->Log link cycle the merge would have created)
- System: FileSystem + Process
- Configuration: +Argparse
- Unchanged: Stacktrace, Plugin, StateMachine, Testing, TestingMock, Detail

Module system fixes:
- OPTIONAL_DEPS resolution deferred to void_finalize_modules() so it no
  longer depends on the alphabetical discovery order of src/ subdirs
  (Testing -> Text would have been silently dropped).
- Every header-only module now has a tracked module.cmake; previously the
  empty src/<Name> marker dirs were untracked, so a fresh clone would have
  silently skipped those modules.
- VOID_HAS_LOGGING/CONCURRENCY/STR consumers renamed to LOG/ASYNC/TEXT.

Tests move to tests/standalone/<Umbrella>/<Feature>.cpp (Result suite files
prefixed: ResultBasic etc.). Test count verified identical (831) before and
after. README/CLAUDE.md module tables updated.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
faumarayandClaude Fable 5 committed 2026-06-12 18:50:02 +03:00
1 parent da2e93c405
commit 28b94883fd
156 files changed
+278 -220

No files matched your search

+7 -7
View File
@@ -3,15 +3,15 @@
// together — the kind of thing the standalone per-module tests can't
// reach because they only link one module.
#include <Void/FileSystem/Path.hpp>
#include <Void/FileSystem/TempDir.hpp>
#include <Void/System/Path.hpp>
#include <Void/System/TempDir.hpp>
#include <Void/Log/Log.hpp>
#include <Void/Log/LoggingAdapter.hpp>
#include <Void/Logging/ConsoleLogger.hpp>
#include <Void/Logging/FileLogger.hpp>
#include <Void/Logging/Level.hpp>
#include <Void/Result/Error.hpp>
#include <Void/Result/Result.hpp>
#include <Void/Log/ConsoleLogger.hpp>
#include <Void/Log/FileLogger.hpp>
#include <Void/Log/Level.hpp>
#include <Void/Functional/Error.hpp>
#include <Void/Functional/Result.hpp>
#include <Void/Stacktrace/Stacktrace.hpp>
#include <Void/Testing/Assert.hpp>
#include <Void/Testing/Test.hpp>
@@ -1,4 +1,4 @@
#include <Void/Concurrency/Channel.hpp>
#include <Void/Async/Channel.hpp>
#include <Void/Testing/Assert.hpp>
#include <Void/Testing/Test.hpp>
@@ -1,5 +1,5 @@
#include <Void/Coro/Generator.hpp>
#include <Void/Coro/Task.hpp>
#include <Void/Async/Generator.hpp>
#include <Void/Async/Task.hpp>
#include <Void/Testing/Assert.hpp>
#include <Void/Testing/Test.hpp>
@@ -1,4 +1,4 @@
#include <Void/EventBus/EventBus.hpp>
#include <Void/Async/EventBus.hpp>
#include <Void/Testing/Assert.hpp>
#include <Void/Testing/Test.hpp>
@@ -1,4 +1,4 @@
#include <Void/Observable/Observable.hpp>
#include <Void/Async/Observable.hpp>
#include <Void/Testing/Assert.hpp>
#include <Void/Testing/Test.hpp>
@@ -1,4 +1,4 @@
#include <Void/Concurrency/ParallelFor.hpp>
#include <Void/Async/ParallelFor.hpp>
#include <Void/Testing/Assert.hpp>
#include <Void/Testing/Test.hpp>
@@ -1,4 +1,4 @@
#include <Void/Concurrency/ThreadPool.hpp>
#include <Void/Async/ThreadPool.hpp>
#include <Void/Testing/Assert.hpp>
#include <Void/Testing/Test.hpp>
@@ -1,4 +1,4 @@
#include <Void/Argparse/Argparse.hpp>
#include <Void/Configuration/Argparse.hpp>
#include <Void/Testing/Assert.hpp>
#include <Void/Testing/Test.hpp>
+2 -2
View File
@@ -1,7 +1,7 @@
#include <Void/Configuration/Config.hpp>
#include <Void/Configuration/Env.hpp>
#include <Void/FileSystem/TempDir.hpp>
#include <Void/FileSystem/Path.hpp>
#include <Void/System/TempDir.hpp>
#include <Void/System/Path.hpp>
#include <Void/Testing/Assert.hpp>
#include <Void/Testing/Test.hpp>
@@ -1,4 +1,4 @@
#include <Void/Bitset/Bitset.hpp>
#include <Void/Containers/Bitset.hpp>
#include <Void/Testing/Assert.hpp>
#include <Void/Testing/Test.hpp>
@@ -1,4 +1,4 @@
#include <Void/DisjointSet/DisjointSet.hpp>
#include <Void/Containers/DisjointSet.hpp>
#include <Void/Testing/Assert.hpp>
#include <Void/Testing/Test.hpp>
@@ -1,4 +1,4 @@
#include <Void/Graph/Graph.hpp>
#include <Void/Containers/Graph.hpp>
#include <Void/Testing/Assert.hpp>
#include <Void/Testing/Test.hpp>
@@ -1,4 +1,4 @@
#include <Void/Interval/Interval.hpp>
#include <Void/Containers/Interval.hpp>
#include <Void/Testing/Assert.hpp>
#include <Void/Testing/Test.hpp>
@@ -1,4 +1,4 @@
#include <Void/LRU/LRU.hpp>
#include <Void/Containers/LRU.hpp>
#include <Void/Testing/Assert.hpp>
#include <Void/Testing/Test.hpp>
@@ -1,4 +1,4 @@
#include <Void/Pool/Pool.hpp>
#include <Void/Containers/Pool.hpp>
#include <Void/Testing/Assert.hpp>
#include <Void/Testing/Test.hpp>
@@ -1,4 +1,4 @@
#include <Void/PriorityQueue/PriorityQueue.hpp>
#include <Void/Containers/PriorityQueue.hpp>
#include <Void/Testing/Assert.hpp>
#include <Void/Testing/Test.hpp>
@@ -1,4 +1,4 @@
#include <Void/Ring/Ring.hpp>
#include <Void/Containers/Ring.hpp>
#include <Void/Testing/Assert.hpp>
#include <Void/Testing/Test.hpp>
@@ -1,4 +1,4 @@
#include <Void/Trie/Trie.hpp>
#include <Void/Containers/Trie.hpp>
#include <Void/Testing/Assert.hpp>
#include <Void/Testing/Test.hpp>
@@ -1,4 +1,4 @@
#include <Void/Bits/Bits.hpp>
#include <Void/Core/Bits.hpp>
#include <Void/Testing/Assert.hpp>
#include <Void/Testing/Test.hpp>
@@ -1,4 +1,4 @@
#include <Void/Counted/Counted.hpp>
#include <Void/Core/Counted.hpp>
#include <Void/Testing/Assert.hpp>
#include <Void/Testing/Test.hpp>
@@ -1,4 +1,4 @@
#include <Void/Flags/Flags.hpp>
#include <Void/Core/Flags.hpp>
#include <Void/Testing/Assert.hpp>
#include <Void/Testing/Test.hpp>
@@ -1,4 +1,4 @@
#include <Void/Hash/Hash.hpp>
#include <Void/Core/Hash.hpp>
#include <Void/Testing/Assert.hpp>
#include <Void/Testing/Test.hpp>
@@ -1,4 +1,4 @@
#include <Void/Lazy/Lazy.hpp>
#include <Void/Core/Lazy.hpp>
#include <Void/Testing/Assert.hpp>
#include <Void/Testing/Test.hpp>
@@ -1,4 +1,4 @@
#include <Void/Scope/Scope.hpp>
#include <Void/Core/Scope.hpp>
#include <Void/Testing/Assert.hpp>
#include <Void/Testing/Test.hpp>
@@ -1,4 +1,4 @@
#include <Void/TypeList/TypeList.hpp>
#include <Void/Core/TypeList.hpp>
#include <Void/Testing/Assert.hpp>
#include <Void/Testing/Test.hpp>
@@ -1,4 +1,4 @@
#include <Void/TypeMap/TypeMap.hpp>
#include <Void/Core/TypeMap.hpp>
#include <Void/Testing/Assert.hpp>
#include <Void/Testing/Test.hpp>
@@ -1,4 +1,4 @@
#include <Void/Uuid/Uuid.hpp>
#include <Void/Core/Uuid.hpp>
#include <Void/Testing/Assert.hpp>
#include <Void/Testing/Test.hpp>
@@ -1,4 +1,4 @@
#include <Void/Variant/Variant.hpp>
#include <Void/Core/Variant.hpp>
#include <Void/Testing/Assert.hpp>
#include <Void/Testing/Test.hpp>
@@ -1,4 +1,4 @@
#include <Void/Csv/Csv.hpp>
#include <Void/Data/Csv.hpp>
#include <Void/Testing/Assert.hpp>
#include <Void/Testing/Test.hpp>
@@ -1,4 +1,4 @@
#include <Void/Ini/Ini.hpp>
#include <Void/Data/Ini.hpp>
#include <Void/Testing/Assert.hpp>
#include <Void/Testing/Test.hpp>
@@ -1,4 +1,4 @@
#include <Void/Json/Json.hpp>
#include <Void/Data/Json.hpp>
#include <Void/Testing/Assert.hpp>
#include <Void/Testing/Test.hpp>
@@ -1,5 +1,5 @@
#include <Void/Either/Either.hpp>
#include <Void/Either/Opt.hpp>
#include <Void/Functional/Either.hpp>
#include <Void/Functional/Opt.hpp>
#include <Void/Testing/Assert.hpp>
#include <Void/Testing/Test.hpp>
@@ -1,4 +1,4 @@
#include <Void/Pipeline/Memo.hpp>
#include <Void/Functional/Memo.hpp>
#include <Void/Testing/Assert.hpp>
#include <Void/Testing/Test.hpp>
@@ -1,6 +1,6 @@
#include <Void/Pipeline/Curry.hpp>
#include <Void/Pipeline/Memo.hpp>
#include <Void/Pipeline/Pipeline.hpp>
#include <Void/Functional/Curry.hpp>
#include <Void/Functional/Memo.hpp>
#include <Void/Functional/Pipeline.hpp>
#include <Void/Testing/Assert.hpp>
#include <Void/Testing/Test.hpp>
@@ -1,5 +1,5 @@
#include <Void/Result/Error.hpp>
#include <Void/Result/Result.hpp>
#include <Void/Functional/Error.hpp>
#include <Void/Functional/Result.hpp>
#include <Void/Testing/Assert.hpp>
#include <Void/Testing/Test.hpp>
@@ -1,5 +1,5 @@
#include <Void/Result/Error.hpp>
#include <Void/Result/Result.hpp>
#include <Void/Functional/Error.hpp>
#include <Void/Functional/Result.hpp>
#include <Void/Testing/Assert.hpp>
#include <Void/Testing/Test.hpp>
@@ -1,5 +1,5 @@
#include <Void/Result/Error.hpp>
#include <Void/Result/Result.hpp>
#include <Void/Functional/Error.hpp>
#include <Void/Functional/Result.hpp>
#include <Void/Testing/Assert.hpp>
#include <Void/Testing/Test.hpp>
@@ -1,4 +1,4 @@
#include <Void/Result/Detail/Repr.hpp>
#include <Void/Functional/Detail/Repr.hpp>
#include <Void/Testing/Assert.hpp>
#include <Void/Testing/Test.hpp>
@@ -1,4 +1,4 @@
#include <Void/Retry/Retry.hpp>
#include <Void/Functional/Retry.hpp>
#include <Void/Testing/Assert.hpp>
#include <Void/Testing/Test.hpp>
@@ -1,5 +1,5 @@
#include <Void/Logging/ConsoleLogger.hpp>
#include <Void/Logging/Level.hpp>
#include <Void/Log/ConsoleLogger.hpp>
#include <Void/Log/Level.hpp>
#include <Void/Testing/Assert.hpp>
#include <Void/Testing/Fixture.hpp>
#include <Void/Testing/Test.hpp>
@@ -1,5 +1,5 @@
#include <Void/Logging/FileLogger.hpp>
#include <Void/Logging/Level.hpp>
#include <Void/Log/FileLogger.hpp>
#include <Void/Log/Level.hpp>
#include <Void/Testing/Assert.hpp>
#include <Void/Testing/Fixture.hpp>
#include <Void/Testing/Test.hpp>
@@ -1,4 +1,4 @@
#include <Void/Histogram/Histogram.hpp>
#include <Void/Math/Histogram.hpp>
#include <Void/Testing/Assert.hpp>
#include <Void/Testing/Test.hpp>
@@ -1,4 +1,4 @@
#include <Void/Matrix/Matrix.hpp>
#include <Void/Math/Matrix.hpp>
#include <Void/Testing/Assert.hpp>
#include <Void/Testing/Test.hpp>
@@ -1,4 +1,4 @@
#include <Void/Numeric/Numeric.hpp>
#include <Void/Math/Numeric.hpp>
#include <Void/Testing/Assert.hpp>
#include <Void/Testing/Test.hpp>
@@ -1,4 +1,4 @@
#include <Void/Random/Random.hpp>
#include <Void/Math/Random.hpp>
#include <Void/Testing/Assert.hpp>
#include <Void/Testing/Test.hpp>
@@ -1,5 +1,5 @@
#include <Void/FileSystem/Path.hpp>
#include <Void/FileSystem/TempDir.hpp>
#include <Void/System/Path.hpp>
#include <Void/System/TempDir.hpp>
#include <Void/Testing/Assert.hpp>
#include <Void/Testing/Test.hpp>
@@ -1,4 +1,4 @@
#include <Void/Process/Process.hpp>
#include <Void/System/Process.hpp>
#include <Void/Testing/Assert.hpp>
#include <Void/Testing/Test.hpp>
@@ -1,6 +1,6 @@
#include <Void/FileSystem/Path.hpp>
#include <Void/FileSystem/Query.hpp>
#include <Void/FileSystem/TempDir.hpp>
#include <Void/System/Path.hpp>
#include <Void/System/Query.hpp>
#include <Void/System/TempDir.hpp>
#include <Void/Testing/Assert.hpp>
#include <Void/Testing/Test.hpp>
@@ -1,4 +1,4 @@
#include <Void/FileSystem/TempDir.hpp>
#include <Void/System/TempDir.hpp>
#include <Void/Testing/Assert.hpp>
#include <Void/Testing/Test.hpp>
@@ -1,4 +1,4 @@
#include <Void/Diff/Diff.hpp>
#include <Void/Text/Diff.hpp>
#include <Void/Testing/Assert.hpp>
#include <Void/Testing/Test.hpp>
@@ -1,5 +1,5 @@
#include <Void/Encoding/Base64.hpp>
#include <Void/Encoding/Hex.hpp>
#include <Void/Text/Base64.hpp>
#include <Void/Text/Hex.hpp>
#include <Void/Testing/Assert.hpp>
#include <Void/Testing/Test.hpp>
@@ -1,4 +1,4 @@
#include <Void/Format/Format.hpp>
#include <Void/Text/Format.hpp>
#include <Void/Testing/Assert.hpp>
#include <Void/Testing/Test.hpp>
@@ -1,4 +1,4 @@
#include <Void/Semver/Semver.hpp>
#include <Void/Text/Semver.hpp>
#include <Void/Testing/Assert.hpp>
#include <Void/Testing/Test.hpp>
@@ -1,4 +1,4 @@
#include <Void/Str/Str.hpp>
#include <Void/Text/Str.hpp>
#include <Void/Testing/Assert.hpp>
#include <Void/Testing/Test.hpp>
@@ -1,4 +1,4 @@
#include <Void/Tokenizer/Tokenizer.hpp>
#include <Void/Text/Tokenizer.hpp>
#include <Void/Testing/Assert.hpp>
#include <Void/Testing/Test.hpp>
@@ -1,4 +1,4 @@
#include <Void/Bench/Bench.hpp>
#include <Void/Time/Bench.hpp>
#include <Void/Testing/Assert.hpp>
#include <Void/Testing/Test.hpp>