Commit graph

131 commits

Author SHA1 Message Date
Lauri Niskanen
093c13ac22
refactor: fix Clippy warnings (#1312)
Co-authored-by: sxyazi <sxyazi@gmail.com>
2024-07-20 16:34:04 +08:00
三咲雅 · Misaki Masa
640efcee26
fix: destroy term before stopping signals (#1310) 2024-07-19 22:41:15 +08:00
三咲雅 · Misaki Masa
d6081fbe6f
refactor: reimplement the signal system (#1307) 2024-07-18 23:41:02 +08:00
三咲雅 · Misaki Masa
ed6ae000d6
feat: add children_add and children_remove methods to the Header component as well (#1297) 2024-07-16 18:50:12 +08:00
三咲雅 · Misaki Masa
f5598ebb8a
feat: make UI extensions easier (#1257) 2024-07-13 14:22:03 +08:00
Lauri Niskanen
54eb0cc663
feat: new command hardlink (#1268)
Co-authored-by: sxyazi <sxyazi@gmail.com>
2024-07-10 12:50:50 +08:00
三咲雅 · Misaki Masa
626053da25
perf!: reimplement and significantly speed up archive previewing (#1220) 2024-06-27 00:47:56 +08:00
thelamb
505de05d66
feat: include file filter state in the header (#1182)
Co-authored-by: sxyazi <sxyazi@gmail.com>
2024-06-22 19:01:51 +08:00
sxyazi
b5b6c9642a
feat: expose Finder API to Lua 2024-06-18 18:19:37 +08:00
sxyazi
189cb81db3
refactor: rename crate yazi-adaptor to yazi-adapter 2024-06-08 19:28:46 +08:00
三咲雅 · Misaki Masa
1166f86523
feat: support completely disabling mouse with mouse_events=[]; add new cursor_blink to control cursor style of input components (#1139) 2024-06-08 18:29:50 +08:00
三咲雅 · Misaki Masa
94628cad9e
fix: block SIGINT signal from the spawned subprocess (#1131) 2024-06-07 06:11:32 +08:00
sxyazi
5f8c20e2b5
fix: use kitty old protocol for Konsole 2024-06-04 11:46:19 +08:00
Omar Magdy
2c84c48208
feat: add some dependency version information to yazi --debug (#1112)
Co-authored-by: sxyazi <sxyazi@gmail.com>
2024-06-04 06:29:47 +08:00
Tianyang Zhou
162218c345
feat: support mouse event (#1038) 2024-06-03 14:31:55 +08:00
George Nelson
1ab3df6850
feat!: transliteration option for natural sorting (#1053)
Co-authored-by: sxyazi <sxyazi@gmail.com>
2024-05-27 07:28:10 +08:00
三咲雅 · Misaki Masa
061faea1c5
feat!: redesign icons (#1086) 2024-05-25 22:56:08 +08:00
三咲雅 · Misaki Masa
2683b1d6a2
refactor: eliminate exec (#1045) 2024-05-16 18:20:47 +08:00
三咲雅 · Misaki Masa
aee65bc4d1
fix: notification title width does not include the width of the icon (#1000) 2024-05-04 00:35:04 +08:00
三咲雅 · Misaki Masa
cb92bb7980
feat: new builtin session.lua plugin (#940) 2024-04-22 14:18:00 +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
三咲雅 · 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
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
三咲雅 · 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
884de41b66
feat: add new --orphan option to the shell command (#887) 2024-04-08 08:29:21 +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
1b030e0f52
fix: a race condition in DDS static messages sent as internal events (#868) 2024-04-03 00:31:11 +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
三咲雅 · 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
三咲雅 · Misaki Masa
f6f2c30709
feat: time-based selection order preservation (#843) 2024-03-28 00:13:29 +08:00
Rolv Apneseth
e5c543cf80
fix: disable ANSI colours for the tracing_subscriber so that the logs are not polluted with escape codes (#832) 2024-03-22 11:40:22 +08:00
sxyazi
ca49a2d70b
fix: kill all spawned processes when exiting Yazi (#812) 2024-03-16 09:07:07 +08:00
三咲雅 · Misaki Masa
411ba2fe85
refactor: switch to stderr (#819) 2024-03-15 20:31:39 +08:00
三咲雅 · Misaki Masa
094d44e3ec
fix: respond to the SIGTERM signal even when Yazi is in the background and has passed control of the terminal to the spawned process (#797) 2024-03-13 23:26:17 +08:00
sxyazi
457c2a5c06
fix: wrong type in iterator binding 2024-03-13 00:13:17 +08:00
三咲雅 · Misaki Masa
cddd0727ef
refactor: wrap Opener with Cow to avoid unnecessary memory reallocations when opening files (#805) 2024-03-12 23:35:26 +08:00
三咲雅 · Misaki Masa
78b98a98c3
fix: use BTreeSet for selected files to maintain order (#799) 2024-03-10 20:12:54 +08:00
三咲雅 · Misaki Masa
9396d8760c
feat: ya.hide() plugin API (#792) 2024-03-09 03:07:20 +08:00
三咲雅 · Misaki Masa
d96af54574
fix: track the latest file changes for the selected, yanked state when available (#791) 2024-03-08 15:37:53 +08:00
三咲雅 · Misaki Masa
33782f1224
feat: cx.yanked plugin API (#788) 2024-03-07 17:26:18 +08:00
三咲雅 · Misaki Masa
4e873e62f1
feat: ui.Clear component for UI plugins (#786) 2024-03-06 19:07:37 +08:00
三咲雅 · Misaki Masa
37acd94345
feat: ya.notify() plugin API (#780) 2024-03-05 16:46:12 +08:00
三咲雅 · Misaki Masa
5169bb90f2
refactor: add new run property (#773) 2024-03-04 17:54:40 +08:00