The NetBSD Project

CVS log for pkgsrc/sysutils/xplr/Makefile

[BACK] Up to [] / pkgsrc / sysutils / xplr

Request diff between arbitrary revisions

Default branch: MAIN

Revision 1.58 / (download) - annotate - [select for diffs], Thu Jan 4 12:29:33 2024 UTC (8 weeks, 2 days ago) by pin
Branch: MAIN
Changes since 1.57: +2 -2 lines
Diff to previous 1.57 (colored)

sysutils/xplr: update to 0.21.5

Changes & fixes
 - Added new messages to make it easier to jump between the deep level
   directories from history (as an alternative to runtime bookmarking).
    - PreviousVisitedDeepBranch
    - NextVisitedDeepBranch
 - New key bindings ( and ) bound to the new messages.
 - Added support for function keys upto F24.
 - Added selection count indicator in Input/Logs panel, so that selection panel
   can be hidden without losing the indicator.
 - Dependency updates.

Revision 1.57 / (download) - annotate - [select for diffs], Tue Aug 8 20:01:44 2023 UTC (6 months, 3 weeks ago) by pin
Branch: MAIN
CVS Tags: pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3
Changes since 1.56: +2 -2 lines
Diff to previous 1.56 (colored)

sysutils/xplr: update to 0.21.3

Changes & fixes

    Fixed "Illegal format character q" error seen on non GNU (including macOS and BSD) systems (thanks to @lcook).
    Fixed a UI issue causing lower priority styles being fully ignored (thanks to @duganchen).
    Press f1 to see the global help menu from any mode, without leaving the mode.
    Current mode help menu will be displayed on top of the global help menu.
    Added build targets (including direct download links) for Apple Silicon, aarch64 Linux, Android, arm Linux (thanks to @khvzak, author of mlua, for his help).
    Added hook: on_selection_change.
    Documentation improvements.

Revision 1.56 / (download) - annotate - [select for diffs], Mon May 22 17:42:56 2023 UTC (9 months, 1 week ago) by pin
Branch: MAIN
CVS Tags: pkgsrc-2023Q2-base, pkgsrc-2023Q2
Changes since 1.55: +1 -4 lines
Diff to previous 1.55 (colored)

sysutils/xplr: clean-up after update

Revision 1.55 / (download) - annotate - [select for diffs], Mon May 22 12:51:35 2023 UTC (9 months, 1 week ago) by pin
Branch: MAIN
Changes since 1.54: +6 -5 lines
Diff to previous 1.54 (colored)

sysutils/xplr: update 0.21.2

Changes & fixes
 - Added CustomLayout, a new custom panel type to allow nesting other layouts
   inside a static or dynamic layout. This will allow switching between
   different layouts dynamically, without having to switch modes.
 - $LS_COLORS will have lesser priority than xplr.config.node_types.*.style.
 - Now, there's no default color set in xplr.config.node_types.*.style, so xplr
   will default to $LS_COLORS.
 - xplr -m now uses jf to render and pass messages. This allows for a more
   flexible template syntax.
 - xplr will now ask before delete.
 - For copy, move or symlink operations, xplr will ask what to do if a file
   with the same name exists.
 - CLI help menu improvements
 - Several fixes and improvements in documentation. Thanks to @kianmeng and
   @hensg for contributing.

Revision 1.54 / (download) - annotate - [select for diffs], Tue Mar 28 20:28:51 2023 UTC (11 months ago) by pin
Branch: MAIN
Changes since 1.53: +2 -2 lines
Diff to previous 1.53 (colored)

sysutils/xplr: update to 0.21.1

- SelectAll and ToggleSelectAll (i.e. ctrl-a) in a new directory will extend,
  instead of replace, the existing selected paths.
- Fixed a UI bug causing random characters to turn bold.

Revision 1.53 / (download) - annotate - [select for diffs], Mon Mar 20 06:52:23 2023 UTC (11 months, 2 weeks ago) by pin
Branch: MAIN
CVS Tags: pkgsrc-2023Q1-base, pkgsrc-2023Q1
Changes since 1.52: +2 -2 lines
Diff to previous 1.52 (colored)

sysutils/xplr: update to 0.21.0

Changes & fixes

  - IMPORTANT FIX: Fixed panic on permission denial on macOS.
  - BREAKING: Some UI plugins might stop rendering colors. Wait for them to
  - BREAKING: xplr.config.general.sort_and_filter_ui.search_identifier has been
    renamed to xplr.config.general.sort_and_filter_ui.search_identifiers.
  - BREAKING: Resolved Node API will not contain the permissions field anymore.
    Use the utility function xplr.util.node to get its permissions.
  - Layout CustomContent has been undocumented. It will stay for compatibility,
    but you should prefer using the following new layouts, because they support
    custom title:
  - Improved the builtin search operation using the following new messages:
  - Builtin fuzzy search will now support skim's search syntax.
  - Default search algorithm: = "Fuzzy".
  - Default search ordering: = false.
  - Improved selection operations:
        BREAKING: Selection list will be retained after each operation unless the
        paths are renamed, moved, deleted, or cleared manually (ctrl-u).
        :sl to list selection in a $PAGER.
        :ss to create softlink of the selected items.
        :sh to create hardlink of the selected items.
        :se to edit selection list in your $EDITOR.
        Better conflict handling: add suffix rather than overriding/skipping.
  - Navigate between the selected paths using the following messages:
        FocusPreviousSelection (ctrl-p)
        FocusNextSelection (ctrl-n)
  - Added support for LS_COLORS, along with the following utility functions for
    applying better styling/theming.
  - By default colors will only be applied to the file name column in the table.
  - File paths will be properly quoted.
  - Column Renderer Argument will contain additional fields:
  - Selection list will display the paths in shorthand format, based on the
    current location.
  - Use the following config to specify how the paths in selection list should
    be rendered:
  - Improved working with file permissions using the following utility
  - Type :p to edit file permissions interactively.
  - More utility function for QOL improvement:
  - Fixed mime type detection for executables: application/x-executable.
  - Added workaround for compatibility with macOS legacy coreutils.
  - Fixed history navigation for non-existent paths.
  - Optimized navigation with long list of selected items.
  - Minor improvements in batch operations.
  - Minor improvements in logging.

Thanks to @noahmayr for contributing to a major part of this release.

Revision 1.52 / (download) - annotate - [select for diffs], Mon Jan 23 21:11:33 2023 UTC (13 months, 1 week ago) by pin
Branch: MAIN
Changes since 1.51: +2 -2 lines
Diff to previous 1.51 (colored)

sysutils/xplr: update to 0.20.2

Changes & fixes
 - Updated UI to be more light theme and NO_COLOR friendly.
 - Fixed creating files inside multiple subdirectories (e.g. foo/bar/test.txt)
   (thanks to @soryeigeton for reporting and help debugging).
 - Added new hooks (contribution by @emsquid).
    - on_mode_switch
    - on_layout_switch
 - Minor documentation fixes and updates (contribution by @BoolPurist).
 - Dependency updates.

Revision 1.51 / (download) - annotate - [select for diffs], Mon Dec 5 11:25:23 2022 UTC (14 months, 3 weeks ago) by pin
Branch: MAIN
CVS Tags: pkgsrc-2022Q4-base, pkgsrc-2022Q4
Changes since 1.50: +2 -2 lines
Diff to previous 1.50 (colored)

sysutils/xplr: update to 0.20.1

Changes & fixes
 - xplr shell will default to $SHELL, using bash as a fallback. oh-my-zsh users
   please add TRAPEXIT() { echoti rmkx; } in your .zshrc (see #499 for more
 - (experiment) xplr will now display full-screen help menu in intermediate
   modes. Set xplr.config.modes.builtin[mode].layout = nil to disable. e.g.
   xplr.config.modes.builtin.create.layout = nil
 - Added new utility functions to work with json and yaml data.
     - xplr.util.from_json()
     - xplr.util.to_json()
     - xplr.util.from_yaml()
     - xplr.util.to_yaml()
 - Added new utility function xplr.util.version() to get the currently running
   binary version (semantic versioning fields).
 - Fixed displaying multispace characters (Japanese, Chinese...), thanks to
   @Elvyria for contributing to tui-input.
 - Fixed a bug causing the creation of a new directory named .\n when creating
   new files containing space in the name.
 - Minor UI updates.

Revision 1.50 / (download) - annotate - [select for diffs], Sat Oct 29 20:34:43 2022 UTC (16 months ago) by pin
Branch: MAIN
Changes since 1.49: +2 -2 lines
Diff to previous 1.49 (colored)

sysutils/xplr: update to 0.20.0

Changes & fixes
 - BREAKING: xplr shell (:!) will default to null (\0) delimited pipes, as
   opposed to newline (\n) delimited ones (i.e. will use Call0 instead of
 - Use new messages for safer file path handling (\0 delimited):
    - Call0
    - CallSilently0
    - BashExec0
    - BashExecSilently0
 - Use new sub-commands for safer message passing:
    -m FORMAT [ARGUMENT]... / --pipe-msg-in FORMAT [ARGUMENT]...
    -M FORMAT [ARGUMENT]... / --print-msg-in FORMAT [ARGUMENT]...
     Where FORMAT is a YAML string that may contain %s, %q and %%
     placeholders and ARGUMENT is the value per placeholder. See init.lua.
 - Following hooks can be defined in the config files using an optional
   return { on_* = { list, of, messages }, ... } statement at the end.
    - on_load
    - on_focus_change
    - on_directory_change
 - Use --vroot to isolate navigation of an xplr session inside a specific
   directory. Interaction still requires passing full path, and shell,
   lua functions etc still can access paths outside vroot.
   Use the following messages to switch vroot at runtime, or the use key
   bindings available in the new builtin mode "vroot" (mapped to : v).
    - SetVroot
    - UnsetVroot
    - ToggleVroot
    - ResetVroot
 - Use $XPLR_INITIAL_PWD and Lua equivalent to implement workspace like
   features without using virtual root. Use keys gi to go to the initial
   working directory from anywhere.
 - Use the convenient xplr.util utility functions in your Lua function calls.
   See xplr.util API docs.
 - Improved CLI errors.
 - Finished documentation (finally).
 - UI updates to handle newlines in path.

Thanks to @jmcantrell for reporting and help implement fix for the critical
newline-in-pathname bug.

Revision 1.49 / (download) - annotate - [select for diffs], Thu Oct 6 19:46:49 2022 UTC (16 months, 3 weeks ago) by pin
Branch: MAIN
Changes since 1.48: +2 -2 lines
Diff to previous 1.48 (colored)

sysutils/xplr: update to 0.19.4

Changes & fixes
- The builtin search will now default to skim-v2 based fuzzy matching.
- esc while in search mode will recover the initial focus (i.e. cancel the
- The following messages will be available for search based operations:
- Quick scrolling operations are supported using the following messages and keys:
     ScrollUp page-up
     ScrollDown page-down
     ScrollUpHalf {
     ScrollDownHalf }

Note: People who prefer the old regex based search, can use the
regex-search.xplr plugin.

Revision 1.48 / (download) - annotate - [select for diffs], Sun Sep 11 11:36:15 2022 UTC (17 months, 3 weeks ago) by pin
Branch: MAIN
CVS Tags: pkgsrc-2022Q3-base, pkgsrc-2022Q3
Changes since 1.47: +2 -2 lines
Diff to previous 1.47 (colored)

sysutils/xplr: update to 0.19.3

 - Bug fixes for passing filters using the --on-load argument.

 - Fixed support for the following keys in input mode:

 - You can now access uid and gid of the file owners in the Lua API. See
   column-renderer and node docs.
 - The input buffer will support more readline-like keys. Also, added
   "DeleteTillEnd" as another cursor based "InputOperation" option.
   See tui-input v0.5.0 release.
 - Fixed applying regex based filters via the CLI and $XPLR_PIPE_MSG_IN pipe.
   See issue #503.
 - You can use the prompt field to define input prompt for each mode, instead
   of using the SetInputPrompt message. See init.lua changes.

Revision 1.47 / (download) - annotate - [select for diffs], Tue Jun 7 10:11:48 2022 UTC (20 months, 3 weeks ago) by pin
Branch: MAIN
CVS Tags: pkgsrc-2022Q2-base, pkgsrc-2022Q2
Changes since 1.46: +8 -3 lines
Diff to previous 1.46 (colored)

sysutils/xplr: update to 0.19.0

Changes & fixes
-BREAKING: The builtin modes cannot be accessed using space separated names
 anymore. Use underscore separated mode names.
 For e.g. SwitchModeBuiltin: create file becomes SwitchModeBuiltin: create_file
 and so on.
-Fixed a bug with handling tab key in the input buffer.
-Added xplr.config.general.global_key_bindings to define a set of key bindings
 that are available by default in every mode. e.g esc and ctrl-c.
-Added new builtin mode go_to_path which can be used for typing or pasting
 paths to enter into or to focus on. Type g p to enter this mode.
-Added basic tab completion support for the go_to_path, create_file,
 create_directory, rename and duplicate_as modes.
-Use the builtin function xplr.fn.builtin.try_complete_path to add easy tab
 completion support into your own configuration.
-Fixed syncing current working directory with OSC 7 compatible terminals (e.g.
-The NO_COLOR environment variable also disables OSC 7.
-Significantly optimized regex based search and filter.
-The files table is a little compact now.
-Removed boilerplate config from the default init.lua.
-Minor input prompt related improvements in different modes.

Revision 1.46 / (download) - annotate - [select for diffs], Sat May 21 21:10:55 2022 UTC (21 months, 1 week ago) by pin
Branch: MAIN
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored)

Asysutils/xplr: update to 0.18.0

Changes & fixes

    Added new command-line arguments --read0, --write0 and -0/--null to
    support reading and printing null character delimited file paths.
    Added support for filtering with regex using the new filters:
    Key binding f r and f R will now filter using regex.
    Added key binding f backspace to remove the last filter.
    Search mode now defaults to regex search.
    Added a new message SetInputPrompt to set the input prompt dynamically.
    Added new node properties (available via the Lua API):
    Added support for sorting with timestamp using the new sorters:
    The last column in the files table now displays the last modification time.
    Fixed a bug causing crashes when handling unicode characters in the input
    Improved docs.

Revision 1.45 / (download) - annotate - [select for diffs], Thu May 5 07:01:26 2022 UTC (21 months, 4 weeks ago) by pin
Branch: MAIN
Changes since 1.44: +2 -2 lines
Diff to previous 1.44 (colored)

sysutils/xplr: update to 0.17.6

-Fixed rendering ANSI colors.
-Default UI improvements.
-Documented how to add luarocks support.

Revision 1.44 / (download) - annotate - [select for diffs], Thu Apr 14 10:59:06 2022 UTC (22 months, 2 weeks ago) by pin
Branch: MAIN
Changes since 1.43: +3 -3 lines
Diff to previous 1.43 (colored)

sysutils/xplr: update to 0.17.4

Changes & fixes
   -Fixed invalid cursor position when using multi character custom prompt.
   -Improved documentation, covering almost every detail.
   -More concise init.lua.
   -Upgraded Rust version and edition.
   -Upgraded dependencies.
   -Performance improvements (due to the updates).

Revision 1.43 / (download) - annotate - [select for diffs], Mon Feb 28 08:28:01 2022 UTC (2 years ago) by pin
Branch: MAIN
CVS Tags: pkgsrc-2022Q1-base, pkgsrc-2022Q1
Changes since 1.42: +6 -4 lines
Diff to previous 1.42 (colored)

sysutils/xplr: update to 0.17.3

Changes & fixes:
-Added new fields border_type and border_style for all the panels to enable
 customizing the borders (see #450).
-Added boolean option xplr.config.general.enforce_bounded_index_navigation to
 configure wrapping on move (see #441).
-The built-in init.lua has been fully documented (see #445).
-Categorized the full list of messages using auto generation of docs from
 code (see #444).
-Some code refactor and documentation improvements.

Revision 1.42 / (download) - annotate - [select for diffs], Thu Feb 3 21:46:51 2022 UTC (2 years ago) by pin
Branch: MAIN
Changes since 1.41: +2 -2 lines
Diff to previous 1.41 (colored)

sysutils/xplr: update to 0.17.2

Changes & fixes
-Added CLI option --print-pwd-as-result to simplify implementing "cd on quit"
 using shell alias (See #437)
-alias xcd='cd "$(xplr --print-pwd-as-result)"'
-Added new key binding ctrl-d to duplicate a file or directory in the same
 parent directory with a different name. (See #434).

Revision 1.41 / (download) - annotate - [select for diffs], Tue Jan 11 16:43:55 2022 UTC (2 years, 1 month ago) by pin
Branch: MAIN
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (colored)

sysutils/xplr: update to 0.17.1

Changes & fixes
-If errors occur during startup, xplr will display a debug error screen.
 This can be disabled by setting xplr.config.general.disable_debug_error_
 _mode = true
-While creating files (e.g. path/to/file), if the parent directories don't
 exist, they will be automatically created.

Revision 1.40 / (download) - annotate - [select for diffs], Sun Dec 12 22:19:12 2021 UTC (2 years, 2 months ago) by pin
Branch: MAIN
CVS Tags: pkgsrc-2021Q4-base, pkgsrc-2021Q4
Changes since 1.39: +2 -2 lines
Diff to previous 1.39 (colored)

sysutils/xplr: update to 0.17.0

Changes & fixes
-Deprecated app.directory_buffer, app.history, and app.last_modes in
 the custom dynamic layout renderer context.
 As of now, there's no way to access these fields in dynamic layouts. While
 app.history and app.last_modes can be re-added upon request
 (with justification), app.directory_buffer has been deprecated for good.
 However, there's no change in the CallLua* context.
-As a result, change directory performance has been restored.
-Set xplr.config.general.hide_remaps_in_help_menu to true to hide the remaps in
 help menu.
-None will be serialized to nil in Lua.
-LuaEval can now return a function that will be called with the Lua Context
 argument. Refer to the Full List of Messages doc for example.

Revision 1.39 / (download) - annotate - [select for diffs], Tue Nov 16 08:21:46 2021 UTC (2 years, 3 months ago) by pin
Branch: MAIN
Changes since 1.38: +2 -2 lines
Diff to previous 1.38 (colored)

sysutils/xplr: update to 0.16.4

-Fixed a nasty performance issue with rendering custom dynamic layouts in a big
-Fixed another nasty issue of cursor jumping back to the initial item after
 visiting a big directory.

Revision 1.38 / (download) - annotate - [select for diffs], Wed Nov 10 08:44:54 2021 UTC (2 years, 3 months ago) by pin
Branch: MAIN
Changes since 1.37: +2 -2 lines
Diff to previous 1.37 (colored)

sysutils/xplr: update to 0.16.3

-Deprecated config.general.cursor. The default terminal cursor will be used
 for the time being.
-The input buffer now supports cursor movement and other readline-like editing
-You can now replace most boilerplate configuration handling keys to send
 BufferInputFromKey, RemoveInputBufferLastCharacter,
 RemoveInputBufferLastWord, SetInputBuffer = "" etc. messages with a
 single UpdateInputBufferFromKey message.
-Pass multiple paths as command-line arguments or via stdin to select paths,
 e.g. xplr -- $PWD /path/to/select/1 /path/to/select/2.
-Pass --force-focus to focus on the first path even if it's a directory,
 e.g. xplr . --force-focus.
-Order of logs has been reversed in the UI. Now the most recent log will be
 displayed at the top.
-Added new messages LuaEval and LuaEvalSilently to run Lua code without
 needing to define a function. However, the app context won't be available.
-Added new key handlers:
-Fixed a bug where opening xplr inside a symlink opened xplr in the physical
-Fixed a bug where passing invalid CLI arguments didn't cause any error.

-Fix linux gnu bin release

-Fix CD for musl

-Upgrade to 0.16.0

Revision 1.37 / (download) - annotate - [select for diffs], Sun Oct 24 22:07:14 2021 UTC (2 years, 4 months ago) by pin
Branch: MAIN
Changes since 1.36: +2 -2 lines
Diff to previous 1.36 (colored)

sysutils/xplr: update to 0.15.2

Changes & fixes
-Fixed incorrect count of selected files.
-Mime type of directories will be set as inode/directory.
-Fixed typo: MaxthLessThanLayoutWidth -> MaxLessThanLayoutWidth.
-Top-level configuration has been fully documented.
-Slight improvement in responsiveness and CPU usage.
-Minor refactor and cleanups.

-Bump version

Revision 1.36 / (download) - annotate - [select for diffs], Thu Oct 7 11:50:44 2021 UTC (2 years, 4 months ago) by pin
Branch: MAIN
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored)

sysutils/xplr: update to 0.15.0

Changes & fixes:
-Added CustomContent as layout option that can be used to render custom
paragraphs, lists and tables. Both static and dynamic.
-Added support for optionally defining custom layouts for different modes.
-Added xplr.config.general.focus_selection_ui to highlight selected files
under focus differently than files under focus that are not selected.
-Added PopModeKeepingInputBuffer, and SwitchMode alternatives to allow
switching to different modes without resetting the input buffer.
-Removed config field from CallLuaArg as it's already available globally
as xplr.config.
-Fixed a bug which caused xplr to misbehave when used with specific tools and
environment (e.g. neovim, fzf, zsh4humans etc.).
-Recover mode will be disabled by default.
i.e. xplr.config.general.disable_recover_mode has been deprecated. Use
xplr.config.general.enable_recover_mode instead.
Library users please refer to the latest API docs and examples.
-New homepage:

Revision 1.35 / (download) - annotate - [select for diffs], Thu Sep 2 11:31:53 2021 UTC (2 years, 6 months ago) by pin
Branch: MAIN
CVS Tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored)

sysutils/xplr: update to 0.14.7

-Core: Fixed a bug where xplr logs a missing file error when the default config
file is missing.
-Core: xplr will now fall back to temp directory if runtime directory is
-Deps: Updated dependencies to the latest versions.
-Doc: Added new plugin - alacritty.xplr

-CLI: Added new command-line argument -C or --extra-config for better
integration with external tools (e.g.).
-UI: Minor fix in the permission column.
-Deps: Updated dependencies to the latest versions.

Revision 1.34 / (download) - annotate - [select for diffs], Mon Aug 2 15:06:45 2021 UTC (2 years, 7 months ago) by pin
Branch: MAIN
Changes since 1.33: +2 -3 lines
Diff to previous 1.33 (colored)

sysutils/xplr: update to 0.14.5

Changes & fixes:
-Added support for loading (unsafe) c modules via Lua require.
-Removed termion from dependency list.
-Optimized performance and memory usage.
-Minor fixes.

Revision 1.33 / (download) - annotate - [select for diffs], Thu Jul 22 16:16:37 2021 UTC (2 years, 7 months ago) by tnn
Branch: MAIN
Changes since 1.32: +1 -2 lines
Diff to previous 1.32 (colored)

g/c RUSTFLAGS from individual package Makefiles. Handled by

Revision 1.32 / (download) - annotate - [select for diffs], Mon Jul 5 09:50:34 2021 UTC (2 years, 7 months ago) by pin
Branch: MAIN
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored)

sysutils/xplr: update to 0.14.4

Changes & files
-Fixed ToggleSelectionByPath.
-Added support for relative paths in ChangeDirectory.
-xplr will now recursively delete $XPLR_SESSION_PATH upon exit. Hence, session
related temp data can be stored here.
-Upgrade guide URL now points to
-Running xplr /path/to/symlink will not resolve the symlink to physical path.

Revision 1.31 / (download) - annotate - [select for diffs], Thu Jun 24 15:23:42 2021 UTC (2 years, 8 months ago) by pin
Branch: MAIN
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored)

sysutils/xplr: update to 0.14.3

Changes & fixes:
-Fixed high CPU usage.
-StartFifo and ToggleFifo will write to the FIFO file immediately after opening
-General config xplr.config.general.start_fifo is available that can be used to
start a FIFO when xplr loads.
-Published xplr book as the new home for documentation.
-Removed the auto-refresh service that used to send Refresh every second.

Revision 1.30 / (download) - annotate - [select for diffs], Thu Jun 17 20:26:31 2021 UTC (2 years, 8 months ago) by pin
Branch: MAIN
CVS Tags: pkgsrc-2021Q2-base, pkgsrc-2021Q2
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored)

sysutils/xplr: update to 0.14.2

Changes & fixes:
-Added messages: PrintPwdAndQuit, PrintFocusPathAndQuit, PrintSelectionAndQuit.
-Mapped :q to a new built-in mode quit containing different options to quit.
-Fixed handling of relative paths.
-FocusNext will start from the first node after the last node.
-FocusPrevious will start from the last node after the first node.

Revision 1.29 / (download) - annotate - [select for diffs], Wed Jun 9 07:54:13 2021 UTC (2 years, 8 months ago) by pin
Branch: MAIN
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

sysutils/xplr: update to 0.14.1

-Fixed critical issue with FocusPath.

Revision 1.28 / (download) - annotate - [select for diffs], Sun Jun 6 16:00:07 2021 UTC (2 years, 8 months ago) by pin
Branch: MAIN
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored)

sysutils/xplr: update to 0.14.0

Changes & fixes:
-Added basic CLI arguments. Try xplr --help.
-Fixed config path for macOS. New priority: -c <PATH> > ~/.config/xplr/init.lua
> /etc/xplr/init.lua.
-Further improved the library API.
-Added support for FIFO-based previewer.
-Added option to disable the recover mode (config.general.disable_recover_mode).
-Added support for specifying read only mode via CLI argument.

Revision 1.27 / (download) - annotate - [select for diffs], Sat Jun 5 19:12:45 2021 UTC (2 years, 8 months ago) by pin
Branch: MAIN
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored)

sysutils/xplr: update to 0.13.7

-Implemented basic CLI arguments.

-Removed --locked to use the latest versions of dependencies.

-Started publishing PGP signature for the source archive.

-Fix pgp publishing attempt.

-Fix pgp publishing attempt.

Changes & fixes:
-No need to Refresh explicitly. xplr with auto Refresh after each batch of
messages. i.e. you can remove all the Refresh from your init.lua.
-Mouse will be disabled by default. Use :m key binding or
{Enable|Disable|Toggle}Mouse messages to enable/disable mouse.
-Fixed focus jumping to the first file after deleting a file.
-Upgraded dependencies.
-Polished xplr library API.

Revision 1.26 / (download) - annotate - [select for diffs], Fri May 28 07:29:04 2021 UTC (2 years, 9 months ago) by pin
Branch: MAIN
Changes since 1.25: +1 -1 lines
Diff to previous 1.25 (colored)

sysutils/xplr: update to 0.13.1

Changes & fixes:
-Optimized rendering speed (significantly).
-Minor documentation fixes.

Revision 1.25 / (download) - annotate - [select for diffs], Thu May 27 20:43:17 2021 UTC (2 years, 9 months ago) by pin
Branch: MAIN
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)

sysutils/xplr: update to 0.13.0

Changes & fixes:
-Lua functions called via CallLua and CallLuaSilently will now receive
CallLuaArg object as input.
-node_types configurations will inherit parameters from the less specific
node_types configurations and overwrite them.

Revision 1.24 / (download) - annotate - [select for diffs], Tue May 25 16:15:54 2021 UTC (2 years, 9 months ago) by pin
Branch: MAIN
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

sysutils/xplr: update to 0.12.1

-Fixed compilation with stable rust.

Changes & fixes:
-xplr.config.node_types.mime_essence has split into type and subtype. Hence,
instead of xplr.config.node_types.mime_essence["text/plain"] = .. use
xplr.config.node_types.mime_essence["text"] = { plain = .. }.
-You can also define xplr.config.node_types.mime_essence["text"]["*"] that will
match all text types (text/*).
-Functions called using CallLua and CallLuaSilently now have optional return
-Some minor improvements to permission rendering.

-Fixed ctrl-i key behavior by remapping it back to tab.

Changes & fixes:
-Added file permissions.
-Added support for setting terminal colors from Lua functions.
-Removed remaps: from key bindings. Remapped keys using Lua assignments instead.
-Current mode will also be displayed on the input & logs panel title.
-Mapped :q to "quit" action.
-Minor UI fixes.

Revision 1.23 / (download) - annotate - [select for diffs], Sun May 23 17:08:50 2021 UTC (2 years, 9 months ago) by pin
Branch: MAIN
Changes since 1.22: +10 -4 lines
Diff to previous 1.22 (colored)

sysutils/xplr: update to 0.10.2

Changes & fixes:
-Fixed error with broken symlink.
-Fixed displaying correct symlink destination.
-Fixed deleting symlinks pointing to a directory.

Changes & files:
-Fixed icon rendering
-Made all the important structs public for visible documentation.

Changes & fixes:
-config.yml has been fully replaced with init.lua. If you have a lot of
customization in your config.yml, xplr-yml2lua can help you with migrating
it to lua.
-Handlebars templates has been replaced with Lua functions.
-xplr will fall back to default config if init.lua is corrupt. You will see
the error via log. So, now, it's not a big deal if you mess up init.lua or you
upgrade xplr and there's version incompatibility issue. You can still use it.
-Added (optional) mouse scrolling support, which be auto enabled on devices
that support mouse.
-History navigation will now behave like jump list in vim. So, you can even
jump and return to different locations in the same directory.
-Added messages CallLua and CallLuaSilently to call lua functions. The app
state will be passed as input to the functions, and the returned messages will
be handled by xplr. CallLua and CallLuaSilently are more flexible (and probably
faster) alternatives to Call, CallSilently, BashExec and BashExecSilently. e.g.
-Fixed "directory not empty" error on MacOS
-Fixed initial focus via CLI argument.

Changes & fixes:
-Fall back to default config when the custom config is corrupt. An error log
will be displayed.
-Optimized CPU usage by limiting pipe readers.
-Added messages CallLua and CallLuaSilently to call lua functions. The app
state will be passed as inputs to the functions, and the returned messages
will be handled by xplr.

-Fixed initial $PWD sync issue.

Changes & fixes:
-config.yml has been fully ported to init.lua. That means, xplr won't read
config.yml anymore.
-xplr.fn.builtin.foo_func format synax has been shortened to builtin.foo_func.

Changes & fixes:
-Added (optional) mouse scrolling support.
-History navigation will now behave like jump list.
-Fixed initial focus via CLI argument.
-Fixes MacOS error "directory not empty".

-Update version

Changes & fixes:
-Handlebars templates have been replaced with Lua functions. Hence, instead of
handlebars templates, you will be writing the location to the lua functions
(e.g. xplr.fn.builtin.fmt_general_table_row_cols_0) in
-As of now 4 inbuilt functions have been defined in Lua.
xplr.fn.builtin.fmt_general_table_row_cols_{n}, which can be overwritten
via ~/.config/xplr/init.lua.
-You can define your own functions in xplr.fn.custom.
-CallSilently message has been fixed, and you won't see the unexpected
stdout/stderr on screen anymore.

-Added support for native lua binding via ~/.config/xplr/init.lua.
-Fixed open in editor action by only opening the file under focus.

Revision 1.22 / (download) - annotate - [select for diffs], Sat May 15 14:55:48 2021 UTC (2 years, 9 months ago) by pin
Branch: MAIN
Changes since 1.21: +1 -1 lines
Diff to previous 1.21 (colored)

sysutils/xplr: update to 0.9.1

-Added support for un-mapping keys by remapping keys to null.
-Removed lag when ctrl-w is pressed in default mode.
-Use less -+F instead of less as the default pager.
-gx will open the file under focus.
-New key map :sx will open the selected files.
-Fixed selecting broken symlinks.
-Set the default col_spacing for the table to 1.

Revision 1.21 / (download) - annotate - [select for diffs], Thu May 13 18:34:29 2021 UTC (2 years, 9 months ago) by pin
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

sysutils/xplr: update to 0.9.0

-Added new recover mode. Pressing any invalid key will lead the users to this
mode. esc is the escape from that mode.
-Introduced new message PopMode which will pop the last mode and switch to it.
-Stay in filter mode after filtering files, similar to sort.
-Stay in create x mode while creating files or directories, allowing batch
-Added LogWarning message, similar to LogInfo, LogSuccess and LogError.
-Logs will be hidden when switching to input mode, and will appear when new
logs are available.
-Fixed rename operation.
-Fixed error that occurs when running a subprocess and pressing a key

Revision 1.20 / (download) - annotate - [select for diffs], Wed May 12 20:23:59 2021 UTC (2 years, 9 months ago) by pin
Branch: MAIN
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

sysutils/xplr: update to 0.8.5

Changes & fixes:
-Pressing the wrong key in any mode won't reset back to default mode.
-Cut & copy will clear the selection by default.
-Optimized performance, CPU usage and binary size.

Revision 1.19 / (download) - annotate - [select for diffs], Sun May 9 20:09:12 2021 UTC (2 years, 9 months ago) by pin
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

sysutils/xplr: update to 0.8.4

-Fixed search.

-Fixed renaming files breaking the UI.

-Fix rename breaking UI.

-Fix exploring and escaping paths

This PR targets 2 pain points.
1. The `Explore` message was async, which caused some unexpected
   behavior. This was fixed by splitting `Explore` into `ExplorePwd`,
   `ExplorePwdAsync` and `ExploreParentsAsync`. `ExploreParentsAsync`
   is similar to the former `Explore`, which is mainly used when loading
   `xplr` for the first time. However, what we'll be using frequently
   are `ExplorePwd` and `ExplorePwdAsync` messages.
2. Files with spaces caused some unexpected behavior. This was fixed by
   escaping the paths properly. This also fixed focusing of a file after
   creating or renaming it.

Anothor breaking change is that `XPLR_PIPE_FOCUS_OUT` has been removed.
`XPLR_FOCUS_PATH` is all we need. So, the rule of thumb is if a variable
contains one liner value, it can be used directly from the env vars.
Variables that can contain multi-line values, will be exposed via the

Minor changes are
- Add `switch_mode` mode to the global key binding help menu.
- Moved some UI related code from to
- Fixed compilation issue on `rustc 1.50.0`.

-Breaking: The Explore message has been renamed to ExploreParentsAsync. While,
more relevant messages has been introduced: ExplorePwd and ExplorePwdAsync and.
-Breaking: $XPLR_PIPE_FOCUS_OUT has been removed. Use $XPLR_FOCUS_PATH instead.
-Fixed files with spaces causing issues (e.g. while renaming, focusing etc.)
-Added switch_mode mode to the global key binding help menu
-Moved some UI related code from to
-Fixed compilation issue on rustc 1.50.0.

-Fixed displaying global help menu.
-Bound search mode tab key to ToggleSelection instead of Select.
-Logs will be displayed in ${PAGER:-less}

-Use tab while in search mode to select files without losing the search input.
Similar to fzf.
-No socket errors after quitting the app.

-Made panel config values nullable.
-Added fields general.panel_ui to define the common panel UI properties.

-Now it's possible to define layouts and layout constraints based on screen
size and relative panel size.
-Now it's possible to define borders, panels and panel style.
-Now it's possible to define panel title and title style.
-Added messages SwitchLayout, SwitchLayoutBuiltin and SwitchLayoutCustom to
dynamically change the UI layout.
-Fixed overwriting margin in the config.
-add_modifier and sub_modifier has been renames to add_modifiers and
sub_modifiers and supports human values (e.g. Bold, Italic etc.) instead
of bits.
-From this commit, the output pipes will only refresh before executing an
external command.

Revision 1.18 / (download) - annotate - [select for diffs], Sat May 8 07:16:25 2021 UTC (2 years, 9 months ago) by pin
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

sysutils/xplr: update to 0.5.13

-Added new switch mode messages: SwitchModeBuiltin and SwitchModeCustom.
SwitchMode will continue to work as before.
-Improved the default prompt icon.

Revision 1.17 / (download) - annotate - [select for diffs], Sat May 1 19:09:14 2021 UTC (2 years, 10 months ago) by pin
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

sysutils/xplr: update to 0.5.12

-Fixed cd into the directory when xplr is invoked with a path argument.

Revision 1.16 / (download) - annotate - [select for diffs], Fri Apr 30 12:52:54 2021 UTC (2 years, 10 months ago) by pin
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

sysutils/xplr: update to 0.5.11

-Added desktop icon.
-In search mode, ctrl-p and ctrl-n has been mapped to up and down respectively
for better navigation.

Revision 1.15 / (download) - annotate - [select for diffs], Thu Apr 29 18:33:39 2021 UTC (2 years, 10 months ago) by pin
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

sysutils/xplr: update to 0.5.10

-Fixed pipes not updating properly.

Revision 1.14 / (download) - annotate - [select for diffs], Wed Apr 28 08:34:39 2021 UTC (2 years, 10 months ago) by pin
Branch: MAIN
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

sysutils/xplr: update to 0.5.9

-Fixed handling of files with names starting with - (hiphen).

-Fixed opening files in GUI (using keys gx) breaking xplr UI.
-Use env var $OPENER to declare your default opener (just like $EDITOR).

Revision 1.13 / (download) - annotate - [select for diffs], Mon Apr 26 07:15:03 2021 UTC (2 years, 10 months ago) by pin
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

sysutils/xplr: update to 0.5.7

-fixed terminal interaction when piping output (xplr Z /dev/null).
-Reduced col_spacig from 3 to 1 to use more screen space.
-Minor formatting fixes.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Apr 23 09:44:22 2021 UTC (2 years, 10 months ago) by pin
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

sysutils/xplr: update to 0.5.6

- Fixed incompatible config version error.

- Fix divide by zero error when screen size it too small.
- Significant reduction in CPU usage.

Revision 1.11 / (download) - annotate - [select for diffs], Wed Apr 21 08:29:54 2021 UTC (2 years, 10 months ago) by pin
Branch: MAIN
Changes since 1.10: +3 -2 lines
Diff to previous 1.10 (colored)

sysutils/xplr: update to 0.5.4

  - Fixed exit on permission denial.
  - Minor UI improvement.

  - The terminal session's $PWD is now in sync with the xplr session.
  This allows for e.g. Alacritty to open the new windows in xplr's $PWD
  when you press cmd+n or win+n.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Apr 19 19:32:49 2021 UTC (2 years, 10 months ago) by pin
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

sysutils/xplr: update to 0.5.2

-Do not follow symlinks using enter/l.
-Use gf to follow symlinks.

-Fixed global help menu not displaying the newer key bindings.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Apr 19 16:17:46 2021 UTC (2 years, 10 months ago) by pin
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

sysutils/xplr: update to 0.5.0

-Added support for sorting and filtering files using s and f key.
-Added read only mode. (general.read_only)
-Use ctrl-r to refresh UI when messed up.
-Follow symlink files to their parent directory using l or enter.
-Display file size.
-Added new UI variables canonical.*, symlink.*. (see this])

-Improved filter messages. (see this)
-Improved input handling
-Added messages RemoveInputBufferLastCharacter, RemoveInputBufferLastWord.
-Use backspace to delete the last character, ctrl-w to delete the last word,
ctrl-u to delete the line.
-Improved selection
-Use ctrl-a to toggle select all, ctrl-u to unselect all.
-Improved UI.

-Handle empty icon.
-Fixed selection duplicates.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Apr 15 20:44:51 2021 UTC (2 years, 10 months ago) by pin
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

sysutils/xplr: update to 0.4.4

Changes & fixes:
-Added support for NO_COLOR env var to disable colors (more-info).
-Added history pipe file exposed as $XPLR_PIPE_HISTORY_OUT.
-Added new selection commands.
-Fixed UI style priority: default_ui -> node_type -> selection_ui -> focus_ui
-Added key binding ctrl-a or V to toggle select all.

-Visit our new collection of hacks and themes.

Revision 1.7 / (download) - annotate - [select for diffs], Tue Apr 13 10:54:07 2021 UTC (2 years, 10 months ago) by pin
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

sysutils/xplr: update to 0.4.3

Changes & fixes:
-Added new UI variables (see this).
-Fixed crashing when visiting restricted directories.
-Improved scrolling behavior.
-Improved symlink support.
-Improved clear behavior in number mode.
-Added xplr.desktop (@maximbaz).

Revision 1.6 / (download) - annotate - [select for diffs], Mon Apr 12 10:36:00 2021 UTC (2 years, 10 months ago) by pin
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

sysutils/xplr: update to 0.4.2

-Add new messages Quit, LastVisitedPath and NextVisitedPath
-q is mapped to Quit.
-ctrl-o is mapped to LastVisitedPath
-ctrl-i / tab is mapped to NextVisitedPath

Revision 1.5 / (download) - annotate - [select for diffs], Sun Apr 11 18:55:25 2021 UTC (2 years, 10 months ago) by pin
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

sysutils/xplr: update to 0.4.1

-Fix remap behavior.
-Fix help menu.

-Support easier config overwrite (without having to dump the whole config).
-Rename custom field for node metadata to meta.
-Move icon to meta.icon.
-Rename normal_ui to default_ui.
-Rename filetypes to node_types.
-Split modes into modes.builtin and modes.custom.
-Add the missing create file mode.
-Rename focused_ui to focus_ui.
-Make version compatibility less annoying.
-Add key binding ~ to go to homedir.
-Add customizable cursor and prompts.
-Improve the help menus.

Revision 1.4 / (download) - annotate - [select for diffs], Sat Apr 10 21:18:15 2021 UTC (2 years, 10 months ago) by pin
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

sysutils/xplr: update to 0.3.13

-Some optimizations.
-Fixed compiling on older rust.
-Added messages CallSilently and BashExecSilently to execute non-interactive
-Use cp -vr instead of cp -v to copy files and directories.
-Fixed exit screen.

Revision 1.3 / (download) - annotate - [select for diffs], Fri Apr 9 09:02:18 2021 UTC (2 years, 10 months ago) by pin
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

sysutils/xplr: update to 0.3.12

-Fix symlink support.
-Fix refresh behavior.
-Fix logs not being written to the pipe.
-Fix the help menu displaying esc for quit.

-Fix logs for being written in the pipe.
-Don't depend on `Refresh`, always write to the pipes.

-Watch PWD for changes.
-Optimize the main thread (small performance gain).

-There are changes in the default key bindings
-When in the default mode, pressing esc will not quit the session.
-:e will open a file in ${EDITOR:-vi}.
-When in the default search mode, entering or leaving a directory will not
reset the mode back to default. This might seem a little counter-intuitive
to the nnn users, but I think this adds to the productivity and should be
the default. The real-time mode indicator will help the users adapt to the
alternate defaults.

-Add RemoveNodeFilterFromInput message.
-Fix search and show hidden behavior.
-Clear screen before exit.

Revision 1.2 / (download) - annotate - [select for diffs], Wed Apr 7 20:22:52 2021 UTC (2 years, 10 months ago) by pin
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

sysutils/xplr: update to 0.3.7

-Commands (i.e. Call and BashExec) will not print the outputs to the main
screen, keeping it clean.
-By default, directories will now be colored Cyan

-Fix failed build and re-publish

-Fix renaming

-Fix renaming and $XPLR_FOCUS_PATH formatting

-Go easy on CPU
-Run faster

Revision 1.1 / (download) - annotate - [select for diffs], Tue Apr 6 14:59:50 2021 UTC (2 years, 10 months ago) by pin
Branch: MAIN

sysutils/xplr: import package

Hackable, minimal, fast TUI file explorer, stealing ideas from nnn and fzf.

Though xplr strives to be fast and minimalist, its speciality is its
Once you read the documentation, you should be able to configure the key
bindings, different run modes, and also the way it looks by modifying one
single configuration file.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

CVSweb <>