aboutsummaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAgeFilesLines
...
| | | | * refactor(java): improve error handling and loggingBegonia, HE2026-01-295-20/+140
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Extract JavaError to dedicated error.rs module - Add serde defaults for JavaInstallation optional fields - Replace unwrap() with proper error propagation - Add detailed logging for Java resolution priority chain - Improve error mapping in validation (NotFound vs VerificationFailed) Reviewed-by: Claude Sonnet 4.5
| | | | * feat(java): implement cache versioning, size limits, and automatic cleanupBegonia, HE2026-01-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add CACHE_VERSION constant for cache format compatibility tracking - Add MAX_CACHE_SIZE_BYTES limit (10 MB) to prevent unbounded cache growth - Add cache_version field to JavaCatalog struct with default value - Implement cache version validation in load_cached_catalog() - Implement cache size enforcement in save_catalog_cache() - Add cleanup_expired_caches() for background cache cleanup - Add enforce_cache_size_limit() to validate cache file sizes - Add is_cache_version_compatible() helper function - Automatically clean up expired caches on load and clear operations - Validate cache version before using cached data Fixes: - Cache expiration without automatic cleanup (now cleaned on load) - Missing cache version control (now validates format compatibility) - Unbounded cache size growth (now limited to 10 MB) Reviewed-by: Claude 3.5 Sonnet
| | | | * feat(java): Enhance Java detection and error handlingBegonia, HE2026-01-294-33/+121
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Added support for detecting Java installations from SDKMAN! in `find_sdkman_java`. - Improved `run_which_command_with_timeout` to handle command timeouts gracefully. - Introduced a unified `JavaError` enum for consistent error handling across Java operations. - Updated functions to return `Result` types instead of `Option` for better error reporting. - Enhanced `load_cached_catalog` and `save_catalog_cache` to use `JavaError`. - Refactored `fetch_java_catalog`, `fetch_java_release`, and `fetch_available_versions` to return `JavaError`. - Improved validation functions to return detailed errors when checking Java installations. - Added tests for version parsing and compatibility checks. - Updated `resolve_java_for_launch` to handle instance-specific and global Java paths.
| | | | * refactor(java): simplify version compatibility logic and improve error handlingBegonia, HE2026-01-296-182/+133
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Extract version compatibility check into shared validation function - Remove duplicated version checking code across multiple modules - Simplify Java detection timeout logic in detection.rs - Expand vendor detection to support more JDK distributions (Dragonwell, Kona, Semeru, BiSheng, etc.) - Refactor start_game to use priority-based Java resolution - Improve error handling in Adoptium provider task collection Reviewed-by: Claude Sonnet 4.5
| | | | * refactor(java): replace unwrap with expect for better error handlingBegonia, HE2026-01-291-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace potentially panicking unwrap() call with expect() that includes a descriptive error message to aid debugging if the edge case occurs. Reviewed-by: Claude Sonnet 4.5
| | | | * refactor(java): suppress dead code warnings and improve detectionBegonia, HE2026-01-294-16/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add #[allow(dead_code)] attributes to utility functions - Improve 64-bit detection with case-insensitive check - Support aarch64 architecture in bitness detection - Add TODO for future vendor expansion Reviewed-by: Claude Sonnet 4.5
| | | | * refactor(java): address Sourcery AI code review feedbackBegonia, HE2026-01-294-84/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Centralize strip_unc_prefix into java/mod.rs to eliminate duplication across detection.rs and validation.rs - Remove unused JAVA_CHECK_TIMEOUT constant from validation.rs - Implement actual timeout mechanism in run_which_command_with_timeout() using try_wait() loop - Parallelize Adoptium API requests for better catalog fetch performance Fixes: - Multiple strip_unc_prefix implementations consolidated - Timeout constant now properly enforced in which/where command execution - Catalog fetching now uses concurrent tokio::spawn tasks instead of sequential await Reviewed-by: Claude Sonnet 4.5
| | | | * Delete CNAME简律纯2026-01-291-1/+0
| | | | |
| | | | * feat(docs): add React Router docs with FumadocsNtskwK2026-01-2921-10/+3919
| | | | |
| | | | * docs: update terminology in READMENtskwK2026-01-291-1/+1
| | | | |
| | | | * docs: add Chinese README documentationNtskwK2026-01-291-0/+142
| | | | |
| | | | * refactor(java): modularize Java detection and management systemBegonia, HE2026-01-2912-1125/+1354
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Split monolithic java.rs (1089 lines) into focused modules - detection: Java installation discovery - validation: Version validation and requirements checking - priority: Installation selection priority logic - provider: Java download provider trait - providers: Provider implementations (Adoptium) - persistence: Cache and catalog management - Add java_path_override field to Instance struct for per-instance Java configuration - Export JavaInstallation at core module level This refactoring improves maintainability and prepares for multi-vendor Java provider support. Reviewed-by: Claude Sonnet 4.5
| | | | * docs(java): add TODO comment for refactoring candidate detectionBegonia, HE2026-01-291-0/+2
| | | |/ | | | | | | | | | | | | Reviewed-by: Claude-Sonnet-4.5
| | | * feat(client): add tauri api macros苏向夜2026-01-235-1/+413
| | | |
| | | * feat(ui): add new ui project苏向夜2026-01-2366-6/+10829
| | | |
| | | * feat(ts-bindings): fix ts bindings naming convention苏向夜2026-01-2313-0/+58
| | | |
| * | | fix: update navigation title from 'React Router' to 'DropOut'HsiangNianian2026-01-221-1/+1
| | | |
| * | | chore: Update favicon.ico in public directoryHsiangNianian2026-01-221-0/+0
| | | |
| * | | Update packages/docs/content/docs/en/troubleshooting.mdx简律纯2026-01-221-4/+6
| | | | | | | | | | | | Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
| * | | Update packages/docs/content/docs/en/troubleshooting.mdx简律纯2026-01-221-1/+1
| | | | | | | | | | | | Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
| * | | Update packages/docs/content/docs/zh/troubleshooting.mdx简律纯2026-01-221-1/+1
| | | | | | | | | | | | Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
| * | | Update packages/docs/content/docs/zh/troubleshooting.mdx简律纯2026-01-221-2/+2
| | | | | | | | | | | | Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
| * | | Update packages/docs/content/docs/en/features/index.mdx简律纯2026-01-221-6/+6
| | | | | | | | | | | | Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
| * | | docs: redesign home page with launcher showcase and fix routingcopilot-swe-agent[bot]2026-01-214-13/+135
| | | | | | | | | | | | | | | | Co-authored-by: HsiangNianian <44714368+HsiangNianian@users.noreply.github.com>
| * | | docs: fix meta.json structure and build configuration for i18ncopilot-swe-agent[bot]2026-01-214-46/+2
| | | | | | | | | | | | | | | | Co-authored-by: HsiangNianian <44714368+HsiangNianian@users.noreply.github.com>
| * | | docs: configure i18n support and update documentation READMEcopilot-swe-agent[bot]2026-01-213-13/+64
| | | | | | | | | | | | | | | | Co-authored-by: HsiangNianian <44714368+HsiangNianian@users.noreply.github.com>
| * | | docs: add Chinese translations for documentationcopilot-swe-agent[bot]2026-01-2124-0/+2896
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add development.mdx (开发指南) - Add troubleshooting.mdx (故障排除) - Add features/index.mdx (功能概览) - Add features/authentication.mdx (身份验证) - Add features/java.mdx (Java 管理) - Add features/mod-loaders.mdx (模组加载器) All translations maintain technical terms in English while translating content to simplified Chinese Co-authored-by: HsiangNianian <44714368+HsiangNianian@users.noreply.github.com>
| * | | docs: add comprehensive documentation for DropOut launchercopilot-swe-agent[bot]2026-01-2113-53/+3024
| | | | | | | | | | | | | | | | Co-authored-by: HsiangNianian <44714368+HsiangNianian@users.noreply.github.com>
| * | | Initial plancopilot-swe-agent[bot]2026-01-210-0/+0
|/ / /
* | | Delete CNAME简律纯2026-01-211-1/+0
| | |
* | | docs: add chinese readme and docs website (#76)简律纯2026-01-2122-2/+5136
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ## Summary by Sourcery Add a new documentation site package and a Chinese README to improve project documentation and accessibility. New Features: - Introduce a dedicated @dropout/docs React Router application powered by Fumadocs for hosting the project documentation. Documentation: - Add a Chinese README file providing an overview, installation, build instructions, and contribution guidelines for Chinese-speaking users. - Set up initial docs content, navigation, and metadata within the new docs site, including example pages and search endpoint configuration.
| | | * feat(ts-bindings): fix ts bindings naming convention苏向夜2026-01-2111-103/+76
| | | |
| * | | Merge branch 'main' into docs/readme简律纯2026-01-211-0/+2
| |\ \ \ | |/ / / |/| | |
| | | * Merge branch 'main' into refactor/migrate-to-react简律纯2026-01-211-0/+2
| | | |\ | |_|_|/ |/| | |
* | | | chore(docs): Add roadmap link to README简律纯2026-01-211-0/+2
| | | | | | | | | | | | Added a link to the full roadmap for the project.
| | | * fix(fabric): Add untagged attribute to FabricMainClass enum exportHsiangNianian2026-01-212-2/+3
| | | |
| | | * fix: Update ts_rs import to include SerializeHsiangNianian2026-01-211-1/+1
| | | |
| | | * fix(auth): Remove commented-out prism's Client ID from auth.rsHsiangNianian2026-01-211-1/+0
| | | |
| | | * fix(deps): Update ts-rs dependency to include serde-compat featureHsiangNianian2026-01-211-1/+1
| | | |
| | | * fix(ci): Restrict CI workflow to main branch and remove musl build ↵HsiangNianian2026-01-211-18/+9
| | | | | | | | | | | | | | | | configurations
| * | | feat(docs): add React Router docs with FumadocsNtskwK2026-01-2121-2/+4994
| | | |
| | | * fix: Update TypeScript export paths to reflect new directory structureHsiangNianian2026-01-2111-58/+76
| | | |
| | | * feat: Add TypeScript support to data structures using ts-rs for type generationHsiangNianian2026-01-2111-61/+276
| | | |
| | | * chore(deps): Add ts-rs dependency version 11.1.0HsiangNianian2026-01-201-0/+1
| | |/
| | * fix(ci): Enable cross compilation for musl builds and streamline dependency ↵HsiangNianian2026-01-201-4/+7
| | | | | | | | | | | | installation
| | * fix(ci): Add rustflags for Windows builds and install musl-tools for LinuxHsiangNianian2026-01-201-0/+6
| | |
| | * chore: Update CI workflow to include dev branch and platforms简律纯2026-01-201-9/+9
| | |
| | * [Chore] branch: Sync with main (#75)简律纯2026-01-2077-2512/+4548
| | |\ | |_|/ |/| |
| * | docs: update terminology in READMENtskwK2026-01-201-1/+1
| | |
| * | docs: add Chinese README documentationNtskwK2026-01-201-0/+142
|/ /