Commit Graph
22 Commits
Author SHA1 Message Date
objz 29ad70fa16 chore: add SPDX copyright headers 2026-08-24 19:13:43 +02:00
objz 09bc8f26fb chore: improve rmcl diagnostic logging 2026-06-16 10:22:51 +02:00
objz cc0dde106a refactored: move public-API filesystem tests to tests/
Per Phase C of the test overhaul: tests that touch the filesystem and
exercise the public API surface (scan_screenshots, scan_shaders,
scan_worlds, scan_resource_packs, log_files) move from inline mod tests
into tests/. They now consume rmcl as an external crate, mirroring how
real callers would.

AccountStore::store_save_and_reload stays inline because the helper it
needs (constructing AccountStore directly with a tempdir path) requires
reaching into a private field; exposing that just for tests would leak
implementation detail. The other accounts tests are in-memory and stay
inline regardless.

The extract_description_* tests in resource_packs stay inline since
they are pure logic on serde_json::Value (no filesystem).

image is added to dev-dependencies so integration tests can fabricate
1x1 PNG fixtures (already a regular dep of the lib).
2026-05-26 21:11:38 +02:00
objz 05bea59ef1 refactored: narrow lib.rs visibility + drop speculative tests/common 2026-05-26 21:00:06 +02:00
objz aeeef26614 added: lib.rs split + tests/ scaffold for integration testing 2026-05-26 20:59:59 +02:00
objz 22e4481a2b added: launch_profile foundation primitives (rules, templates, model)
introduce the launch_profile module with the core types and pure functions
needed to parse, evaluate, and substitute against mojang-format version
JSON: Rule/OsCondition/FeatureSet with a single rule evaluator,
TemplateContext + substitute() for ${var} expansion, and the
LaunchProfile schema mirroring mojang's on-disk shape. no consumers yet.
2026-05-25 14:02:18 +02:00
objz ae2524f2ce feat!: rename project from mcl/mcl-launcher to rmcl
Renames Cargo package, binary, internal path identifiers, java shim,
user-agent, log filename, desktop shortcut Exec lines, and CLI program
name. Wires src/migrate.rs into main() so existing users have their
on-disk data (~/.config/mcl/, ~/.local/share/mcl/, ~/.cache/mcl/) moved
to the new locations on first launch.

BREAKING CHANGE: binary is now named rmcl. Old paths are auto-migrated.
2026-05-13 21:06:34 +02:00
objz 2b3aa4df32 feat(migrate): add legacy mcl→rmcl path migration module 2026-05-13 21:06:34 +02:00
objz 5dbb2be873 no-mistakes(lint): fix(lint): rustfmt formatting in mods.rs 2026-04-25 14:25:04 +02:00
objz 971375bf1f fix: resolve clippy issues 2026-04-18 17:09:01 +02:00
objz 47dad69321 refactor: upgrade crates and restructure project 2026-04-18 16:59:27 +02:00
objz 80210364d5 feat(theme): add palette system and per-element theming 2026-01-24 19:18:09 +01:00
objz 5189eace8a feat(auth): add Microsoft and offline account system 2025-12-13 19:14:51 +01:00
objz 46087c47a8 feat(tui): instance launching, tabs, profiles overhaul 2025-11-01 14:22:18 +01:00
objz a8f409d2ff feat: add async runtime with tokio and tracing 2025-07-05 14:18:42 +02:00
objz 159b21d39a refactor: extract cli and config into separate modules 2025-06-14 17:32:18 +02:00
72-S f571aa3183 feat: improve config system 2025-03-08 22:33:21 +01:00
72-S 3bc5432a20 feat(tui): render instances as multi-line rows 2025-03-05 13:36:49 +01:00
72-S d9c827b3ef feat: add logger and config structure 2025-01-30 13:57:23 +01:00
72-S 9e21548009 feat(tui): add initial tui with error handling 2025-01-25 17:51:17 +01:00
72-S 827769524e feat(cli): add cli capabilities 2025-01-24 17:49:14 +01:00
72-S 4a1b67dcd0 first commit 2025-01-24 13:24:42 +01:00