Up to [cvs.NetBSD.org] / pkgsrc / sysutils / felix
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
sysutils/felix: update to 2.16.1 Fixed - Add type annotation to u16 -> usize conversion to avoid build error.
sysutils/felix: reset maintainer
sysutils/felix: update to 2.16.0 v2.16.0 (2025-01-12) Added - c in visual mode to rename selected items by your default editor at once. - Add ImageSignature::Bigtiff to recognize BigTIFF. Changed - MSRV is now v1.78.0
sysutils/felix: update to 2.15.0
v2.15.0 (2024-12-30)
Added
<C-d> and <C-u> to go up/down 1/2 page in both normal mode and visual mode.
Changed
Avoid displaying big text in preview area by adding PreviewType::TooBigText (over 1MB).
Fixed
Rewrite test_has_write_permission test by set_readonly.
sysutils/felix: update to 2.14.0 What's Changed - fix(deps): update time; fix build for rust 1.80 by @Bot-wxt1221 in #297 - Update deps for rust 1.81
sysutils/felix: update to 2.13.0 v2.13.0 (2024-04-07) Added - ignore_case option to the do case-insensitie search by /. - Symbolic link destinations are now displayed when the cursor is hovered over them. Changed - Symlink items linked to directory now appears in the directory section, not the file section. - MSRV is now v1.74.1 fixed - z command can now receive multiple arguments: z dot files<CR> works as in your terminal.
sysutils/felix: update to 2.12.1 Fixed - Restore the cursor position properly after exit in a tmux (and possibly in other multiplexers) session.
sysutils/felix: update to 2.12.0
v2.12.0 (2024-01-28)
Added
- :config to point to the config file if exists.
- felix listens to the change of the config file, and re-read the config
automatically (after some key inputs).
Changed
- Refactor around _run and State::new().
- Add config_path field to State.
Fixed
- symlink path and operations with it on Windows.
sysutils/felix: update to 2.11.1 v2.11.1 (2023-12-10) Fixed - Allow SHIFT key to enter characters after i, I, c, /, : and z.
sysutils/felix: update to 2.11.0 v2.11.0 (2023-12-09) Added - <C-h> for Backspace functionality after i, I, c, /, : and z.
sysutils/felix: update to 2.10.2 v2.10.2 (2023-11-26) Fixed - Added a filter to every user input to reject Keyup events. This is required on the windows platform.
sysutils/felix: update to 2.10.1
v2.10.1 (2023-11-02)
Fixed
- Convert tab to 4 spaces when using bat to preview text files.
v2.10.0 (2023-11-01)
Added
- bat integration: If bat installed, felix automatically adds syntax
highlighting to the text preview.
- Add has_bat field to State.
- Add FxError::InvalidPath to handle invalid unicode in file path.
sysutils/felix: update to 2.9.0
v2.9.0 (2023-10-22)
Added
- Change color of untracked/changed files or directories containing such files.
Default color is Red(1). You can change it in the config file.
- Add git2.
Fixed
- Explicitly ignore the key release events for Windows.
sysutils/felix: update to 2.8.1
v2.8.1 (2023-08-25)
Fixed
- Fix help text.
v2.8.0 (2023-08-25)
Added
- i{file name}<CR> to create new file, and I{dir name}<CR> to create new
directory.
- If zoxide is installed, whenever changing directory inside felix, zoxide add
will be executed to add the directory or increment its rank in the zoxide
database.
- For this, State now has a new field has_zoxide, which is checked at
startup.
Changed
- config's color is now optional: By this, all config fields are optional.
- Remove warning message when you launch felix without the config file.
- When opening file by default editor is failed, felix displays more accurate
warning: $EDITOR may not be set, or config file may be invalid..
Removed
- Remove syntect and syntax highlighting in the preview area.
This will improve build and start-up times, and resolve the handling of
wide chars such as CJK.
sysutils/felix: update to 2.7.0 v2.7.0 (2023-08-05) Changed - Minimal supported rust version is now 1.67.1 - Upgrade dependencies. - Update syntect version to v5.1.0. This fixes the handling of multibyte chars in the preview area. - Allow file name config.yml in addition to config.yaml for the configuration.
sysutils/felix: update to 2.6.0
v2.6.0 (2023-07-22)
Added
- Allow <C-r> in command line: Paste item name(s) in register. e.g. <C-r>"
pastes item name in unnamed register.
- Allow wild card in command line: e.g. :zip test *.md works now.
- Ability to cd {absolute/relative path}.
- Ability to jump backward / forward (<C-o>, <C-i> respectively)
sysutils/felix: update to 2.5.0 v2.5.0 (2023-07-13) Added - Ability to exit to LWD (last workind directory): See Integrations for details.
sysutils/felix: update to 2.4.1 v2.4.1 (2023-06-21) Changed - Show status bar and registers even if current directory does not contain any item.
sysutils/felix: update to 2.4.0 v2.4.0 (2023-06-14) Added - Add registers (unnamed, zero, numbered, named): Now you can view registers by :reg, and add items to registers by usual vim command (prefixed by "). See the key manual for more details. - Refactor unpacking command: e unpacks / decompresses gz(Gzip), tar.gz, xz(lzma), tar.xz, zst(Zstandard), tar.zst, tar, and zip file format and formats based on it. Removed - :z - Use z instead.
sysutils/felix: update to 2.3.0 v2.3.0 (2023-05-26) Changed - Add extra config file path for macOS: /Users/$USER/.config/felix/config.yaml will be read after $HOME/Library/Application Support/felix/config.yaml. - If config file is not found, or found one is broken, felix launches with the default configuration, without creating new one. - If the current directory is read-only, dd, Vd and p is disabled in the first place. - Bump up MSRV to 1.65. Added - Add is_ro field to State. Removed - NetBSD install test. It often failed while setting up the VM, which had nothing with felix.
sysutils/felix: update to 2.2.8 v2.2.8 (2023-05-19) Fixed - Kitty-specific: Enable scrolling of the preview text by redrawing the screen only when needed (this also improves the perfomance entirely).
sysutils/felix: update to 2.2.7 v2.2.7 (2023-05-05) - Print [RO] on the headline if user does not have the write permission on the directory. This is available only on UNIX for now.
sysutils/felix: update to 2.2.6
v2.2.6 (2023-04-24)
- Remove duplicated -v | --version option. This is because:
i) Since some users do not have cargo installed, fetching latest version
via cargo doesn't work for many, and
ii) -h | --help option can already show the current version.
sysutils/felix: update to 2.2.5
v2.2.5 (2023-02-12)
Added
- Allow renaming even when item name contains non-ascii chars (i.e. wide chars).
- Key command with arguments is now supported: For example,
exec:
'feh -.':
[jpg, jpeg, png, gif, svg, hdr]
this configuration enables you to execute feh -. <item path> by Enter | l | Right, or o.
- Check for out-of-boundary of the cursor at the top of loop.
Fixed
- Display when using in kitty: Correctly show the cursor and preview.
sysutils/felix: update to 2.2.4 v2.2.4 (2023-02-01) Fixed - Disable remove_and_yank in the trash dir. - Clear selection in the select mode if something fails. - Cursor move after deleting multiple items in select mode.
sysutils/felix: update to 2.2.3 v2.2.3 (2023-01-20) Fixed - Wide chars handling: Using unicode_width, now felix can properly split file name or previewed texts. - Preview space height: When horizontally split, image preview could break the layout. Fixed this by adjusting the height. Added - chafa's minimal supported version: >= v1.10.0 - Add pacman installation.
sysutils/felix: update to 2.2.2 What's Changed - Add create_dir_all for config_dir/data_local_dir reported by @theAkito - Fix: Disable modifiers unless explicitly implemented, reported by @theAkito
sysutils/felix: update to 2.2.1
v2.2.1
What's Changed
- NetBSD fix by @0323pin in #159
v2.2.0
Changed
- IMPORTANT: Trash and log directory path changed.
- from v2.2.0, felix will use dirs::data_local_dir() to store the deleted
items and log files, instead of dirs::config_dir().
- Due to this change, the path for linux will be
$XDG_DATA_HOME/felix/{Trash, log}, in most case
/home/user/.local/share/felix/{Trash, log}.
For Windows {FOLDERID_LocalAppData}\felix\{Trash, log}, typically
C:\Users\user\AppData\Local\felix\{Trash, log}. No change for macOS users.
- Note that config file path is unchanged for any OS!
- Please don't forget deleting old trash diretory and log files if you
don't want them anymore.
- Refactoring overall.
Added
- :trash to go to the trash directory.
Fixed
- Support NetBSD to open file in a new window by @0323pin in #154
- Properly remove broken symlink in Windows as well. Also, when
deleting/puttiing a directory, broken symlink(s) in it won't cause any
error and will be removed from the file system after deleting/putting.
sysutils/felix: update to 2.1.1 What's Changed - Update README.md by @rafo in #151 - Fix: Spawn process properly when opening a file in a new window on linux by @kyoheiu in #152
sysutils/felix: update to 2.1.0 What's Changed - Add: feature to extract archive file by @kyoheiu in #145
sysutils/felix: update to 2.0.1 v2.0.1 (2022-11-12) Fixed - Fixed the bug in making config at the launch. - Fixed the config file path on macOS. v2.0.0 (2022-11-11) Changed - Migrated to yaml from toml: New config file will be created at the first launch (In this process you should enter the default command name or choose to use $EDITOR). No more need to keep config.toml. - Add the fallback when config file cannot be read: In such a case, you can use the default Config. - HUGE refactoring overall. Added - Horizontal split, in addtion to the vertical split. To toggle, press s. - Syntax highlighting (if possible) in previewed texts. To turn on, state syntax_hightlight = true in config.toml. you can also choose your theme, either from the default theme set or your favorite .tmtheme. - Enable scrolling in the preview space. Alt + j / Up goes down, Alt + k goes up. Experimental and may have some bugs, and with a big text file the perf issue may arise. - Search by keyword. Similar to the filter mode, but this feature do not manipulate the item list, just let users jump to the item that matches the keyword, just like Vim's /. n and N after / also works. - Show permissions on the footer (in unix only). Fixed - Use exists() instead of File::open() to check whether the item path is valid when moving between direcotries. This allows Windows users to use this app at least with the basic commands. - Avoid unwrap() / panic! as possible and return the proper error. Removed - Removed the filter mode, which is replaced by the keyword search. - Removed debug print in make_config_if_not_exists - Removed use_full_width and item_name_length in config.toml. Will always use full width of the terminal.
sysutils/felix: update to 1.3.2 v1.3.2 (2022-10-23) Added - Add std::panic::catch_unwind to manually restore after a panic rewind. This allows the cursor to be restored and the screen cleared when this app panics. Fixed - Fixed: Similar to v1.3.1, attempting to preview a symbolic link to a nonexistent file caused a panic. Now the preview shows (file not readable) for such a link.
sysutils/felix: update to 1.3.1 v1.3.1 (2022-10-21) Fixed - Attempting to preview a symbolic link to a directory caused a panic. It has been fixed and the preview will now show the contents of the linked directory. #118
sysutils/felix: update to 1.3.0
v1.3.0 (2022-10-18)
Changed
- Huge refactoring: Migrated to crossterm from termion due to the
maintainability and future-support for Windows. New module term.rs
contains (almost) all of the terminal API, so that other modules will not
get effected by the future backend change.
- Alongside, some changes are added to show the file path properly in Windows.
- With crossterm, opening a file in e.g. Vim, it feels as if this app
"freezes". This behavior is not what I want, so from v1.3.0,
open_file_in_new_window can work only if [exec] is set in config file, and
the extension of the item matches the key.
- default key in the config file become Option, so that users can select
$EDITOR without explicitly setting it up. The initial process of asking users
to select the default command has also been fixed accordingly.
Fixed
- After zoxide jump, turn off the filter mode.
- Many typos fixed.
Added
- New error: OpenNewWindow
- New GitHub actions: Add windows-install
sysutils/felix: update to 1.2.0
Changed
- Huge refactoring: Instead of thiserror, use custom error type to make it
easier to handle.
- Bump up chrono version to 0.4.22, clarifing the feature to use.
- Avoid extra heap allocation by using write! instead of push_str/format!.
- Copied item will be renamed with the suffix "_{count}" such as "test_1.txt",
instead of "test_copied.txt".
Fixed
- Choose None for directory extension.
sysutils/felix: update to 1.1.2 v1.1.2 (2022-08-29) Fixed - Use full width of the terminal when use_full_width in config.toml is not set. - Use cursor::Goto instead of cursor::Left to fix the layout in macOS Terminal.app. - Refactor functions around the layout.
sysutils/felix: update to 1.1.1
v1.1.1 (2022-08-11)
Fixed
In the filter mode and shell mode, when you don't have any input, backspace
now means to return to the normal mode. Also, when you press Esc during the
filter mode, the cursor position is now restored.
sysutils/felix: update to 1.1.0
v1.1.0 (2022-08-08)
Changed
-Use chafa instead of libsixel & viuer to preview image files. This greatly
improves the performance and code maintainability, and as a consequence, the
number of dependencies is reduced (137 -> 53).
-With chafa, the hi-res image preview is supported in kitty or terminals
that support sixel.
-Files larger than 1GB are no longer previewed in order to improve the
performance.
-Remove profile.release to support older version of Rust.
-Huge refactoring (layout.rs created).
Added
-content-inspector to exclude binary files to be previewed.
sysutils/felix: update to 1.0.1 v1.0.1 (2022-07-28) Fixed -Add thread sleep time after state.open_file(). This is necessary because, with tiling window managers, the window resizing is sometimes slow and felix reloads the layout so quickly that the display may become broken. By the sleep (50ms for now and I think it's not easy to recognize this sleep), this will be avoided.
sysutils/felix: update to 1.0.0
v1.0.0 (2022-07-04)
Fixed
Cursor move when using G in select mode.
Remove unnecessary loops in dd, ZZ.
sysutils/felix: update to 0.9.8
v0.9.8 (2022-06-30)
Fixed
Enable resizing window.
Added
Print message about the config file when created.
sysutils/felix: update to 0.9.7
v0.9.7 (2022-06-16)
Fixed
Move cursor and put properly in an empty directory.
v0.9.6 (2022-06-16)
Fixed
Formatting of the contents tree.
Changed
Input right before the pattern matching.
sysutils/felix: update to 0.9.5 v0.9.5 (2022-06-15) Changed -z <keyword> works without prefix : (jump to a directory that matches the keyword). -Refactor: Use redraw() and reload() instead of multiple methods. -Better config: If config file not found, now you can interactively set the default command. -In the filter mode, press h or Left to return to the normal mode and reload the current directory's contents.
sysutils/felix: update to 0.9.4
v0.9.4 (2022-06-08)
Added
Hi-res image preview is enabled if i) your terminal supports sixel,
and ii) you've preinstalled libsixel. If not, images are printed by
blocks as before.
Changed
Some refactoring.
sysutils/felix: update to 0.9.3
v0.9.3 (2022-05-25)
Added
-l option creates a log file in $XDG_CONFIG_HOME/felix/log.
Information such as put, delete, rename, emptying the trash directory,
etc. will be recorded.
Add message when there are no operations left to undo/redo.
Changed
Simplify the info line(below the current directory information).
Make rename information more understandable("New name: " instead of "⇒").
Use struct Operation to express the manipulation within the app
(put/delete/rename) and implement some methods.
Refactor overall.
Fixed
Fix put/delete process information.
sysutils/felix: update to 0.9.2
v0.9.2 (2022-05-18)
Added
-[Experimental] Image preview on the right half of the terminal (press v).
This feature uses viuer, and high resolution preview, which can be used in
kitty or terminals that support sixel, is disabled due to the clearance
issues.
-crate viuer and image to preview the image.
Fixed
-Fix text preview bug around new line that occurs when it has tab character.
-file_ext in ItemInfo is now always lowercased to speed up matching with the
extension map.
-Disable renaming non-ascii items: Wide characters such as CJK or characters
that do not match our intuition caused panic, so before editing, item name
is now checked if it contains only ascii characters.
Changed
-Version check option now uses -v | --version, instead of -c | --check.
-Refactor: Remove magic number and use variable with proper name in the
filter and shell mode.
-Restore debug print, which works in debug mode(RUST_LOG has some value).
-Use simplelog instead of env_logger to create the log file.
sysutils/felix: update to 0.9.1
v0.9.1 (2022-05-11)
Fixed
- Fix bug that after `:h`, cursor move can cause unexpected panic.
Changed
- Wrap preview text.
v0.9.0 (2022-05-10)
Added
- New command: `v` to toggle whether to show i) part of the content for text
file (no wrapping and static), or ii) contents tree for directory. Note that
this preview feature may not work effectively with small terminal.
- trying to make felix user guide (just to show how to use each commands)
by mdbook
Changed
- felix now works with smaller terminal size (4 rows and 4 columns is the
minimum). If column is fewer than 28, modified time is not displayed.
- Huge refactoring overall.
- use `struct colors` for `state.layout.colors`
- `is_hidden` moved to `ItemInfo`'s field, make it easier to toggle
show/hidden items
- in `open_files` method, use `ItemInfo`'s existing field to get extension
- `Iteminfo.ext` to `Option<String>`
- split `move_cursor` method to multiple methods
- Inverted color on the last row (to show distinctively)
Fixed
- Show help text correctly in small window size
(scrollable with `j` | `k` | `Up` | `Down`)
- 'P' to print manipulation lists (put/delete/rename) is changed to work only
when RUST_LOG has a value.
sysutils/felix: update to 0.8.1 -Fixed undo/redo order when new manipulations occurs. Now manipulation list will be "branched", which means undone manipulations will be discarded when new manipulation is pushed, so that redo cannot lead to an error.
sysutils/felix: update to 0.8.0
new feature:
u to undo and Ctrl + r to redo #51 76e8444
Targets of these new commands are put/delete/rename.
fix:
Clarified the type of error during initial setup (now explicitly use panic).
Added minimum row size.
Better cursor move when terminal size is extremely small (row size < 8).
sysutils/felix: update to 0.7.0 v0.7.0 ====== new features: -Terminal size changes are now automatically detected and the layout is fixed. -felix -c shows the current version and checks if that is up to date.
sysutils/felix: update to 0.6.1 new feature: -New configuration: You can now use the full width of terminal by setting use_full_width to true (false by default). I hope this wil lead to a better user experience. For those who use <=0.6.0, felix can work without replacing config.toml because use_full_width is an option.
sysutils/felix: update to 0.6.0
new feature:
:z <keyword> lets you jump to a directory that matches the keyword.
(zoxide required) #52 4e4c1b7
:cd | :z => Go to home directory. b536332
fix:
Fix bug when reading .git/HEAD to show branch name 2de3a97
some refactoring: 830812e 6377d66 bd12fa6
sysutils/felix: update to 0.5.2 new feature: -New option for config: Now you can set the max length of the item name to be displayed (if the terminal size is not enough, it will be automatically adjusted). It's optional, so you can use your config file in < v.0.5.1 as is. See config.toml for details. 7616b00 some refactoring: 016a316 016a316
sysutils/felix: update to 0.5.1
Fix:
Fix message when deleting multiple items 12b3572
Remove duplicated call for env variable 0b15676
sysutils/felix: update to 0.5.0
enhancement:
-Open files whether its extension in lowercase or uppercase d946b5f
-Follow symlink if it leads to a directory dac7f88
-Implement memoization of move when going to symlink dir 6860c5d
-Print help by fx -h | fx --help 884180f
sysutils/felix: update to 0.4.3
fix:
cursor movement when deleting multiple items 3671755
improvement:
remove unnecessary if/else 9513873
sysutils/felix: update to 0.4.2 improvement: -better indicator when copying/deleting
sysutils/felix: update to 0.4.1 improvement: -show total time to delete/copy items -show process to delete/copy items
sysutils/felix: update to 0.4.0 -enable to show/hide hidden items ( #34 @balroggg ) -felix keeps the state of show_hidden(whether to show hidden items) and sort_by(by name or by modified time): The change remains after exit.
sysutils/felix: update to 0.3.2
Fix:
-Restore cursor after exit.
Improvement:
-Get git branch name without Command::new("git")
sysutils/felix: update to 0.3.1 Fix: -cursor movement when going to parent directory -cursor memorization using PathBuf instead of String
sysutils/felix: update to 0.3.0
v0.3.0
enhancement:
Show item information on the last line (index, file extension, file size)
Add memoization of cursor position in previous directory
Adjust cursor movement when going to different child directory
fix:
display of item when selecting
cursor movement after filter mode
some refactoring
v0.2.13
enhancement:
Show item information on the last line (index, file extension, file size)
Add memoization of cursor position in previous directory
Adjust cursor movement when going to different child directory
fix:
display of item when selecting
cursor movement after filter mode
some refactoring
sysutils/felix: update to 0.2.12 Fix: Enable to delete broken symlink.
sysutils/felix: update to 0.2.11 -Fix display on small terminals
sysutils/felix: update to 0.2.10 -Remove Ctrl + c for copying item name to the clipboard (in order to reduce build dependency) -Change color of selected items to make them more visible
sysutils/felix: update to 0.2.9 new feature: -show current branch if .git exists -add message about processing when delete and put fix: -rename of multiple items when put now works correctly -show error message when delete faiils -cursor move when empty the trash dir change: -style of current dir (just bold)
sysutils/felix: import package A tui file manager with vim-like key mapping, written in Rust. While heavliy inspired by the great vifm and trying to implement its pleasan experience in Rust, at the same time this project focuses on the following points: - simple and fast - easy to configure how to open files