Commit Graph

570 Commits

Author SHA1 Message Date
Brixy
3a09155328
fix: improve accessibility by avoiding hex color code for white (#968) 2024-04-28 21:00:38 +08:00
Brixy
9dd07017b0
feat: add *.opus file icon (#967) 2024-04-28 20:55:41 +08:00
sxyazi
d01e18067c
fix: move the DDS socket file out of the cache directory to avoid being affected by yazi --clear-cache 2024-04-27 16:47:50 +08:00
三咲雅 · Misaki Masa
681612f976
fix: correct the glob pattern for the icons to fit the new matching algorithm (#959) 2024-04-26 22:47:29 +08:00
三咲雅 · Misaki Masa
42a0fcd5cf
feat: support previewing files containing non-UTF-8 characters (#958) 2024-04-26 20:42:39 +08:00
三咲雅 · Misaki Masa
bf91f35d3e
fix: always create XDG cache directory even if user has set a custom one (#956) 2024-04-26 19:51:12 +08:00
Mika Vilpas
2febbee595
feat: add new bulk event kind to DDS (#937)
Co-authored-by: sxyazi <sxyazi@gmail.com>
2024-04-25 20:14:52 +08:00
三咲雅 · Misaki Masa
1a3565963c
feat: support expanding Windows paths like "D:" that only have a drive letter but no root (#948) 2024-04-25 16:39:44 +08:00
Matthias Ahouansou
8456d3a7dc
feat: allow building with the system Lua (#943) 2024-04-24 18:49:46 +08:00
XYenon
8fc8770c28
feat: support yazi-cli for Nix flake (#944) 2024-04-24 17:44:04 +08:00
sxyazi
c65a14c0e6
chore: bump version to 0.2.5 2024-04-23 16:35:17 +08:00
三咲雅 · Misaki Masa
cb92bb7980
feat: new builtin session.lua plugin (#940) 2024-04-22 14:18:00 +08:00
三咲雅 · Misaki Masa
68da8998aa
feat: split ya send into ya pub and ya pub-static to make it more ergonomic (#933) 2024-04-21 09:25:38 +08:00
三咲雅 · Misaki Masa
55da9e342c
perf: cache each file's icon to avoid redundant calculations at rendering (#931) 2024-04-20 15:43:08 +08:00
Rolv Apneseth
80000cfd86
feat: preserve files' modified at timestamp while copying (#926)
Co-authored-by: sxyazi <sxyazi@gmail.com>
2024-04-20 13:23:29 +08:00
Rolv Apneseth
a0b4ee6e6e
fix: prevent pasting a directory into itself (#925)
Co-authored-by: sxyazi <sxyazi@gmail.com>
2024-04-20 11:15:57 +08:00
AidanV
669373a030
feat: change status bar percent at 100 to Bot (#930) 2024-04-20 10:11:50 +08:00
三咲雅 · Misaki Masa
ff14b9a265
fix: always persist static messages even when there are no remote clients (#928) 2024-04-19 20:36:27 +08:00
三咲雅 · Misaki Masa
09bc9aa371
feat: expand the types supported by the event system (#923) 2024-04-19 13:45:01 +08:00
三咲雅 · Misaki Masa
2975b999bf
fix: rollback ratatui to v0.26.1 to avoid panicking (#922) 2024-04-17 11:07:54 +08:00
Mika Vilpas
1d15fd96c5
feat: allow opening interactively with the --chosen-file flag (#920)
Co-authored-by: sxyazi <sxyazi@gmail.com>
2024-04-17 07:14:48 +08:00
三咲雅 · Misaki Masa
9e75ed5c71
feat: generate autocomplete script for ya command (#919) 2024-04-16 12:40:14 +08:00
三咲雅 · Misaki Masa
4b04cb24b4
feat: allow creating a tab with the startup directory when the tab_create command is called without specifying a path parameter (#917) 2024-04-15 16:16:09 +08:00
三咲雅 · Misaki Masa
280529c2cd
feat: add a new ya send command to allow standalone client processes to communicate with DDS from the command line (#913) 2024-04-15 15:42:44 +08:00
Nguyễn Đức Toàn
64c5e85457
feat: smart case completion in cd paths (#910)
Co-authored-by: sxyazi <sxyazi@gmail.com>
2024-04-14 23:34:02 +08:00
Nguyễn Đức Toàn
f442ae2adf
feat: trigger path completion with both / and \ on Windows (#909)
Co-authored-by: sxyazi <sxyazi@gmail.com>
2024-04-14 23:16:23 +08:00
三咲雅 · Misaki Masa
a70374fced
perf: switch to globset to reduce CPU time spent on matching icons (#908) 2024-04-14 11:11:31 +08:00
三咲雅 · Misaki Masa
0cc14f44d7
feat: default "Reveal" opener for Linux (#907) 2024-04-14 01:43:10 +08:00
三咲雅 · Misaki Masa
5fc2789c78
feat: add loading state to directories (#904) 2024-04-13 10:33:42 +08:00
三咲雅 · Misaki Masa
3c67cae42d
feat: when there are no files in the list, add a placeholder message (#900) 2024-04-12 10:09:29 +08:00
三咲雅 · Misaki Masa
23c38ebae0
feat: add YAZI_ID environment variable (#895) 2024-04-11 23:57:47 +08:00
Mika Vilpas
38813413ec
feat: add new move, trash, and delete event kinds to DDS (#880)
Co-authored-by: 三咲雅 · Misaki Masa <sxyazi@gmail.com>
2024-04-11 01:09:29 +08:00
三咲雅 · Misaki Masa
e7dc971416
fix: file list expansion arguments ($@, $*) of shell command under opener rules are out of order (#890) 2024-04-10 08:31:03 +08:00
三咲雅 · Misaki Masa
884de41b66
feat: add new --orphan option to the shell command (#887) 2024-04-08 08:29:21 +08:00
三咲雅 · Misaki Masa
0cfb50bd49
feat: re-implement fzf as a built-in plugin (#884) 2024-04-07 19:28:09 +08:00
sxyazi
cd2e7ff945
feat: re-implement zoxide as a built-in plugin (#881) 2024-04-07 09:00:58 +08:00
三咲雅 · Misaki Masa
0650affb76
fix: CJK text rendering issue where the input popup component overlaps with images (#879) 2024-04-06 08:53:48 +08:00
三咲雅 · Misaki Masa
1b910ddc96
perf: re-implement file watcher in an async way (#877) 2024-04-05 17:47:17 +08:00
三咲雅 · Misaki Masa
4755654224
feat: add is_exec and is_sticky to Cha bindings (#875) 2024-04-05 17:11:40 +08:00
sxyazi
d04b549f4e
feat: merge the sender and severity in the DDS payload into the same field to simplify the protocol (#871) 2024-04-04 02:33:58 +08:00
三咲雅 · Misaki Masa
1b030e0f52
fix: a race condition in DDS static messages sent as internal events (#868) 2024-04-03 00:31:11 +08:00
三咲雅 · Misaki Masa
ec83c5dc5c
feat: detect CSI u through Stderr to allow using Stdout as the carrier of DDS payload without an ANSI sequence response timeout (#867) 2024-04-02 20:50:36 +08:00
三咲雅 · Misaki Masa
b51babde1c
feat: the cd event in DDS will now also be triggered when the tab is first created (#861) 2024-04-02 01:39:20 +08:00
sxyazi
7a99ea4409
fix: wrong state pointed to and ignore plugin/flavor directory creation errors 2024-04-01 00:11:07 +08:00
三咲雅 · Misaki Masa
bfcf401b40
feat: add a new sender property to the DDS payload (#855) 2024-03-31 22:29:52 +08:00
Solomon Jacobs
fd455a1ae4
feat: readable toml parsing error (#854)
Previously, the yazi displayed the following error.
```
Backtrace omitted. Run with RUST_BACKTRACE=1 to display it.
Run with RUST_BACKTRACE=full to include source snippets.

The application panicked (crashed).
  called `Result::unwrap()` on an `Err` value: Error { inner: Error { inner: TomlError { message: "invalid key", raw: Some("{ mime = \"application/octet-stream\",\nuse = [ \"extract_zlib\", \"reveal\" ] }\n"), keys: [], span: Some(0..1) } } }
in yazi-config/src/preset.rs, line 42
thread: main
```

It now displays the following message instead:

```
Error: Loading "/home/solo/.config/yazi/yazi.toml"

Caused by:
    TOML parse error at line 1, column 1
      |
    1 | { mime = "application/octet-stream",
      | ^
    invalid key
```

For more information see issue GH-847.

---------

Co-authored-by: sxyazi <sxyazi@gmail.com>
2024-03-31 21:44:17 +08:00
sxyazi
3553a4a61e
fix: do not default to passing self to setup to respect user invocation behavior 2024-03-31 15:37:03 +08:00
三咲雅 · Misaki Masa
c240602046
perf: port require() and ya.sync() to Rust to avoid plugin information initialization process (#853) 2024-03-30 22:15:05 +08:00
三咲雅 · Misaki Masa
903f3da7e5
feat: DDS (Data Distribution Service) (#826) 2024-03-29 23:30:30 +08:00
三咲雅 · Misaki Masa
66d12da09d
perf: add BufWriter to Stderr to avoid frequent system calls and increase rendering frame rate (#849) 2024-03-29 15:40:04 +08:00