Mika Vilpas
159cc308a6
fix: ya pack --upgrade not being able to upgrade existing packages
...
With the following packages, running the `ya pack --upgrade` command
results in a prompt for a username:
```sh
❯ cat ~/dotfiles/.config/yazi/package.toml
[plugin]
deps = [{ use = "DreamMaoMao/keyjump.yazi", commit = "06383de" }, { use = "Rolv-Apneseth/starship.yazi", commit = "6197e4c" }]
[flavor]
deps = []
❯ ya pack --upgrade
Upgrading package `keyjump.yazi.yazi`
Cloning into '/Users/mikavilpas/.local/state/yazi/packages/109b2bd4c6591dcb62b40b25202be168'...
Username for 'https://github.com ':
```
The problem seems to be that the plugin `DreamMaoMao/keyjump.yazi` is
being resolved to `https://github.com/DreamMaoMao/keyjump.yazi.yazi `
with an extra `.yazi` at the end.
We discussed this behaviour (and decided it's preferred to add `.yazi`
when adding new packages) in
- https://github.com/sxyazi/yazi/pull/1019
- https://github.com/sxyazi/yazi/issues/1023
...but I did not realize at the time that it also affects upgrading
packages.
2024-05-19 17:03:31 +03: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
Johan Naizu
0ff4835f8d
docs: add CONTRIBUTING.md ( #1052 )
...
Co-authored-by: sxyazi <sxyazi@gmail.com>
2024-05-18 17:49:14 +08:00
三咲雅 · Misaki Masa
5a83577259
feat: SVG, HEIC, and JPEG XL preview support ( #1050 )
2024-05-17 16:28:10 +08:00
三咲雅 · Misaki Masa
65afe6027a
feat: font preview ( #1048 )
2024-05-17 13:56:27 +08:00
Chris Zarate
f2329a3b35
fix: remove ignore options from rg and fd search ( #1043 )
...
Co-authored-by: sxyazi <sxyazi@gmail.com>
2024-05-16 19:02:37 +08:00
三咲雅 · Misaki Masa
50ae6ebe39
feat: use Ctrl-c instead of Ctrl-q as the universal close key for all components ( #1047 )
2024-05-16 18:40:24 +08:00
三咲雅 · Misaki Masa
2683b1d6a2
refactor: eliminate exec ( #1045 )
2024-05-16 18:20:47 +08:00
George Nelson
dcd23f2cd3
ci: fix cargo unit tests execution ( #1041 )
2024-05-15 23:23:23 +08:00
Mika Vilpas
f0108dba40
ci: consistently enforce Lua coding style ( #1029 )
...
Co-authored-by: 三咲雅 · Misaki Masa <sxyazi@gmail.com>
2024-05-15 10:54:20 +08:00
三咲雅 · Misaki Masa
28dfe728ab
feat: support stdin and pipe for Child API ( #1033 )
2024-05-14 22:07:19 +08:00
David Tolnay
07342a29ef
fix: recognize TERM=rxvt-unicode-256color ( #1027 )
2024-05-12 09:35:44 +08:00
三咲雅 · Misaki Masa
c1e1f26c4c
feat: add new debounce option to ya.input() API ( #1025 )
2024-05-11 17:42:35 +08:00
三咲雅 · Misaki Masa
eed82c1386
fix: broaden file watcher event types to accommodate permission changes on certain platforms ( #1024 )
2024-05-11 16:15:13 +08:00
June
6ff42c1a6d
fix: correct wasm target condition ( #1018 )
2024-05-09 10:10:09 +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
Mika Vilpas
386dd4c9c1
feat: ya pack displays help if no arguments are given ( #1012 )
2024-05-08 14:14:34 +08:00
三咲雅 · Misaki Masa
faa1d9f37b
feat: package manager ( #985 )
2024-05-07 13:42:45 +08:00
like
fdecf629a6
feat: add git commit hash to ya --version ( #1006 )
...
Co-authored-by: sxyazi <sxyazi@gmail.com>
2024-05-05 01:16:31 +08:00
Mika Vilpas
668279814c
feat: yazi --debug shows ya version in its output ( #1005 )
...
Co-authored-by: sxyazi <sxyazi@gmail.com>
2024-05-04 22:18:18 +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
三咲雅 · Misaki Masa
0e26f5d3c7
feat: close confirmation prompts and exit automatically when the ongoing task gone ( #997 )
2024-05-03 23:51:43 +08:00
GOWxx
2fdc0dd7bf
feat: add --force-window option to mpv ( #998 )
...
Co-authored-by: 三咲雅 · Misaki Masa <sxyazi@gmail.com>
2024-05-03 23:42:35 +08:00
sxyazi
36b3ffafc1
fix: temporarily disable the file creation time until Rust v1.78.0 becomes popular ( #991 )
2024-05-03 02:22:27 +08:00
Rafael Bodill
a9cf8002d6
feat: re-enable the file created attribute ( #987 )
2024-05-02 09:10:05 +08:00
Mika Vilpas
28972ff54d
feat: add ya.clipboard() Lua API ( #980 )
...
Co-authored-by: sxyazi <sxyazi@gmail.com>
2024-05-01 20:44:00 +08:00
Brixy
bdb28f7691
feat: add more rules to [filetype] and [icon] ( #966 )
...
Co-authored-by: sxyazi <sxyazi@gmail.com>
2024-04-30 17:54:45 +08:00
三咲雅 · Misaki Masa
4c35f26e1f
feat: detect terminal type in tmux with CSI sequence in passthrough mode ( #977 )
2024-04-30 01:43:04 +08:00
Mika Vilpas
0016876dc9
fix: avoiding duplicate candidates in the which component ( #975 )
...
Co-authored-by: sxyazi <sxyazi@gmail.com>
2024-04-30 01:38:54 +08:00
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