srdusr
aboutsummaryrefslogtreecommitdiffstats
path: root/crates/core/src/manager
diff options
context:
space:
mode:
authorsrdusr <[email protected]>2025-10-03 22:09:00 +0200
committersrdusr <[email protected]>2025-10-03 22:09:00 +0200
commitd7031dd060ec12e6de334518aa75122c65794047 (patch)
tree7e076133bf8415263599b2ebe04c9bd53b1ed43a /crates/core/src/manager
parent43cba8d10ab4c30f492ec707b7fbcecef2a7c19d (diff)
downloadsrdwm-d7031dd060ec12e6de334518aa75122c65794047.tar.gz
srdwm-d7031dd060ec12e6de334518aa75122c65794047.zip
Split ipc.rs into ipc/ by concern, and fix a stale README
Codebase modularization, requested directly. Surveyed the whole workspace first: at ~38k lines it's already organized by topic (crates/core/src/manager/, crates/wayland/src/{state,udev,decoration}/ already split into small per-concern files) - crates/platform/src/ ipc.rs was the one real outlier, 1894 lines holding the socket lifecycle, every payload type, both dispatch match statements, and its own tests all in one file. Split into ipc/{mod,types,dispatch,tests}.rs by concern, matching the established pattern exactly - mod.rs keeps IpcServer itself, types.rs the response/event structs and snapshot functions, dispatch.rs handle_request/handle_set, tests.rs the existing suite moved verbatim. Extracted via exact line-range copies against git's own HEAD content (not retyped), specifically to rule out a transcription bug in a file this central. Pure reorganization: build/test/clippy clean before and after, exact same test count (29 in crates/platform) both times. README.md separately corrected: it still linked to legacy-cpp/ (deleted this shift) and described the Wayland backend as the smaller, less-done one - backwards from current reality, where Wayland is the daily-driver target and by far the more complete backend.
Diffstat (limited to 'crates/core/src/manager')
0 files changed, 0 insertions, 0 deletions