Commit Graph

227 Commits

Author SHA1 Message Date
三咲雅 · 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
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
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
三咲雅 · Misaki Masa
3150fb10f7
refactor: turn RectRef, PaddingRef, PositionRef into Rect, Padding, Position (#1730) 2024-10-04 20:23:36 +08:00
三咲雅 · Misaki Masa
034c28bacb
feat: reuse the code previewer seeking behavior for json, archive, and empty (#1721) 2024-10-03 08:21:17 +08:00
三咲雅 · Misaki Masa
e1773b11f1
feat: async micro task initialization error handling (#1710) 2024-10-01 18:38:37 +08:00
三咲雅 · Misaki Masa
40211df219
fix: replace control characters to printable characters in plain text preview (#1704) 2024-09-30 00:37:33 +08:00
三咲雅 · Misaki Masa
3e4973dbbf
feat: allow overriding and rewriting the sync methods of builtin plugins (#1695) 2024-09-28 00:41:34 +08:00
venatio
ae53ef4443
fix: magick previewer for multi-layered image files with -flatten argument (#1684) 2024-09-26 09:14:13 +08:00
三咲雅 · Misaki Masa
5b66192332
fix: one file's mime-type changed multiple times without triggering a preview again (#1682) 2024-09-26 00:22:55 +08:00
三咲雅 · Misaki Masa
631afd09ee
fix: warnings should be output to stderr instead of stdout (#1669) 2024-09-21 20:12:35 +08:00
三咲雅 · Misaki Masa
1a1820cf77
feat: add the area() API for renderable elements (#1667) 2024-09-21 01:47:34 +08:00
三咲雅 · Misaki Masa
ac196f211e
feat: support calling methods in builtin plugins with arbitrary types of arguments (self can now be omitted) (#1666) 2024-09-21 00:23:46 +08:00
三咲雅 · Misaki Masa
e858d11ce0
refactor: ensure that each Url contains the full location information (#1659) 2024-09-20 22:21:32 +08:00
三咲雅 · Misaki Masa
7222e178a3
perf: introduce URN to speed up large directory file updates (#1652) 2024-09-19 20:43:03 +08:00
三咲雅 · Misaki Masa
28083d805e
perf: introduce URN to speed up large directory locating (#1648) 2024-09-16 18:55:03 +08:00
Dirk Wang
276f69128d
feat: make the builtin extract plugin support compressed tarballs (*.tar.gz, *.tar.bz2, etc.) (#1583)
Co-authored-by: sxyazi <sxyazi@gmail.com>
2024-09-14 21:19:17 +08:00
三咲雅 · Misaki Masa
2453539fb5
feat: add list_meta() method to archive plugin (#1638) 2024-09-14 19:00:03 +08:00
三咲雅 · Misaki Masa
bc68d1eb01
feat: complete and consistent support for the ui.Style() API (#1637) 2024-09-12 18:45:10 +08:00
三咲雅 · Misaki Masa
3ee1209d3c
perf: introduce URN to speed up large directory file sorting (#1622) 2024-09-10 00:41:33 +08:00
三咲雅 · Misaki Masa
d20b3d8408
refactor: privatize url of the File (#1619) 2024-09-10 00:31:21 +08:00
sxyazi
7c445cef1f
chore: bump version to 0.3.3 2024-09-04 23:16:18 +08:00
三咲雅 · Misaki Masa
e3c653154f
feat: add dict_merge() function (#1609) 2024-09-04 21:45:51 +08:00
三咲雅 · Misaki Masa
322f5fc230
feat: add is_absolute, has_root, starts_with, ends_with, strip_prefix to Url Userdata (#1605) 2024-09-04 19:17:48 +08:00
三咲雅 · Misaki Masa
ff04e2d21f
chore: upgrade ratatui to 0.28.1 (#1601) 2024-09-04 01:48:18 +08:00
三咲雅 · Misaki Masa
f2dca99e43
feat: size linemode supports showing the file count for directories (#1591) 2024-09-02 09:11:30 +08:00
三咲雅 · Misaki Masa
3a2dd30166
fix: Rail component should have a higher rendering priority (#1585) 2024-09-01 16:51:05 +08:00
Solitude
fdd574997b
feat: ensure that Entity and Linemode have consistent space padding (#1580)
Co-authored-by: sxyazi <sxyazi@gmail.com>
2024-09-01 15:58:38 +08:00
sxyazi
ddb8ce530f
chore: bump version to 0.3.2 2024-08-28 12:37:54 +08:00
三咲雅 · Misaki Masa
caacd15110
fix: filter out the which candidates that overlap with longer key chords (#1562) 2024-08-28 00:08:51 +08:00
Artyom Artamonov
cd7209c040
feat: word wrapping in code previewer (#1159)
Co-authored-by: Lex Moskovski <alex@moskovski.com>
Co-authored-by: sxyazi <sxyazi@gmail.com>
2024-08-26 09:00:09 +08:00
三咲雅 · Misaki Masa
58ba459b63
perf: only scan the first 1024 bytes to detect if it's binary, apply \r fixes only to content within the visible range, avoid unnecessary allocations during natural sorting (#1551) 2024-08-25 10:52:30 +08:00
三咲雅 · Misaki Masa
9cf85c09d2
feat: make the builtin code previewer handle invalid carriage return chars and binary streams better (#1550) 2024-08-25 02:56:38 +08:00
三咲雅 · Misaki Masa
91da9d19cf
fix: use a different cache directory for each user to avoid permission issues (#1541) 2024-08-23 18:28:47 +08:00
thelamb
92112de1c0
feat: new confirm component (#1167)
Co-authored-by: sxyazi <sxyazi@gmail.com>
2024-08-22 22:20:31 +08:00
三咲雅 · Misaki Masa
573ca5287f
feat: add ext() method to Url userdata (#1528) 2024-08-21 00:45:50 +08:00
三咲雅 · Misaki Masa
0f106b591c
perf: new image_delay option debounces image previews to avoid lag caused by terminal image decoding during fast scrolling (#1512) 2024-08-18 23:51:17 +08:00
三咲雅 · Misaki Masa
374c6a8891
fix: overlong single-line text containing escape sequences was not being properly escaped (#1497) 2024-08-16 15:40:11 +08:00
三咲雅 · Misaki Masa
4112bf451f
chore: bump version to 0.3.1 (#1492) 2024-08-15 22:39:36 +08:00
三咲雅 · Misaki Masa
62fcf27dfb
feat: new empty previewer for empty and /proc files (#1482) 2024-08-14 15:03:38 +08:00
三咲雅 · Misaki Masa
71d6b0d9f2
feat: add status() method to Command (#1473) 2024-08-12 21:03:45 +08:00
三咲雅 · Misaki Masa
a39409e699
fix: 7zip shows different error messages for RAR and ZIP files (#1468) 2024-08-12 13:35:31 +08:00
三咲雅 · Misaki Masa
ce944bca88
fix: close stdin before waiting for child process (#1464) 2024-08-11 13:14:16 +08:00
sxyazi
b066652b65
refactor: tab locking 2024-08-10 20:25:35 +08:00