vffuunnyy
9c33f007a1
refactor: fix formating in rust
2025-08-16 15:22:38 +07:00
vffuunnyy
902256d461
refactor: translate Chinese log messages to English in core modules
2025-08-16 04:00:00 +07:00
coolcoala
1274ba2324
HWID implementation
2025-07-10 20:50:12 +03: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
a92872c831
fix: resolve race condition freeze on rapid tray icon clicks in lightweight mode
2025-06-22 15:44:09 +08:00
wonfen
c0f3d35e13
fix: resolve namespace issue
2025-06-17 19:47:24 +08:00
wonfen
fc30fab9cd
feat: unify window manager and optimize window show/hide logic
2025-06-17 13:02:47 +08:00
wonfen
9b46c1a991
refactor: unify log output format
2025-06-16 21:03:45 +08:00
wonfen
dd505e4d58
perf: optimize layout initialization and enhance backend notification mechanism
2025-06-15 19:35:12 +08:00
wonfen
dd0e9d4e1b
fix: enhance hotkey handling in lightweight mode and improve window management
2025-06-15 17:40:59 +08:00
wonfen
5858f05c13
perf: async app startup loading to prevent UI freeze
2025-06-13 22:59:16 +08:00
Tunglies
53a46d0dc6
refactor: simplify proxy type handling and improve error handling in network commands
2025-05-16 00:09:47 +08:00
Tunglies
5b6c9be99f
feat: better service status and TUN mode usable checks in Setting Page
2025-05-12 19:04:21 +08:00
wonfen
23b0493d0b
perf: optimize network requests and update logic to support aborting
2025-05-04 11:25:48 +08:00
wonfen
32b6821b8a
feat: add network manager to optimize network request handling
2025-04-30 21:30:28 +08:00
Tunglies
9d9dd73790
chore: remove fast-dev profile and enhance dev profile settings
2025-04-27 15:13:34 +08:00
tiegen
7383459b9a
feat: clean proxy settings before exit ( #3404 )
2025-04-26 18:09:53 +08:00
wonfen
d6a79316a6
feat: toggle next auto-update time on subscription card click and show update result feedback
2025-04-25 17:17:34 +08:00
wonfen
8d62c0d521
feat: auto-fallback to Clash proxy on scheduled subscription updates; refactor fallback logic and add request timeout
2025-04-24 22:51:45 +08:00
wonfen
05b910dc17
feat: close all connections when disable sysporxy
2025-04-19 15:10:49 +08:00
逐雁南飛
b70cad537c
添加代理主机的设置,允许代理设置为其他IP(非127.0.0.1) ( #2963 )
...
允许下拉选择ip地址(支持IPv6)、localhost、以及当前系统的主机名,同时兼容手工输入
2025-04-17 16:47:21 +08:00
Tunglies
1970155c51
fix: macos use hotkey closing window can not entry auto-lightweight-mode #3326
2025-04-12 03:29:57 +08:00
Tunglies
51ef1329be
Refactor async runtime usage with AsyncHandler wrapper
2025-04-11 18:00:35 +08:00
Tunglies
b6a6f5f434
Add AsyncHandler for wrapping task spawning
2025-04-11 17:30:30 +08:00
Tunglies
0b8d08d13b
Update logging macros usage in timer module
...
Replace log macros with custom logging macros in timer module
2025-04-05 11:36:38 +08:00
Tunglies
0de304d4e3
Fix and Optimize
...
fix : #3187 and #3096 , silent startup can not trigger lightweight mode
fix: optimize startup initializing processing
2025-04-05 10:28:27 +08:00
wonfen
7b5fd104de
fix : #3227 , use async operations to avoid blocking on
2025-04-01 12:52:59 +08:00
Tunglies
3fa130695c
rm: setup_window_state_monitor for temporary due to unkown window control behavior
2025-03-31 21:52:50 +08:00
Tunglies
ad1f2bea3b
fix: unused Result
2025-03-31 21:44:12 +08:00
Tunglies
cd4bfdd743
feat: change proxy mode to close connections if enable auto close connections
2025-03-31 21:43:29 +08:00
wonfen
1bd503a654
feat: add error prompt for initial config loading to prevent switching to invalid subscription
2025-03-30 10:56:30 +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
d91653b218
feat: add config log type and improve window logging
2025-03-26 16:43:26 +08:00
Tunglies
98d3a48710
refactor: replace println with logging in core validation and tray quit function
2025-03-26 04:31:38 +08:00
Tunglies
df5424d55e
feat: add logging module and update running mode terminology
2025-03-25 23:05:09 +08:00
Tunglies
f50fe9159d
refactor: remove deprecated lightweight module and adjust macOS activation policy
2025-03-24 20:11:38 +08:00
Tunglies
09f6917638
fix: update lightweight mode implementation and fix MacOS dock icon visibility
2025-03-24 19:16:21 +08:00
Tunglies
1a7c076e07
feat: add option to enable/disable tray icon display on MacOS
2025-03-23 16:37:27 +08:00
Tunglies
d669650758
feat: add lightweight mode entry and related hotkey support
2025-03-23 03:10:48 +08:00
Tunglies
1d88d98ea1
feat: ensure Mihomo and Verge services are running before executing commands
2025-03-22 17:05:42 +08:00
wonfen
2ab923da87
fix: port setting sync problem
2025-03-21 12:28:51 +08:00
Tunglies
84a5cf6b89
feat(hotkey): macos support CMD+W to close window as default
2025-03-20 13:02:26 +08:00
Tunglies
81b5501b0e
feat: implement auto lightweight mode timer functionality
...
This commit implements the automatic lightweight mode feature with timer functionality:
- Rename configuration properties from auto_enter_lite_mode to enable_auto_light_weight_mode and auto_enter_lite_mode_delay to auto_light_weight_minutes for better clarity
- Add window event listeners to detect when window is closed or gets focus
- Implement timer system to automatically enter lightweight mode after configured time
- Remove exit_lightweight_mode function as it's no longer needed with the new implementation
- Update UI components to reflect the new property names
- Add logging for lightweight mode operations
- Initialize lightweight mode based on user configuration at startup
The feature now allows users to set a timer that will automatically enter lightweight mode
after closing the main window, which can be cancelled by focusing the window again.
2025-03-20 06:01:38 +08:00
Tunglies
91ccb3045c
feat: implement lightweight mode functionality and update related settings
2025-03-20 03:23:14 +08:00
wonfen
61f019f194
fix: cannot detect service mode on home card
2025-03-19 05:25:38 +08:00
Tunglies
772ecdd3b0
refactor: improve proxy retrieval and add window destruction method
2025-03-19 02:04:01 +08:00
Tunglies
d6a48deb5a
refactor(config): use bitflags for tracking update operations
...
Replace multiple boolean variables with a bitflag approach for tracking
required update operations in the patch_verge function. This improves
code maintainability and potentially performance by:
1. Using a single integer variable with bit operations instead of multiple booleans
2. Defining clear flags as enum variants for better code readability
3. Simplifying flag checks with bitwise operations
The UpdateFlags enum provides a clear and type-safe way to represent
different types of updates needed when patching Verge configuration.
2025-03-15 18:42:57 +08:00
Tunglies
1ec7a0f23c
refactor: update request method handling to use reqwest::Method enum
...
fix: duplicated checks tray menu
2025-03-15 13:23:17 +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