Slinetrac
8e27834e35
fix(theme/windows): apply patch to tao to fix Windows theme sync
2025-12-26 12:01:44 +08:00
Slinetrac
ee3f7df417
Revert "fix(theme/windows): switch to dark-light based theme detection"
...
This reverts commit 1c044f053f .
2025-12-26 11:59:13 +08:00
Tunglies
f9b8a658a1
perf(draft): optimize memory layout by removing double indirection & implemented optimistic locking via Arc::ptr_eq for with_data_modify ( #5942 )
...
* perf(draft): optimize memory layout by removing double indirection
- Replace `Arc<Box<T>>` with `Arc<T>` to reduce pointer chasing and memory overhead.
- Leverage `Arc::from(Box<T>)` in async modify path for efficient ownership transfer.
- Fix race conditions in `edit_draft` by ensuring atomicity under write lock.
- Performance improved by ~16-24% across all operations (based on Criterion bench).
Benchmarks:
- latest_arc: 41.1ns (-24.2%)
- edit_draft: 92.2ns (-17.6%)
- apply: 89.8ns (-17.7%)
- async_modify: 66.0ns (-16.6%)
* perf(draft): implemented optimistic locking via Arc::ptr_eq for with_data_modify
Benchmarks confirm only a negligible ~2% (1.3ns) overhead for async operations, ensuring total data integrity during concurrent updates.
2025-12-25 16:44:23 +08:00
Slinetrac
1c044f053f
fix(theme/windows): switch to dark-light based theme detection
2025-12-25 14:43:27 +08:00
Slinetrac
712b8ff19b
refactor(linux): move Linux-specific mime.rs and workarounds.rs to utils/linux
2025-12-25 13:18:55 +08:00
Slinetrac
4ab2720ac4
refactor(tray): remove --no-tray code path and env-based tray bypass
2025-12-25 10:42:03 +08:00
Slinetrac
af0e72d119
feat(linux): disable WebKit DMABUF renderer on NVIDIA GPUs at startup #5921
2025-12-25 10:34:27 +08:00
Slinetrac
bd62a4ecc0
refactor(utils): extract freedesktop mimeapps handling into utils/mime
2025-12-25 10:02:07 +08:00
Tunglies
4ffb8b415f
perf(traffic): optimize traffic data handling and improve performance
2025-12-24 13:40:03 +08:00
Slinetrac
0992556b4a
feat(update-viewer): support rendering HTML in update markdown #5932
...
Closes #5932
2025-12-23 20:48:14 +08:00
Tunglies
be6b53c760
ci: update Ubuntu sources to use 'noble' release and adjust package installation
2025-12-23 14:52:47 +08:00
Slinetrac
797c0f90aa
chore(deps): bump npm deps
2025-12-23 11:59:49 +08:00
Slinetrac
d52f00c1b1
feat(ui): add collapse/expand option to navbar context menu #5910
...
Closes #5910
2025-12-23 11:52:40 +08:00
Slinetrac
f26abcd2a9
fix(backup): reload config.yaml and profiles.yaml after restore to avoid stale memory overwrite #5909
...
Closes #5909
2025-12-23 10:56:31 +08:00
Tunglies
863a80df43
ci: update Ubuntu version to 24.04 and adjust dependencies in autobuild workflow
2025-12-22 23:23:35 +08:00
oomeow
19accbd538
chore: rust related config for workspace ( #5912 )
...
* chore: move rust related config to workspace
* chore: cargo fmt
2025-12-22 15:28:55 +08:00
Sukka
8e48e4ed10
chore(eslint): add eslint-plugin-react-compiler ( #5918 )
...
* chore(eslint): add `eslint-plugin-react-compiler`
* refactor: fix eslint warnings and avoid in-render mutations
---------
Co-authored-by: Slinetrac <realakayuki@gmail.com >
2025-12-22 12:51:20 +08:00
Slinetrac
eafa08066d
docs(notice): add example for passing Error directly with i18n key
2025-12-22 11:01:53 +08:00
Slinetrac
231517b5db
chore(monaco): ignore worker errors in console
2025-12-21 23:52:16 +08:00
Slinetrac
45193e017f
fix(monaco): Ensure monaco loader uses the bundled ESM instance instead of CDN
2025-12-21 21:38:05 +08:00
Slinetrac
2515deefed
Revert "refactor(editor-viewer): simplify loading/save flow with timeout fallback ( #5905 )"
...
This reverts commit c84bb91f4a .
2025-12-21 20:28:38 +08:00
Sline
c84bb91f4a
refactor(editor-viewer): simplify loading/save flow with timeout fallback ( #5905 )
2025-12-21 17:10:52 +08:00
Tunglies
af094bfcd7
refactor: remove port_scanner dependency and simplify port checking logic
2025-12-21 16:51:55 +08:00
Slinetrac
a5752f7b00
docs: Changelog.md
2025-12-21 13:16:54 +08:00
Slinetrac
23e551e384
feat(tray): add optional inline outbound modes in tray menu #5881
...
Closes #5881
2025-12-21 10:33:19 +08:00
Slinetrac
a0b12b8797
chore(deps): bump npm deps
2025-12-21 09:43:07 +08:00
Tunglies
16c3dcc616
fix(proxy): check if proxy port is in use #5891
2025-12-20 19:11:27 +08:00
Slinetrac
5afe11e55b
fix(monaco): disable MUI Dialog focus enforcement for Monaco editor #5885
...
Closes #5885
2025-12-20 16:12:45 +08:00
renovate[bot]
6f61759a39
chore(deps): update rust crate zip to v7 ( #5886 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-20 13:54:25 +08:00
Cactus
57b17ab8d3
feat: add navigation collapse functionality to layout ( #5815 )
...
* feat(layout): add collapsible navbar toggle in UI settings
* refactor(layout): adjust collapsed navbar styles
* docs: Changelog.md
---------
Co-authored-by: Slinetrac <realakayuki@gmail.com >
2025-12-19 18:15:20 +08:00
Sline
fc84dc561c
feat(notice): persist toast position preference ( #5621 )
...
* feat(notice): persist toast position preference
* docs: Changelog.md
2025-12-19 18:04:23 +08:00
Sline
bd8eccdcea
feat(backup): add local backup import flow ( #5669 )
...
* feat(backup): add local backup import flow
* refactor(backup): robustify history listing and propagate import error details
* docs: Changelog.md
2025-12-19 17:46:31 +08:00
Sline
b4e25951b4
feat(proxy): unify filter search box and sync filter options ( #5819 )
...
* feat(proxy): unify filter search box and sync filter options
* docs: fix JSDoc placement
* refactor(search): unify string matcher and stabilize regex filtering
* fix(search): treat invalid regex as matching nothing
* docs: update changelog to include advanced filter search feature for proxy page
---------
Co-authored-by: Tunglies <77394545+Tunglies@users.noreply.github.com >
2025-12-19 17:12:36 +08:00
zhuo-github
aa72fa9a42
fix: add DNS hijacking fix for macOS wired network( #5728 )
...
* [bugfix][issues-2701]mac有线网络下dns劫持失败
* [bugfix][issues-2701]mac有线网络下dns劫持失败。删除弃用代码,删除打印端口日志
* fix(changelog): add DNS hijacking fix for macOS wired network
---------
Co-authored-by: zhuocanhe <zhuocanhe>
Co-authored-by: Tunglies <77394545+Tunglies@users.noreply.github.com >
2025-12-19 17:05:47 +08:00
Tunglies
f0ae631cb0
chore: update version to 2.4.5 and enhance changelog management scripts
2025-12-19 16:51:11 +08:00
Tunglies
787463a226
chore: bump version to 2.4.4
v2.4.4
2025-12-19 16:25:24 +08:00
Slinetrac
8d5d72957b
fix(home): correct delay sorting for Current Node card #5870
...
Closes #5870
2025-12-19 14:24:04 +08:00
Slinetrac
7d805cb83e
chore(deps): bump npm deps
2025-12-19 10:32:40 +08:00
oomeow
a1286ad057
fix: always occupies hotkey globally when app launch silently ( #5866 )
...
* fix: always occupies hotkey when app launch silently
* docs: update Changelog.md
* chore: update
2025-12-18 22:21:15 +08:00
oomeow
9713343323
refactor: use sysproxy-rs to set system proxy on windows ( #5846 )
...
* refactor: use sysproxy-rs to set system proxy on windows
* fix: remove download sysproxy.exe task
* chore: unified processing system proxy reset
* docs: update Changelog.md
2025-12-18 20:23:29 +08:00
wonfen
b282217e5c
doc: update promotion
2025-12-18 18:42:18 +08:00
Slinetrac
4b29a140b5
docs: Changelog.md
2025-12-17 16:57:34 +08:00
Slinetrac
b6af7b7440
fix(tun): set auto-redirect default to false to improve cross-distro compatibility #5845
...
Closes #5845
2025-12-17 16:20:06 +08:00
Tunglies
bcb8e831c5
fix(runtime): aovid force re-reresh runtime after create proxy chain
2025-12-17 12:52:25 +08:00
Slinetrac
a9e6391417
feat(layout/nav): add reset-to-default menu order action
2025-12-17 11:33:31 +08:00
Slinetrac
721929a2a1
refactor(layout/nav): extract nav menu order logic into hook
2025-12-17 11:06:38 +08:00
Tunglies
b35d0ac16f
chore: prerelease 2.4.4-rc.1
v2.4.4-rc.1
2025-12-16 16:05:48 +08:00
Slinetrac
3198c3f023
chore(deps): bump npm deps
2025-12-16 11:48:18 +08:00
Slinetrac
a3df3fc2a6
refactor(uri-parser): centralize scheme dispatch and harden parsing
2025-12-15 14:46:21 +08:00
Tunglies
507d85ac2f
fix: update dependencies in Cargo.lock and Cargo.toml for compatibility
2025-12-15 14:26:54 +08:00