pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/sysutils/fzf



Module Name:    pkgsrc
Committed By:   iquiw
Date:           Sun May 12 09:41:08 UTC 2024

Modified Files:
        pkgsrc/sysutils/fzf: Makefile distinfo go-modules.mk

Log Message:
fzf: update to 0.52.0

0.52.0

* Added --highlight-line to highlight the whole current line (à la set
  cursorline of Vim)
* Added color names for selected lines: selected-fg, selected-bg, and
  selected-hl

    fzf --border --multi --info inline-right --layout reverse --marker ▏ --pointer ▌ --prompt '▌ '  \
        --highlight-line --color gutter:-1,selected-bg:238,selected-fg:146,current-fg:189

* Added click-header event that is triggered when the header section is
  clicked. When the event is triggered, $FZF_CLICK_HEADER_COLUMN and
  $FZF_CLICK_HEADER_LINE are set.

    fd --type f |
      fzf --header $'[Files] [Directories]' --header-first \
          --bind 'click-header:transform:
            (( FZF_CLICK_HEADER_COLUMN <= 7 )) && echo "reload(fd --type f)"
            (( FZF_CLICK_HEADER_COLUMN >= 9 )) && echo "reload(fd --type d)"
          '

* Added $FZF_COMPLETION_{DIR,PATH}_OPTS for separately customizing the
  behavior of directory and path completion

    # Set --walker options without 'follow' not to follow symbolic links
    FZF_COMPLETION_PATH_OPTS="--walker=file,dir,hidden"
    FZF_COMPLETION_DIR_OPTS="--walker=dir,hidden"

* Fixed Windows argument escaping
* Bug fixes and improvements
* The code was heavily refactored to allow using fzf as a library in Go
  programs. The API is still experimental and subject to change.

    https://gist.github.com/junegunn/193990b65be48a38aac6ac49d5669170

0.51.0

* Added a new environment variable $FZF_POS exported to the child
  processes. It's the vertical position of the cursor in the list
  starting from 1.

    # Toggle selection to the top or to the bottom
    seq 30 | fzf --multi --bind 'load:pos(10)' \
      --bind 'shift-up:transform:for _ in $(seq $FZF_POS $FZF_MATCH_COUNT); do echo -n +toggle+up; done' \
      --bind 'shift-down:transform:for _ in $(seq 1 $FZF_POS); do echo -n +toggle+down; done'

* Added --with-shell option to start child processes with a custom shell
  command and flags

    gem list | fzf --with-shell 'ruby -e' \
      --preview 'pp Gem::Specification.find_by_name({1})' \
      --bind 'ctrl-o:execute-silent:
          spec = Gem::Specification.find_by_name({1})
          [spec.homepage, *spec.metadata.filter { _1.end_with?("uri") }.values].uniq.each do
            system "open", _1
          end
      '

* Added change-multi action for dynamically changing --multi option
  * change-multi - enable multi-select mode with no limit
  * change-multi(NUM) - enable multi-select mode with a limit
  * change-multi(0) - disable multi-select mode

* Windows improvements
  * become action is now supported on Windows
    * Unlike in *nix, this does not use execve(2). Instead it spawns a new
      process and waits for it to finish, so the exact behavior may differ.
  * Fixed argument escaping for Windows cmd.exe. No redundant escaping of
    backslashes.

* Bug fixes and improvements


To generate a diff of this commit:
cvs rdiff -u -r1.86 -r1.87 pkgsrc/sysutils/fzf/Makefile
cvs rdiff -u -r1.23 -r1.24 pkgsrc/sysutils/fzf/distinfo
cvs rdiff -u -r1.11 -r1.12 pkgsrc/sysutils/fzf/go-modules.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/fzf/Makefile
diff -u pkgsrc/sysutils/fzf/Makefile:1.86 pkgsrc/sysutils/fzf/Makefile:1.87
--- pkgsrc/sysutils/fzf/Makefile:1.86   Sun Apr 21 08:54:36 2024
+++ pkgsrc/sysutils/fzf/Makefile        Sun May 12 09:41:08 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.86 2024/04/21 08:54:36 iquiw Exp $
+# $NetBSD: Makefile,v 1.87 2024/05/12 09:41:08 iquiw Exp $
 
-DISTNAME=      fzf-0.50.0
+DISTNAME=      fzf-0.52.0
 CATEGORIES=    sysutils
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=junegunn/}
 

Index: pkgsrc/sysutils/fzf/distinfo
diff -u pkgsrc/sysutils/fzf/distinfo:1.23 pkgsrc/sysutils/fzf/distinfo:1.24
--- pkgsrc/sysutils/fzf/distinfo:1.23   Sun Apr 21 08:54:36 2024
+++ pkgsrc/sysutils/fzf/distinfo        Sun May 12 09:41:08 2024
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.23 2024/04/21 08:54:36 iquiw Exp $
+$NetBSD: distinfo,v 1.24 2024/05/12 09:41:08 iquiw Exp $
 
-BLAKE2s (fzf-0.50.0.tar.gz) = 458e7ee50816151a3ad9b691ef3e15a0618570acd0ace2215cd1f236c984da55
-SHA512 (fzf-0.50.0.tar.gz) = 7518cae908ba597b09a28b5b4a77ae2f2cc091a8df820f38b5d9d5a954eec97a975bafdfd2df43c7255933ac86199533e5d7f036e6c2ea35d578405f9528962c
-Size (fzf-0.50.0.tar.gz) = 271421 bytes
+BLAKE2s (fzf-0.52.0.tar.gz) = 1281301e130fb24b0b8920d48f19a6ee97e1450f93d153280f3e3962cc98880a
+SHA512 (fzf-0.52.0.tar.gz) = 9ad2fd1178d195a6a9cb70d0069522d5393ab2ce63f7e123fc7c86cdc37346549b2f835d5dd90e1d059a53c369a5351a2c64f04a11639be82eada63b3d8cee79
+Size (fzf-0.52.0.tar.gz) = 274611 bytes
 BLAKE2s (github.com_charlievieth_fastwalk_@v_v1.0.3.mod) = b89cd6cce3e61bdc68142ee85c6b6497e8238152ea9c02d6de09deab505ed752
 SHA512 (github.com_charlievieth_fastwalk_@v_v1.0.3.mod) = 467d763be7a68aae310e2e65d562711ae45ec4ccf9e76fa17af4518f1383dbb8fdd719e72a3249cc78da67c5e06d08dfa99fddfa1361eaf7b5a51778f0b870a0
 Size (github.com_charlievieth_fastwalk_@v_v1.0.3.mod) = 49 bytes
@@ -111,12 +111,12 @@ Size (golang.org_x_sys_@v_v0.0.0-2022072
 BLAKE2s (golang.org_x_sys_@v_v0.17.0.mod) = 546db01fa3b030f3f3b5f8d3674bc29d1f026a60a57e474fff3e1cd44fe694a1
 SHA512 (golang.org_x_sys_@v_v0.17.0.mod) = ec229018bf6fa169913d0c66821fc296766b8a71720123e8d8cfcf5b8b8da110e338d03b8233b1224b8586ea9d9e4231b9720c1f806d4be2523413c521acf97b
 Size (golang.org_x_sys_@v_v0.17.0.mod) = 33 bytes
-BLAKE2s (golang.org_x_sys_@v_v0.19.0.mod) = 546db01fa3b030f3f3b5f8d3674bc29d1f026a60a57e474fff3e1cd44fe694a1
-SHA512 (golang.org_x_sys_@v_v0.19.0.mod) = ec229018bf6fa169913d0c66821fc296766b8a71720123e8d8cfcf5b8b8da110e338d03b8233b1224b8586ea9d9e4231b9720c1f806d4be2523413c521acf97b
-Size (golang.org_x_sys_@v_v0.19.0.mod) = 33 bytes
-BLAKE2s (golang.org_x_sys_@v_v0.19.0.zip) = c2215893613d4acb6a013cb6b96e4598dfda4b3505619fac4adef4e0d360f77a
-SHA512 (golang.org_x_sys_@v_v0.19.0.zip) = cf2310bc70fd779e926f05745843a7ee7f387b597862d3b4ba5552d5ac143a59abbd55b428e9432448674dc60102b58bdd1d4bafbca039757026a35028906b26
-Size (golang.org_x_sys_@v_v0.19.0.zip) = 1908409 bytes
+BLAKE2s (golang.org_x_sys_@v_v0.20.0.mod) = 546db01fa3b030f3f3b5f8d3674bc29d1f026a60a57e474fff3e1cd44fe694a1
+SHA512 (golang.org_x_sys_@v_v0.20.0.mod) = ec229018bf6fa169913d0c66821fc296766b8a71720123e8d8cfcf5b8b8da110e338d03b8233b1224b8586ea9d9e4231b9720c1f806d4be2523413c521acf97b
+Size (golang.org_x_sys_@v_v0.20.0.mod) = 33 bytes
+BLAKE2s (golang.org_x_sys_@v_v0.20.0.zip) = bfb5cf5435aaa8f141d117d7d1af94aa21672b9143c2d05bdcd2e6030c071ac5
+SHA512 (golang.org_x_sys_@v_v0.20.0.zip) = 77034cf37c802a12f33c55cf3e41f80f7f1393ca65128e4622aef8e705b0627f877c13e25b6fc7792cdc2ac31ce36d1c7a434b52fe1e665ace7d45ee949091a1
+Size (golang.org_x_sys_@v_v0.20.0.zip) = 1956163 bytes
 BLAKE2s (golang.org_x_sys_@v_v0.5.0.mod) = 66613eb38a59b8a7f75e1aaeb294a1c4ea290d4e9ae699137566025e50ed741c
 SHA512 (golang.org_x_sys_@v_v0.5.0.mod) = 85e511b1261c1935f5ee4754ad31d1d946f9e10f0af9905f44c4348d6ce5104319c03fb38517dde616698f6487b0c62788cfa96bc0ffb3b6db80accd7e552655
 Size (golang.org_x_sys_@v_v0.5.0.mod) = 33 bytes
@@ -132,12 +132,12 @@ Size (golang.org_x_term_@v_v0.0.0-202109
 BLAKE2s (golang.org_x_term_@v_v0.17.0.mod) = d186e45ff945967b6e9a6c94ee97a07c3d547a2e7957e5ccc00d38e7991827cb
 SHA512 (golang.org_x_term_@v_v0.17.0.mod) = fd43b7d38d8700f0238fe367383336925e796753f8960623061e6346a7e338b91103e4b7940bba3a6b3678f8f1c8ed054aa225ed289ce9712b9501be0de1f187
 Size (golang.org_x_term_@v_v0.17.0.mod) = 68 bytes
-BLAKE2s (golang.org_x_term_@v_v0.19.0.mod) = 25e6fa5f3008e7d4c1d56ec42612e402972274ddc175319e296f13c36cae7b2e
-SHA512 (golang.org_x_term_@v_v0.19.0.mod) = a7552428eff14e44ef14d68b0b904b04ae146102e74e900b0f8df817e8b9eba968c818cc29fcfa248cc8c305c497a74146d2a13fe76436ae4c93879459a18ac2
-Size (golang.org_x_term_@v_v0.19.0.mod) = 68 bytes
-BLAKE2s (golang.org_x_term_@v_v0.19.0.zip) = 9e081ce717d66884bfafe024e95d2017b22de548fabf333ed40c95f5145de976
-SHA512 (golang.org_x_term_@v_v0.19.0.zip) = e72fc7f05c0d552cd7613b8c12d83a0a5807a6c5080ab5250936939cdfc43917507af4275a0c82b68caeb057a87c61b47f9354c471a3d289486170a2b290ca32
-Size (golang.org_x_term_@v_v0.19.0.zip) = 19883 bytes
+BLAKE2s (golang.org_x_term_@v_v0.20.0.mod) = 6d24927c8d2966e9e6010caff50d5361836dd18f69852bed5996fee07a6097fe
+SHA512 (golang.org_x_term_@v_v0.20.0.mod) = 62a68fa198061738355ac170ea591c54c6c2b99a25590f4760981522591b496b5eee3bd34766e5c56d7d6d786b68054dbf11edfb72328ef6f5ab09b12486fb10
+Size (golang.org_x_term_@v_v0.20.0.mod) = 68 bytes
+BLAKE2s (golang.org_x_term_@v_v0.20.0.zip) = b291c5a0fecac0e042f38e988eb6cf5862bb0ab73d373adc2b4dad4c9226b9e4
+SHA512 (golang.org_x_term_@v_v0.20.0.zip) = 4edd60133c83fe0522242de779b94f0cfee6d6f575b37b392eeacdd3b5c5699968b58c7642cd87a668b0ebc4ed5740dafa927346a4fd9b87d35105d9e30eb818
+Size (golang.org_x_term_@v_v0.20.0.zip) = 19883 bytes
 BLAKE2s (golang.org_x_term_@v_v0.5.0.mod) = aa9178ce8f4a13282fdb39fa4cf1c641a73f8e915e3b849e8a57cf6705c8cc34
 SHA512 (golang.org_x_term_@v_v0.5.0.mod) = 88ef95fca01c9d194993ea0e3853b31c1e3862defedbcf111624af86eeea63099af727b817ebcb3d9ae926692882e08a41fd72f8b8687b5527b2d9115ac55d3a
 Size (golang.org_x_term_@v_v0.5.0.mod) = 67 bytes

Index: pkgsrc/sysutils/fzf/go-modules.mk
diff -u pkgsrc/sysutils/fzf/go-modules.mk:1.11 pkgsrc/sysutils/fzf/go-modules.mk:1.12
--- pkgsrc/sysutils/fzf/go-modules.mk:1.11      Sun Apr 21 08:54:36 2024
+++ pkgsrc/sysutils/fzf/go-modules.mk   Sun May 12 09:41:08 2024
@@ -1,4 +1,4 @@
-# $NetBSD: go-modules.mk,v 1.11 2024/04/21 08:54:36 iquiw Exp $
+# $NetBSD: go-modules.mk,v 1.12 2024/05/12 09:41:08 iquiw Exp $
 
 GO_MODULE_FILES+=      github.com/charlievieth/fastwalk/@v/v1.0.3.mod
 GO_MODULE_FILES+=      github.com/charlievieth/fastwalk/@v/v1.0.3.zip
@@ -36,15 +36,15 @@ GO_MODULE_FILES+=   golang.org/x/sys/@v/v0
 GO_MODULE_FILES+=      golang.org/x/sys/@v/v0.0.0-20220520151302-bc2c85ada10a.mod
 GO_MODULE_FILES+=      golang.org/x/sys/@v/v0.0.0-20220722155257-8c9f86f7a55f.mod
 GO_MODULE_FILES+=      golang.org/x/sys/@v/v0.17.0.mod
-GO_MODULE_FILES+=      golang.org/x/sys/@v/v0.19.0.mod
-GO_MODULE_FILES+=      golang.org/x/sys/@v/v0.19.0.zip
+GO_MODULE_FILES+=      golang.org/x/sys/@v/v0.20.0.mod
+GO_MODULE_FILES+=      golang.org/x/sys/@v/v0.20.0.zip
 GO_MODULE_FILES+=      golang.org/x/sys/@v/v0.5.0.mod
 GO_MODULE_FILES+=      golang.org/x/sys/@v/v0.6.0.mod
 GO_MODULE_FILES+=      golang.org/x/term/@v/v0.0.0-20201126162022-7de9c90e9dd1.mod
 GO_MODULE_FILES+=      golang.org/x/term/@v/v0.0.0-20210927222741-03fcf44c2211.mod
 GO_MODULE_FILES+=      golang.org/x/term/@v/v0.17.0.mod
-GO_MODULE_FILES+=      golang.org/x/term/@v/v0.19.0.mod
-GO_MODULE_FILES+=      golang.org/x/term/@v/v0.19.0.zip
+GO_MODULE_FILES+=      golang.org/x/term/@v/v0.20.0.mod
+GO_MODULE_FILES+=      golang.org/x/term/@v/v0.20.0.zip
 GO_MODULE_FILES+=      golang.org/x/term/@v/v0.5.0.mod
 GO_MODULE_FILES+=      golang.org/x/text/@v/v0.14.0.mod
 GO_MODULE_FILES+=      golang.org/x/text/@v/v0.14.0.zip



Home | Main Index | Thread Index | Old Index