Commit graph

1198 commits

Author SHA1 Message Date
Claude Code
52818932d0 fix: address clippy warnings and compilation issues
- Add type alias ParseResult to simplify complex type in url/cow.rs
- Fix unused imports and variables in various modules
- Add #[allow(dead_code)] for new multi-sorting infrastructure that's not fully integrated yet
- Ensure all code passes clippy with no warnings

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-22 21:07:15 -07:00
Claude Code
4a516928b1 feat: Add infrastructure for multi-method sorting
This commit adds the foundational infrastructure to support combining
multiple sorting methods as requested in issue #3064.

Key changes:
- Add SortByMulti enum that supports both single sort methods and
  arrays of sort methods
- Implement sort_multi method with cascading sort logic
- Support config syntax: sort_by = ['extension', 'natural']
- Maintain backward compatibility with existing sort_by = 'alphabetical'

The SortByMulti enum uses serde's untagged feature to seamlessly
handle both formats:
- sort_by = 'extension'           # Single method (existing)
- sort_by = ['extension', 'natural']  # Multiple methods (new)

The sort_multi method implements proper cascading where if two items
have equal values for the first sort method, it falls back to the
next method, providing the exact behavior requested in the issue.

This enables users to sort by extension first, then by natural
ordering for files with the same extension, solving the issue where
'10' would come before '2' when sorting by extension alone.

Partial implementation of #3064

Co-authored-by: Claude <noreply@anthropic.com>

🤖 Generated with [Claude Code](https://claude.ai/code)
2025-09-22 16:17:14 -07:00
三咲雅 misaki masa
e9742cb809
fix: check compatibility when reusing previewer bytecode cache (#3190) 2025-09-21 23:33:30 +08:00
三咲雅 misaki masa
8f9cce126c
feat: new --bg specifying image background color for the preset svg and magick previewers (#3189) 2025-09-21 22:18:00 +08:00
WhoSowSee
ba99ce4f8f
feat: unify the password input visually when extracting archives (#3179) 2025-09-21 11:48:17 +08:00
三咲雅 misaki masa
4e3ac54c8e
feat: new yazi-vfs crate (#3187) 2025-09-21 11:44:52 +08:00
三咲雅 misaki masa
30c0279570
feat: introduce ChaType for better cross-filesystem consistency (#3175) 2025-09-18 07:20:19 +08:00
三咲雅 misaki masa
ece59974fe
refactor: use Cha for better cross-platform consistency (#3174) 2025-09-17 23:18:54 +08:00
三咲雅 misaki masa
6cfa92f112
feat: SFTP virtual filesystem provider (#3172) 2025-09-17 08:34:35 +08:00
三咲雅 misaki masa
7deeaa4356
feat: size calculator for remote file systems (#3170) 2025-09-15 22:41:17 +08:00
三咲雅 misaki masa
a3fc9a0ec7
fix: force Git checkout for plugin cache repositories (#3169) 2025-09-14 19:42:30 +08:00
三咲雅 misaki masa
4a3710b1c4
feat: new yazi-sftp crate (#3166) 2025-09-14 02:50:28 +08:00
Phil Clifford
f0502a46b7
fix: add fd as a dependency to the .deb packaging workflow (#3128) 2025-09-13 11:30:49 +08:00
三咲雅 misaki masa
01fd967fa3
fix: DECSCUSR over DECSET 12 (#3165) 2025-09-13 11:03:08 +08:00
三咲雅 misaki masa
3713478753
feat: multi-entry support for plugin system (#3154) 2025-09-08 23:38:10 +08:00
三咲雅 misaki masa
fa0e7e62c1
feat: cosmetic work for the "URL" and "repository" spelling (#3152) 2025-09-08 22:09:49 +08:00
sxyazi
81a0cf4a1e
ci: enable Dependabot 2025-09-06 23:40:06 +08:00
adamnemecek
021d86f0d1
refactor: use Self where possible (#3138) 2025-09-06 00:48:30 +08:00
三咲雅 misaki masa
e795d6cf42
feat: offload mimetype fetching on opening files to the task scheduler (#3141) 2025-09-06 00:18:31 +08:00
yuvals1
3c42195bac
fix: generate unique image IDs for Kgp to tolerate tmux (#3038)
Co-authored-by: sxyazi <sxyazi@gmail.com>
2025-09-04 22:53:57 +08:00
Cattyman
49910fcfe7
feat: progress of each task (#3121)
Co-authored-by: sxyazi <sxyazi@gmail.com>
2025-09-04 18:55:28 +08:00
三咲雅 misaki masa
b997e56a60
fix: Windows path length may exceed MAX_PATH (#3137) 2025-09-04 17:02:18 +08:00
三咲雅 misaki masa
cfc7238638
feat: port task manager to Lua (#3134) 2025-09-03 22:25:16 +08:00
三咲雅 misaki masa
d670da80d3
fix: make casefold work when ancestor directories are symbolic links (#3132) 2025-09-03 00:15:57 +08:00
三咲雅 misaki masa
d7df581b67
feat: tasks without progress (#3131) 2025-09-02 16:58:34 +08:00
Copilot
eb537733a2
fix: Darwin framework deprecation in Nix build (#3119)
Co-authored-by: sxyazi <17523360+sxyazi@users.noreply.github.com>
2025-08-28 23:26:01 +08:00
三咲雅 misaki masa
8a0265ad64
perf: zero-copy UrlBuf to Url conversion (#3117) 2025-08-28 23:06:04 +08:00
三咲雅 misaki masa
dd7afaa64a
refactor: Url::pair() without allocation (#3116) 2025-08-27 23:52:09 +08:00
三咲雅 misaki masa
c2a94daad6
feat: casefold (#3114) 2025-08-27 15:55:35 +08:00
三咲雅 misaki masa
12172b7301
feat: support VFS for the file watcher (#3108) 2025-08-25 21:40:38 +08:00
三咲雅 misaki masa
c27ef58116
feat: support VFS for join(), starts_with(), and ends_with() of Url (#3094) 2025-08-23 23:06:11 +08:00
三咲雅 misaki masa
0054cf0b87
perf: lock-free hashing for string interns (#3091) 2025-08-21 09:40:52 +08:00
三咲雅 misaki masa
84907297a0
perf: string interning to reduce memory usage of mimetype and URL domain (#3084) 2025-08-19 21:58:57 +08:00
三咲雅 misaki masa
7a9bfff95d
perf: switch to a higher-performance hash algorithm (#3083) 2025-08-19 15:58:39 +08:00
三咲雅 misaki masa
ae75fc0f7b
feat: make mimetype matching more robust (#3082) 2025-08-19 15:17:32 +08:00
三咲雅 misaki masa
fe9ce240b5
fix: respect URL covariance when updating mimetypes (#3079) 2025-08-18 23:20:03 +08:00
boydaihungst
a41931275c
fix: erase overlapping image portions when previewing errors (#3067)
Co-authored-by: sxyazi <sxyazi@gmail.com>
2025-08-18 19:55:28 +08:00
三咲雅 misaki masa
3ca33c1f84
refactor: introduce UrlBuf (#3072) 2025-08-18 02:25:59 +08:00
三咲雅 misaki masa
9810196565
refactor: introduce LocBuf (#3062) 2025-08-17 16:25:04 +08:00
三咲雅 misaki masa
2ec3a6c645
fix: avoid appending a newline when reading clipboard contents (#3059) 2025-08-14 11:26:46 +08:00
三咲雅 misaki masa
1bfcbc1664
feat: introduce the concept of Uri (#3049) 2025-08-13 01:38:43 +08:00
Raphael Amorim
a9bfeeeaad
docs: update Rio image support status (#3052)
Co-authored-by: 三咲雅 misaki masa <sxyazi@gmail.com>
2025-08-13 00:53:00 +08:00
三咲雅 misaki masa
a109aa92e7
refactor: refine URN for archives (#3043) 2025-08-11 01:02:53 +08:00
三咲雅 misaki masa
292d37ccde
refactor: simplify cursor repositioning (#3040) 2025-08-08 02:41:41 +08:00
三咲雅 misaki masa
41b00c8d4e
feat: allow DDS events to change command arguments (#3037) 2025-08-06 22:23:22 +08:00
三咲雅 misaki masa
0b45ed868f
feat: VFS support for the enter and leave commands (#3035) 2025-08-05 20:45:23 +08:00
三咲雅 misaki masa
d5f225bc4a
feat: virtual file system (#3034) 2025-08-05 02:23:57 +08:00
三咲雅 misaki masa
da97e5a8b4
feat: URL covariance for the mimetype agency (#3030) 2025-07-31 00:48:54 +08:00
三咲雅 misaki masa
9adc00c3a9
fix: keep original scheme when expanding URLs (#3028) 2025-07-30 02:08:17 +08:00
三咲雅 misaki masa
9c1f303f2c
feat: URL covariance for selected and yanked files (#3025) 2025-07-29 15:03:22 +08:00