wonfen
5fde5dcc7c
feat: implement async proxy lookup and optimize system/auto proxy retrieval logic
2025-06-21 21:56:15 +08:00
wonfen
034885d810
feat: introduce event-driven proxy manager and optimize proxy config updates
2025-06-21 21:56:15 +08:00
wonfen
1a6454ee79
perf: optimize profile switching logic with interrupt support to prevent freeze
2025-06-21 10:04:12 +08:00
Tunglies
a8257e8cb2
fix: unexpected behavior while pulling resources ( #3789 )
...
fix: unexpected behavior while pulling resources
在 commit 25cfd162f6 中引入新的 pnpm prepare 执行脚本指令,而 prepare 关键字与包管理器的生命周期脚本冲突。导致在运行 Workflow 的时候被执行两次资源拉取,并且被当做生命周期脚本的时候没有携带预期的 \`${{ matrix.target }}\`。这一行为进一步影响 macOS Intel X86 平台上的构建。
所影响的 issues: #3753 , #3771
2025-06-18 01:11:33 +08:00
wonfen
ac7307b1f7
feat: enhance profile management and proxy refresh with improved event listening and state updates
2025-06-17 11:38:53 +08:00
wonfen
9b46c1a991
refactor: unify log output format
2025-06-16 21:03:45 +08:00
wonfen
d05b1c3130
feat: clean up redundant profiles files
2025-06-09 13:48:38 +08:00
Tunglies
689042df60
refactor: use Box to store large config objects and add memory usage tests
...
- Refactored config-related structs to use Box for storing large objects (e.g., IRuntime, IProfiles, PrfItem) to reduce stack memory usage and improve performance.
- Updated related methods and assignments to handle Boxed types correctly.
- Added and improved unit tests to compare memory usage between Boxed and non-Boxed config objects, demonstrating the memory efficiency of Box.
- Test output now shows the size difference between stack-allocated and heap-allocated (Box) config objects.
2025-06-06 14:54:48 +08:00
Tunglies
30015dfd67
refactor(state/proxy): use Box<Value> for providers_proxies to reduce struct size
...
- Changed providers_proxies from Value to Box<Value> in CmdProxyState
- Reduces struct size from 32 bytes to 8 bytes, optimizing memory usage
2025-06-06 12:46:58 +08:00
Tunglies
80f550d67e
refactor(proxy): enhance proxy state management and refresh logic
2025-06-05 20:10:28 +08:00
Tunglies
fee6a586d7
feat: implement CmdProxyState for managing proxy refresh state and add state management module
...
refactor: remove unnecessary macOS conditional compilation directive
2025-06-05 19:34:24 +08:00
wonfen
72783e3ff5
feat: add global mutex to prevent concurrent config updates
2025-06-01 20:54:14 +08:00
Tunglies
32ee1b36d2
refactor: replace isServiceAvailable with getRunningMode for service status checks
2025-05-26 16:08:16 +08:00
wonfen
4840e07da8
refactor: remove redundant logic
2025-05-25 21:56:04 +08:00
wonfen
af1689ee07
refactor: add debounce to optimize config updates and provider refresh handling
2025-05-25 21:34:48 +08:00
wonfen
b70e202201
refactor: simplify frontend event dispatch by restructuring notification system
2025-05-18 20:58:59 +08:00
Tunglies
53a46d0dc6
refactor: simplify proxy type handling and improve error handling in network commands
2025-05-16 00:09:47 +08:00
wonfen
d1a2bd78d7
perf: improve install status detection to ensure frontend consistency
2025-05-13 23:34:30 +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
wonfen
10576780ed
feat: add hosts settings to DNS settings and enhance DNS config validation
2025-05-11 22:55:31 +08:00
wonfen
8cae9d4e0a
refactor: use async approach to restructure UI startup logic and resolve various freeze issues during launch
2025-05-10 01:26:03 +08:00
wonfen
d8df283e93
feat: make get system and auto proxy functions async, use spawn_blocking for blocking tasks
2025-05-04 20:35:04 +08:00
wonfen
ff5a2c6ca4
feat: add backend config change listener to update frontend state
2025-05-04 13:28:08 +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
d05952e945
fix: resolve lightweight mode recovery failure caused by white screen prevention
2025-04-21 00:15:02 +08:00
wonfen
541b78ba6f
fix: restart clash core after change it
2025-04-19 22:23:58 +08:00
Tunglies
1df9fff0a7
2.2.4-alpha.0
2025-04-17 16:47:21 +08:00
逐雁南飛
b70cad537c
添加代理主机的设置,允许代理设置为其他IP(非127.0.0.1) ( #2963 )
...
允许下拉选择ip地址(支持IPv6)、localhost、以及当前系统的主机名,同时兼容手工输入
2025-04-17 16:47:21 +08:00
wonfen
85d08fadd9
feat: check window render size and wait for completion to prevent white screen
2025-04-17 16:47:21 +08:00
Tunglies
51ef1329be
Refactor async runtime usage with AsyncHandler wrapper
2025-04-11 18:00:35 +08:00
Tunglies
843f40d7d5
fix: unlock test error message to "Unsupported Country/Region"
2025-04-10 11:30:52 +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
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
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
4831d88467
rm(lightweight): unused logging
2025-03-29 13:05:58 +08:00
Tunglies
9ebde802d4
Update alpha workflow to trigger on src directory changes
2025-03-29 12:35:49 +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
e2046f3e48
refact(profile+core): replace println with logging! macros for structured logging
2025-03-28 01:48:55 +08:00
Tunglies
ce5c86c3b0
fix: load custom tray icon failed due to #2886
2025-03-27 11:12:08 +08:00
Tunglies
971dd6a2cf
fea: optimize vite chunk splitting
2025-03-27 05:09:36 +08:00
Tunglies
6e40dd9862
fix: tray icon and tray rate display expression logic bug
2025-03-26 19:07:09 +08:00
Tunglies
42db9ea0bb
chore: enable pre-commit for Rust formatting, pre-push for Rust linter check
2025-03-26 18:59:31 +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