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
a574ced428
Refactor logging statements to use the new formatting syntax for improved readability and consistency across the codebase. This includes updating error, warning, and info logs in various modules such as system commands, configuration, core functionalities, and utilities. Additionally, minor adjustments were made to string formatting in backup and proxy features to enhance clarity.
2025-06-27 23:30:59 +08:00
wonfen
7b5fd104de
fix : #3227 , use async operations to avoid blocking on
2025-04-01 12:52:59 +08:00
wonfen
c53514e060
feat: unify runtime mode detection; support TUN and service installation in admin mode
2025-03-31 08:16:14 +08:00
wonfen
52a15bb281
feat: detect admin mode and warn about auto-start unavailability
2025-03-31 03:22:24 +08:00
Tunglies
6e40dd9862
fix: tray icon and tray rate display expression logic bug
2025-03-26 19:07:09 +08:00
Tunglies
ca0cf4552c
add: RunningMode Display implementation and TypeScript enum
2025-03-26 17:01:48 +08:00
Tunglies
81968a579d
feat: reorganize service commands and implement logging for service management
2025-03-26 15:02:08 +08:00
Tunglies
df5424d55e
feat: add logging module and update running mode terminology
2025-03-25 23:05:09 +08:00
Tunglies
488e8ef1d5
fix: optimize speed rate update logic for small values
2025-03-14 22:40:56 +08:00
wonfen
1f99cee78b
feat: home page
2025-03-14 13:31:34 +08:00
Tunglies
b57c6e408a
chore: git hooks for linter and formatter
2025-03-13 12:51:20 +08:00
Tunglies
1ee8786ab7
feat(sysinfo): Add diagnostic information enhancements ( #2880 )
...
Enhanced the PlatformSpecification struct with additional diagnostic information including:
- Added Verge version information to diagnostic output
- Added running mode information (Service/Sidecar/Not Running)
- Improved Debug implementation to display all diagnostic fields
- Implemented asynchronous detection of core running mode
This change helps users provide more complete system information when reporting issues.
2025-03-04 11:52:22 +08:00
wonfen
07bdc108ed
feat: show service mode installation prompts in user mode
2025-03-03 14:42:31 +08:00
Tunglies
aff504bddc
feat: add export diagnostic info functionality ( #2856 )
2025-03-03 05:58:12 +08:00