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 Apr 21 08:54:36 UTC 2024

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

Log Message:
fzf: update to 0.50.0

0.50.0

* Search performance optimization. You can observe 50%+ improvement in some
  scenarios.

    $ rg --line-number --no-heading --smart-case . > $DATA

    $ wc < $DATA
     5520118 26862362 897487793

    $ hyperfine -w 1 -L bin fzf-0.49.0,fzf-7ce6452,fzf-a5447b8,fzf '{bin} --filter "///" < $DATA | head -30'
    Summary
      fzf --filter "///" < $DATA | head -30 ran
        1.16 ± 0.03 times faster than fzf-a5447b8 --filter "///" < $DATA | head -30
        1.23 ± 0.03 times faster than fzf-7ce6452 --filter "///" < $DATA | head -30
        1.52 ± 0.03 times faster than fzf-0.49.0 --filter "///" < $DATA | head -30

* Added: jump and jump-cancel events that are triggered when leaving jump
  mode

    # Default behavior
    fzf --bind space:jump

    # Same as jump-accept action
    fzf --bind space:jump,jump:accept

    # Accept on jump, abort on cancel
    fzf --bind space:jump,jump:accept,jump-cancel:abort

    # Change header on jump-cancel
    fzf --bind 'space:change-header(Type jump label)+jump,jump-cancel:change-header:Jump cancelled'

* Added: a new environment variable $FZF_KEY exported to the child
  processes. It's the name of the last key pressed.

   fzf: --bind 'space:jump,jump:accept,jump-cancel:transform:[[ $FZF_KEY =~ ctrl-c ]] && echo abort'

* fzf can be built with profiling options. See BUILD.md for more information.

* Bug fixes

0.49.0

* Ingestion: performance improved by around 40% (more or less depending on
  options)

    $ time wc data
     5513620 37997130 547840920 data

    real    0m0.822s
    user    0m0.764s
    sys     0m0.052s

    $ hyperfine -L bin fzf-0.48.1,fzf '{bin} --sync --bind load:accept < data'
    Benchmark 1: fzf-0.48.1 --sync --bind load:accept < data
      Time (mean ± σ):     440.3 ms ±   4.9 ms    [User: 501.8 ms, System: 117.0 ms]
      Range (min … max):   432.8 ms … 446.1 ms    10 runs

    Benchmark 2: fzf --sync --bind load:accept < data
      Time (mean ± σ):     303.3 ms ±   4.5 ms    [User: 320.1 ms, System: 108.6 ms]
      Range (min … max):   296.6 ms … 311.4 ms    10 runs

    Summary
      fzf --sync --bind load:accept < data ran
        1.45 ± 0.03 times faster than fzf-0.48.1 --sync --bind load:accept < data

* --info=hidden: and --info=inline-right will no longer hide the horizontal
  separator by default. This gives you more flexibility in customizing the
  layout.

    fzf --border --info=inline-right
    fzf --border --info=inline-right --separator ═
    fzf --border --info=inline-right --no-separator
    fzf --border --info=hidden
    fzf --border --info=hidden --separator ━
    fzf --border --info=hidden --no-separator

* Added two environment variables exported to the child processes

  * FZF_PREVIEW_LABEL
  * FZF_BORDER_LABEL

    # Use the current value of $FZF_PREVIEW_LABEL to determine which actions to perform
    git ls-files |
      fzf --header 'Press CTRL-P to change preview mode' \
          --bind='ctrl-p:transform:[[ $FZF_PREVIEW_LABEL =~ cat ]] \
          && echo "change-preview(git log --color=always \{})+change-preview-label([[ log ]])" \
          || echo "change-preview(bat --color=always \{})+change-preview-label([[ cat ]])"'

* Renamed: track action to track-current to highlight the difference
  between the global tracking state set by --track and a one-off tracking
  action
  * track is still available as an alias

* Added untrack-current and toggle-track-current actions
  * *-current actions are no-op when the global tracking state is set

* Bug fixes and minor improvements


To generate a diff of this commit:
cvs rdiff -u -r1.85 -r1.86 pkgsrc/sysutils/fzf/Makefile
cvs rdiff -u -r1.22 -r1.23 pkgsrc/sysutils/fzf/distinfo
cvs rdiff -u -r1.10 -r1.11 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.85 pkgsrc/sysutils/fzf/Makefile:1.86
--- pkgsrc/sysutils/fzf/Makefile:1.85   Fri Apr  5 19:14:10 2024
+++ pkgsrc/sysutils/fzf/Makefile        Sun Apr 21 08:54:36 2024
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.85 2024/04/05 19:14:10 bsiegert Exp $
+# $NetBSD: Makefile,v 1.86 2024/04/21 08:54:36 iquiw Exp $
 
-DISTNAME=      fzf-0.48.1
-PKGREVISION=   1
+DISTNAME=      fzf-0.50.0
 CATEGORIES=    sysutils
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=junegunn/}
 

Index: pkgsrc/sysutils/fzf/distinfo
diff -u pkgsrc/sysutils/fzf/distinfo:1.22 pkgsrc/sysutils/fzf/distinfo:1.23
--- pkgsrc/sysutils/fzf/distinfo:1.22   Sat Mar 23 06:34:00 2024
+++ pkgsrc/sysutils/fzf/distinfo        Sun Apr 21 08:54:36 2024
@@ -1,14 +1,14 @@
-$NetBSD: distinfo,v 1.22 2024/03/23 06:34:00 iquiw Exp $
+$NetBSD: distinfo,v 1.23 2024/04/21 08:54:36 iquiw Exp $
 
-BLAKE2s (fzf-0.48.1.tar.gz) = 19d8bb4c37ba2424a6c1f0c9a599992deec1636a59cd845e567867c629fa2886
-SHA512 (fzf-0.48.1.tar.gz) = c7e0022e1445f8ce917143bbdbaf882d80313b8216809330b7090f8145060dacc8bac61731993702f200541d5f7f93cb0e3e0fa28e04d25efb27ce9a577913e5
-Size (fzf-0.48.1.tar.gz) = 262833 bytes
-BLAKE2s (github.com_charlievieth_fastwalk_@v_v1.0.2.mod) = b89cd6cce3e61bdc68142ee85c6b6497e8238152ea9c02d6de09deab505ed752
-SHA512 (github.com_charlievieth_fastwalk_@v_v1.0.2.mod) = 467d763be7a68aae310e2e65d562711ae45ec4ccf9e76fa17af4518f1383dbb8fdd719e72a3249cc78da67c5e06d08dfa99fddfa1361eaf7b5a51778f0b870a0
-Size (github.com_charlievieth_fastwalk_@v_v1.0.2.mod) = 49 bytes
-BLAKE2s (github.com_charlievieth_fastwalk_@v_v1.0.2.zip) = 4859f2bd539d2a6eff0108caaf5a999a10e7c1a9d6998b7f970cd25747d384ad
-SHA512 (github.com_charlievieth_fastwalk_@v_v1.0.2.zip) = be2cb3d0dd3068cb34c1246b93d6e725130acd457f851f2b0d6890bb6b9f077546eaa66b8b08e91cdc6e86e3618e194d369343712d1986344b1752df89c250db
-Size (github.com_charlievieth_fastwalk_@v_v1.0.2.zip) = 50673 bytes
+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 (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
+BLAKE2s (github.com_charlievieth_fastwalk_@v_v1.0.3.zip) = fa51a9a486b537e7a3580d623bb54d45a22b7294a0001fffe3ccc91e69ba578b
+SHA512 (github.com_charlievieth_fastwalk_@v_v1.0.3.zip) = 13714ff9c6b5948ad33dddfc4a8ab15f35717138d09a4d614ce159313dd981af6c17caecdd6b7640aa019f01963b21eb203449324274bd4fc807a2e151733458
+Size (github.com_charlievieth_fastwalk_@v_v1.0.3.zip) = 58728 bytes
 BLAKE2s (github.com_gdamore_encoding_@v_v1.0.0.mod) = d98306119aa62bd2bb2dc3fd0a93976e35a5396dd7d50fb0fc3eb0c157fb88c2
 SHA512 (github.com_gdamore_encoding_@v_v1.0.0.mod) = fb153c4e481c073133f0c933c67eba8a1f160ab146921f2c77125b6ff5c348cea57e3a5701a557c8db2212d32e3cba1c09b9509210660c17b66c2a45ba97cb75
 Size (github.com_gdamore_encoding_@v_v1.0.0.mod) = 77 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.18.0.mod) = 546db01fa3b030f3f3b5f8d3674bc29d1f026a60a57e474fff3e1cd44fe694a1
-SHA512 (golang.org_x_sys_@v_v0.18.0.mod) = ec229018bf6fa169913d0c66821fc296766b8a71720123e8d8cfcf5b8b8da110e338d03b8233b1224b8586ea9d9e4231b9720c1f806d4be2523413c521acf97b
-Size (golang.org_x_sys_@v_v0.18.0.mod) = 33 bytes
-BLAKE2s (golang.org_x_sys_@v_v0.18.0.zip) = eb37141f9d56fe7fce3f36e0ec82c617bf97ef268a3120557bb0a4de2cde50cd
-SHA512 (golang.org_x_sys_@v_v0.18.0.zip) = 18cdb9c3a0b70509d24758b5f8b92634a7bbabd01b2e90ce731b50f5709628918a3fe43bf2239f05802a715c240743801a0cc83423322b4f8293dcc061f24a2f
-Size (golang.org_x_sys_@v_v0.18.0.zip) = 1907063 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.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.18.0.mod) = 9d8842bb14d2ae12d0474d93f774809cc7b0247f13487ad05187f555ef66a77b
-SHA512 (golang.org_x_term_@v_v0.18.0.mod) = 3953912896708f30870799f3eec936a33c5f34571abafb6d51f27267a6b977a93396abdfb16e99ea01088f9e1fbe0a9a7cbcb44edd495b8ab857212b44058a3f
-Size (golang.org_x_term_@v_v0.18.0.mod) = 68 bytes
-BLAKE2s (golang.org_x_term_@v_v0.18.0.zip) = e1e111eb8d97c059ff3140ef83ba2c9e52ef7415ddc25ed9d2c9e90e9ebf8230
-SHA512 (golang.org_x_term_@v_v0.18.0.zip) = 297ce1e1d4e2f171ed7db410f699f23adb8f880cf444262f124e128d2053f9b2882e1ed94320425b9ed6b50872f61aa61f393260bf78183060441084236ddac8
-Size (golang.org_x_term_@v_v0.18.0.zip) = 19883 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.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.10 pkgsrc/sysutils/fzf/go-modules.mk:1.11
--- pkgsrc/sysutils/fzf/go-modules.mk:1.10      Sat Mar 23 06:34:00 2024
+++ pkgsrc/sysutils/fzf/go-modules.mk   Sun Apr 21 08:54:36 2024
@@ -1,7 +1,7 @@
-# $NetBSD: go-modules.mk,v 1.10 2024/03/23 06:34:00 iquiw Exp $
+# $NetBSD: go-modules.mk,v 1.11 2024/04/21 08:54:36 iquiw Exp $
 
-GO_MODULE_FILES+=      github.com/charlievieth/fastwalk/@v/v1.0.2.mod
-GO_MODULE_FILES+=      github.com/charlievieth/fastwalk/@v/v1.0.2.zip
+GO_MODULE_FILES+=      github.com/charlievieth/fastwalk/@v/v1.0.3.mod
+GO_MODULE_FILES+=      github.com/charlievieth/fastwalk/@v/v1.0.3.zip
 GO_MODULE_FILES+=      github.com/gdamore/encoding/@v/v1.0.0.mod
 GO_MODULE_FILES+=      github.com/gdamore/encoding/@v/v1.0.0.zip
 GO_MODULE_FILES+=      github.com/gdamore/tcell/v2/@v/v2.7.4.mod
@@ -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.18.0.mod
-GO_MODULE_FILES+=      golang.org/x/sys/@v/v0.18.0.zip
+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.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.18.0.mod
-GO_MODULE_FILES+=      golang.org/x/term/@v/v0.18.0.zip
+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.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