Up to [cvs.NetBSD.org] / pkgsrc / sysutils / vifm
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
vifm: Update to version 0.14.5 Security Fixed unsafe IPC pipe reuse (CVE-2026-110237). Thanks to Andrew Savchenko and Salvatore Bonaccorso (a.k.a. carnil). AppImage Updated AppImage runtime to a recent version. Thanks to Alexander Gottweis (a.k.a. stablestud). Documentation Improved wording of documentation sections describing filters and patterns. Improved wording of documentation covering :view. Thanks to CaptainFantastic. Slightly improve documentation of columncount: in 'lsoptions'. Fixed invocation form of :locate that passes parameters without escaping not being documented. :set command and options Fixed printing the value of 'previewoptions': remove trailing comma and fix maxtreedepth: and graphicsdelay: being mutually exclusive. File list Avoid views scrolling unnecessarily in response to file-system changes that add or remove files before the first visible line. Thanks to justpretending2. File preview Fixed external preview of directories being indefinitely refreshed when 'previewoptions' lists non-default values for builtin directory preview. Thanks to Chris at Vifm Q2A site. Fixed graphics from miller preview staying visible after switching away from a file entry. Fixed graphics from miller preview staying visible after switching 'millerview' off. Command-line mode Fixed :highlight Group cterm=combine,none gui=combine,none resulting in cterm=combine and gui=combine. Menus and dialogs Fixed dialog's title being hidden when it's longer than the dialog's message. Core Fixed startup commands being executed on loading sessions. Thanks to maxigaz. Fixed cleaning up IPC pipe file on exiting after handling --remote or --remote-expr. Fixed an unlikely memory leak on discovering .desktop files. TUI (Text User Interface) Fixed ruler in view mode not growing in size to accommodate its content. Thanks to Dennis Preiser (a.k.a. 0xDP). Integration Fixed FUSE unmounting not working on FreeBSD 15.0 or later, which has added an implementation of inotify that, unlike on Linux, counts as a directory use and prevents unmounting. Thanks to abi at Vifm Q2A site. Only on Windows Fixed miller columns not being filled on Windows for UNC paths.
vifm: Require curses library to expose mouse functions. Should help unbreak the build on netbsd-9, which is still technically supported.
vifm: update to 0.14.3. Vifm v0.14.3 ------------ Thanks for the bug reports. The 'trashdir' saga continues, sorry for the inconveniences. Documentation: - Improved documentation on the use of registers. Thanks to aleksejrs. Menus and dialogs: - Say "primary" instead of "default" in the title of :colorscheme menu. Other changes: - Provided more details on file handlers and viewers in sample vifmrc files. Fixes: - Fixed picking trash directory when rooted trash is included in 'trashdir' and root is writable. Regression in v0.14.2 (unfortunately, testing this automatically is problematic). - Fixed unlimited growth of directory histories when 'history' is set to its default value or not set at all in vifmrc. Thanks to zoj613. - Fixed abort due to assertion on displaying a statusbar message with a newline when 'shortmess' includes "T". Thanks to agguser. (skipped >1500 more lines describing changes for versions back to 0.12)
*: recursive bump for Python 3.11 as new default
*: recursive bump for perl 5.36
vifm: fix PLIST on Darwin
vifm: update to 0.12
Vifm v0.12
September 29, 2021
New version makes textual preview asynchronous, provides support for
24-bit colors, improves tree-view and introduces experimental Lua plugins
support.
Thanks to everyone who tried out the beta.
Main changes
* Color schemes and preview now support 24-bit colors.
* Depth of tree-view can now be limited and directories in it can be
folded.
* Textual preview of files is now done asynchronously.
* List of files can now be directly piped to programs via new macros.
* External editing now asks for a re-edit after a failure.
* Status line can now take up several lines.
* Vifm has received a more advanced, but currently experimental,
extension interface in a form of Lua plugins.
* New keys for controlling viewer while in view mode.
* View column separators.
* New logo.
*: recursive bump for perl 5.34
vifm: Update to 0.11 September 24, 2020 ================== Vifm v0.11 ---------- New version finally updates format of vifminfo file unblocking changes like persistent tabs, sessions and timestamp-based merging of histories. In addition to that there were a number of improvements in user interface and multiple performance-related improvements. Thanks to everyone who tried out the beta. Main changes: - added persistent tabs; - added sessions; - new format of vifminfo file (old version is imported on first run); - smarter merging of histories between runs that avoids dropping of new entries; - version of default color scheme for 256-color terminals; - make tab labels customizable; - try to keep ratio of pane sizes constant on resizes, restarts and tab switching; - various performance improvements. More detailed list of changes. Normal and visual modes: - added gF normal mode key which acts like gf, but goes all the way to the ultimate target of the chain of symbolic links (thanks to Alexandre Viau); - improve navigation on gf key. Do fewer refreshes and disable filters to make target visible. Core: - more sensible merging of histories from multiple instances in vifminfo file (avoids dropping of new entries); - invalidate cached directory information (size or number of files) on inode change (thanks to Jose Riha, a.k.a. jose1711); - invalidate cached directory size when using it to compute size of some parent directory; - improve cursor positioning after file operations; - made it possible to escape commas in patterns (as usual, by doubling) (thanks to filterfalse). Command-line mode: - added :tabo[nly] command that closes all tabs but the current one; - added :session and :delsession commands to manage sessions (thanks to Marcos Cruz); - added optional "full" parameter for the :restart command, which makes it discard essentially all context. This is useful with persistent tabs (thanks to Yusuf Aktepe); - don't reset histories of views in inactive tabs on :restart; - improve differentiation between association and list forms of :colorscheme command on startup. This is important if list contains name of color scheme that doesn't exist. :set command and options: - added "tabs" value to 'vifminfo' option. It enables persistent tabs (thanks to Cosmin Popescu, a.k.a. cosminadrianpopescu, filterfalse and Neil Griffin, a.k.a. ngriffin7a); - added "v" flag to the 'tuioptions' option. It controls whether width of middle border is adjusted to equalize view sizes (thanks to Matthias Braun, a.k.a. mb720); - added 'sessionoptions' option, which is an alternative to 'vifminfo' for session files; - added 'tablabel' option that specifies format of a single tab's label when non-empty (thanks to aleksejrs); - added 'tabprefix' and 'tabsuffix' options that allow customizing tabline separators (thanks to CoreCube); - added "treeleafsparent" value to 'dotdirs' option (thanks to filterfalse and Melandel); - do not require "dhistory" to be present in 'vifminfo' for "savedirs" to work. Menus and dialogs: - added rate and progress bar to progress dialog (patch by Alborz Jafari); - added real (fully resolved) path to the File Info dialog (thanks to Alexandre Viau); - added number of hard links to the File Info dialog; - abort menu, more or file information modes before processing remote commands (thanks to kangshugang); - deduplicate elements of the :file menu; - make displaying of spaces in mappings more intelligent by using <space> at the start or end of lhs or rhs. File preview: - improve handling of long or unknown escape sequences in previews (thanks to bratekarate); - use global color scheme for preview on the other pane ignoring its directory-specific color scheme; - invalidate textual quickview cache if it contains fewer lines than window height and is incomplete. TUI (Text User Interface): - try harder to preserve position of the splitter. Avoid its drift on terminal resizes and preserve ratio of windows on startup and tab switches (thanks to Shakil Akhtar); - prevent internally selected files (e.g., via a range of a :command) from appearing selected in user interface (thanks to filterfalse); - reduce width of top line when side borders are hidden (`set tuioptions-=s`) (thanks to Svyatoslav Mishyn, a.k.a. juef); - escape some characters as ^X in view and tab titles, custom menu titles, on statusline and in terminal title (thanks to filterfalse); - use the same label for :grep and :find custom lists as the one used for :grep and :find menus (thanks to filterfalse); - use unexpanded command for title of custom file lists produced using %u or %U macros and menus produced using %m or %M macros (thanks to filterfalse); - use name of user-defined command in titles of custom views and menus (thanks to filterfalse); - preserve more information in the title on turning custom view into tree using :tree (thanks to filterfalse); - limit length of custom file list title to 80 character positions (thanks to filterfalse). Integration: - detect being run under Wayland (relevant for :filextype commands) (thanks to mhdzli); - make 'title' option work in all terminals which contain "tsl" and "fsl" capabilities (thanks to m-kru); - update terminal title when in menus (thanks to filterfalse). Color schemes: - added HardLink highlight group for regular files with more than one hard link (patch by Hans Bieshaar); - added LineNr highlight group for highlighting line number column of views (thanks to Anton Gepting); - added OddLine highlight group for highlighting every second entry line of a pane (thanks to iSeeU816). Scripting: - added v:jobcount builtin variable that provides number of active jobs (number of lines in :jobs menu) (thanks to iSeeU816); - added v:session builtin variable that provides name of current session or is set to an empty string. Configuration: - added three MC-like shortcuts to sample vifmrc files (Alt-I, Alt-O and Ctrl-U) (thanks to Hans Bieshaar); - added global Default-256 color scheme to be used in terminals that support 256-color palette (automatically in sample vifmrc) (thanks to Shakil Akhtar); - create $VIFM/colors directory with default color scheme only on the first run (thanks to ranousse); - use mime-types in associations in sample vifmrc (thanks to Shakil Akhtar). Performance: - significantly improved performance of adding files to registers that contain thousands of files. As a result contents of registers is sorted now (thanks to Typo); - significantly improved performance of adding files to trash that contains thousands of files. As a result contents of trash is sorted now (thanks to Typo); - significantly improved speed of sourcing files (includes processing configuration on startup and :restart); - significantly improved speed of handling typical globs (and therefore mime-type matchers) and reduced amount of memory they take up (thanks to yanzhang0219); - improve performance of mime-type detection by caching the results; - make comparing files by contents (`:compare bycontents`) somewhat faster (thanks to maxigaz); - don't force view reload after every :command that resets selection when there was non-empty selection. This might make metadata of files less up-to-date, but should increase overall performance (thanks to Jose Riha, a.k.a. jose1711); - avoid reloading source file list after copy or move operation when possible (thanks to Jose Riha, a.k.a. jose1711). Vim-plugin: - added :VifmCs command to the plugin for "converting" Vim's color scheme into a Vifm's one (patch by Roman Plášil, a.k.a. Quiark); - multiple improvements of syntax highlighting. Documentation: - added references to "Menus and dialogs" section of documentation from :commands and keys which open menus and dialogs detailed there; - explicitly documented that macros are expanded in user defined commands (thanks to gcmt); - made documentation of :command more comprehensible; - document that user must disable netrw plugin on his own when enabling g:vifm_replace_netrw. Vifm's plugin can't do it, because it's loaded after plugins shipped with Vim; - documented how selection is handled on launching files (like on l or Enter keys); - improve documentation on "bycontents" of :compare (thanks to maxigaz); - somewhat improved documentation on 'ignorecase' and 'smartcase' options (thanks to filterfalse); - fixed Vim version of the documentation lacking description of %p macro of 'findprg'. Only on Windows: - added basic support for using PowerShell (pausing doesn't work) (thanks to Fang, a.k.a. peromage); - display targets of .lnk-files in file information dialog; - implemented capturing output of background applications (thanks to Gene Zharov); - follow targets of .lnk-files (thanks to Alexandre Viau); - fixed 'chaselinks' (symbolic links weren't resolved); - fixed creating symbolic links with 'syscalls' being turned on; - fixed creating symbolic links with spaces in source or target paths; - fixed Alt key combinations being broken since v0.9; - fixed running non-cmd shells being broken by adding 'shellcmdflag' in 0.10.1; - fixed issues with non-tiny 'shellcmdflag' (patch by Bas Bossink, a.k.a. basbossink); - fixed detecting presence of :file[x]type commands on Windows when backslashes are present in path (thanks to anonymous and n.e. at Vifm Q2A site). Packaging: - avoid interposing system's reallocarray(), when it's present (thanks to Ben Boeckel, a.k.a. mathstuf); - install only one version of sample config and media script, the one which corresponds to operating system being used (thanks to Michael Vetter, a.k.a. jubalh and Ondrej Novy, a.k.a. onovy); - clean up tests directory on "make clean" in the top of the tree. Important fixes: - fixed generation of :highlight command for OtherWin on writing $VIFM/colors/Default.vifm. The bug caused white background of inactive pane (thanks to Stas Malavin); - fixed `:move subdir &` renaming file in the process and doing weird stuff to multiple files (thanks to 45jqlakjrf87ayte7hy34ter4nguijauzl4eitk); - fixed graphics preview not being cleared on switching tabs or starting external applications (including on :shell); - fixed mapped keys being reinterpreted as builtin keys if RHS of the mapping failed at some point (e.g., contained an unmapped key) (thanks to Seok Won Lee, a.k.a. ijleesw); - fixed dialogs not being visible when UI updates are silenced via <silent> mappings; - fixed panic on some redraw operations mixing with file operations during terminal resizing (thanks to aca). See change log for the full list of changes and by whom they were suggested or implemented.
*: bump PKGREVISION for perl-5.32.
Bump PKGREVISIONs for perl 5.30.0
vifm: Update to 0.10.1 Changes: * Added file preview to miller mode * Added preview macro to directly output to terminal, which enables use of Sixel graphics for previewing * Added udisks2 backend to vifm-media script (bundled script for managing media) and version of the script for OS X * Updated code to make use of large amount of color pairs when available * Functionality of previously separate neovim-vifm plugin got merged into the main plugin * Multiple improvements to :media menu * Improved performance in several use cases (quickview, lots of unhighlighted files, unnecessary cursor updates and redraws)
vifm: Update to 0.10
0.10-beta to 0.10 (2018-11-11)
Display list of files in removal confirmation dialog. Thanks to ovk.
Support embedded terminal in the plugin for newer Vim.
Return "broken" from filetype({fnum}, 1) for inaccessible link target.
Thanks to filterfalse.
Avoid unnecessary reloading file list after pressing "=" to enter local
filter.
Fixed crash on pasting elements of paths that contain broken UTF-8
sequences into command-line using Ctrl-X + key. Thanks to Jose
Riha (a.k.a. jose1711).
Fixed extra unlisted buffer beeing kept around in neovim on :*Vifm
commands. Thanks to randomizedthinking.
Fixed invalid treatment of numerical arguments of filetype(). Thanks to
filterfalse.
Fixed crash on previewing contents of directory without execute right in
miller view. Thanks to filterfalse.
Fixed statusline highlighting being broken by wide characters.
Recursive bump for perl5-5.28.0
Follow some redirects.
vifm: remove a patch which has unclear motives (possibly a legacy patch to fix a compilation problem on netbsd that is no longer relevant) that is breaking compilation on macos. PR pkg/51960
Updated sysutils/vifm 0.7.8 to 0.8.2 ------------------------------------ Changes found in NEWS file is too lengthy, just quote the first part of it. vifm v0.8.2 ----------- This release brings a bit of user-friendliness in form of key suggestions and various descriptions provided in the interface. Matching of files has been extended in many ways and become significantly more powerful than before. Menu mode also got several enhancements.
Use the curses framework.
Bump PKGREVISION for perl-5.24.0 for everything mentioning perl.
Remove INCOMPAT_CURSES settings for NetBSD 0.x and 1.x. Tighten up some globs to ensure NetBSD 10 is not incorrectly matched when it is released.
Bump PKGREVISION for ncurses shlib bump.
Recursive PKGREVISION bump for all packages mentioning 'perl', having a PKGNAME of p5-*, or depending such a package, for perl-5.22.0.
Update to 0.7.8 * Depend on ncursesw. * Update HOMEPAGE. Changelog: Completely changed in last 12 years.
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
Add DESTDIR support.
Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no developer is officially maintaining the package. The rationale for changing this from "tech-pkg" to "pkgsrc-users" is that it implies that any user can try to maintain the package (by submitting patches to the mailing list). Since the folks most likely to care about the package are the folks that want to use it or are already using it, this would leverage the energy of users who aren't developers.
Recursive revision bump / recommended bump for gettext ABI change.
Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in
http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions: USE_GNU_TOOLS -> USE_TOOLS awk -> gawk m4 -> gm4 make -> gmake sed -> gsed yacc -> bison
Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.
Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10 in the process. (More information on tech-pkg.) Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and installing .la files. Bump PKGREVISION (only) of all packages depending directly on the above via a buildlink3 include.
Remove maintainer on his request (PR 26997).
Convert to buildlink3.
replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make.
Fix typo in previous.
Make "-" first in [].
-current got redrawwin() -- replace USE_NCURSES with INCOMPAT_CURSES lines. While here, fix location of example config files in source, so that copying them during the first startup works.
Back out last change related to moving ncurses/buildlink2.mk to curses.buildlink2.mk. This was wrong because we _really_ do want to express that we want _n_curses when we include the buildlink2.mk file. We should have a better way to say that the NetBSD curses doesn't quite work well enough. In fact, it's far better to depend on ncurses by default, and exceptionally note when it's okay to use NetBSD curses for specific packages. We will look into this again in the future.
move ncurses/buildlink2.mk to mk/curses.buildlink2.mk, as it provides support for base system curses/ncurses as well as ncurses itself. suggested by wiz.
PKGREVISION bump for libiconv update.
Dependency bumps, needed because of devel/pth's major bump, and related dependency bumps.
Note in USE_NCURSES variable which functions actually are missing for this to build with native curses.
Initial import of vifm, version 0.1. Description follows: Vifm is a ncurses based file manager with vi like keybindings. If you use vi, vifm gives you complete keyboard control over your files without having to learn a new set of commands. Features: * Two file list windows. * Bookmarks. * User-defined association of file types/extensions with multiple applications per extension. * Visual mode for selecting files. * User-defined commands. Package provided by Stefan Walter in PR pkg/18010, with several modifications by me. Approved by wiz (thanks for your suggestions!).
Initial revision