Tunglies
|
537d27d10b
|
fix: clippy errors with new config (#4428)
* refactor: improve code quality with clippy fixes and standardized logging
- Replace dangerous unwrap()/expect() calls with proper error handling
- Standardize logging from log:: to logging\! macro with Type:: classifications
- Fix app handle panics with graceful fallback patterns
- Improve error resilience across 35+ modules without breaking functionality
- Reduce clippy warnings from 300+ to 0 in main library code
* chore: update Cargo.toml configuration
* refactor: resolve all clippy warnings
- Fix Arc clone warnings using explicit Arc::clone syntax across 9 files
- Add #[allow(clippy::expect_used)] to test functions for appropriate expect usage
- Remove no-effect statements from debug code cleanup
- Apply clippy auto-fixes for dbg\! macro removals and path statements
- Achieve zero clippy warnings on all targets with -D warnings flag
* chore: update Cargo.toml clippy configuration
* refactor: simplify macOS job configuration and improve caching
* refactor: remove unnecessary async/await from service and proxy functions
* refactor: streamline pnpm installation in CI configuration
* refactor: simplify error handling and remove unnecessary else statements
* refactor: replace async/await with synchronous locks for core management
* refactor: add workflow_dispatch trigger to clippy job
* refactor: convert async functions to synchronous for service management
* refactor: convert async functions to synchronous for UWP tool invocation
* fix: change wrong logging
* refactor: convert proxy restoration functions to async
* Revert "refactor: convert proxy restoration functions to async"
This reverts commit b82f5d250b.
* refactor: update proxy restoration functions to return Result types
* fix: handle errors during proxy restoration and update async function signatures
* fix: handle errors during proxy restoration and update async function signatures
* refactor: update restore_pac_proxy and restore_sys_proxy functions to async
* fix: convert restore_pac_proxy and restore_sys_proxy functions to async
* fix: await restore_sys_proxy calls in proxy restoration logic
* fix: suppress clippy warnings for unused async functions in proxy restoration
* fix: suppress clippy warnings for unused async functions in proxy restoration
|
2025-08-18 02:02:25 +08:00 |
|
Tunglies
|
1ddbe7c2cc
|
feat: add service uninstall functionality and improve service operation flow
|
2025-05-13 01:56:19 +08:00 |
|
Tunglies
|
5b6c9be99f
|
feat: better service status and TUN mode usable checks in Setting Page
|
2025-05-12 19:04:21 +08:00 |
|
Tunglies
|
492a5a6de7
|
feat(cmd): service return message i18 language support
|
2025-03-28 11:51:52 +08:00 |
|
Tunglies
|
f6c0f144a6
|
fix(clippy): clippy warning codes
|
2025-03-28 11:43:21 +08:00 |
|
Tunglies
|
1c046f3ca3
|
fix(cmd): service error message return with shorter message
|
2025-03-28 11:35:50 +08:00 |
|
Tunglies
|
e8e16f7d57
|
refactor(logging): replace log_err! with structured logging_error! calls
refactor(cm-service): better error handling from Backend to Frontend
|
2025-03-28 03:39:34 +08:00 |
|
Tunglies
|
81968a579d
|
feat: reorganize service commands and implement logging for service management
|
2025-03-26 15:02:08 +08:00 |
|