renovate[bot]
1246a66b35
chore(deps): update dependency lint-staged to ^16.2.4 ( #5021 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-11 15:17:53 +08:00
renovate[bot]
7d6fb54783
chore(deps): update npm dependencies ( #5015 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-11 13:14:56 +08:00
renovate[bot]
79d14f1d51
chore(deps): update rust crate regex to 1.12.1 ( #5017 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-11 13:12:27 +08:00
Tunglies
59dd71ebaa
refactor: simplify logging calls by removing unnecessary parameters
2025-10-10 13:46:26 +08:00
Tunglies
ea319e951c
fix: update clippy command to include all features and targets
2025-10-10 13:05:59 +08:00
Tunglies
8c0af66ca9
Refactor logging macros to remove print control parameter
...
- Updated logging macros to eliminate the boolean parameter for print control, simplifying the logging calls throughout the codebase.
- Adjusted all logging calls in various modules (lib.rs, lightweight.rs, help.rs, init.rs, logging.rs, resolve/mod.rs, resolve/scheme.rs, resolve/ui.rs, resolve/window.rs, server.rs, singleton.rs, window_manager.rs) to reflect the new macro structure.
- Ensured consistent logging behavior across the application by standardizing the logging format.
2025-10-10 13:05:37 +08:00
Sline
a4d94c8bc9
refactor: enhance compositor detection logic ( #5007 )
...
* refactor: enhance compositor detection logic
* docs: UPDATELOG.md
2025-10-10 10:13:24 +08:00
renovate[bot]
ea8ca1b739
chore(deps): update dependency @mui/x-data-grid to ^8.14.0 ( #5004 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-10 08:38:22 +08:00
Slinetrac
e4f1bab8fb
Reapply "fix: windows title bar only"
...
This reverts commit 7e05b8f13b .
2025-10-10 08:25:08 +08:00
Tunglies
7e05b8f13b
Revert "fix: windows title bar and refactor old code ( #4988 )" this breaks UI page switch function
...
This reverts commit 03ab2410cc .
2025-10-10 07:38:52 +08:00
renovate[bot]
0a771bd67a
chore(deps): update rust crate libc to 0.2.177 ( #5003 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-09 22:24:19 +08:00
renovate[bot]
2798e930ac
chore(deps): update rust crate zip to v6 ( #5000 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-09 22:17:45 +08:00
oomeow
1357913f8b
fix: restart app failed ( #4974 )
...
* fix: failed to restart app
* chore: cleanup
* chore: cargo fmt
* chore: use AsyncHandler
* chore: clippy
* chore: update
2025-10-09 20:08:25 +08:00
❤是纱雾酱哟~
14b990ad9f
Revert "build(tauri): add pkexec dependency for Linux packages ( #4833 )" ( #4996 )
...
- This reverts commit b608a38
- This may reopen issue #4831
- Issue #4992 may still remain unresolved
Signed-off-by: Dragon1573 <49941141+Dragon1573@users.noreply.github.com >
2025-10-09 18:45:02 +08:00
Slinetrac
58bd2032f3
refactor(sidecar): inline Record construction for safer logging
...
- Build Record inline so fmt::Arguments temporary only lives through writer.write, avoiding dropped-temporary borrow.
- Add explicit 'static annotation on leaked string before reboxing for clarity.
2025-10-09 18:41:09 +08:00
Slinetrac
fe7eb59f18
refactor(core): stabilize 'static backing for sidecar logging
...
Introduced `write_sidecar_log` to prevent temporary `format_args!` values
from dropping early.
- src-tauri/src/core/core.rs:60 — adds `write_sidecar_log`, which temporarily
leaks the message into a `Box<str>`, builds the `Record`, writes it, then
immediately reclaims the boxed string. The `unsafe` block is limited to
`Box::from_raw` needed to undo `Box::leak`.
- src-tauri/src/core/core.rs:794, 802, 806 — all three sidecar events now route
through this helper, reusing the returned string for the in-memory log and
avoiding extra UTF-8 decoding.
2025-10-09 16:46:11 +08:00
Sline
e3cd16189b
fix: linux app theme ( #4997 )
2025-10-09 16:03:28 +08:00
Sline
bd9db1b4f7
fix: linux webkit error ( #4995 )
...
* fix: linux webkit error
* docs: UPDATELOG.md
2025-10-09 15:44:11 +08:00
Sline
5db4677ff8
fix: linux tun timeout ( #4993 )
...
* fix: linux tun timeout
* docs: UPDATELOG.md
2025-10-09 15:09:17 +08:00
Slinetrac
44280b23e4
Merge remote-tracking branch 'origin/dev' into dev
2025-10-09 14:05:37 +08:00
Slinetrac
7cfc31b6e5
docs: UPDATELOG.md
2025-10-09 14:05:05 +08:00
Sline
c7cd47fbdc
fix: silent start ( #4990 )
2025-10-09 14:02:27 +08:00
renovate[bot]
a9d91a09c4
chore(deps): update dependency eslint-plugin-react-hooks to v7 ( #4987 )
...
* chore(deps): update dependency eslint-plugin-react-hooks to v7
* style: format
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Slinetrac <realakayuki@gmail.com >
2025-10-09 12:58:14 +08:00
Slinetrac
d18b98304b
fix: windows title bar only
2025-10-09 12:34:36 +08:00
Slinetrac
a80bc10719
Revert "fix: windows title bar and refactor old code ( #4988 )"
...
This reverts commit 03ab2410cc .
2025-10-09 12:31:54 +08:00
Slinetrac
0f34d63b6d
docs: up UPDATELOG.md
2025-10-09 11:44:52 +08:00
Tunglies
02c271dfb2
feat: update tauri-plugin-mihomo to version 0.1.1 with new source reference
2025-10-09 11:32:09 +08:00
Sline
03ab2410cc
fix: windows title bar and refactor old code ( #4988 )
2025-10-09 10:53:20 +08:00
Slinetrac
f5c2b2a23d
chore: light hook
2025-10-09 10:29:20 +08:00
Tunglies
4417fe6cd9
feat: update tray tooltip to include reassembled version format #4727
2025-10-09 05:53:49 +08:00
renovate[bot]
57c031a8f8
chore(deps): update dependency react-router-dom to v7.9.4 ( #4985 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-09 05:10:48 +08:00
renovate[bot]
a9733d9746
chore(deps): update rust crate flexi_logger to 0.31.7 ( #4986 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-09 05:10:32 +08:00
❤是纱雾酱哟~
936764e6ce
feat: Enable git hooks with husky ( #4984 )
...
* build(deps): Adds husky for Git hooks
- Integrates the husky package as a development dependency.
- Enables the configuration and enforcement of pre-commit and pre-push Git hooks.
- Improves code quality and consistency by automating checks before commits.
Signed-off-by: Dragon1573 <49941141+Dragon1573@users.noreply.github.com >
* feat: Add Husky prepare hook
- Automatically installs Git hooks for developers
- Ensures consistent code quality checks before commits or pushes
- Streamlines the developer setup process
Signed-off-by: Dragon1573 <49941141+Dragon1573@users.noreply.github.com >
* ci: Avoid installing Git Hooks on GitHub Workflows
- Adds `HUSKY: 0` environment variable to all workflow definitions.
- Prevents local development hooks from executing in CI, which can cause unnecessary failures or overhead.
- See https://typicode.github.io/husky/how-to.html#ci-server-and-docker
Signed-off-by: Dragon1573 <49941141+Dragon1573@users.noreply.github.com >
---------
Signed-off-by: Dragon1573 <49941141+Dragon1573@users.noreply.github.com >
2025-10-09 05:10:03 +08:00
Sline
9750cd3ce6
fix: multi-monitor-crash ( #4980 )
2025-10-08 22:02:17 +08:00
Tunglies
bfd1274a8c
feat: Implement custom window controls and titlebar management ( #4919 )
...
- Added WindowControls component for managing window actions (minimize, maximize, close) based on the operating system.
- Integrated window decoration toggle functionality to allow users to prefer system titlebar.
- Updated layout styles to accommodate new titlebar and window controls.
- Refactored layout components to utilize new window management hooks.
- Enhanced layout viewer to include a switch for enabling/disabling window decorations.
- Improved overall window management by introducing useWindow and useWindowDecorations hooks for better state handling.
2025-10-08 20:23:26 +08:00
renovate[bot]
f195b3bccf
chore(deps): update rust crate flexi_logger to 0.31.6 ( #4979 )
...
* chore(deps): update rust crate flexi_logger to 0.31.6
* chore: up lock
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Slinetrac <realakayuki@gmail.com >
2025-10-08 19:14:00 +08:00
Tunglies
5376d50cfb
feat: add clash_verge_logger and clash_verge_service_ipc dependencies; refactor logging and process management
2025-10-08 18:06:11 +08:00
Slinetrac
0b6681436a
style: lint
2025-10-08 14:19:07 +08:00
oomeow
7fc238c27b
refactor: invock mihomo api by use tauri-plugin-mihomo ( #4926 )
...
* feat: add tauri-plugin-mihomo
* refactor: invock mihomo api by use tauri-plugin-mihomo
* chore: todo
* chore: update
* chore: update
* chore: update
* chore: update
* fix: incorrect delay status and update pretty config
* chore: update
* chore: remove cache
* chore: update
* chore: update
* fix: app freezed when change group proxy
* chore: update
* chore: update
* chore: add rustfmt.toml to tauri-plugin-mihomo
* chore: happy clippy
* refactor: connect mihomo websocket
* chore: update
* chore: update
* fix: parse bigint to number
* chore: update
* Revert "fix: parse bigint to number"
This reverts commit 74c006522e .
* chore: use number instead of bigint
* chore: cleanup
* fix: rule data not refresh when switch profile
* chore: update
* chore: cleanup
* chore: update
* fix: traffic graph data display
* feat: add ipc connection pool
* chore: update
* chore: clippy
* fix: incorrect delay status
* fix: typo
* fix: empty proxies tray menu
* chore: clippy
* chore: import tauri-plugin-mihomo by using git repo
* chore: cleanup
* fix: mihomo api
* fix: incorrect delay status
* chore: update tauri-plugin-mihomo dep
chore: update
2025-10-08 12:32:40 +08:00
Sline
72aa56007c
feat(ui): implement profiles batch select and i18n ( #4972 )
...
* feat(ui): implement profiles batch select and i18n
* refactor: adjust button position and icon
* style: lint fmt
2025-10-08 12:02:55 +08:00
renovate[bot]
2bc720534d
chore(deps): update rust crate flexi_logger to 0.31.5 ( #4965 )
...
* chore(deps): update rust crate flexi_logger to 0.31.5
* chore: up lock
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Slinetrac <realakayuki@gmail.com >
2025-10-08 08:34:41 +08:00
renovate[bot]
1e88f95b43
chore(deps): update dependency lint-staged to v16 ( #4968 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Slinetrac <realakayuki@gmail.com >
2025-10-08 08:34:03 +08:00
Slinetrac
9d47bc66c4
chore: unify hook behavior to prevent cross-platform CI failures
2025-10-08 08:12:16 +08:00
Slinetrac
10f250b7e7
Revert "fix(windows): show UAC prompt for TUN service install/uninstall ( #4959 )"
...
This reverts commit c05395c258 .
2025-10-08 07:47:05 +08:00
oomeow
f492580864
chore: pretty lint-staged.config.js
2025-10-07 18:50:18 +08:00
Slinetrac
86b4712beb
chore: more friendly lint
2025-10-07 18:28:32 +08:00
Slinetrac
0d12103085
chore: add lint-staged and edit pre-commit
2025-10-07 18:02:37 +08:00
Sline
bf4e1a3270
feat: url test button for proxy card and type safety ( #4964 )
...
* feat: url test button for proxy card and type safety
* fix: resolve ESLint hook dependency error in current-proxy-card.tsx
2025-10-07 16:39:22 +08:00
renovate[bot]
3f1f53434c
chore(deps): update npm dependencies ( #4962 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-07 16:38:32 +08:00
Sline
d3477159a8
fix: improve Linux tray support and add --no-tray option ( #4958 )
2025-10-07 10:02:11 +08:00