pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/moor



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Aug 16 12:17:37 UTC 2026

Modified Files:
        pkgsrc/textproc/moor: Makefile distinfo go-modules.mk

Log Message:
moor: update to 2.17.0.

v2.17.0: Report loading progress to your terminal Latest

With this release, moor reports to the terminal when it's busy loading,
using the OSC 9;4 progress protocol supported by terminals such as
iTerm2.

Also in this release:

    Fixed a data loss bug where two moor instances sharing a search
    history file could silently overwrite each other's committed
    searches
    Pressing 'n'/'N' with no active search now resumes the most recently
    used search history entry instead of doing nothing. Thanks @knirch
    for #455!
    Fixed the status bar missing its separator between the filename and
    the percentage while the reader was still paused during initial
    loading
    Importing search history from less now only imports its search
    history, not its sub-command history
    --help now documents the existing "+/pattern" syntax for searching
    immediately on start

v2.16.3: Stop screen flash on --quit-if-one-screen

Before this release, --quit-if-one-screen made the terminal flash even
when the contents fit on one screen. Moor switched to the alternate
screen, painted a frame, and switched right back before printing the
contents where they belong.

With this release, when the contents fit on one screen moor prints them
without ever touching the alternate screen, so there is nothing to see
but the text.

Getting there also meant waiting for syntax highlighting before deciding
whether the contents fit: highlighting can turn one line of JSON into a
hundred, so source files and piped JSON used to flash where a .txt file
did not.

Also in this release:

    Moor now resets the terminal style before exiting, so a colored last
    line no longer bleeds into your next shell prompt. This affected
    --no-clear-on-exit and --quit-if-one-screen output as wide as the
    screen
    With --no-clear-on-exit-margin 0, the last line of the contents is
    no longer silently dropped on exit
    If the reader panics, moor now keeps going with whatever it read
    instead of spinning its spinner forever
    pkg/moor: the terminal is restored even if paging panics, rather than
    leaving the embedding process on the alternate screen in raw mode
    pkg/moor: embedders no longer lose the last line of short contents

Known limitation: input that is short but arrives slowly can still flash.
Fixing that requires waiting a fixed amount of time before showing
anything, and nobody has picked a number yet.


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 pkgsrc/textproc/moor/Makefile
cvs rdiff -u -r1.29 -r1.30 pkgsrc/textproc/moor/distinfo
cvs rdiff -u -r1.10 -r1.11 pkgsrc/textproc/moor/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/textproc/moor/Makefile
diff -u pkgsrc/textproc/moor/Makefile:1.44 pkgsrc/textproc/moor/Makefile:1.45
--- pkgsrc/textproc/moor/Makefile:1.44  Sat Aug 15 12:53:37 2026
+++ pkgsrc/textproc/moor/Makefile       Sun Aug 16 12:17:37 2026
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.44 2026/08/15 12:53:37 bsiegert Exp $
+# $NetBSD: Makefile,v 1.45 2026/08/16 12:17:37 wiz Exp $
 
-DISTNAME=              moor-2.16.2
-PKGREVISION=           1
+DISTNAME=              moor-2.17.0
 CATEGORIES=            textproc
 MASTER_SITES=          ${MASTER_SITE_GITHUB:=walles/}
 GITHUB_TAG=            v${PKGVERSION_NOREV}

Index: pkgsrc/textproc/moor/distinfo
diff -u pkgsrc/textproc/moor/distinfo:1.29 pkgsrc/textproc/moor/distinfo:1.30
--- pkgsrc/textproc/moor/distinfo:1.29  Mon Aug  3 18:15:55 2026
+++ pkgsrc/textproc/moor/distinfo       Sun Aug 16 12:17:37 2026
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.29 2026/08/03 18:15:55 wiz Exp $
+$NetBSD: distinfo,v 1.30 2026/08/16 12:17:37 wiz Exp $
 
 BLAKE2s (github.com_adrg_xdg_@v_v0.5.3.mod) = d6562994850ff49646864144f83c4ce6db7f136692b1d986787ee15b68e4d496
 SHA512 (github.com_adrg_xdg_@v_v0.5.3.mod) = 392cf3f009a48dab138d1e2b3d1d2563e616a43ae7c2e0bb00f0029073b758706ebb882e96a3400dc4b6a25fef07370c960fdd197d366bc9757d29f20c89cbe3
@@ -18,6 +18,12 @@ Size (github.com_charlievieth_strcase_@v
 BLAKE2s (github.com_charlievieth_strcase_@v_v0.0.6.zip) = a7725675e3cbd9059ffe5b1e8ae9e9c235885ca4f177cbe4e4b0a3330fb4e5c2
 SHA512 (github.com_charlievieth_strcase_@v_v0.0.6.zip) = 0100c78781990accff1d70e62e1f0b1c73b8b865e6a198a5e38266787ad062ed1c11d6f460557acc87cb4d829b632fad5923de9bba486269e49f4ffe402a0db2
 Size (github.com_charlievieth_strcase_@v_v0.0.6.zip) = 602623 bytes
+BLAKE2s (github.com_creack_pty_@v_v1.1.24.mod) = 2fc15d9b0ccbfe0fcc12cdfbac84a8aa13448af9752eff151b99bedee2754cd2
+SHA512 (github.com_creack_pty_@v_v1.1.24.mod) = 6aa0da5daae2fb3eb26ac9a6bbf5f9c7feb289b62c00f4707184dba576247bacf63dfb9b1b81c52918eb6c6619ab23d657107387a5b89f76f433e1776315fed5
+Size (github.com_creack_pty_@v_v1.1.24.mod) = 38 bytes
+BLAKE2s (github.com_creack_pty_@v_v1.1.24.zip) = a329832e0f3858866ebb1c1558e75b62483221acff5660b51c6ee827af247caa
+SHA512 (github.com_creack_pty_@v_v1.1.24.zip) = dd497a10bb6be220bc20bf69f3b8cd55d8bb5e0c033a09ab1cc705707e84002aa3c808aa42074b3a704438c4f6d5e98c74abc6660c1aa6a735d7be7f4132cd6c
+Size (github.com_creack_pty_@v_v1.1.24.zip) = 40880 bytes
 BLAKE2s (github.com_davecgh_go-spew_@v_v1.1.0.mod) = eee11d0ec5d2260dc11d9bfe8f9d523e54530b71cc8357f43c0214b3b74bef5c
 SHA512 (github.com_davecgh_go-spew_@v_v1.1.0.mod) = 5e079462f7e0dff0efda71f580aa185700cfa936b718a19d0e2a8c63212e47a07022dca0c282832d48e5165aae8e82aeeeb2ac3664268f1148fc772010fb860e
 Size (github.com_davecgh_go-spew_@v_v1.1.0.mod) = 34 bytes
@@ -132,6 +138,6 @@ Size (gotest.tools_v3_@v_v3.5.2.mod) = 1
 BLAKE2s (gotest.tools_v3_@v_v3.5.2.zip) = 582bab822c0d8279b3758825d276fbab77af2972fa7cbd8159993c7ca81c6c13
 SHA512 (gotest.tools_v3_@v_v3.5.2.zip) = eec814fc0f8e39fd10051f659859fb9c0016fb51e798968ae53617da5f29e441c5fd0a719cbbbe4416ebc0e9eac5b09ddebb99a8434cf602728f0c37b72534d5
 Size (gotest.tools_v3_@v_v3.5.2.zip) = 101104 bytes
-BLAKE2s (moor-2.16.2.tar.gz) = a79fd580ac1f427cb5d2efe9dc12a468e00d4c348cf9da220bb604e6fb379139
-SHA512 (moor-2.16.2.tar.gz) = ed60401c3005103ad7e1cbecdd2a6a2b2054ea1afd7279790a4e282279f528ff94d1e5fa53ab545738004708c73e20d890624d1ac2e0573741bb51e94e0343f8
-Size (moor-2.16.2.tar.gz) = 5365952 bytes
+BLAKE2s (moor-2.17.0.tar.gz) = a0827a947a82b10d4e02969fc16f02c51dfc25af29e9d8850cc3a410504b2051
+SHA512 (moor-2.17.0.tar.gz) = b54593fed976b706b06b170f889aca7cf277f0b3ce5b154cda19865216c032c07411462d6ec17a7ab47a8171278ad884f04ef12d924d56f3800144ab3a620ae0
+Size (moor-2.17.0.tar.gz) = 5381789 bytes

Index: pkgsrc/textproc/moor/go-modules.mk
diff -u pkgsrc/textproc/moor/go-modules.mk:1.10 pkgsrc/textproc/moor/go-modules.mk:1.11
--- pkgsrc/textproc/moor/go-modules.mk:1.10     Mon Aug  3 18:15:55 2026
+++ pkgsrc/textproc/moor/go-modules.mk  Sun Aug 16 12:17:37 2026
@@ -1,4 +1,4 @@
-# $NetBSD: go-modules.mk,v 1.10 2026/08/03 18:15:55 wiz Exp $
+# $NetBSD: go-modules.mk,v 1.11 2026/08/16 12:17:37 wiz Exp $
 
 GO_MODULE_FILES+=      github.com/adrg/xdg/@v/v0.5.3.mod
 GO_MODULE_FILES+=      github.com/adrg/xdg/@v/v0.5.3.zip
@@ -6,6 +6,8 @@ GO_MODULE_FILES+=       github.com/alecthomas/
 GO_MODULE_FILES+=      github.com/alecthomas/chroma/v2/@v/v2.22.0.zip
 GO_MODULE_FILES+=      github.com/charlievieth/strcase/@v/v0.0.6.mod
 GO_MODULE_FILES+=      github.com/charlievieth/strcase/@v/v0.0.6.zip
+GO_MODULE_FILES+=      github.com/creack/pty/@v/v1.1.24.mod
+GO_MODULE_FILES+=      github.com/creack/pty/@v/v1.1.24.zip
 GO_MODULE_FILES+=      github.com/davecgh/go-spew/@v/v1.1.0.mod
 GO_MODULE_FILES+=      github.com/davecgh/go-spew/@v/v1.1.1.mod
 GO_MODULE_FILES+=      github.com/davecgh/go-spew/@v/v1.1.1.zip



Home | Main Index | Thread Index | Old Index