Commit Graph

178 Commits

Author SHA1 Message Date
三咲雅 · Misaki Masa
a68e151194
fix: ePUB file mime-type matching for the opener rule (#1063) 2024-05-20 21:04:20 +08:00
三咲雅 · Misaki Masa
c2affae3a9
feat: add a next property to the preloader rules to allow running multiple preloaders (#1058) 2024-05-19 19:04:04 +08:00
三咲雅 · Misaki Masa
65afe6027a
feat: font preview (#1048) 2024-05-17 13:56:27 +08:00
三咲雅 · Misaki Masa
2683b1d6a2
refactor: eliminate exec (#1045) 2024-05-16 18:20:47 +08:00
Gui
0ffba5c648
feat: new --args parameter for fd an rg search (#1013)
Co-authored-by: sxyazi <sxyazi@gmail.com>
2024-05-09 03:01:16 +08:00
三咲雅 · Misaki Masa
faa1d9f37b
feat: package manager (#985) 2024-05-07 13:42:45 +08:00
slowsage
8d741eb62a
feat: support cargo binstall yazi-fm and cargo binstall yazi-cli (#1003) 2024-05-04 22:14:48 +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
Matthias Ahouansou
8456d3a7dc
feat: allow building with the system Lua (#943) 2024-04-24 18:49:46 +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
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
2975b999bf
fix: rollback ratatui to v0.26.1 to avoid panicking (#922) 2024-04-17 11:07:54 +08:00
三咲雅 · Misaki Masa
9e75ed5c71
feat: generate autocomplete script for ya command (#919) 2024-04-16 12:40:14 +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
三咲雅 · 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
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
80aebda22c
feat: fix all dependencies to specific version numbers to allow non---locked builds (#821) 2024-03-16 02:29:37 +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
三咲雅 · Misaki Masa
bd572706cd
feat: ya.input() plugin API (#762) 2024-03-02 20:33:34 +08:00
三咲雅 · Misaki Masa
6a1063d376
perf: apply add_many()/remove_many() to the visual mode items for selection conflict detecting (#758) 2024-03-02 11:01:52 +08:00
little camel
73b7e5acf7
feat: add a new [notify] section to the theme.toml to configure the notify component's style (#749) 2024-02-29 12:02:27 +08:00
sxyazi
4d8e276a6f
feat: flavor (#753) 2024-02-29 11:54:41 +08:00
rrveex
2efda755f1
feat: add hovered as $0 for shell and opener (#738) 2024-02-29 03:12:09 +08:00
sxyazi
d8abb3ed79
perf: prefer raw_get() and raw_set() 2024-02-26 12:49:58 +08:00
sxyazi
4e7e135cb5
feat: support is rule for [icon] (#720) 2024-02-26 10:25:35 +08:00
Diogo Duarte
aa8448677e
fix: initialize logs right after configurations (#708) 2024-02-26 09:55:16 +08:00
三咲雅 · Misaki Masa
46516dab74
refactor: new yazi-boot crate (#728) 2024-02-26 09:14:04 +08:00
sxyazi
42cbedbe42
feat: add idx field to the file API 2024-02-25 03:41:00 +08:00
三咲雅 · Misaki Masa
5e43f878c6
fix: rendering fails when no file type style is matched (#721) 2024-02-25 00:28:12 +08:00
三咲雅 · Misaki Masa
8ea7556625
feat: better accessibility (#719) 2024-02-24 09:11:53 +08:00
三咲雅 · Misaki Masa
d954784643
perf: cache loaded plugins (#710) 2024-02-22 07:01:23 +08:00
sxyazi
2e9b6b7b7b
fix: any_file and any_dir should check is_folder 2024-02-20 17:45:41 +08:00
三咲雅 · Misaki Masa
3f27532c57
feat: cross-directory selection (#693) 2024-02-18 23:28:08 +08:00
三咲雅 · Misaki Masa
52d91c0e42
feat: add new file marked state (#682) 2024-02-15 20:24:20 +08:00
三咲雅 · Misaki Masa
95d2358100
feat: expose selected/yanked files as API (#674) 2024-02-15 20:20:28 +08:00
sxyazi
8bf0d6428f
fix: allow access to the current tab via tabs for consistency 2024-02-13 16:19:34 +08:00
三咲雅 · Misaki Masa
22ecad47ab
feat: Vim-like notification (#659) 2024-02-13 03:26:17 +08:00
三咲雅 · Misaki Masa
a764e42098
refactor: tab-specific selection (#653) 2024-02-13 02:40:13 +08:00
三咲雅 · Misaki Masa
dc1718fcf0
feat: calling sync functions within the async plugin (#649) 2024-02-09 17:28:14 +08:00
sxyazi
20b6f26247
fix: initialize window in Folder::make for folder preview 2024-02-09 11:08:39 +08:00
sxyazi
8851269585
fix: do not use jemalloc on macOS and Windows 2024-02-09 09:41:27 +08:00
三咲雅 · Misaki Masa
25c96557ed
feat: allows access to complete app data for all tabs (#644) 2024-02-08 16:05:37 +08:00
三咲雅 · Misaki Masa
c12a735f68
perf: cheaper sync context initialization (#643) 2024-02-08 12:14:01 +08:00
sxyazi
0d7e977076
chore: bump version to 0.2.3 2024-02-07 11:18:23 +08:00
三咲雅 · Misaki Masa
d754044aae
fix: task manager not re-rendering after progress update (#633) 2024-02-06 08:35:50 +08:00
三咲雅 · Misaki Masa
59e889a3b5
fix: hidden attribute of files on Windows (#632) 2024-02-06 08:27:00 +08:00
三咲雅 · Misaki Masa
715fbf5b65
fix: attach plugin args to the entry method for better future optimization possibilities (#627) 2024-02-05 02:49:17 +08:00
三咲雅 · Misaki Masa
a027c1be12
feat: app_emit and manager_emit accepts boolean, integer, and number as option values (#625) 2024-02-04 08:38:10 +08:00
sxyazi
5086c02380
feat: add plugin command to each layer 2024-02-03 02:49:44 +08:00
三咲雅 · Misaki Masa
b51d1f26d0
feat: plugin interface for key events via ya.which() (#617) 2024-02-03 01:09:26 +08:00
Sinkerine
b013dff4fe
feat: support unyank (#313) 2024-01-31 21:53:30 +08:00
三咲雅 · Misaki Masa
9d912b07aa
refactor: use Cmd instead of Exec (#604) 2024-01-31 08:59:47 +08:00
三咲雅 · Misaki Masa
68ffd82c0d
feat: plugin-specific state persistence (#590) 2024-01-28 00:30:41 +08:00
三咲雅 · Misaki Masa
c325c332de
feat: support passing arguments to plugin (#587) 2024-01-27 15:20:16 +08:00
三咲雅 · Misaki Masa
28870ad26e
feat: customizing the number of columns of "which key" component (#571) 2024-01-24 16:18:40 +08:00
三咲雅 · Misaki Masa
3248dbd8bb
feat: support submit completion and input at once by using <Enter> key (#565) 2024-01-23 16:45:57 +08:00
sxyazi
8cc18976d9
refactor: split router from executor 2024-01-23 10:35:00 +08:00
三咲雅 · Misaki Masa
56ede51c53
perf: new event system (#561) 2024-01-22 18:43:50 +08:00
三咲雅 · Misaki Masa
701c08ce1e
feat: allow the spawned child processes to suspend (#556) 2024-01-22 08:43:51 +08:00
三咲雅 · Misaki Masa
93dc1b78e2
feat: add prepend_keymap and append_keymap for configuring mixing (#546) 2024-01-20 13:55:57 +08:00
sxyazi
97a7eb7d47
feat: add file(1) as the file fallback previewer (#543) 2024-01-20 08:41:46 +08:00
三咲雅 · Misaki Masa
1bfd1c002f
fix: shell input code highlighting is not adapted for the default ANSI theme (#536) 2024-01-19 11:26:59 +08:00
三咲雅 · Misaki Masa
e987855fca
fix: can't display file name with invalid utf-8 (#529) 2024-01-19 00:49:15 +08:00
sxyazi
1036685f91
chore: update trash to 3.2.1 2024-01-16 08:29:26 +08:00
三咲雅 · Misaki Masa
a1c963accc
perf: partial rendering progress and composite into a complete UI to reduce CPU consumption caused by frequent progress updates (#509) 2024-01-15 18:30:50 +08:00
Azad
bf9f8f4273
feat: add support for highlighting by file type (#510) 2024-01-13 23:19:40 +08:00
sxyazi
876419a6c4
chore: bump version to 0.2.0 2024-01-13 21:13:23 +08:00
三咲雅 · Misaki Masa
560a1bf3f9
feat: icon color and ordered icon rules support (#503) 2024-01-10 23:24:36 +08:00
Alexander Serowy
d7d000c213
refactor: quit command (#484) 2024-01-10 03:10:26 +08:00
三咲雅 · Misaki Masa
1908ff2047
fix: resize isn't triggered on app restoring (#483) 2024-01-07 22:12:17 +08:00
sxyazi
93c8d90a51
feat: add new prepend_preloaders, append_preloaders, prepend_previewers, append_previewers config options 2024-01-06 12:58:42 +08:00
sxyazi
b229c8a5e3
fix: sort and hidden commands should update mime-type for paged files promptly 2024-01-06 05:14:54 +08:00
sxyazi
9bdbc55117
feat: add new plugin command 2024-01-05 15:22:28 +08:00