Commit graph

820 commits

Author SHA1 Message Date
gaesa
6a4fee4db1
refactor(adapter): extract image_area from image_show
Exposing `image_area` separately allows future Lua integration to handle
image placement more flexibly, without needing to invoke full rendering.
This change promotes modularity and simplifies obtaining image dimensions alone.

This refactor provides the foundation for feature PR #1897, preparing for easier integration.
2024-11-11 01:35:15 +00:00
Ion
fd8871d878
feat: add additional environment and dependency info in yazi --debug (#1896)
Co-authored-by: sxyazi <sxyazi@gmail.com>
2024-11-10 22:58:47 +08:00
三咲雅 · Misaki Masa
a9a8a190a4
refactor: upgrade to mlua v0.10.0 (#1842) 2024-11-08 22:37:32 +08:00
三咲雅 · Misaki Masa
baf062f3b1
feat!: deprecate --sync option for the plugin command (#1891) 2024-11-07 23:08:39 +08:00
Integral
6001f3c619
feat: support searching with the alias fdfind if fd cannot be found (#1889)
Co-authored-by: sxyazi <sxyazi@gmail.com>
2024-11-06 20:28:12 +08:00
sxyazi
81ce040443
feat: disable the rayon feature for image since Yazi already uses multithreading 2024-11-05 23:38:18 +08:00
三咲雅 · Misaki Masa
362fbebcc5
feat: add a new tab parameter for all tab-specific commands to specify which one (#1885) 2024-11-03 23:58:14 +08:00
yama
6086134d41
feat: include package revision hash in ya pack --list (#1884)
Co-authored-by: sxyazi <sxyazi@gmail.com>
2024-11-03 20:56:06 +08:00
Li-Lun Lin
565f9cc898
feat: new copy --separator option to allow specifying the path separator (#1877)
Co-authored-by: sxyazi <sxyazi@gmail.com>
2024-11-03 17:40:29 +08:00
三咲雅 · Misaki Masa
5531874a9a
feat: allow disabling certain preset keybinds with the new noop virtual command (#1882) 2024-11-03 16:48:17 +08:00
Integral
441ebcb764
refactor: destructure tuples to enhance readability (#1874) 2024-11-03 15:47:24 +08:00
三咲雅 · Misaki Masa
0baccdc9aa
fix: use complete rendering instead of partial rendering for no task progress report (#1876) 2024-11-01 19:52:19 +08:00
Integral
a510673123
refactor: use for loop to generate completions file (#1869) 2024-10-31 22:15:28 +08:00
aidancz
e3c91115a2
fix: wrong file list offset squeeze when scrolloff = 0 (#1866) 2024-10-31 14:15:20 +08:00
三咲雅 · Misaki Masa
c6687237e1
perf: introduce reflow for the rendering engine (#1863) 2024-10-30 19:06:06 +08:00
yw1ee
81b8c89ec1
feat: prioritize paths that need to be processed first during bulk renaming (#1801)
Co-authored-by: sxyazi <sxyazi@gmail.com>
2024-10-30 13:28:19 +08:00
三咲雅 · Misaki Masa
5eabd7d897
fix: copy the CWD path regardless even if the directory is empty (#1849) 2024-10-28 21:28:33 +08:00
三咲雅 · Misaki Masa
e3507205fb
feat: suggest keywords in the header if a finder is active (#1847) 2024-10-28 17:14:41 +08:00
三咲雅 · Misaki Masa
4dd24f779c
perf: eliminate all memory reallocations during sorting (#1846) 2024-10-28 15:36:27 +08:00
三咲雅 · Misaki Masa
ef1a31a274
perf: using usize instead of *const OsStr reduces memory usage (#1839) 2024-10-26 17:09:27 +08:00
三咲雅 · Misaki Masa
96bcd820b8
refactor: add tests for Pattern::match_path (#1837) 2024-10-26 08:53:01 +08:00
三咲雅 · Misaki Masa
56f9a6a1eb
fix: reset image rendering and skip peeking if the TUI in the background (#1833) 2024-10-25 16:52:57 +08:00
三咲雅 · Misaki Masa
60cfa7dba9
feat: launch from preset settings if the user's config cannot be parsed (#1832) 2024-10-25 16:27:26 +08:00
sxyazi
81fd949016
chore: add discussion template 2024-10-25 08:48:52 +08:00
三咲雅 · Misaki Masa
e8c1d625ac
fix: use a unique Id for each tab (#1826) 2024-10-24 08:57:08 +08:00
三咲雅 · Misaki Masa
35d781e240
feat: allow customizing Zoxide's FZF options with YAZI_ZOXIDE_OPTS (#1822) 2024-10-23 10:45:41 +08:00
三咲雅 · Misaki Masa
0e118b5b3a
fix: use std copy function in a blocking thread (#1817) 2024-10-21 09:16:54 +08:00
三咲雅 · Misaki Masa
16881aab2f
feat: support reading non-UTF8 data with Child:read_line() API (#1816) 2024-10-21 02:59:38 +08:00
三咲雅 · Misaki Masa
24a77d8a5f
feat: add ICC profile to images for better color accuracy (#1808) 2024-10-19 21:07:41 +08:00
三咲雅 · Misaki Masa
11c5f3fed4
perf: apply rotate in place to images with orientation (#1807) 2024-10-19 10:29:36 +08:00
三咲雅 · Misaki Masa
df78827af5
fix: implement the file copy process for Linux and Android separately (#1805) 2024-10-19 08:58:06 +08:00
greg
53043313ba
feat: custom styles for the confirm component (#1789)
Co-authored-by: sxyazi <sxyazi@gmail.com>
2024-10-17 18:39:51 +08:00
三咲雅 · Misaki Masa
a6c9c93d58
refactor: remove migration code as it's no longer needed and causes errors (#1795) 2024-10-16 20:26:39 +08:00
三咲雅 · Misaki Masa
e58cf555da
feat: add a compatibility layer for ui.Paragraph to help users transition more smoothly to the new ui.Text (#1794) 2024-10-16 20:17:56 +08:00
三咲雅 · Misaki Masa
0824e11cd2
fix: images were not cleared when closing a tab in front of the current tab (#1792) 2024-10-16 19:11:48 +08:00
Sarveshwaar SS
17a1169ea2
feat: append the suffix to the end when generating unique filenames for directories, i.e., after not before the extension (#1784)
Co-authored-by: sxyazi <sxyazi@gmail.com>
2024-10-16 00:44:27 +08:00
三咲雅 · Misaki Masa
097e5abb82
refactor: replace Metadata with Cha in the file scheduler to improve interoperability with yazi-fs (#1785) 2024-10-15 20:38:34 +08:00
gaesa
3e8ac856cf
feat: prevent paths from being treated as options in file command (#1783) 2024-10-15 00:44:31 +08:00
三咲雅 · Misaki Masa
1acd7ca80f
feat!: decouple ui.List, ui.Bar, ui.Border, and ui.Gauge from coordinates (#1782) 2024-10-14 19:39:59 +08:00
三咲雅 · Misaki Masa
43b5ae0e6c
feat!: add ui.Text, ui.Table, remove ui.Paragraph and ui.ListItem (#1776) 2024-10-14 01:54:03 +08:00
三咲雅 · Misaki Masa
35c3c9e0f7
refactor!: rename the term select to toggle to reserve select for future use (#1773) 2024-10-13 18:47:12 +08:00
三咲雅 · Misaki Masa
13e307eab2
refactor: simplify module exports (#1770) 2024-10-12 21:05:12 +08:00
sxyazi
da1b2365b9
feat: add the plugin name to the deprecated API warning to make it more clear 2024-10-11 22:01:38 +08:00
三咲雅 · Misaki Masa
c84917c5e8
feat: yazi --debug supports detecting whether tmux is built with --enable-sixel (#1762) 2024-10-11 19:39:47 +08:00
三咲雅 · Misaki Masa
2014aee646
fix!: introduce a new btime term to align ctime with Unix (#1761) 2024-10-11 18:05:08 +08:00
三咲雅 · Misaki Masa
558d97d084
perf: merge multiple file operations into one to greatly speed up updates in large directories (#1745) 2024-10-08 19:33:38 +08:00
三咲雅 · Misaki Masa
064517665d
refactor: derive the Into<Opt> trait with procedural macros to avoid bloat (#1742) 2024-10-07 22:04:38 +08:00
三咲雅 · Misaki Masa
dcbe7873cd
fix: upserting operation should handle deleting in edge cases where the source and target URNs are different (#1737) 2024-10-06 13:04:52 +08:00
三咲雅 · Misaki Masa
87b159fb9d
fix: clamp when seeking a non-zero unit between -1 and 1 (#1736) 2024-10-05 22:32:18 +08:00
三咲雅 · Misaki Masa
491f8b8fb1
fix: compositors not supported by Überzug Wayland layer, or WSL not with WezTerm should fallback to Chafa (#1735) 2024-10-05 22:16:20 +08:00