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
Tunglies
f1192c95a8
feat: add notification system with hotkey events and permission handling ( #3867 )
...
* feat: add notification system with hotkey events and permission handling
* Add macOS-specific handling for AppHidden notification
Introduces conditional support for the AppHidden notification event,
enabling macOS-specific behavior. Updates the enum and notification
logic to include this platform-specific feature.
Improves macOS user experience by accommodating system-level
application hiding events.
* Implement feature X to enhance user experience and fix bug Y in module Z
* refactor(notification): update notification keys for consistency and clarity
* chore(deps): update dependencies to latest versions
2025-06-26 23:09:07 +08:00
wonfen
bdfc383a18
refactor: enhance Windows proxy retrieval by using WinAPI for registry access
2025-06-22 21:05:50 +08:00
wonfen
f6b5524e0e
refactor: replace shell command check with WinAPI call
2025-06-22 18:45:38 +08:00
Tunglies
e7461fccab
refactor: remove unused macOS tray speed display and improve tray icon handling ( #3862 )
...
* refactor: remove unused macOS tray speed display and improve tray icon handling
* refactor: disable macOS specific logging during core initialization
* feat: add linux elevator function to determine privilege escalation command
2025-06-22 16:28:06 +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
Tunglies
9b1c660306
feat: add new monochrome tray icons for system and tunnel
2025-06-22 15:31:59 +08:00
Tunglies
3d8b2cf35f
fix: improve error handling for application handle retrieval ( #3860 )
...
* fix: improve error handling for application handle retrieval
* fix: correct argument passing for command execution and improve URL stripping logic
2025-06-22 01:16:57 +08:00
wonfen
41fc13cfe2
fix: format & update
2025-06-21 22:39:12 +08:00
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
e698fe8d18
feat: add cleanup for redundant mihomo processes
2025-06-21 08:13:12 +08:00
Just want to protect you
623461b649
about tray and silent startup + automatic startup light repair and optimization ( #3814 )
...
* fixed the issue that the tray does not display in light mode
* add show main window after exiting light mode
* fix: the issue where other selections could not respond in real time
* Refactored the original silent + self-starting lightweight #3708
* update logs
* fix formatting issues
* fix
* fix nesting
* repair previous formatting issues
* fix: resolve issue with tray not restoring from lightweight mode
* remove the tray display that should not exist
* fix translation field issue
---------
Co-authored-by: Ahao <108321411+xuanyuan0408@users.noreply.github.com >
Co-authored-by: Tunglies <selenvow+github@gmail.com >
2025-06-18 20:00:33 +08:00
wonfen
fc30fab9cd
feat: unify window manager and optimize window show/hide logic
2025-06-17 13:02:47 +08:00
wonfen
a67e8388a9
fix: restore window from tray when status bar icon is present
2025-06-17 12:59:05 +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
Tunglies
4068e5ec9c
fix: clippy error in 26acce94a4 (diff-3a1c371e65c9809233eadec0aed9dfc09813f06b4d622ffd5a613ae6020048c8R298)
2025-06-17 08:24:10 +08:00
wonfen
26acce94a4
feat: add clash_core config validation & auto-fix to default; fixed "No such file or directory (os error 2)"
2025-06-16 20:27:02 +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
b591a90100
feat: add Linux-specific tray icon builder configuration
2025-06-11 01:04:56 +08:00
Tunglies
db3cfdf66f
refactor: update icon variable naming for clarity and adjust macOS logging import
2025-06-11 00:51:34 +08:00
Tunglies
5cf3e1a817
refactor: streamline macOS-specific code by consolidating conditional imports and logic in sysopt, tray, lightweight, and mihomo modules
2025-06-11 00:19:06 +08:00
Tunglies
cbcab72a7c
refactor: simplify version check logic in run_core_by_service and update tray menu function call
2025-06-10 23:37:09 +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
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
Tunglies
32ebc8d174
refactor: simplify event handling in CoreManager by removing unnecessary match statement
2025-05-20 23:01:32 +08:00
Tunglies
4024b72954
feat: enhance auto log cleaning options with 1-day retention and update related configurations
2025-05-20 22:34:02 +08:00
wonfen
b70e202201
refactor: simplify frontend event dispatch by restructuring notification system
2025-05-18 20:58:59 +08:00
wonfen
8d99af4c15
chore: simplify service logging
2025-05-18 17:53:57 +08:00
wonfen
861428d3bd
fix: sidecar core log path
2025-05-18 09:58:33 +08:00
Tunglies
00e3f13bc9
fix: profile-view wrong type of http request timeout value
2025-05-18 00:52:59 +08:00
wonfen
8448217bd4
refactor: move event dispatch logic into notifier thread to improve efficiency
2025-05-17 19:42:43 +08:00
wonfen
305a64c3e3
feat: optimize service initialization logic to fallback to Sidecar mode on installation failure
2025-05-17 19:13:24 +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
b37b121afb
chore: disable tray speed by default
2025-05-11 19:25:32 +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
b5b65ac8c5
fix: windows ipc errors
2025-05-09 01:29:10 +08:00
wonfen
7370f00857
feat: add authenticated service IPC communication
2025-05-08 00:14:58 +08:00
wonfen
ce42ca77a9
fix: timeout mechanism for sending notice messages
2025-05-04 16:47:10 +08:00
wonfen
ba0f4cdde0
refactor: separate notification thread in frontend to prevent UI freeze
2025-05-04 09:21:32 +08:00
wonfen
c72413cbe6
feat: enhance traffic monitoring, optimize data handling logic, and add error retry mechanism and timeout control
2025-05-03 09:53:44 +08:00
wonfen
73b9a71c84
feat: add retry mechanism to optimize network requests, improve async message handling and timeout for scheduled tasks
2025-05-03 09:38:25 +08:00
wonfen
32b6821b8a
feat: add network manager to optimize network request handling
2025-04-30 21:30:28 +08:00
Tunglies
3ce5d3bf2d
fix: update required service version to 1.0.6
2025-04-28 06:16:14 +08:00
Tunglies
9d9dd73790
chore: remove fast-dev profile and enhance dev profile settings
2025-04-27 15:13:34 +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