summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKlaus Alexander Seistrup2024-05-13 09:29:52 +0200
committerKlaus Alexander Seistrup2024-05-13 09:29:52 +0200
commit9a1d2ac82a8fd8a78557d7efdbc5390d4fbbaaa9 (patch)
treeec9a215e1a6f7ac69a5c28dd1c2403619a8d1108
parent8deffd0b8d7d044f22799405ea1a9ef8627dff02 (diff)
downloadaur-docfd-bin.tar.gz
New upstream version: v6.0.1
Release notes: * https://github.com/darrenldl/docfd/releases/tag/6.0.1
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD9
-rw-r--r--docfd-bin.changelog37
3 files changed, 17 insertions, 37 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f1e934230790..c64fbc311d4b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = docfd-bin
pkgdesc = TUI multiline fuzzy document finder (pre-compiled)
- pkgver = 6.0.0
+ pkgver = 6.0.1
pkgrel = 1
url = https://github.com/darrenldl/docfd
changelog = docfd-bin.changelog
@@ -8,15 +8,15 @@ pkgbase = docfd-bin
license = MIT
provides = docfd
conflicts = docfd
- source = https://github.com/darrenldl/docfd/releases/download/6.0.0/docfd-6.0.0-ubuntu-latest.tar.gz
+ source = https://github.com/darrenldl/docfd/releases/download/6.0.1/docfd-6.0.1-ubuntu-latest.tar.gz
source = https://raw.githubusercontent.com/darrenldl/docfd/main/CHANGELOG.md
source = https://raw.githubusercontent.com/darrenldl/docfd/main/LICENSE
source = https://raw.githubusercontent.com/darrenldl/docfd/main/README.md
- sha256sums = 9979ef80e28d03be9cbde7387dcec850255b815135ae93cced9d6d65fcef9eb1
+ sha256sums = cc0e68e2ae650efeae46e57c9d0c6c8bc607e9070829b9e6905ae8c5557d5c4e
sha256sums = SKIP
sha256sums = SKIP
sha256sums = SKIP
- b2sums = 8b7bc458da0d24de4e0fd36e85f850a2fb993f7704f85c60333ea75f05c36e2c7b39413cb235db70b8206d4c2b544adb4d2d7375fa4f6d941f9bd298a38abaa6
+ b2sums = 013f1addb0136909e694d2779e08f0b895d215012c001c9a8d46dcf7f8101f50dd64fb0bdb43c09d92e5b63704584a218c3152016d5f3f2accbd8ba349737989
b2sums = SKIP
b2sums = SKIP
b2sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 0ffe85cc9050..87c430d71fcb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,10 +1,11 @@
-# Maintainer: Klaus Alexander Seistrup <klaus@seistrup.dk>
# -*- sh -*-
+# Maintainer: Klaus Alexander Seistrup <klaus@seistrup.dk>
+
pkgname='docfd-bin'
_pkgname="${pkgname/-bin}"
_flavour='ubuntu-latest'
-pkgver=6.0.0
+pkgver=6.0.1
pkgrel=1
pkgdesc='TUI multiline fuzzy document finder (pre-compiled)'
arch=('x86_64')
@@ -30,11 +31,11 @@ package() {
}
sha256sums=(
- '9979ef80e28d03be9cbde7387dcec850255b815135ae93cced9d6d65fcef9eb1'
+ 'cc0e68e2ae650efeae46e57c9d0c6c8bc607e9070829b9e6905ae8c5557d5c4e'
'SKIP' 'SKIP' 'SKIP'
)
b2sums=(
- '8b7bc458da0d24de4e0fd36e85f850a2fb993f7704f85c60333ea75f05c36e2c7b39413cb235db70b8206d4c2b544adb4d2d7375fa4f6d941f9bd298a38abaa6'
+ '013f1addb0136909e694d2779e08f0b895d215012c001c9a8d46dcf7f8101f50dd64fb0bdb43c09d92e5b63704584a218c3152016d5f3f2accbd8ba349737989'
'SKIP' 'SKIP' 'SKIP'
)
diff --git a/docfd-bin.changelog b/docfd-bin.changelog
index 288865d6d58a..d456d3cc1f1c 100644
--- a/docfd-bin.changelog
+++ b/docfd-bin.changelog
@@ -1,33 +1,12 @@
-## 6.0.0
+## 6.0.1
-- Fixed help message of `--max-linked-token-search-dist`
+- Fixed random UI freezes when updating search field
-- Fixed search result printing where output gets chopped off if terminal width is too small
+ - This is due to a race condition in the search cancellation mechanism that
+ may cause UI fiber to starve and wait forever for a cancellation
+ acknowledgement
-- Added smart additional line grabbing for search result printing
+ - This mechanism was put in place for asynchronous search since 4.0.0
- - `--search-result-print-snippet-min-size N`
- - If the search result to be printed has fewer than `N` non-space tokens,
- then Docfd tries to add surrounding lines to the snippet
- to give better context.
- - `--search-result-print-snippet-max-add-lines`
- - Controls maximum number of surrounding lines that can be added in each direction.
-
-- Added search result underlining when output is not a terminal,
- e.g. redirected to file, piped to another command
-
-- Changed `--search` to show all search results
-
-- Added `--sample` that uses `--search` previous behavior where (by default)
- only a handful of top search results are picked for each document
-
-- Changed `--search-result-count-per-doc` to `--sample-count-per-doc`
-
-- Added `--color` and `--underline` for controlling behavior of search result
- printing, they can take one of:
-
- - `never`
- - `always`
- - `auto`
-
-- Removed blinking for `Tab` key presses
+ - As usual with race conditions, this only manifests under some specific
+ timing by chance